:root {
  --blue: #1B55B8;
  --blue-dark: #0C1E52;
  --blue-mid: #1B3A8F;
  --blue-tint: #EEF3FC;
  --red: #E5332A;
  --red-dark: #B82820;
  --red-tint: #FDECEA;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-800);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAVBAR ───────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-wrap {
  max-width: 1280px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--gray-700);
  font-size: 0.875rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-pill {
  background: var(--blue); color: white;
  padding: .6rem 1.4rem; border-radius: 8px;
  text-decoration: none; font-size: 0.875rem;
  font-weight: 700; letter-spacing: -.01em;
  transition: background .2s, transform .15s;
}
.nav-pill:hover { background: var(--blue-mid); transform: translateY(-1px); }

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #1a3d9e 100%);
  padding-top: 72px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute; top: -20%; right: -15%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,51,42,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 5rem 2.5rem; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(229,51,42,.18);
  border: 1px solid rgba(229,51,42,.35);
  color: #FF8A83; padding: .35rem 1rem;
  border-radius: 100px; font-size: .75rem;
  font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 1.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF8A83; animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity:1; } 50% { opacity:.3; }
}
.hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.25rem; font-weight: 900;
  color: white; line-height: 1.08;
  letter-spacing: -.03em; margin-bottom: 1.4rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #FF8A83, #E5332A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  line-height: 1.75; margin-bottom: 2.25rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-red {
  background: var(--red); color: white;
  padding: .8rem 1.75rem; border-radius: 10px;
  text-decoration: none; font-weight: 700;
  font-size: .9rem; font-family: 'Plus Jakarta Sans', sans-serif;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-red:hover {
  background: var(--red-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229,51,42,.4);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white; padding: .8rem 1.75rem;
  border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ── HERO VISUAL: Connector Diagram ── */
.hero-diagram-wrap {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; padding: 2.25rem;
}
.diagram-label {
  color: rgba(255,255,255,.5); font-size: .7rem;
  font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hub-diagram { width: 100%; }

/* ── STATS STRIP ──────────────────────────── */
.stats-strip {
  background: white;
  border-bottom: 1px solid var(--gray-200);
}
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-cell {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid var(--gray-200);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem; font-weight: 900;
  color: var(--blue); line-height: 1;
  margin-bottom: .35rem; display: block;
}
.stat-num sup { font-size: 1.2rem; color: var(--red); }
.stat-desc { font-size: .82rem; color: var(--gray-600); font-weight: 500; }

/* ── SECTION COMMONS ──────────────────────── */
.section {
  padding: 6rem 2.5rem;
}
.section-wrap { max-width: 1280px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--blue); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2.5px;
  background: var(--red); border-radius: 2px;
}
.s-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem; font-weight: 900;
  color: var(--gray-900); line-height: 1.15;
  letter-spacing: -.025em; margin-bottom: .75rem;
}
.s-sub {
  font-size: 1.05rem; color: var(--gray-600);
  line-height: 1.75; max-width: 600px;
}

/* ── ABOUT / POSITIONING ─────────────────── */
.about-section { background: var(--gray-50); }
.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 4.5rem; align-items: start; margin-top: 3.5rem;
}
.about-body p {
  color: var(--gray-600); line-height: 1.8;
  font-size: 1rem; margin-bottom: 1rem;
}
.about-body strong { color: var(--gray-800); font-weight: 600; }
.legal-callout {
  margin-top: 1.75rem;
  background: white; border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
}
.legal-callout-title {
  font-size: .75rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: .08em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: .5rem;
}
.legal-callout p {
  font-size: .875rem; color: var(--gray-600);
  line-height: 1.65; margin: 0;
}
.about-cards { display: flex; flex-direction: column; gap: 1rem; }
.acard {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 1.4rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.acard:hover {
  border-color: var(--blue); transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(27,85,184,.08);
}
.acard-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-tint); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.acard-icon.red { background: var(--red-tint); }
.acard h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: .3rem;
}
.acard p { font-size: .825rem; color: var(--gray-600); line-height: 1.55; }

/* ── PROCESS ──────────────────────────────── */
.process-section { background: white; }
.process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; margin-top: 4rem; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 36px;
  left: calc(12.5% + 18px); right: calc(12.5% + 18px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  z-index: 0;
}
.pstep { text-align: center; padding: 0 1.25rem; position: relative; z-index: 1; }
.pstep-circle {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem; font-size: 1.4rem;
  background: white;
  position: relative;
}
.pstep-circle.b {
  border: 3px solid var(--blue); background: var(--blue-tint);
}
.pstep-circle.r {
  border: 3px solid var(--red); background: var(--red-tint);
}
.pstep-n {
  position: absolute; top: -4px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: .65rem; font-weight: 800; color: white;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white; font-family: 'Plus Jakarta Sans', sans-serif;
}
.pstep-n.b { background: var(--blue); }
.pstep-n.r { background: var(--red); }
.pstep h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: .45rem;
}
.pstep p { font-size: .825rem; color: var(--gray-600); line-height: 1.55; }

