/* ==========================================================================
   Top Search Ranks — homepage stylesheet
   ========================================================================== */


:root {
  --bg-color: #3eb4f5;
  --text-color: #FFFFFF;
  --accent-color: #F6C754;

  --bg-color-alt: rgba(255,255,255,0.07);
  --border-color: rgba(255,255,255,0.10);
  --text-muted: rgba(255,255,255,0.88);
  --text-blue: #1273B5;

  --font-display: 'Raleway', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale: section headline / subheading / body copy */
  --fs-h2: 50px;
  --fs-h3: 28px;
  --fs-body: 17px;

  --max-width: 1180px;
  --radius: 14px;
  --hero-navy: #10264A;
  --hero-navy-deep: #0B1C38;
}

* { box-sizing: border-box; }

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Browser surfaces */
::selection { background: rgba(62, 180, 245, 0.25); color: #0a1628; }

/* Keyboard focus baseline — visible ring on every interactive element */
:focus-visible { outline: 3px solid #1273B5; outline-offset: 3px; }

/* Pill-shaped focus mirrors pill-shaped buttons */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-header:focus-visible { border-radius: 999px; }

/* CTA buttons on dark backgrounds — white ring */
.cta-btn:focus-visible,
.closing-cta-btn:focus-visible { outline-color: #FFFFFF; border-radius: 100px; }

/* Form submit on light card — navy ring, 8px radius */
.company-intro-submit:focus-visible { outline-color: #1A3A6B; border-radius: 8px; }

/* FAQ summary */
.faq-question:focus-visible { outline: 3px solid #1273B5; outline-offset: 4px; }

/* Case study tabs */
.case-studies-tab:focus-visible { border-radius: 100px; }

html { scroll-behavior: smooth; background-color: #0a1628; }

/* Sticky header offset for all anchor targets */
section[id], div[id], form[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  overflow-x: hidden;
  background: #0a1628;
  color: var(--text-color);
  font-family: var(--font-body);
  font-variant-numeric: lining-nums; /* Raleway defaults to old-style figures */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 16px; color: var(--text-muted); text-wrap: pretty; }

/* ---------------------------- Buttons / links --------------------------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--accent-color);
  color: #1A3A6B;
  font-size: 16px;
}

.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.link-arrow {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.link-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.15s ease;
}

.link-arrow:hover::after { transform: translateX(3px); }

/* -------------------------------- Header -------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  max-width: 100%;
  box-sizing: border-box;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}
.logo-icon {
  display: block;
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.logo-wordmark {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  margin-top: 5px;
}
.logo-top    { color: #0F9D58; }
.logo-search { color: #FBBC04; }
.logo-ranks  { color: #4285F4; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav { display: flex; gap: 28px; }

.btn-header {
  padding: 12px 30px;
  font-size: 0.88rem;
  white-space: nowrap;
  background: #F6C754;
  color: #1A3A6B;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #0a1628;
}

.main-nav a:hover, .main-nav a.active { color: var(--text-blue); }


/* --------------------------------- Header phone ---------------------------------- */

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-blue);
  white-space: nowrap;
  text-decoration: none;
}

.header-phone:hover { color: #1A3A6B; text-decoration: underline; }

/* --------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  background: var(--hero-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 60% at 76% 55%, rgba(62, 180, 245, 0.18), transparent 70%),
    linear-gradient(180deg, var(--hero-navy) 0%, var(--hero-navy-deep) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56fr 44fr;
  gap: 48px;
  align-items: stretch;
}

.hero-col-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 72px;
}

/* Mountain sits on the section's bottom edge: the art column runs the full
   height of the hero and the SVG anchors its ground band to the bottom. */
.hero-col-art {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
  /* bleed to the viewport's right edge */
  margin-right: calc((100vw - min(100vw, var(--max-width))) / -2 - 24px);
}

.hero-mountain {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 600px;
  min-height: 420px;
  overflow: visible;
}

.hero-accent { color: var(--accent-color); }

.hero-punch {
  font-size: clamp(2.5rem, 4.1vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.45;
  color: #FFFFFF;
  margin: 0 0 54px;
  max-width: 46ch;
}

.hero-cta {
  align-self: flex-start;
  padding: 15px 60px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 54px;
}

.hero-col-text .stat-row {
  margin-bottom: 0;
}

/* Stat row: four equal columns, vertical dividers only */

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 44px;
  width: 100%;
  max-width: 680px;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 0 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-block:first-child { padding-left: 0; }
.stat-block:last-child { padding-right: 0; border-right: 0; }

.stat-number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 17px;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.45;
  text-align: left;
}

/* Badge Slider */

#badge-slider {
  background: #FFFFFF;
  padding: 28px 0;
}

.badge-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0F4FF;
  border: 1px solid #D0D8EE;
  border-radius: 100px;
  padding: 14px 23px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-blue);
  white-space: nowrap;
}

.badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Why Us */

#why-us {
  background: #FFFFFF;
  padding: 80px 0;
}

.why-us-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  color: #0a1628;
  text-align: center;
  margin-bottom: 48px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0 auto;
}

