/* ==========================================================================
   ascensus.mba — shared styles
   All colours, fonts and spacing live in :root below. Change them here only.
   ========================================================================== */

:root {
  /* Brand colours */
  --navy: #14213D;
  --gold: #FCA311;
  --black: #000000;
  --white: #FFFFFF;

  /* Tints of the brand colours */
  --navy-90: #2B3751;          /* hover on navy */
  --navy-70: #4A5469;          /* secondary text, 7.6:1 on white */
  --navy-20: #D0D3DA;          /* borders */
  --navy-08: #EDEEF1;          /* dividers */
  --navy-04: #F5F6F8;          /* soft panels */
  --gold-dark: #E08E00;        /* gold button hover */
  --gold-20: #FEEDCF;          /* soft gold wash */

  /* WhatsApp green: used only on the WhatsApp buttons */
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Roles */
  --color-text: var(--navy);
  --color-text-muted: var(--navy-70);
  --color-bg: var(--white);
  --color-border: var(--navy-20);
  --color-focus: var(--navy);

  /* Fonts */
  --font-heading: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, sans-serif;

  /* Type scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-section: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  --text-hero: clamp(2.25rem, 1.5rem + 2.7vw, 3.75rem);

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Shape and depth */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(20, 33, 61, 0.06), 0 12px 32px -8px rgba(20, 33, 61, 0.16);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-height: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 160ms;
  --duration-base: 240ms;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + var(--space-4));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-4); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

/* Gold with navy text: 8.2:1 contrast */
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: var(--gold-dark); }

.btn--secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--navy); color: var(--white); }

.btn--sm { min-height: 44px; padding: 0 var(--space-4); font-size: var(--text-sm); }

/* ---------- Top strip ---------- */

.top-strip {
  background: var(--navy);
  color: var(--white);
  font-size: var(--text-xs);
}
.top-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-1) var(--space-3);
  min-height: 36px;
  padding-block: var(--space-2);
  line-height: 1.4;
}

/* Country names with flags (top strip and Where we work) */
.flag-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.flag-list li { display: inline-flex; align-items: center; gap: 6px; }
.flag-list img, .flag { width: 20px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.15); object-fit: cover; flex-shrink: 0; }
.top-strip .flag-list img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }

/* Phones: flags only, so the strip stays on one line. Names are still read out. */
@media (max-width: 767px) {
  .top-strip .flag-list { gap: var(--space-2); }
  .top-strip .flag-list span {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--navy-08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  height: var(--header-height);
}
.site-header__logo { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.site-header__logo img { width: 172px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: var(--space-1); }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  font-weight: 500;
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: background-color var(--duration-fast) ease;
}
.site-nav__link:hover { background: var(--navy-04); }
.site-nav__link[aria-current="page"],
.site-nav__toggle.is-current {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

/* Industries dropdown */
.site-nav__item--dropdown { position: relative; }
.site-nav__toggle {
  gap: var(--space-1);
  border: 0;
  background: none;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
.site-nav__chevron { width: 1em; height: 1em; transition: transform var(--duration-fast) ease; }
.site-nav__toggle[aria-expanded="true"] .site-nav__chevron { transform: rotate(180deg); }

.site-nav__submenu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 220px;
  padding: var(--space-2);
  background: var(--white);
  border: 1px solid var(--navy-08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease, visibility var(--duration-fast);
}
/* Invisible bridge so the menu stays open while the mouse moves down to it */
.site-nav__submenu::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--space-2)); height: var(--space-2); }
.site-nav__toggle[aria-expanded="true"] + .site-nav__submenu { opacity: 1; visibility: visible; transform: none; }

.site-nav__sublink {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
}
.site-nav__sublink .icon { width: 1.1em; height: 1.1em; color: var(--gold-dark); }
.site-nav__sublink:hover { background: var(--navy-04); }
.site-nav__sublink[aria-current="page"] { background: var(--gold-20); }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: var(--space-2);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 1180px) and (hover: hover) {
  .site-nav__item--dropdown:hover .site-nav__submenu { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1179px) {
  .site-header__inner { gap: var(--space-3); }
  .site-header__logo img { width: 148px; }
  .menu-toggle { display: inline-flex; }
  .site-header__cta { margin-left: auto; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--white);
    border-bottom: 1px solid var(--navy-08);
    box-shadow: 0 16px 24px -16px rgba(20, 33, 61, 0.25);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--gutter) var(--space-4);
  }
  .site-nav__link { min-height: 52px; font-size: var(--text-lg); border-bottom: 1px solid var(--navy-08); border-radius: 0; }
  .site-nav { max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
  .site-nav__toggle { width: 100%; justify-content: space-between; color: var(--navy); text-align: left; }
  /* On mobile the dropdown opens as an accordion inside the menu */
  .site-nav__submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: var(--space-1) 0 var(--space-2) var(--space-4);
    border: 0;
    border-bottom: 1px solid var(--navy-08);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__submenu::before { display: none; }
  .site-nav__toggle[aria-expanded="true"] + .site-nav__submenu { display: block; }
  .site-nav__sublink { min-height: 48px; font-size: var(--text-base); }
}

@media (max-width: 560px) {
  .site-header__logo img { width: 128px; }
  /* "Get Your" is hidden on small phones but still read out, so the label stays "Get Your Free Audit" */
  .site-header__cta-extra {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ---------- Page sections (shared) ---------- */
/* Written phone-first: base styles are for small screens, min-width
   media queries add the desktop layout. */

.section { padding-block: var(--space-8); }
.section--tint { background: var(--navy-04); }
.section__head { margin-bottom: var(--space-6); }
.section__title {
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  max-width: 24ch;
}
.section__lede {
  margin-top: var(--space-4);
  max-width: 40rem;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}
.section__more { margin-top: var(--space-6); }

@media (min-width: 768px) {
  .section { padding-block: var(--space-9); }
  .section__head { margin-bottom: var(--space-7); }
}

.text-link {
  /* Extra height for fingers; padding on an inline link does not move the text */
  padding-block: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--duration-fast) ease;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--white); }

/* Heading on the left, content on the right (desktop) */
.split { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-8); align-items: start; }
}