/* ── SERVICES ─────────────────────────────── */
.services-section { background: var(--gray-50); }
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem; margin-top: 3.5rem;
}
.svc-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 2rem;
  transition: all .3s; position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue), var(--red));
  opacity: 0; transition: opacity .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(0,0,0,.09); border-color: transparent; }
.svc-card:hover::after { opacity: 1; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1.2rem;
}
.svc-icon.r { background: var(--red-tint); }
.svc-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: var(--gray-900); margin-bottom: .6rem;
}
.svc-card p { font-size: .85rem; color: var(--gray-600); line-height: 1.65; }
.svc-tag {
  display: inline-block; margin-top: .9rem;
  font-size: .72rem; font-weight: 700;
  color: var(--blue); padding: .2rem .75rem;
  background: var(--blue-tint); border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em;
}
.svc-tag.r { color: var(--red); background: var(--red-tint); }

/* ── PRODUCT TILES ────────────────────────── */
.products-section { background: white; }
.products-header { text-align: center; }
.products-header .s-sub { margin: 0 auto; }
.prod-grid {
  display: grid; grid-template-columns: repeat(6,1fr);
  gap: .9rem; margin-top: 3rem;
}
.prod-tile {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 1.4rem .75rem;
  text-align: center; transition: all .22s; cursor: pointer;
}
.prod-tile:hover {
  background: var(--blue); border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(27,85,184,.28);
}
.prod-tile:hover .prod-emoji { filter: brightness(0) invert(1); }
.prod-tile:hover .prod-lbl { color: white; }
.prod-emoji {
  font-size: 1.75rem; display: block;
  margin-bottom: .6rem; transition: filter .22s;
}
.prod-lbl {
  font-size: .72rem; font-weight: 600;
  color: var(--gray-700); line-height: 1.3;
  transition: color .22s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── WHY MEDSWAN (dark) ──────────────────── */
.why-section {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue-mid));
  position: relative; overflow: hidden;
}
.why-glow {
  position: absolute; bottom: -25%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,51,42,.12) 0%, transparent 65%);
  pointer-events: none;
}
.why-section .eyebrow { color: rgba(255,255,255,.55); }
.why-section .s-title { color: white; }
.why-section .s-sub { color: rgba(255,255,255,.6); }
.why-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1.2rem; margin-top: 3.5rem;
}
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 1.75rem 2rem;
  display: flex; gap: 1.2rem;
  transition: background .2s;
}
.why-card:hover { background: rgba(255,255,255,.12); }
.why-ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
  background: rgba(229,51,42,.2); border: 1px solid rgba(229,51,42,.3);
}
.why-ic.b { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }
.why-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem; font-weight: 700; color: white;
  margin-bottom: .4rem;
}
.why-card p { font-size: .845rem; color: rgba(255,255,255,.58); line-height: 1.65; }

/* ── NETWORK ──────────────────────────────── */
.network-section { background: white; }
.network-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem; align-items: center; margin-top: 3.5rem;
}
.net-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.net-stat-main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 18px; padding: 2rem; text-align: center;
}
.net-stat-main .nsv { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.75rem; font-weight: 900; color: white; display: block; margin-bottom: .3rem; }
.net-stat-main .nsl { font-size: .85rem; color: rgba(255,255,255,.65); font-weight: 500; }
.net-stat-cell {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 14px; padding: 1.4rem; text-align: center;
}
.net-stat-cell .nsv { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 900; color: var(--blue); display: block; margin-bottom: .2rem; }
.net-stat-cell .nsl { font-size: .8rem; color: var(--gray-600); font-weight: 500; }
.net-features { display: flex; flex-direction: column; gap: 1rem; }
.nf-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.4rem; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 14px;
  transition: border-color .2s, background .2s, transform .2s;
}
.nf-row:hover {
  border-color: var(--blue); background: var(--blue-tint);
  transform: translateX(4px);
}
.nf-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue); display: flex; align-items: center;
  justify-content: center; font-size: .95rem; flex-shrink: 0;
}
.nf-ico.r { background: var(--red); }
.nf-row h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: .25rem;
}
.nf-row p { font-size: .8rem; color: var(--gray-600); line-height: 1.55; }

/* ── TESTIMONIALS ─────────────────────────── */
.testi-section { background: var(--gray-50); }
.testi-header { text-align: center; }
.testi-header .s-sub { margin: 0 auto; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-top: 3.5rem;
}
.tcard {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 2rem;
  position: relative;
}
.tcard-quote {
  font-size: 5rem; line-height: 1; color: var(--blue);
  opacity: .1; position: absolute;
  top: -10px; right: 20px;
  font-family: Georgia, serif;
}
.stars { color: #F59E0B; font-size: .85rem; letter-spacing: 2px; margin-bottom: .9rem; }
.tcard p { font-size: .875rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.4rem; }
.tcard-author { display: flex; align-items: center; gap: .75rem; }
.tcard-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: .95rem; color: white;
  flex-shrink: 0;
}
.tcard-avatar.b { background: var(--blue); }
.tcard-avatar.r { background: var(--red); }
.tcard-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .88rem; font-weight: 700; color: var(--gray-800);
}
.tcard-role { font-size: .78rem; color: var(--gray-600); }