.why-us-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.why-us-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EEF2FF;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: var(--text-blue);
  margin-bottom: 12px;
}

.why-us-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 860px) {
  .why-us-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 640px) {
  .why-us-grid { grid-template-columns: 1fr; }
}

/* Testimonials */

#testimonials {
  background: #1A3A6B;
  padding: 90px 0;
}

.testimonials-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: 50px;
  color: #FFFFFF;
  text-align: left;
  margin: 0;
}

/* Title left, oversized closing-quote mark right, sharing the cards' width */
.testimonials-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.testimonials-mark {
  flex: none;
  width: 100px;
  height: 83px;
  fill: var(--hero-navy-deep);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Sharp top-left corner, generous radius on the other three */
.testimonial-card {
  background: #FFFFFF;
  padding: 60px 40px;
  border-radius: 0 80px 80px 80px;
  box-shadow: 0 18px 40px rgba(4, 12, 30, 0.28);
  display: flex;
  flex-direction: column;
}

/* Quote at the top; person block pinned to the bottom so cards align */
.testimonial-card .testimonial-avatar { margin-top: auto; }

.testimonial-avatar {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}

.testimonial-quote-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #EEF2FF;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #3eb4f5;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.7;
  margin: 0 0 35px;
}

.testimonial-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #D0D8EE;
  margin: 0 auto 12px;
}

.testimonial-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.testimonial-title {
  color: #4A5568;
  margin: 4px 0 0;
}

@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .testimonial-name { font-size: 11px; word-break: break-word; }
}

/* Stats Section */

#stats-section {
  background: #152E5A;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  color: #FFFFFF;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.stats-quotes-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  column-gap: 24px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats-quotes-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.stats-quotes-icon svg {
  width: 320px;
  height: auto;
  overflow: visible;
}

.stats-quotes-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: end;
}

.stats-quote-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 56px 56px 56px;
  padding: 24px 28px;
  text-align: left;
}

.stats-quote-mark {
  display: block;
  width: 36px;
  height: 30px;
  fill: #4285F4;
  margin-bottom: 14px;
}

.stats-quote-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 64px;
}

.stats-block {
  text-align: center;
  min-width: 160px;
}

.stats-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 12px;
}

.stats-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #ffffff;
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}


/* Company Intro */

#company-intro {
  background: #F5F7FA;
  padding: 90px 0;
}

.company-intro-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  padding: 0 24px;
}

.company-intro-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 43px;
  color: #0a1628;
  margin-bottom: 24px;
}

.company-intro-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 32px;
}

.company-intro-sub {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: var(--text-blue);
  margin-bottom: 12px;
}

.company-intro-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  height: 100%;
  box-sizing: border-box;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-intro-card-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  margin: -40px -40px 28px -40px;
  padding: 20px 24px;
  background: #152E5A;
  border-radius: 12px 12px 0 0;
}

.company-intro-field {
  width: 100%;
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #D0D8EE;
  margin-bottom: 14px;
  font-size: 17px;
  box-sizing: border-box;
  font-family: var(--font-body);
  resize: vertical;
  color: #0a1628;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.company-intro-field:focus {
  outline: none;
  border-color: #1273B5;
  box-shadow: 0 0 0 3px rgba(18, 115, 181, 0.25);
  caret-color: #1273B5;
}

.company-intro-submit {
  width: 100%;
  background: #F6C754;
  color: #1A3A6B;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

textarea.company-intro-field {
  flex: 1;
  min-height: 160px;
}

.company-intro-submit:hover { transform: translateY(-2px); opacity: 0.92; }

.company-intro-note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: #6B7280;
  text-align: center;
  margin-top: 16px;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .company-intro-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ----------------------------- Pillar overview --------------------------- */

.pillars { padding: 70px 0; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-color-alt);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pillar:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.pillar-icon svg { width: 100%; height: 100%; }

.pillar-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-color);
}

/* -------------------------------- USP band -------------------------------- */