/* ---------- Industry switch: show only the matching examples ---------- */

[data-industry="general"] [data-show]:not([data-show~="general"]),
[data-industry="education"] [data-show]:not([data-show~="education"]),
[data-industry="real-estate"] [data-show]:not([data-show~="real-estate"]) { display: none !important; }

.switch { background: var(--navy); color: var(--white); }
.switch__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  padding-block: var(--space-5);
}
.switch__label { font-family: var(--font-heading); font-weight: 600; font-size: var(--text-lg); }
.switch__options { display: flex; flex-wrap: wrap; gap: var(--space-2); flex: 1 1 100%; }
.switch__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex: 1 1 100%;
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: 500 var(--text-base) var(--font-body);
  cursor: pointer;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.switch__btn .icon { color: var(--gold); transition: color var(--duration-fast) ease; }
.switch__btn:hover { border-color: var(--white); }
.switch__btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }
.switch__btn[aria-pressed="true"] .icon { color: var(--navy); }
.switch__btn:focus-visible, .switch__reset:focus-visible { outline-color: var(--gold); }
.switch__status { flex: 1 1 100%; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.78); }
.switch__reset {
  margin-left: var(--space-2);
  padding: var(--space-1) 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
  cursor: pointer;
}

@media (min-width: 560px) {
  .switch__options { flex: 0 1 auto; }
  .switch__btn { flex: 0 1 auto; }
}
@media (min-width: 1024px) {
  .switch__status { flex: 1 1 auto; text-align: right; }
}

/* ---------- Hero (centred) ---------- */

.hero { padding: var(--space-7) 0 var(--space-6); overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title {
  max-width: 18ch;
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.hero__lede {
  max-width: 38rem;
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  text-wrap: pretty;
}
.hero__actions { display: flex; justify-content: center; width: 100%; margin-top: var(--space-6); }
.hero__actions .btn { flex: 1 1 100%; max-width: 22rem; }
.hero__note {
  display: inline-flex;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.hero__note .icon { width: 1.1em; height: 1.1em; margin-top: 0.2em; color: var(--gold-dark); }

@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 0 auto; padding-inline: var(--space-6); }
}
@media (min-width: 1024px) {
  .hero { padding: var(--space-8) 0 var(--space-7); }
}

/* Growth illustration: five 3D-look bars rise one after another, then the gold
   line with the upward arrow (from the logo) climbs over them. Plays once. */
.growth { width: 100%; max-width: 680px; margin-top: var(--space-6); }
.growth__art { width: 100%; height: auto; overflow: visible; }
.growth__shadow { fill: var(--navy-08); }
.growth__front { fill: var(--navy); }
.growth__side { fill: #0B1426; }
.growth__top { fill: var(--navy-70); }
.growth__bar--last .growth__front { fill: var(--navy-90); }
.growth__bar--last .growth__top { fill: var(--gold); }
.growth__line, .growth__arrow path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.growth__line { stroke-dasharray: 1; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .growth__bar {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: growth-rise 700ms var(--ease-out) both;
    animation-delay: calc(200ms + var(--i) * 120ms);
  }
  .growth__line { animation: growth-draw 900ms var(--ease-out) 900ms both; }
  .growth__arrow { animation: growth-arrow 300ms ease-out 1700ms both; }
}
@keyframes growth-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growth-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes growth-arrow { from { opacity: 0; } to { opacity: 1; } }

/* Mock landing page drawn in code (used in the concept campaigns) */
.mock-page {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 80%;
  background: var(--white);
  border: 1px solid var(--navy-20);
  border-radius: 1em;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-page__bar {
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1em;
  background: var(--navy-04);
  border-bottom: 1px solid var(--navy-08);
}
.mock-page__bar span { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--navy-20); flex-shrink: 0; }
.mock-page__bar p { margin-left: 0.5em; font-size: 0.8em; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-page__body { padding: 1.5em 1.5em 1.7em; }
.mock-page__kicker { font-size: 0.85em; font-weight: 600; color: var(--gold-dark); }
.mock-page__title { margin-top: 0.25em; font-family: var(--font-heading); font-size: 1.8em; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.mock-page__text { max-width: 22em; margin-top: 0.5em; font-size: 0.9em; line-height: 1.45; color: var(--color-text-muted); }
.mock-page__btn {
  display: inline-block;
  margin-top: 1.1em;
  padding: 0.6em 1.2em;
  border-radius: 0.5em;
  background: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.9em;
  font-weight: 600;
}

/* Ad card: reused in the hero and in the concept campaigns */
.mock-ad {
  background: var(--white);
  border: 1px solid var(--navy-20);
  border-radius: 1em;
  box-shadow: 0 18px 40px -16px rgba(20, 33, 61, 0.4);
  overflow: hidden;
  text-align: left;
}
.mock-ad__head { display: flex; align-items: center; gap: 0.6em; padding: 0.8em; }
.mock-ad__avatar {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  flex-shrink: 0;
}
.mock-ad__avatar .icon { width: 1.2em; height: 1.2em; }
.mock-ad__head p { line-height: 1.2; min-width: 0; }
.mock-ad__head strong { display: block; font-size: 0.85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-ad__head small { display: block; font-size: 0.72em; color: var(--color-text-muted); }
.mock-ad__media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  aspect-ratio: 4 / 3;
  padding: 1em;
  background: var(--navy);
  color: var(--white);
}
.mock-ad__media .icon { width: 2em; height: 2em; color: var(--gold); }
.mock-ad__media p { font-family: var(--font-heading); font-size: 1.15em; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.mock-ad__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.7em 0.8em; }
.mock-ad__foot p { font-size: 0.75em; color: var(--color-text-muted); line-height: 1.25; }
.mock-ad__foot span {
  padding: 0.45em 0.7em;
  border-radius: 0.4em;
  background: var(--navy-04);
  border: 1px solid var(--navy-20);
  font-size: 0.72em;
  font-weight: 600;
  white-space: nowrap;
}

.mock-pill {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.55em 0.95em 0.55em 0.6em;
  border: 1px solid var(--navy-20);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.82em;
  font-weight: 600;
  box-shadow: 0 8px 20px -10px rgba(20, 33, 61, 0.45);
  white-space: nowrap;
}
.mock-pill .icon { width: 1.5em; height: 1.5em; padding: 0.25em; border-radius: 50%; background: var(--gold); color: var(--navy); }

/* ---------- Industries we serve (home): pick your industry ---------- */

.industries { display: grid; gap: var(--space-6); }
.industries__question { font-size: var(--text-xl); font-weight: 600; }
.pick { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.pick__btn {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  min-height: 88px;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-decoration: none;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-base) ease, transform var(--duration-base) var(--ease-out);
}
.pick__btn:hover { border-color: var(--navy); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.pick__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--gold);
  flex-shrink: 0;
}
.pick__icon .icon { width: 26px; height: 26px; }
.pick__text strong { display: block; font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.pick__text small { display: block; margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.45; }

@media (min-width: 1024px) {
  .industries { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
}

/* ---------- Problems we solve ---------- */

.problems { border-top: 1px solid var(--navy-20); }
.problem { display: grid; gap: var(--space-3); padding-block: var(--space-5); border-bottom: 1px solid var(--navy-20); }
.problem h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.problem__text { margin-top: var(--space-1); color: var(--color-text-muted); }
.problem__fix { display: flex; align-items: flex-start; gap: var(--space-3); }
.problem__fix .icon {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
}
.problem__fix strong { font-family: var(--font-heading); font-weight: 600; }

@media (min-width: 900px) {
  .problem { grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
}

/* ---------- Services (five cards) ---------- */

.service-grid { display: grid; gap: var(--space-4); }
.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--gold);
}
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card h3 { margin-top: var(--space-4); font-size: var(--text-xl); font-weight: 700; line-height: 1.2; }
.service-card__what { margin-top: var(--space-2); }

/* Tick-mark points (services and other short lists) */
.ticks { display: grid; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px dashed var(--navy-20); font-size: var(--text-sm); }
.ticks li { display: flex; align-items: flex-start; gap: var(--space-2); }
.ticks .icon { width: 1.15em; height: 1.15em; margin-top: 0.2em; color: var(--gold-dark); }
.service-card__eg {
  margin-top: auto;
  padding-top: var(--space-4);
}
.service-card__eg p {
  padding-top: var(--space-4);
  border-top: 1px dashed var(--navy-20);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.service-card__eg strong { color: var(--navy); font-weight: 600; }

.service-card--more { justify-content: center; background: var(--navy); border-color: var(--navy); color: var(--white); }
.service-card--more h3 { margin-top: 0; }
.service-card--more p { margin-top: var(--space-2); color: rgba(255, 255, 255, 0.8); }
.service-card--more .text-link { margin-top: var(--space-4); align-self: flex-start; }

@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

/* ---------- CTA band ---------- */

.cta-band { background: var(--gold-20); }
.cta-band__inner { display: grid; gap: var(--space-5); padding-block: var(--space-7); }
.cta-band__title { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; text-wrap: balance; }
.cta-band__text { margin-top: var(--space-3); max-width: 40rem; color: var(--navy-70); }
.cta-band .btn { justify-self: start; }

@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; gap: var(--space-7); }
}
@media (max-width: 559px) {
  .cta-band .btn { justify-self: stretch; }
}

/* ---------- Small by design ---------- */

.small-grid { display: grid; gap: var(--space-5); }
.small-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); }
.small-item__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-20);
  color: var(--navy);
}
.small-item h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.small-item p { margin-top: var(--space-1); color: var(--color-text-muted); }