/* ── CTA ──────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, #C42820 100%);
  padding: 6rem 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.cta-halo {
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 60%);
}
.cta-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.75rem; font-weight: 900; color: white;
  margin-bottom: .75rem; position: relative; letter-spacing: -.025em;
}
.cta-section p {
  color: rgba(255,255,255,.8); font-size: 1.1rem;
  margin-bottom: 2.25rem; position: relative;
}
.cta-btns { display: flex; gap: 1rem; justify-content: center; position: relative; }
.btn-white {
  background: white; color: var(--red);
  padding: .85rem 1.9rem; border-radius: 10px;
  text-decoration: none; font-weight: 800; font-size: .9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform .15s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-woutline {
  background: transparent; color: white;
  padding: .85rem 1.9rem; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .9rem;
  border: 2px solid rgba(255,255,255,.45);
  transition: all .2s;
}
.btn-woutline:hover { background: rgba(255,255,255,.15); border-color: white; transform: translateY(-2px); }

/* ── FOOTER ───────────────────────────────── */
footer { background: var(--gray-900); color: rgba(255,255,255,.65); padding: 4.5rem 2.5rem 2.5rem; }
.footer-wrap { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-desc { font-size: .85rem; line-height: 1.75; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: .6rem; }
.fsoc {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: .8rem; color: rgba(255,255,255,.6);
  font-weight: 700; transition: background .2s;
}
.fsoc:hover { background: var(--blue); color: white; }
.footer-col h4 {
  color: white; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .88rem; font-weight: 700; margin-bottom: 1.2rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .83rem; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem;
}
.footer-disclaimer {
  font-size: .73rem; color: rgba(255,255,255,.3);
  margin-top: 1.25rem; line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MedSwan Theme
   Breakpoints: 1024px (tablet) | 768px (mobile) | 480px (small phone)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── HAMBURGER BUTTON (hidden on desktop) ─────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 8px;
  transition: background .2s;
  z-index: 1001;
}
.nav-hamburger:hover { background: var(--gray-100); }
.ham-bar {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
/* Animated X state */
.nav-hamburger.is-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ────────────────────────────────────────────────────── */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  z-index: 998;
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.mobile-nav-drawer.is-open {
  opacity: 1; transform: none; pointer-events: auto;
}
.mobile-nav-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 0;
}
.mobile-nav-links li a {
  display: block; padding: .85rem 0;
  font-size: 1rem; font-weight: 600;
  color: var(--gray-700); text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: color .15s;
}
.mobile-nav-links li:last-child a { border-bottom: none; }
.mobile-nav-links li a:hover { color: var(--blue); }
.mobile-nav-cta {
  display: block; margin-top: 1.25rem;
  background: var(--blue); color: white;
  padding: .85rem 1.5rem; border-radius: 10px;
  text-align: center; text-decoration: none;
  font-weight: 700; font-size: .95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}


/* ══ TABLET (≤ 1024px) ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Nav */
  .nav-links, .nav-pill { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav-drawer { display: block; }

  /* Hero */
  .hero-wrap {
    grid-template-columns: 1fr;
    padding: 3.5rem 2rem;
    gap: 2.5rem;
  }
  .hero h1 { font-size: 2.6rem; }
  .hero-sub { max-width: 100%; }

  /* Stats: 2×2 */
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--gray-200); }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--gray-200); border-right: none; }

  /* Section padding */
  .section { padding: 4.5rem 2rem; }

  /* About: stack */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Process: 2×2 */
  .process-steps { grid-template-columns: repeat(2,1fr); row-gap: 2.5rem; }
  .process-steps::before { display: none; }

  /* Services: 2 cols */
  .services-grid { grid-template-columns: repeat(2,1fr); }

  /* Products: 4 cols */
  .prod-grid { grid-template-columns: repeat(4,1fr); }

  /* Why: 2 cols (unchanged, already 2) */

  /* Network: stack */
  .network-grid { grid-template-columns: 1fr; gap: 3rem; }

  /* Testimonials: 2 cols */
  .testi-grid { grid-template-columns: repeat(2,1fr); }

  /* Footer: 2×2 */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-top > div:first-child { grid-column: 1 / -1; }

  /* CTA */
  .cta-section h2 { font-size: 2.25rem; }
  .cta-section { padding: 5rem 2rem; }
}