.usp {
  padding: 80px 0;
  background: var(--bg-color-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.usp h2 { max-width: 560px; }

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.usp-item h3 { color: var(--text-color); }

.usp-item p { min-height: 66px; }

/* --------------------------- Direct-contact band --------------------------- */

.direct-contact {
  padding: 46px 0;
  background: linear-gradient(90deg, rgba(26,58,107,0.10), rgba(26,58,107,0.02));
}

.direct-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.direct-contact-inner p {
  margin: 0;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ------------------------------ Case study grid ---------------------------- */

.cases { padding: 90px 0; }

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section-heading-row h2 { margin: 0; }

.view-all { display: none; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-color-alt);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-industry {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.case-stat {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.case-story { margin-bottom: 18px; }

.case-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  padding: 70px 0 30px;
  background: #FFFFFF;
  color: #4A5568;
  border-top: 1px solid #E0E0E0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h2 { font-size: 1.4rem; color: #1A3A6B; }

.footer-col p { font-size: var(--fs-body); }

.footer-col h3 {
  color: #4A5568;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.footer-col a { color: #1A3A6B; }
.footer-col a:hover { color: var(--text-blue); }

.social-row { display: flex; gap: 14px; }

.social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid #D0D8EE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.social-row a:hover {
  border-color: var(--accent-color);
  color: var(--text-blue);
}

.footer-legal {
  border-top: 1px solid #E0E0E0;
  padding-top: 24px;
}

.footer-legal p {
  margin: 0;
  font-size: 0.85rem;
  color: #4A5568;
}

/* ---------------------------------- Responsive ---------------------------------- */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-col-text { order: 0; padding-bottom: 40px; }
  .hero-col-art { order: 1; max-width: 460px; width: 100%; margin: 0 auto; justify-content: center; }
  .pillar-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-phone { display: none; }
  .btn-header { display: none !important; }
  .stat-row { gap: 0; }
}

@media (max-width: 560px) {
  .usp-grid { grid-template-columns: 1fr; }
}

/* ------------------------------ Scroll reveal ------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Differentiation */
#differentiation {
  background: #FFFFFF;
  padding: 90px 0;
}

.diff-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
}

.diff-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 46px;
  line-height: 1.2;
  color: #0a1628;
  margin-bottom: 24px;
}

.diff-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.7;
  margin-bottom: 20px;
}

.diff-bold {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-body);
  color: #0a1628;
  margin-bottom: 20px;
}

.diff-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: #3eb4f5;
  position: relative;
  overflow: visible;
}

.diff-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #3eb4f5;
}

.diff-bubble {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #1A3A6B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  overflow: hidden;
}

.diff-bubble-quote {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 12px;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0;
}

.diff-bubble-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
  color: #C5FF00;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .diff-inner {
    grid-template-columns: 1fr;
  }
  .diff-circle {
    width: 300px;
    height: 300px;
  }
}

/* Flywheel */

.flywheel-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 90px 0;
}

.flywheel-orbit {
  position: relative;
  width: 440px;
  height: 440px;
  flex-shrink: 0;
}

.flywheel-ring {
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  border: 2px dashed rgba(62, 180, 245, 0.45);
  animation: flywheel-spin 28s linear infinite;
}

@keyframes flywheel-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.flywheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #3eb4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 0 32px rgba(62, 180, 245, 0.35);
}

.flywheel-center p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
  line-height: 1.3;
}

.flywheel-node {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #3eb4f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(62, 180, 245, 0.4);
  overflow: hidden;
}

.flywheel-node img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.node-4 img, .node-5 img { filter: brightness(0) invert(1); }

.flywheel-node span {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  max-width: 78px;
}

.node-1 { top: 50px;  left: 220px; transform: translate(-50%, -50%); }
.node-2 { top: 168px; left: 382px; transform: translate(-50%, -50%); }
.node-3 { top: 358px; left: 320px; transform: translate(-50%, -50%); }
.node-4 { top: 358px; left: 120px; transform: translate(-50%, -50%); }
.node-5 { top: 168px; left: 58px;  transform: translate(-50%, -50%); }

.flywheel-arrow-right { flex-shrink: 0; }

.flywheel-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funnel-step {
  background: #3eb4f5;
  color: #0a1628;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  width: 200px;
  text-align: center;
}

.funnel-arrow {
  color: #F6C754;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 0;
}

#flywheel {
  background: #F5F7FA;
  padding: 90px 0;
}

.flywheel-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.flywheel-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  color: #0a1628;
  text-align: center;
  margin-bottom: 16px;
}

.flywheel-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.flywheel-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.flywheel-service {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.flywheel-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.flywheel-service-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: #0a1628;
  margin: 0 0 6px;
}