@media (min-width: 768px) {
  .small-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
/* Home: five points read as one list beside the heading */
@media (min-width: 768px) { .small-grid--list { grid-template-columns: 1fr; gap: var(--space-5); } }

/* ---------- Our story (short) ---------- */

.story { max-width: 40rem; }
.story p + p { margin-top: var(--space-4); }
.story p:not(.story__lead) { color: var(--color-text-muted); }
.story__lead {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.story .text-link { display: inline-block; margin-top: var(--space-3); }

@media (min-width: 768px) { .story__lead { font-size: var(--text-2xl); line-height: 1.25; } }

/* ---------- ASCEND framework ---------- */

.ascend { background: var(--navy); color: var(--white); }
.ascend .section__lede { color: rgba(255, 255, 255, 0.78); }

.ascend__steps { display: grid; gap: var(--space-6); margin: 0; padding: 0; list-style: none; }
.ascend__step { display: grid; grid-template-columns: 3.25rem 1fr; column-gap: var(--space-4); align-content: start; }
.ascend__letter {
  grid-row: 1 / span 3;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.85;
  color: var(--gold);
}
.ascend__name { font-size: var(--text-lg); font-weight: 600; }
.ascend__desc { margin-top: var(--space-1); color: rgba(255, 255, 255, 0.8); }
.ascend__eg {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.07);
  font-size: var(--text-sm);
}

/* Desktop: the six letters spell ASCEND in a row, rising left to right
   like steps, a nod to the name (ascensus = rising) */
@media (min-width: 1100px) {
  .ascend__steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-5); align-items: start; }
  .ascend__step { display: flex; flex-direction: column; }
  .ascend__letter { font-size: 6rem; margin-bottom: var(--space-4); }
  .ascend__step:nth-child(1) { padding-top: 120px; }
  .ascend__step:nth-child(2) { padding-top: 96px; }
  .ascend__step:nth-child(3) { padding-top: 72px; }
  .ascend__step:nth-child(4) { padding-top: 48px; }
  .ascend__step:nth-child(5) { padding-top: 24px; }
  .ascend__desc { font-size: var(--text-sm); }
}

/* One reveal moment: the letters rise in when the section scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .has-reveal [data-reveal] .ascend__letter {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  }
  .has-reveal [data-reveal] .ascend__step:nth-child(2) .ascend__letter { transition-delay: 90ms; }
  .has-reveal [data-reveal] .ascend__step:nth-child(3) .ascend__letter { transition-delay: 180ms; }
  .has-reveal [data-reveal] .ascend__step:nth-child(4) .ascend__letter { transition-delay: 270ms; }
  .has-reveal [data-reveal] .ascend__step:nth-child(5) .ascend__letter { transition-delay: 360ms; }
  .has-reveal [data-reveal] .ascend__step:nth-child(6) .ascend__letter { transition-delay: 450ms; }
  .has-reveal [data-reveal].is-revealed .ascend__letter { opacity: 1; transform: none; }
}

/* ---------- Concept campaigns preview ---------- */