/* ══ MOBILE (≤ 768px) ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav */
  .nav-wrap { padding: 0 1.25rem; height: 64px; }
  .nav-logo img { height: 36px; }
  .mobile-nav-drawer { top: 64px; }

  /* Hero */
  .hero { padding-top: 64px; min-height: auto; }
  .hero-wrap { padding: 3rem 1.25rem; gap: 2rem; }
  .hero h1 { font-size: 2rem; letter-spacing: -.02em; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; }
  .btn-red, .btn-ghost { width: 100%; justify-content: center; }

  /* Hero diagram: compact on mobile */
  .hero-diagram-wrap { padding: 1.5rem; }
  .hub-diagram { max-height: 200px; }

  /* Stats: 2×2 tighter */
  .stat-cell { padding: 1.5rem 1rem; }
  .stat-num { font-size: 1.75rem; }

  /* Sections */
  .section { padding: 3.5rem 1.25rem; }
  .s-title { font-size: 1.9rem; }
  .s-sub { font-size: .95rem; }

  /* About */
  .about-grid { gap: 2rem; }

  /* Process: 1 col on mobile */
  .process-steps { grid-template-columns: 1fr; row-gap: 2rem; }
  .pstep { display: flex; gap: 1.25rem; text-align: left; align-items: flex-start; }
  .pstep-circle { margin: 0; flex-shrink: 0; width: 56px; height: 56px; font-size: 1.1rem; }
  .pstep h3 { margin-bottom: .3rem; }

  /* Services: 1 col */
  .services-grid { grid-template-columns: 1fr; }

  /* Products: 3 cols */
  .prod-grid { grid-template-columns: repeat(3,1fr); gap: .65rem; }
  .prod-tile { padding: 1.1rem .5rem; }
  .prod-emoji { font-size: 1.4rem; }
  .prod-lbl { font-size: .68rem; }

  /* Why: 1 col */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 1.4rem 1.5rem; }

  /* Network stats: 2 cols */
  .net-stats { grid-template-columns: 1fr 1fr; }

  /* Testimonials: 1 col */
  .testi-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-section { padding: 4rem 1.25rem; }
  .cta-section h2 { font-size: 1.85rem; }
  .cta-section p { font-size: .95rem; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .btn-white, .btn-woutline { text-align: center; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top > div:first-child { grid-column: auto; }
  footer { padding: 3.5rem 1.25rem 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .footer-bottom span:last-child { display: none; }
}


/* ══ SMALL PHONE (≤ 480px) ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .hero h1 { font-size: 1.75rem; }
  .hero-badge { font-size: .68rem; }

  /* Products: 2 cols on tiny screens */
  .prod-grid { grid-template-columns: repeat(2,1fr); }

  /* Process step circles smaller */
  .pstep-circle { width: 48px; height: 48px; font-size: 1rem; }

  /* About cards: tighter */
  .acard { flex-direction: column; }
  .acard-icon { width: 38px; height: 38px; font-size: 1rem; }

  /* Why cards: icon top */
  .why-card { flex-direction: column; gap: .75rem; }

  /* Network nf-rows */
  .nf-row { flex-direction: column; gap: .75rem; }
  .nf-ico { width: 36px; height: 36px; }

  .s-title { font-size: 1.65rem; }
  .section { padding: 3rem 1rem; }

  .cta-section h2 { font-size: 1.6rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── ABOUT HERO ──────────────────────────────────────────────────────────────── */
.about-hero {
  min-height: 60vh;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #1a3d9e 100%);
  padding-top: 72px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.about-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-hero-glow {
  position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,51,42,.15) 0%, transparent 65%);
  pointer-events: none;
}
.about-hero-inner {
  max-width: 860px; margin: 0 auto;
  padding: 5rem 2.5rem; position: relative; z-index: 1;
  text-align: center;
}
.about-hero-arc {
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 64px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.about-breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; margin-bottom: 1.5rem;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.about-breadcrumb a {
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s;
}
.about-breadcrumb a:hover { color: white; }
.bc-sep { opacity: .4; }
.about-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(229,51,42,.18); border: 1px solid rgba(229,51,42,.35);
  color: #FF8A83; padding: .35rem 1rem; border-radius: 100px;
  font-size: .75rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 1.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.about-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem; font-weight: 900; color: white;
  line-height: 1.1; letter-spacing: -.03em; margin-bottom: 1.25rem;
}
.about-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #FF8A83, #E5332A);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.7);
  line-height: 1.75; margin-bottom: 2rem; max-width: 640px; margin-left: auto; margin-right: auto;
}
.about-hero-chips {
  display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center;
}
.chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8); padding: .35rem .9rem; border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── OUR STORY ───────────────────────────────────────────────────────────────── */
.about-story-section { background: white; padding-top: 5rem; }
.story-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 4rem; align-items: start; margin-top: 3rem;
}
.story-text p {
  color: var(--gray-600); line-height: 1.8; font-size: 1rem;
  margin-bottom: 1.1rem;
}
.story-text strong { color: var(--gray-800); font-weight: 600; }
.founding-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 20px; padding: 2rem; margin-bottom: 1.25rem;
}
.founding-card-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 1rem;
}
.founding-card-quote {
  font-size: 1.15rem; font-weight: 700; color: white;
  line-height: 1.55; margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
}
.founding-card-author {
  font-size: .8rem; color: rgba(255,255,255,.55); font-weight: 600;
}
.story-highlights { display: flex; flex-direction: column; gap: .85rem; }
.story-hl {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 1rem 1.1rem;
  transition: border-color .2s, background .2s;
}
.story-hl:hover { border-color: var(--blue); background: var(--blue-tint); }
.story-hl-icon {
  font-size: 1.2rem; width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-tint); border-radius: 8px;
}
.story-hl strong {
  display: block; font-size: .88rem; font-weight: 700;
  color: var(--gray-800); margin-bottom: .15rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.story-hl span { font-size: .8rem; color: var(--gray-600); line-height: 1.45; }

/* ── MISSION & VISION ───────────────────────────────────────────────────────── */
.mv-section { background: var(--gray-50); }
.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.mv-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 24px; padding: 2.5rem;
  position: relative; overflow: hidden;
}
.mv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.mv-mission::before { background: linear-gradient(90deg, var(--blue), #4C82DC); }
.mv-vision::before  { background: linear-gradient(90deg, var(--red), #F76B62); }
.mv-icon { font-size: 2.25rem; margin-bottom: 1rem; display: block; }
.mv-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); background: var(--blue-tint);
  padding: .25rem .75rem; border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 1rem;
}
.mv-vision .mv-tag { color: var(--red); background: var(--red-tint); }
.mv-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem; font-weight: 800; color: var(--gray-900);
  line-height: 1.3; margin-bottom: 1rem;
}
.mv-card p { font-size: .9rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 1.25rem; }
.mv-list {
  list-style: none; display: flex; flex-direction: column; gap: .55rem;
}
.mv-list li {
  font-size: .85rem; color: var(--gray-700); padding-left: 1.4rem;
  position: relative; line-height: 1.5;
}
.mv-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--blue); font-weight: 700;
}
.mv-vision .mv-list li::before { color: var(--red); }