.flywheel-service-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  margin: 0;
}

.flywheel-service h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: #0a1628;
  margin: 0 0 6px;
}

.flywheel-service p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4a5568;
  margin: 0;
}

.flywheel-services .flywheel-service:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 420px;
}

.flywheel-svg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.flywheel-closing {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  text-align: center;
  max-width: 720px;
  margin: 48px auto 0;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .flywheel-services {
    grid-template-columns: 1fr;
  }
}

/* CTA Section */
#cta-section {
  background: #1A3A6B;
  padding: 90px 0;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 45px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 12px;
}

.cta-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-bottom: 56px;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.cta-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}

.cta-card--accent {
  background: #3eb4f5;
}

.cta-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #EEF2FF;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-card--accent .cta-card-icon {
  background: rgba(255,255,255,0.3);
}

.cta-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: #0a1628;
  margin-bottom: 12px;
}

.cta-card--accent .cta-card-title {
  color: #0a1628;
}

.cta-card-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.6;
  margin: 0;
}

.cta-card--accent .cta-card-desc {
  color: #0a1628;
}

.cta-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background: #F6C754;
  color: #1A3A6B;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 18px 48px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .cta-cards {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
#faq {
  background: #FFFFFF;
  padding: 90px 0;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  color: #0a1628;
  text-align: center;
  margin-bottom: 48px;
}

.faq-item {
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 24px 32px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

details[open].faq-item {
  border-color: #3eb4f5;
  background: #FFFFFF;
}

.faq-question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #0a1628;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: var(--text-blue);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 16px;
}

details[open] .faq-question::after {
  content: "−";
}

.faq-divider {
  border: none;
  border-top: 1px solid #D0D8EE;
  margin: 16px 0;
}

.faq-answer {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.7;
  margin: 0;
}

/* Case Studies */
#case-studies {
  background: #FFFFFF;
  padding: 90px 0;
}

.cs-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.cs-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  color: #0a1628;
  text-align: center;
  margin-bottom: 12px;
}

.cs-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  text-align: center;
  margin-bottom: 48px;
}

.cs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.case-studies-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 100px;
  border: 2px solid #D0D8EE;
  background: #FFFFFF;
  color: #4A5568;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.case-studies-tab i {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.case-studies-tab.active {
  border-color: var(--text-blue);
  color: var(--text-blue);
  background: #EEF8FF;
}

.cs-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cs-panel.active {
  display: grid;
}

.cs-panel-img {
  position: relative;
  height: 320px;
  background: #D0D8EE;
  border-radius: 12px;
  overflow: visible;
}

.cs-badge {
  position: absolute;
  background: #1A3A6B;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 8px;
  width: max-content;
  line-height: 1.4;
}

.cs-badge--1 { top: 20px; left: -16px; }
.cs-badge--2 { bottom: 20px; left: -16px; }

.cs-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-blue);
  margin: 0 0 12px;
}

.cs-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h3);
  color: #0a1628;
  margin: 0 0 16px;
}

.cs-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: #4A5568;
  line-height: 1.7;
  margin: 0 0 12px;
}

@media (max-width: 768px) {
  .cs-panel.active {
    grid-template-columns: 1fr;
  }
  .cs-img-face { background-position: center top !important; }
  #cs-panel-3 .cs-panel-img { background-position: center bottom !important; }
  .cs-badge--1 {
    top: auto;
    bottom: 60px;
    left: -12px;
  }
  .cs-badge--2 {
    top: auto;
    bottom: 8px;
    left: -12px;
  }
  #cs-panel-3 .cs-badge--1 { top: 10px; bottom: auto; }
  #cs-panel-3 .cs-badge--2 { top: 62px; bottom: auto; }
  #cs-panel-4 .cs-badge--1 { top: 20px; bottom: auto; }
  #cs-panel-4 .cs-badge--2 { bottom: 20px; top: auto; }
  #cs-panel-5 .cs-badge--1 { top: 20px; bottom: auto; }
  #cs-panel-5 .cs-badge--2 { bottom: 20px; top: auto; }
}

/* Closing CTA */
#closing-cta {
  background: #1A3A6B;
  padding: 100px 0;
  text-align: center;
}

.closing-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.closing-cta-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h2);
  color: #FFFFFF;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
}

.closing-cta-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: rgba(255,255,255,0.7);
  text-align: center;
  margin-bottom: 48px;
}