.concepts { display: grid; gap: var(--space-7) var(--space-5); }
.concept { display: flex; flex-direction: column; }
.concept__visual {
  display: grid;
  place-items: center;
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--navy-04);
  container-type: inline-size;
}
.concept__visual .mock-ad { width: min(76%, 320px); font-size: 4.5cqi; }
.concept__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}
.concept__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.concept h3 { margin-top: var(--space-2); font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.concept__channels { margin-top: var(--space-1); font-size: var(--text-sm); font-weight: 600; color: var(--gold-dark); }
.concept__goal { margin-top: var(--space-2); color: var(--color-text-muted); }

@media (min-width: 640px) { .concepts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .concepts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Where we work ---------- */

.where { display: grid; gap: var(--space-6); }
.where__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.where__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}
.where__list .flag { width: 24px; height: 18px; }

@media (min-width: 640px) { .where__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .where { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; } }

/* ---------- Final CTA with the free audit form ---------- */

.final-cta__inner { display: grid; gap: var(--space-7); }
.final-cta .section__title { max-width: 20ch; }
.checklist { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.checklist li { display: flex; align-items: flex-start; gap: var(--space-3); }
.checklist .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
}

.form-card {
  padding: var(--space-5) var(--space-4);
  border: 1px solid var(--navy-20);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.form-card__title { margin-bottom: var(--space-5); font-size: var(--text-xl); font-weight: 700; }

@media (min-width: 560px) { .form-card { padding: var(--space-6); } }
@media (min-width: 1024px) {
  .final-cta__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
}

/* ---------- Inner page intro (Services and later pages) ---------- */

.page-hero { padding: var(--space-7) 0 var(--space-6); }
.page-hero__title {
  max-width: 20ch;
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.page-hero__lede { max-width: 44rem; margin-top: var(--space-5); font-size: var(--text-lg); color: var(--color-text-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.page-hero__actions .btn { flex: 1 1 100%; }

@media (min-width: 560px) { .page-hero__actions .btn { flex: 0 0 auto; } }
@media (min-width: 1024px) { .page-hero { padding: var(--space-8) 0 var(--space-7); } }

/* Shortcut links to each service */
.jump-nav { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--navy-08); }
.jump-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--navy-20);
  border-radius: 999px;
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.jump-nav a:hover { border-color: var(--navy); background: var(--navy-04); }
.jump-nav .icon { width: 1.05em; height: 1.05em; color: var(--gold-dark); }

/* ---------- One service, with its five parts ---------- */

.svc { padding-block: var(--space-8); }
.svc--tint { background: var(--navy-04); }
.svc__inner { display: grid; gap: var(--space-6); }

.svc__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--gold);
}
.svc__icon .icon { width: 26px; height: 26px; }
.svc__title {
  margin-top: var(--space-4);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.svc__title span { display: block; margin-top: var(--space-1); font-size: 0.55em; font-weight: 600; letter-spacing: 0; color: var(--color-text-muted); }
.svc__what { max-width: 34rem; margin-top: var(--space-4); font-size: var(--text-lg); }
.svc__what strong { font-family: var(--font-heading); font-weight: 600; }

.svc__parts { display: grid; gap: var(--space-4); }
.svc__part {
  padding: var(--space-5);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-md);
  background: var(--white);
}
.svc__part h3 {
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--gold);
  font-size: var(--text-base);
  font-weight: 700;
}
.svc__part > p + p { margin-top: var(--space-3); }
.svc__note, .svc__sub { font-size: var(--text-sm); color: var(--color-text-muted); }
.svc__sub { margin-top: var(--space-4); }

.svc__who + .svc__who { margin-top: var(--space-4); }
.svc__who-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
}
.svc__who-label .icon { width: 1.1em; height: 1.1em; color: var(--gold-dark); }

.dot-list { display: grid; gap: var(--space-2); }
.dot-list li { position: relative; padding-left: var(--space-4); }
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* "What it can include": a menu of options, shown as tags */
.include-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.include-list li {
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  background: var(--gold-20);
  font-size: var(--text-sm);
  line-height: 1.5;
}
.include-groups { display: grid; gap: var(--space-3); }
.include-groups li { padding-left: var(--space-4); border-left: 3px solid var(--gold-20); }
.include-groups strong { font-family: var(--font-heading); font-weight: 600; }

@media (min-width: 768px) {
  .svc { padding-block: var(--space-9); }
  .svc__parts { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}
@media (min-width: 1024px) {
  .svc__inner { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); gap: var(--space-8); align-items: start; }
  /* The service name stays in view while reading its details */
  .svc__head { position: sticky; top: calc(var(--header-height) + var(--space-6)); }
}

/* ---------- Reporting ---------- */