/* ── WHAT WE ARE ─────────────────────────────────────────────────────────────── */
.what-we-are-section { background: white; }
.wwa-intro { margin-bottom: 2.5rem; }
.wwa-statement {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 16px; padding: 2rem 2.25rem;
  margin-bottom: 3rem;
}
.wwa-statement p {
  font-size: .975rem; color: var(--gray-600); line-height: 1.8;
  margin-bottom: .9rem;
}
.wwa-statement p:last-child { margin-bottom: 0; }
.wwa-statement strong { color: var(--gray-800); font-weight: 600; }
.wwa-pillars {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.wwa-pillar {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 2rem; position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.wwa-pillar:hover {
  border-color: var(--blue); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27,85,184,.1);
}
.wwa-pillar-num {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem; font-weight: 900; color: var(--gray-200);
  line-height: 1;
}
.wwa-pillar-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.wwa-pillar h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--gray-900);
  margin-bottom: .6rem;
}
.wwa-pillar p { font-size: .85rem; color: var(--gray-600); line-height: 1.65; }
.legal-note {
  background: var(--blue-tint); border: 1px solid rgba(27,85,184,.2);
  border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.legal-note-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .1rem; }
.legal-note strong { color: var(--blue-dark); font-weight: 700; }
.legal-note div { font-size: .875rem; color: var(--blue-dark); line-height: 1.65; }

/* ── VALUES ──────────────────────────────────────────────────────────────────── */
.values-section { background: var(--gray-50); }
.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.value-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: 20px; padding: 2rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-color: transparent;
}
.value-icon-wrap {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.value-icon-wrap.blue { background: var(--blue-tint); }
.value-icon-wrap.red  { background: var(--red-tint);  }
.value-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--gray-900);
  margin-bottom: .6rem;
}
.value-card p { font-size: .85rem; color: var(--gray-600); line-height: 1.65; }

/* ── GAP SECTION ─────────────────────────────────────────────────────────────── */
.gap-section {
  background: linear-gradient(145deg, var(--blue-dark), var(--blue-mid));
  position: relative; overflow: hidden;
}
.gap-glow {
  position: absolute; bottom: -20%; left: -8%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,51,42,.12) 0%, transparent 65%);
}
.gap-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
.gap-card {
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.gap-problem { padding: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.gap-solution { padding: 1.75rem; background: rgba(229,51,42,.12); }
.gap-label {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.45); margin-bottom: .75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.gap-label.sol { color: rgba(255,150,140,.8); }
.gap-problem h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem; font-weight: 700; color: white;
  margin-bottom: .6rem; line-height: 1.4;
}
.gap-problem p { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.65; }
.gap-solution p { font-size: .82rem; color: rgba(255,255,255,.75); line-height: 1.65; }

/* ── MINI PROCESS ────────────────────────────────────────────────────────────── */
.mini-process-section { background: white; }
.mini-process-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem; align-items: center;
}
.btn-blue-outline {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.75rem; padding: .8rem 1.6rem;
  border: 2px solid var(--blue); color: var(--blue);
  border-radius: 10px; text-decoration: none;
  font-weight: 700; font-size: .9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background .2s, color .2s, transform .15s;
}
.btn-blue-outline:hover {
  background: var(--blue); color: white; transform: translateY(-2px);
}
.mini-process-steps {
  display: flex; flex-direction: column; gap: 0;
}
.mp-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.mp-connector {
  width: 2px; height: 24px; background: var(--gray-200);
  margin-left: 19px; flex-shrink: 0;
}
.mp-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem; font-weight: 800;
}
.mp-num-red { background: var(--red); }
.mp-content { padding-bottom: 0; }
.mp-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem; font-weight: 700; color: var(--gray-800);
  margin-bottom: .3rem;
}
.mp-content p { font-size: .82rem; color: var(--gray-600); line-height: 1.55; }