.closing-cta-btn {
  background: #F6C754;
  color: #1A3A6B;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 20px 56px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.closing-cta-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* ==========================================================================
   Adapt — mobile and cross-device responsive pass
   ========================================================================== */

/* ---- Hamburger button ---- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #0a1628;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease, width 0.22s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile nav dropdown (GCA pattern) ---- */

.nav-mobile-extras { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #0a1628;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .main-nav.is-open { display: flex; gap: 0; }

  .main-nav.is-open > a {
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    margin: 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    transition: color 0.15s ease;
  }

  .main-nav.is-open > a:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

  .main-nav.is-open > a:hover,
  .main-nav.is-open > a:focus { color: #3eb4f5; }

  .nav-mobile-extras {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px 20px;
  }

  .nav-mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #3eb4f5 !important;
    text-decoration: none;
  }

  .nav-mobile-cta {
    display: block;
    text-align: center;
  }
}

/* ---- Flywheel diagram — stack and scale for mobile ---- */

@media (max-width: 860px) {
  .flywheel-diagram {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin: 56px 0;
  }
  .flywheel-arrow-right { display: none; }
  .flywheel-orbit { zoom: 0.72; }
}

@media (max-width: 420px) { .flywheel-orbit { zoom: 0.66; } }
@media (max-width: 360px) { .flywheel-orbit { zoom: 0.60; } }

/* ---- Hero ---- */

@media (max-width: 860px) {
  .hero { padding: 56px 0 0; }
  .hero-mountain { height: 366px; min-height: 0; }
}

/* ---- Section vertical padding ---- */

@media (max-width: 640px) {
  :root { --fs-h2: clamp(1.9rem, 8.5vw, 2.5rem); --fs-h3: 22px; }
  .hero { padding: 40px 0 0; }
  .hero-mountain { height: 281px; }
  .hero-punch { font-size: clamp(2.1rem, 9.6vw, 2.6rem); max-width: none; }
  .hero-cta { width: 100%; padding: 15px 24px; white-space: nowrap; }

  #why-us          { padding: 56px 0; }
  #testimonials    { padding: 56px 0; }
  #stats-section   { padding: 64px 0; }
  #company-intro   { padding: 56px 0; }
  #differentiation { padding: 56px 0; }
  #flywheel        { padding: 56px 0; }
  #cta-section     { padding: 56px 0; }
  #faq             { padding: 56px 0; }
  #case-studies    { padding: 56px 0; }
  #closing-cta     { padding: 72px 0; }

  /* Section headings with fixed sizes — apply clamp */
  .testimonials-heading { line-height: 1.1; }
  .testimonials-mark    { width: 70px; height: 58px; }
  .stats-number { font-size: clamp(2rem, 9vw, 3rem); }
  .stats-label  { max-width: 100%; }

  /* Hero stat row: flex-wrap 2×2, two per-row divider segments */
  .stat-row { display: flex; flex-wrap: wrap; gap: 24px 0; max-width: 100%; }
  .stat-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 50%;
    padding: 0 20px 0 0;
    border-right: 1px solid #f0f0f0;
    border-bottom: 0;
    border-top: 0;
  }
  .stat-block:nth-child(2n) { padding-right: 0; padding-left: 10px; border-right: 0; }

  /* Stats section blocks: 2-col */
  .stats-row { gap: 20px 16px; }
  .stats-block { min-width: 0; flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }

  /* Stats quote cards: single column on mobile, hide decorative icon */
  .stats-quotes-row { grid-template-columns: 1fr; }
  .stats-quotes-icon { display: none; }

  /* Case study tabs: compact touch targets */
  .case-studies-tab { font-size: 12px; padding: 8px 14px; }
  .cs-panel-img { height: 220px; }

  /* Differentiation circle */
  .diff-circle { width: 320px; height: 320px; }
  .diff-bubble { width: 175px; height: 175px; padding: 16px; bottom: -14px; right: -14px; }
  .diff-bubble-quote { font-size: 11px; line-height: 1.4; }
  .diff-bubble-name { font-size: 9px; letter-spacing: 0.04em; }

  /* CTA cards */
  .cta-card { padding: 28px 20px; }

  /* FAQ — readable touch target */
  .faq-item { padding: 20px 20px; }
  .faq-question { min-height: 44px; }
}

/* Very small screens */
@media (max-width: 480px) {
  .diff-circle { width: 290px; height: 290px; }
  .diff-bubble { width: 158px; height: 158px; padding: 14px; bottom: -12px; right: -12px; }
  .cs-panel-img { height: 200px; }
}

/* Touch device: ensure 44px tap targets */
@media (pointer: coarse) {
  .case-studies-tab { min-height: 44px; }
  .faq-question     { min-height: 44px; }
  .btn, .cta-btn, .closing-cta-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