.report-grid { display: grid; gap: var(--space-4); }
.report-grid li {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--navy-20);
}
.report-grid h3 { font-size: var(--text-lg); font-weight: 600; }
.report-grid p { margin-top: var(--space-2); color: var(--color-text-muted); }
@media (min-width: 640px) { .report-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- How every plan is built (a real sequence, so numbered) ---------- */

.plan-steps { display: grid; gap: var(--space-5); margin: 0; padding: 0; list-style: none; counter-reset: plan; }
.plan-steps li {
  position: relative;
  padding: var(--space-6) var(--space-5) var(--space-5);
  border-top: 4px solid var(--navy);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--navy-04);
  counter-increment: plan;
}
.plan-steps li::before {
  content: counter(plan);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--gold);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
}
.plan-steps h3 { font-size: var(--text-xl); font-weight: 700; }
.plan-steps p { margin-top: var(--space-2); color: var(--color-text-muted); }
@media (min-width: 900px) { .plan-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ (click a question to open its answer) ---------- */

.faq { border-top: 1px solid var(--navy-20); }
.faq details { border-bottom: 1px solid var(--navy-20); }
.faq summary {
  position: relative;
  display: block;
  padding: var(--space-4) var(--space-7) var(--space-4) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: var(--space-2);
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: translateY(-75%) rotate(45deg);
  transition: transform var(--duration-base) var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq summary:hover { color: var(--navy-70); }
.faq details p { max-width: 40rem; padding-bottom: var(--space-5); color: var(--color-text-muted); }

/* Two buttons side by side in the CTA band */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 559px) { .cta-band__actions .btn { flex: 1 1 100%; } }

/* ---------- About: full story ---------- */

.story--full .story__close { color: var(--navy); font-weight: 500; }

/* ---------- About: what the name means ---------- */
/* The two halves of the logo, set large in the logo's own colours */

.name-parts { display: grid; gap: var(--space-4); }
.name-part { padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); }
.name-part--word { background: var(--navy); color: var(--white); }
.name-part--mba { background: var(--gold-20); }
.name-part__word {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2rem + 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.name-part--word .name-part__word { color: var(--white); }
.name-part--mba .name-part__word { color: var(--gold-dark); font-weight: 600; }
.name-part__def { margin-top: var(--space-4); font-size: var(--text-lg); }
.name-part__def strong { color: var(--gold); font-weight: 600; }
.name-part__text { max-width: 30rem; margin-top: var(--space-4); }
.name-part--word .name-part__text { color: rgba(255, 255, 255, 0.8); }
.name-part--mba .name-part__text { color: var(--navy-70); }

/* ".mba" panel: a small tree. One root, three arrows rising to Marketing, Business and AI */
.mba-tree { width: 100%; max-width: 420px; height: auto; margin-top: var(--space-5); overflow: visible; }
.mba-tree__line, .mba-tree__head { fill: none; stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mba-tree__head { stroke: var(--gold-dark); }
.mba-tree__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mba-tree__root { fill: var(--gold-dark); }
.mba-tree__word { font-family: var(--font-heading); font-size: 22px; font-weight: 600; fill: var(--navy); }

/* On scroll the arrows grow one by one: Marketing, then Business, then AI.
   With reduced motion (or no JavaScript) the finished tree simply shows. */
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .mba-tree[data-reveal] .mba-tree__line { stroke-dashoffset: 1; transition: stroke-dashoffset 600ms var(--ease-out); transition-delay: calc(var(--i) * 450ms); }
  .has-reveal .mba-tree[data-reveal] .mba-tree__head,
  .has-reveal .mba-tree[data-reveal] .mba-tree__word { opacity: 0; transition: opacity 300ms ease; transition-delay: calc(var(--i) * 450ms + 500ms); }
  .has-reveal .mba-tree[data-reveal].is-revealed .mba-tree__line { stroke-dashoffset: 0; }
  .has-reveal .mba-tree[data-reveal].is-revealed .mba-tree__head,
  .has-reveal .mba-tree[data-reveal].is-revealed .mba-tree__word { opacity: 1; }
}

@media (min-width: 768px) {
  .name-parts { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-5); }
  .name-part { padding: var(--space-7) var(--space-6); }
}

/* ---------- About: our rules ---------- */

.rules { display: grid; gap: var(--space-4); }
.rule {
  padding: var(--space-5);
  border: 1px solid var(--navy-20);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.rule__title { font-size: var(--text-xl); font-weight: 700; line-height: 1.2; }
.rule p { margin-top: var(--space-3); color: var(--color-text-muted); }

@media (min-width: 900px) {
  .rules { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .rule { padding: var(--space-6); }
}

/* ---------- About: why choose ascensus.mba ---------- */

.why-grid { display: grid; gap: var(--space-6) var(--space-5); }
.why-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-20);
  color: var(--navy);
}
.why-item__icon .icon { width: 22px; height: 22px; }
.why-item h3 { margin-top: var(--space-3); font-size: var(--text-lg); font-weight: 600; }
.why-item p { margin-top: var(--space-1); color: var(--color-text-muted); }

@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-7) var(--space-6); } }

/* ---------- Direct contact links beside a form ---------- */

.contact-direct { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.contact-direct a {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.contact-direct a:hover { border-color: var(--navy); background: var(--navy-04); }
.contact-direct__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  flex-shrink: 0;
}
.contact-direct__icon .icon { width: 22px; height: 22px; }
.contact-direct strong { display: block; font-family: var(--font-heading); font-weight: 600; }
.contact-direct a span:last-child { min-width: 0; overflow-wrap: anywhere; color: var(--color-text-muted); }
.contact-direct a span:last-child strong { color: var(--navy); }

/* ---------- Industry pages: hero with an example ad ---------- */

.page-hero__grid { display: grid; gap: var(--space-7); }
.industry-visual { width: 100%; max-width: 440px; margin: 0 auto; container-type: inline-size; }
.industry-visual__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 12% 10% 10%;
  border-radius: var(--radius-lg);
  background: var(--navy-04);
}
.industry-visual .mock-ad { width: 78%; font-size: 4.4cqi; }
.industry-visual .mock-pill { position: absolute; top: 4%; right: 4%; font-size: 3.4cqi; }

@media (min-width: 1024px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-8); align-items: center; }
}

/* ---------- Industry pages: how each service helps ---------- */

.apply-list { border-top: 1px solid var(--navy-20); }
.apply {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--navy-20);
}
.apply__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--gold);
}
.apply__icon .icon { width: 22px; height: 22px; }
.apply h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.apply p { margin-top: var(--space-1); max-width: 44rem; color: var(--color-text-muted); }
.apply__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  grid-column: 2;
  justify-self: start;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.apply__link:hover { text-decoration-color: currentColor; }

@media (min-width: 768px) {
  .apply { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-5); }
  .apply__link { grid-column: 3; }
}

/* ---------- Real estate: campaign types table ---------- */

.campaign-table { width: 100%; border-collapse: collapse; }
.campaign-table th, .campaign-table td { text-align: left; vertical-align: top; }
.campaign-table thead th {
  padding: var(--space-3) var(--space-4);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
}
.campaign-table thead th:first-child { border-radius: var(--radius-md) 0 0 0; }
.campaign-table thead th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.campaign-table tbody tr { background: var(--white); border-bottom: 1px solid var(--navy-20); }
.campaign-table tbody th, .campaign-table td { padding: var(--space-4); }
.campaign-table tbody th { font-family: var(--font-heading); font-weight: 600; }
.campaign-table td { color: var(--color-text-muted); }