/* ── ABOUT PAGE RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .story-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .mv-grid       { grid-template-columns: 1fr; }
  .wwa-pillars   { grid-template-columns: 1fr 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }
  .gap-grid      { grid-template-columns: 1fr; }
  .mini-process-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .about-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  .about-hero { padding-top: 64px; }
  .about-hero-inner { padding: 3.5rem 1.25rem 4.5rem; }
  .about-hero h1 { font-size: 1.9rem; }
  .about-hero-sub { font-size: .95rem; }
  .about-hero-chips { gap: .45rem; }
  .chip { font-size: .72rem; padding: .3rem .75rem; }
  .wwa-pillars { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .founding-card-quote { font-size: 1rem; }
  .mv-card { padding: 1.75rem; }
  .mini-process-wrap { gap: 2.5rem; }
}

@media (max-width: 480px) {
  .about-hero h1 { font-size: 1.65rem; }
  .mv-grid { gap: 1rem; }
  .wwa-statement { padding: 1.4rem; }
  .gap-card { border-radius: 14px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   INNER HERO (shared by Services, Contact, Blog, Single)
   ═══════════════════════════════════════════════════════════════════════════ */
.inner-hero {
  min-height: 52vh;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 55%, #1a3d9e 100%);
  padding-top: 72px; position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.inner-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.inner-hero-glow {
  position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229,51,42,.15) 0%, transparent 65%);
  pointer-events: none;
}
.inner-hero-inner {
  max-width: 860px; margin: 0 auto;
  padding: 4.5rem 2.5rem 5.5rem; position: relative; z-index: 1; text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.svc-intro-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 3rem; align-items: center; padding-bottom: 0;
}
.svc-detail-section { background: white; padding-top: 2rem; }
.svc-detail-row {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 3.5rem; align-items: start; padding: 3.5rem 0;
}
.svc-detail-row--reverse { grid-template-columns: 1fr 240px; }
.svc-detail-row--reverse .svc-detail-visual { order: 2; }
.svc-detail-row--reverse .svc-detail-content { order: 1; }
.svc-divider { height: 1px; background: var(--gray-200); }

.svc-detail-icon-wrap {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1rem;
}
.svc-detail-icon-wrap.blue { background: var(--blue-tint); }
.svc-detail-icon-wrap.red  { background: var(--red-tint);  }
.svc-dtag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-tint);
  padding: .25rem .8rem; border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif; margin-bottom: 1.5rem;
}
.svc-dtag.r { color: var(--red); background: var(--red-tint); }
.svc-who-box {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.25rem;
}
.svc-who-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: .4rem;
  font-family: 'Plus Jakarta Sans', sans-serif; }
.svc-who-box p { font-size: .8rem; color: var(--gray-600); line-height: 1.5; }
.svc-detail-cta {
  display: block; background: var(--blue); color: white;
  padding: .75rem 1rem; border-radius: 10px; text-decoration: none;
  font-size: .82rem; font-weight: 700; text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background .2s, transform .15s;
}
.svc-detail-cta:hover { background: var(--blue-mid); transform: translateY(-1px); }

.svc-detail-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: var(--gray-900);
  line-height: 1.25; margin-bottom: .9rem;
}
.svc-intro-p { font-size: 1rem; font-weight: 600; color: var(--gray-700); line-height: 1.7; margin-bottom: .9rem; }
.svc-detail-p { font-size: .9rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.5rem; }
.svc-features { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 14px; padding: 1.4rem 1.5rem; }
.svc-features-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .9rem;
  font-family: 'Plus Jakarta Sans', sans-serif; }
.svc-features ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.svc-features li { font-size: .855rem; color: var(--gray-700); padding-left: 1.5rem;
  position: relative; line-height: 1.5; }
.svc-features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

.svc-stats-bar { background: var(--blue-dark); padding: 3rem 2.5rem; }
.svc-stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.svc-stat-item { text-align: center; padding: 0 3rem; }
.svc-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2.5rem; font-weight: 900; color: white; display: block; line-height: 1; margin-bottom: .3rem; }
.svc-stat-num sup { font-size: 1.25rem; color: #FF8A83; }
.svc-stat-lbl { font-size: .82rem; color: rgba(255,255,255,.6); }
.svc-stat-sep { width: 1px; height: 48px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-cards {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1.25rem; margin-top: 3.5rem; margin-bottom: .5rem;
}
.contact-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 18px; padding: 1.75rem 1.5rem; text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--blue); }
.cc-icon {
  width: 54px; height: 54px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.cc-icon.blue { background: var(--blue-tint); }
.cc-icon.red  { background: var(--red-tint);  }
.contact-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; font-weight: 700; color: var(--gray-800); margin-bottom: .4rem; }
.contact-card p  { font-size: .82rem; color: var(--gray-600); line-height: 1.5; margin-bottom: .75rem; }
.cc-link { font-size: .85rem; font-weight: 600; color: var(--blue); text-decoration: none; word-break: break-all; }
.cc-link:hover { text-decoration: underline; }

.contact-main-section { background: var(--gray-50); }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row-2 > .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--gray-700); font-family: 'Plus Jakarta Sans', sans-serif; }
.req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-size: .9rem; font-family: 'Inter', sans-serif;
  color: var(--gray-800); background: white;
  transition: border-color .2s, box-shadow .2s;
  width: 100%; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,85,184,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-checkbox .checkbox-label { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; font-size: .82rem; color: var(--gray-600); line-height: 1.5; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--blue); }
.form-submit-btn {
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--blue); color: white; border: none; cursor: pointer;
  padding: 1rem 2rem; border-radius: 10px; font-size: .95rem; font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif; transition: background .2s, transform .15s, box-shadow .2s;
  width: 100%;
}
.form-submit-btn:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(27,85,184,.3); }
.form-alert { padding: 1rem 1.25rem; border-radius: 10px; font-size: .88rem; margin-bottom: .5rem; }
.form-alert-success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
.form-alert-error   { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }

/* FAQ */
.faq-col { padding-top: .25rem; }
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 0; background: none; border: none; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .92rem; font-weight: 700;
  color: var(--gray-800); text-align: left; transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-chevron { flex-shrink: 0; color: var(--gray-400); transition: transform .25s ease; }
.faq-a { padding-bottom: 1.1rem; }
.faq-a p { font-size: .875rem; color: var(--gray-600); line-height: 1.75; }
.faq-footer-note {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-top: 1.75rem; padding: 1.1rem 1.25rem;
  background: var(--blue-tint); border-radius: 12px;
  font-size: .85rem; color: var(--gray-700); line-height: 1.6;
}
.faq-footer-note a { color: var(--blue); font-weight: 600; }
.faq-footer-note span { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.blog-section { background: white; }
.blog-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.blog-filter-btn {
  padding: .45rem 1.1rem; border: 1.5px solid var(--gray-200); border-radius: 100px;
  text-decoration: none; font-size: .8rem; font-weight: 600; color: var(--gray-600);
  font-family: 'Plus Jakarta Sans', sans-serif; transition: all .2s;
}
.blog-filter-btn:hover, .blog-filter-btn.active {
  background: var(--blue); border-color: var(--blue); color: white;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: white; border: 1px solid var(--gray-200); border-radius: 20px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.09); border-color: transparent; }