/* Phones: each row becomes a small card with labels */
@media (max-width: 767px) {
  .campaign-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .campaign-table, .campaign-table tbody, .campaign-table tr, .campaign-table th, .campaign-table td { display: block; }
  .campaign-table tbody { display: grid; gap: var(--space-3); }
  .campaign-table tbody tr { padding: var(--space-4); border: 1px solid var(--navy-20); border-left: 4px solid var(--gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
  .campaign-table tbody th { padding: 0 0 var(--space-2); font-size: var(--text-lg); }
  .campaign-table td { padding: var(--space-1) 0 0; }
  .campaign-table td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--navy); }
}

/* ---------- Industry pages: segments we serve ---------- */

.segments { display: grid; gap: var(--space-4); }
.segment {
  padding: var(--space-5);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.segment__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-20);
  color: var(--navy);
}
.segment__icon .icon { width: 22px; height: 22px; }
.segment h3 { margin-top: var(--space-4); font-size: var(--text-lg); font-weight: 600; line-height: 1.25; }
.segment p { margin-top: var(--space-2); color: var(--color-text-muted); }

@media (min-width: 640px) { .segments { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .segments--3 { grid-template-columns: repeat(3, 1fr); }
  .segments--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Free audit offer band ---------- */

.offer { padding-block: var(--space-8); background: var(--gold-20); scroll-margin-top: var(--space-4); }
.offer__inner { display: grid; gap: var(--space-6); }
.offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.offer__actions .btn { flex: 1 1 100%; }
.offer__actions .form__badge { justify-content: flex-start; }
.offer__list { margin-top: 0; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--white); }

@media (min-width: 560px) { .offer__actions .btn { flex: 0 0 auto; } }
@media (min-width: 1024px) {
  .offer { padding-block: var(--space-9); }
  .offer__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
  .offer__list { padding: var(--space-6); }
}

/* ---------- Portfolio: intro note ---------- */

.page-hero__note { max-width: 44rem; margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.section--flush { padding-block: 0; }

/* ---------- Tabs (Education / Real Estate) ---------- */

.tabs__bar {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: var(--white);
  border-block: 1px solid var(--navy-08);
}
.tabs__list { display: flex; gap: var(--space-2); padding-block: var(--space-3); }
.tabs__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex: 1 1 0;
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 1.5px solid var(--navy-20);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: 600 var(--text-base) var(--font-heading);
  cursor: pointer;
  transition: background-color var(--duration-fast) ease, border-color var(--duration-fast) ease, color var(--duration-fast) ease;
}
.tabs__tab .icon { color: var(--gold-dark); }
.tabs__tab:hover { border-color: var(--navy); }
.tabs__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tabs__tab[aria-selected="true"] .icon { color: var(--gold); }
.tabs__panel:focus-visible { outline-offset: -3px; }

@media (min-width: 560px) { .tabs__tab { flex: 0 0 auto; } }

/* ---------- Portfolio: one concept campaign ---------- */

.cases { display: grid; gap: var(--space-8); padding-block: var(--space-7) var(--space-8); }
.case {
  display: grid;
  grid-template-areas: "head" "creatives" "text";
  gap: var(--space-5);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--navy-20);
  scroll-margin-top: calc(var(--header-height) + 80px);
}
.case:last-child { padding-bottom: 0; border-bottom: 0; }
.case__head { grid-area: head; }
.case__head .concept__label { margin-top: 0; }
.case__title {
  margin-top: var(--space-2);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}
.case__creatives { grid-area: creatives; margin: 0; container-type: inline-size; }
.case__creatives-label { margin-bottom: var(--space-2); font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); }
.case__text { grid-area: text; }

.case__facts { display: grid; gap: var(--space-4); margin: 0; }
.case__facts div { padding-left: var(--space-4); border-left: 3px solid var(--gold); }
.case__facts dt { font-family: var(--font-heading); font-weight: 700; }
.case__facts dd { margin: var(--space-1) 0 0; color: var(--color-text-muted); }

.case__sub { margin: var(--space-6) 0 var(--space-3); font-size: var(--text-lg); font-weight: 700; }
.case__ascend { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.case__ascend li { display: grid; grid-template-columns: 36px 1fr; gap: var(--space-3); align-items: start; }
.case__letter {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
}
.case__ascend p { padding-top: 6px; }
.case__ascend strong { font-family: var(--font-heading); font-weight: 600; }

@media (min-width: 1024px) {
  .case {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head head" "text creatives";
    column-gap: var(--space-8);
  }
  /* The creatives stay in view while reading the plan beside them */
  .case__creatives { position: sticky; top: calc(var(--header-height) + 96px); align-self: start; }
}

/* ---------- Sample creatives board (ad, carousel frames, landing page) ---------- */
/* Sized from the width of its frame (.case__creatives), so it looks the same at every screen size */

.board {
  display: grid;
  grid-template-areas: "ad" "carousel" "page";
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--navy-04);
}
.board__ad { grid-area: ad; }
.board__ad .mock-ad { width: 82%; margin-inline: auto; font-size: 4.6cqi; }
.board__page { grid-area: page; }
.board__page .mock-page { position: static; width: 100%; font-size: 3.4cqi; }

.board__carousel { grid-area: carousel; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.board__carousel li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5em;
  aspect-ratio: 1;
  padding: 0.8em;
  border-radius: 0.8em;
  font-size: 3.4cqi;
  box-shadow: 0 6px 16px -8px rgba(20, 33, 61, 0.35);
}
.board__carousel li:nth-child(1) { background: var(--navy); color: var(--white); }
.board__carousel li:nth-child(2) { background: var(--gold-20); }
.board__carousel li:nth-child(3) { background: var(--white); border: 1px solid var(--navy-20); }
.board__carousel span { font-size: 0.8em; font-weight: 600; opacity: 0.7; }
.board__carousel p { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }

@container (min-width: 480px) {
  .board { grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "page page" "ad carousel"; align-items: start; }
  .board__page .mock-page { font-size: 2.3cqi; }
  .board__ad .mock-ad { width: 100%; font-size: 2.6cqi; }
  .board__carousel { grid-template-columns: 1fr; }
  .board__carousel li { aspect-ratio: auto; min-height: 5.2em; font-size: 2.5cqi; }
}

/* ---------- Contact page ---------- */

.form__badge.form__badge--start { justify-content: flex-start; margin-top: var(--space-4); }

.ways { display: grid; gap: var(--space-4); }
.way {
  display: flex;
  flex-direction: column;
  padding: var(--space-5);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.way__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.way__icon .icon { width: 24px; height: 24px; }
.way h3 { margin-top: var(--space-4); font-size: var(--text-xl); font-weight: 700; }
.way p { margin-top: var(--space-2); color: var(--color-text-muted); }
.way__detail { display: block; padding-block: 9px; margin-top: 0; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.way__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-top: auto; padding-top: var(--space-5); }
.way__actions .btn { width: 100%; }

@media (min-width: 768px) { .ways { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }

.contact-layout { display: grid; gap: var(--space-7); }
.next-steps .thanks__steps { margin-top: var(--space-5); }
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-8); align-items: start; }
}

.social-title { margin-top: var(--space-6); font-size: var(--text-lg); font-weight: 600; }
.social-links { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-4);
  border: 1px solid var(--navy-20);
  border-radius: 999px;
  background: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.social-links a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.social-links .icon { width: 1.1em; height: 1.1em; }

/* ---------- Free audit page ---------- */

.facts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  background: var(--gold-20);
  font-size: var(--text-sm);
  font-weight: 600;
}
.facts .icon { width: 1em; height: 1em; color: var(--navy); }

/* Audit summary illustration (no numbers: it shows the parts, not results) */
.audit-mock { width: 100%; max-width: 420px; margin: 0 auto; }
.audit-mock__card {
  padding: var(--space-5);
  border: 1px solid var(--navy-20);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.audit-mock__title { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700; }
.audit-mock__sub { font-size: var(--text-sm); color: var(--color-text-muted); }
.audit-mock__rows { margin-top: var(--space-4); border-top: 1px solid var(--navy-08); }
.audit-mock__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--navy-08);
  font-weight: 500;
}
.audit-mock__rows em {
  padding: 2px var(--space-3);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
}
.audit-mock__fixes-title { margin-top: var(--space-4); font-family: var(--font-heading); font-weight: 600; }
.audit-mock__fixes { display: grid; gap: var(--space-2); margin: var(--space-2) 0 0; padding: 0; list-style: none; counter-reset: fix; }
.audit-mock__fixes li { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: var(--space-3); row-gap: 6px; align-items: center; counter-increment: fix; }
.audit-mock__fixes li::before {
  content: counter(fix);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}
/* Placeholder text lines */
.audit-mock__fixes span { display: block; height: 8px; border-radius: 4px; background: var(--navy-08); }
.audit-mock__fixes span:first-child { width: 85%; background: var(--navy-20); }
.audit-mock__fixes span:last-child { width: 60%; }
.audit-mock__foot {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--navy-04);
  font-size: var(--text-sm);
  font-weight: 600;
}
.audit-mock__foot .icon { color: var(--gold-dark); }

.included { display: grid; gap: var(--space-4); }
.included__item { padding: var(--space-5); border: 1px solid var(--navy-20); border-radius: var(--radius-lg); background: var(--white); }
.included__item h3 { margin-top: var(--space-3); font-size: var(--text-lg); font-weight: 600; }
.included__item p { margin-top: var(--space-2); color: var(--color-text-muted); }
.included__item--key { background: var(--navy); border-color: var(--navy); color: var(--white); }
.included__item--key p { color: rgba(255, 255, 255, 0.8); }
.included__item--key .why-item__icon { background: var(--gold); }

@media (min-width: 640px) { .included { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .included { grid-template-columns: repeat(6, 1fr); gap: var(--space-5); }
  .included__item { grid-column: span 2; }
  .included__item:nth-child(4) { grid-column: 2 / span 2; }
}

/* ---------- Privacy policy (long-form text) ---------- */

.prose { max-width: 44rem; }
.prose h2 { margin-top: var(--space-7); font-size: var(--text-xl); font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: var(--space-3); color: var(--navy-70); }
.prose ul { display: grid; gap: var(--space-2); padding-left: var(--space-5); list-style: disc; }
.prose li::marker { color: var(--gold-dark); }
.prose strong { color: var(--navy); }
.prose a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- 404 page ---------- */

.not-found { padding-bottom: var(--space-9); }
.not-found__code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold);
}
.not-found .page-hero__title { margin-top: var(--space-3); }
.not-found__links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); max-width: 40rem; margin-top: var(--space-7); }
.not-found__links a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--navy-20);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.not-found__links a:hover { border-color: var(--navy); background: var(--navy-04); }
.not-found__links .icon { color: var(--gold-dark); }
@media (min-width: 640px) { .not-found__links { grid-template-columns: repeat(3, 1fr); } }

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

.site-footer {
  background: var(--navy-04);
  border-top: 3px solid var(--gold);
  font-size: var(--text-sm);
  /* Empty space at the very bottom so the floating WhatsApp button
     never covers the social icons or the copyright line */
  padding-bottom: 96px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-7) var(--space-6);
  padding-block: var(--space-8) var(--space-7);
}
.site-footer__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__logo img { width: 180px; height: auto; mix-blend-mode: multiply; }
.site-footer__desc { margin-top: var(--space-4); max-width: 30rem; font-size: var(--text-base); }
.site-footer__meaning { margin-top: var(--space-3); max-width: 30rem; color: var(--color-text-muted); }
.site-footer__meaning strong { color: var(--gold-dark); font-weight: 600; }

.site-footer__heading {
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
}
.site-footer__col li + li { margin-top: var(--space-1); }
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 32px;
  color: var(--navy);
  text-decoration: none;
}
.site-footer__col a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-footer__contact a { word-break: break-all; }
.site-footer__contact .icon { width: 1.1em; height: 1.1em; }
.site-footer__note { margin-top: var(--space-3); color: var(--color-text-muted); }

.site-footer__social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.site-footer__social li + li { margin-top: 0; }
.site-footer .site-footer__social a {
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--navy-20);
  border-radius: 50%;
  background: var(--white);
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.site-footer .site-footer__social a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.site-footer__social .icon { width: 20px; height: 20px; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-5);
  /* Divider drawn inside the side padding so it lines up with the content */
  background: linear-gradient(var(--navy-20), var(--navy-20)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; padding-block: var(--space-7) var(--space-6); }
  .site-footer__grid > .site-footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .site-footer__col a { min-height: 44px; }
  .site-footer__col li + li { margin-top: 0; }
}

/* ---------- Floating WhatsApp button ---------- */

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 24px -6px rgba(20, 33, 61, 0.45);
  transition: background-color var(--duration-fast) ease, transform var(--duration-base) var(--ease-out);
}
.whatsapp-float .icon { width: 30px; height: 30px; }
.whatsapp-float:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }
.whatsapp-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; border-radius: 50%; }

/* Gentle green pulse ring */
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float::before { animation: wa-pulse 2.8s var(--ease-out) infinite; }
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- Forms (shared by every form on the site) ---------- */

.form { display: grid; gap: var(--space-4); }
.form__field { display: grid; gap: var(--space-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.form__label { font-family: var(--font-heading); font-weight: 600; font-size: var(--text-sm); padding: 0; }
.form__optional { font-family: var(--font-body); font-weight: 400; color: var(--color-text-muted); }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.form__input {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem; /* 16px stops phones zooming in on focus */
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.form__input:hover { border-color: var(--navy-70); }
.form__input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--gold-20); }
textarea.form__input { min-height: 96px; resize: vertical; }
select.form__input {
  appearance: none;
  padding-right: var(--space-7);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right var(--space-4) center / 18px;
}
select.form__input:invalid { color: var(--navy-70); }

/* Education / Real Estate choice, styled as two large options */
.form__choices { grid-template-columns: 1fr 1fr; column-gap: var(--space-3); }
.form__choices legend { grid-column: 1 / -1; margin-bottom: var(--space-2); }
.form__choice { position: relative; }
.form__choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.form__choice span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  height: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  line-height: 1.25;
  transition: border-color var(--duration-fast) ease, background-color var(--duration-fast) ease;
}
.form__choice span .icon { width: 1.15em; height: 1.15em; color: var(--gold-dark); }
.form__choice input:hover + span { border-color: var(--navy-70); }
.form__choice input:checked + span { border-color: var(--navy); background: var(--gold-20); }
.form__choice input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.form__submit { width: 100%; margin-top: var(--space-2); }
.form__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.form__badge .icon { width: 1.1em; height: 1.1em; color: var(--navy); }

/* Phone number with a country picker: flag and dialling code on the left.
   main.js adds .is-enhanced; without it the plain dropdown shows instead. */
.phone { display: flex; gap: var(--space-2); }
.phone__country { position: relative; flex: 0 0 auto; }
.phone__shown { display: none; }
.phone__input { flex: 1 1 auto; min-width: 0; }
.phone:not(.is-enhanced) .phone__select { width: 9.5rem; }

.phone.is-enhanced .phone__shown {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  height: 100%;
  padding: 0 2.25rem 0 var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right var(--space-3) center / 16px;
  font-weight: 500;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.phone.is-enhanced .phone__shown .flag[hidden] { display: none; }
/* The real dropdown sits invisibly on top, so tapping opens the phone's own country list */
.phone.is-enhanced .phone__select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.phone.is-enhanced .phone__country:hover .phone__shown { border-color: var(--navy-70); }
.phone.is-enhanced .phone__country:focus-within .phone__shown { border-color: var(--navy); box-shadow: 0 0 0 3px var(--gold-20); }
.phone.is-enhanced .phone__country:has(:focus-visible) .phone__shown { outline: 3px solid var(--color-focus); outline-offset: 2px; }

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

/* ---------- Thank-you page ---------- */

.thanks { padding: var(--space-8) 0 var(--space-7); }
.thanks__inner { max-width: 44rem; }
.thanks__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
}
.thanks__mark .icon { width: 28px; height: 28px; }
.thanks__title { margin-top: var(--space-5); font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.thanks__lede { margin-top: var(--space-4); font-size: var(--text-lg); color: var(--color-text-muted); }
.thanks__heading { margin-top: var(--space-7); font-size: var(--text-xl); font-weight: 600; }

/* A real sequence, so the steps are numbered */
.thanks__steps { margin: var(--space-5) 0 0; padding: 0; list-style: none; counter-reset: step; }
.thanks__steps li {
  position: relative;
  padding: 0 0 var(--space-5) calc(40px + var(--space-4));
  counter-increment: step;
}
.thanks__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
}
/* Thin rail joining the three steps */
.thanks__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--navy-20);
}
.thanks__steps h3 { font-size: var(--text-lg); font-weight: 600; }
.thanks__steps p { margin-top: var(--space-1); color: var(--color-text-muted); }

.thanks__note { margin-top: var(--space-2); color: var(--color-text-muted); }
.thanks__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.thanks__back { margin-top: var(--space-5); }
.thanks__back a { font-weight: 500; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (max-width: 560px) {
  .thanks { padding-top: var(--space-7); }
  .thanks__actions .btn { flex: 1 1 100%; padding-block: var(--space-3); line-height: 1.3; text-align: center; }
}

/* ---------- Cursor dot (desktop only, added by main.js) ---------- */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.25), 0 0 16px 4px rgba(252, 163, 17, 0.45);
  pointer-events: none;
  /* Starts off-screen and invisible until the mouse first moves */
  transform: translate3d(-100px, -100px, 0);
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear var(--duration-base), opacity var(--duration-base) ease, width var(--duration-base) var(--ease-out), height var(--duration-base) var(--ease-out), margin var(--duration-base) var(--ease-out);
  will-change: transform;
}
.cursor-dot.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.cursor-dot.is-active { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot { display: none; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