.blog-card--featured { grid-column: 1 / -1; flex-direction: row; }
.blog-card-img-link { display: block; overflow: hidden; position: relative; flex-shrink: 0; }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.blog-card--featured .blog-card-img { height: 100%; min-height: 280px; width: 460px; }
.blog-card:hover .blog-card-img { transform: scale(1.03); }
.blog-card-img-placeholder {
  height: 200px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-tint), var(--gray-100)); font-size: 2.5rem;
}
.blog-card--featured .blog-card-img-placeholder { height: 100%; min-height: 280px; width: 460px; }
.blog-cat-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--red); color: white; padding: .25rem .75rem;
  border-radius: 100px; font-size: .7rem; font-weight: 700;
  text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: .04em; text-transform: uppercase;
}
.blog-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--gray-400); margin-bottom: .75rem; }
.blog-meta-sep { opacity: .5; }
.blog-card-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--gray-900); line-height: 1.35; margin-bottom: .6rem; flex: 1; }
.blog-card--featured .blog-card-title { font-size: 1.35rem; }
.blog-card-title a { text-decoration: none; color: inherit; }
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt { font-size: .855rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blog-author { display: flex; align-items: center; gap: .5rem; }
.blog-author-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.blog-author-name { font-size: .78rem; font-weight: 600; color: var(--gray-700); font-family: 'Plus Jakarta Sans', sans-serif; }
.blog-read-more { font-size: .8rem; font-weight: 700; color: var(--blue); text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif; white-space: nowrap; }
.blog-read-more:hover { text-decoration: underline; }
.blog-pagination { margin-top: 3.5rem; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: .5rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--gray-200); text-decoration: none;
  font-size: .85rem; font-weight: 600; color: var(--gray-700);
  font-family: 'Plus Jakarta Sans', sans-serif; transition: all .2s;
}
.blog-pagination .page-numbers:hover, .blog-pagination .page-numbers.current {
  background: var(--blue); border-color: var(--blue); color: white;
}
.blog-pagination .page-numbers.prev, .blog-pagination .page-numbers.next { width: auto; padding: 0 1rem; }
.blog-empty { text-align: center; padding: 5rem 1rem; }
.blog-empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.blog-empty h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--gray-800); margin-bottom: .75rem; }
.blog-empty p { color: var(--gray-600); margin-bottom: 2rem; line-height: 1.7; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Single Post ──────────────────────────────────────────────────────────── */
.post-hero .inner-hero-inner { text-align: left; }
.post-hero h1 { font-size: 2.5rem; }
.post-hero-meta { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.post-hero-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }
.post-hero-author { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88rem; font-weight: 700; color: white; }
.post-hero-info { font-size: .78rem; color: rgba(255,255,255,.55); }
.post-featured-img-wrap { background: white; padding: 0 2.5rem; margin-top: -3rem; position: relative; z-index: 2; }
.post-featured-img { width: 100%; border-radius: 16px; box-shadow: 0 12px 48px rgba(0,0,0,.15); display: block; }
.post-content-section { background: white; }
.post-content-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }
.post-content-body {}
.post-content.entry-content { font-size: 1rem; color: var(--gray-700); line-height: 1.85; }
.post-content.entry-content h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--gray-900); margin: 2.5rem 0 1rem; }
.post-content.entry-content h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin: 2rem 0 .75rem; }
.post-content.entry-content p { margin-bottom: 1.25rem; }
.post-content.entry-content ul, .post-content.entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content.entry-content li { margin-bottom: .4rem; }
.post-content.entry-content a { color: var(--blue); }
.post-content.entry-content blockquote { border-left: 4px solid var(--blue); padding: 1rem 1.5rem; background: var(--blue-tint); border-radius: 0 10px 10px 0; margin: 1.5rem 0; font-style: italic; color: var(--blue-dark); }
.post-content.entry-content img { max-width: 100%; border-radius: 10px; margin: 1rem 0; }
.post-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.post-tags-label { font-size: .78rem; font-weight: 700; color: var(--gray-500); font-family: 'Plus Jakarta Sans', sans-serif; }
.post-tag { padding: .25rem .8rem; background: var(--gray-100); border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--gray-600); text-decoration: none; transition: all .2s; }
.post-tag:hover { background: var(--blue); color: white; }
.post-nav { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-200); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav-prev, .post-nav-next { display: flex; flex-direction: column; gap: .3rem; }
.post-nav-next { text-align: right; }
.post-nav-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); font-family: 'Plus Jakarta Sans', sans-serif; }
.post-nav a { font-size: .875rem; font-weight: 600; color: var(--blue); text-decoration: none; line-height: 1.4; }
.post-nav a:hover { text-decoration: underline; }
.post-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 90px; }
.post-sidebar-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 16px; padding: 1.5rem; }
.psc-header { font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 800; color: var(--gray-800); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.post-sidebar-card p { font-size: .82rem; color: var(--gray-600); line-height: 1.65; margin-bottom: .9rem; }
.psc-link { font-size: .82rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.psc-cta-btn { display: block; background: var(--red); color: white; padding: .7rem 1rem; border-radius: 8px; text-align: center; text-decoration: none; font-size: .85rem; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; transition: background .2s; }
.psc-cta-btn:hover { background: var(--red-dark); }
.psc-related { display: flex; flex-direction: column; gap: .75rem; }
.psc-related-item { display: flex; gap: .75rem; align-items: center; text-decoration: none; color: var(--gray-700); font-size: .8rem; font-weight: 600; line-height: 1.4; transition: color .2s; }
.psc-related-item:hover { color: var(--blue); }
.psc-related-thumb { width: 52px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   NEW PAGES RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .inner-hero { padding-top: 64px; min-height: 44vh; }
  .inner-hero-inner { padding: 3.5rem 2rem 5rem; }
  /* Services */
  .svc-intro-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-detail-row, .svc-detail-row--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .svc-detail-row--reverse .svc-detail-visual, .svc-detail-row--reverse .svc-detail-content { order: unset; }
  .svc-detail-visual { display: grid; grid-template-columns: auto auto 1fr; align-items: start; gap: 1rem; }
  .svc-detail-cta { grid-column: 1 / -1; }
  .svc-stat-item { padding: 0 1.5rem; }
  /* Contact */
  .contact-cards { grid-template-columns: repeat(2,1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  /* Blog */
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card-img, .blog-card--featured .blog-card-img-placeholder { width: 100%; height: 240px; min-height: auto; }
  /* Single post */
  .post-content-wrap { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .post-hero h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .inner-hero-inner { padding: 3rem 1.25rem 4.5rem; }
  .inner-hero h1 { font-size: 1.9rem; }
  /* Services */
  .svc-detail-visual { grid-template-columns: 1fr 1fr; }
  .svc-detail-icon-wrap { grid-column: 1; }
  .svc-dtag { grid-column: 2; margin-bottom: 0; }
  .svc-who-box { grid-column: 1 / -1; }
  .svc-detail-cta { grid-column: 1 / -1; }
  .svc-stats-inner { flex-direction: column; gap: 1.5rem; }
  .svc-stat-sep { width: 80px; height: 1px; }
  /* Contact */
  .contact-cards { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .form-row { flex-direction: column; }
  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card--featured { grid-column: auto; }
  /* Single */
  .post-featured-img-wrap { padding: 0 1.25rem; }
  .post-hero h1 { font-size: 1.65rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
}

@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
  .blog-filters { gap: .35rem; }
  .blog-filter-btn { font-size: .72rem; padding: .35rem .85rem; }
  .post-hero h1 { font-size: 1.45rem; }
  .svc-detail-visual { grid-template-columns: 1fr; }
}
