/* ═══════════════════════════════════════════════════════════════════════
   5àsec India — design system (B2B premium franchise)
   ───────────────────────────────────────────────────────────────────────
   Conversion-focused, dense, visually rich, scannable. The reference
   points are Stripe (clean type + grids), Marriott (premium hospitality
   trust signals) and the best modern franchise marketing sites — clear
   sections, generous iconography, recognizable patterns at high polish.

   Typography
     One face: Inter, used across the entire site at varied weights
     and sizes. No serif theatrics. Tabular figures for numbers.

   Palette
     White         #FFFFFF — primary background
     Surface       #F8FAFC — alternate section, cards
     Surface-2     #F1F5F9 — softer alternate
     Ink           #0B1437 — primary text (deep navy, not pure black)
     Ink-2         #475569 — secondary text
     Ink-3         #64748B — muted (captions, sub-labels)
     Brand         #2F6DFF — signature electric blue
     Brand-dark    #1E40AF — depth / hover
     Brand-50      #EFF4FF — tints + soft callouts
     Gold          #B89455 — premium ornament (used sparingly)
     Success       #059669 — open / available states
     Warn          #D97706 — closed / restricted
     Line          #E2E8F0 — hairlines + borders
     Line-strong   #CBD5E1 — emphasised borders
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ─── Palette extracted from 5asec.com production stylesheet ─────
     The real parent brand identity is purple-dominant with a
     signature vibrant orange accent — NOT navy/blue. Hex values
     below are taken directly from the cinqasec_group theme:
       #4E2158 (105× in main CSS) → primary aubergine purple
       #3B1347 ( 59× in main CSS) → darker purple variant
       #FE6100 (214× in main CSS) → signature orange accent
       #F0C020                    → secondary gold accent
       #FFFFEA                    → soft cream surface
     The orange is the single most-used colour on 5asec.com, so it
     drives every CTA + active state + hover here. Purple is the
     ink + brand-mark + section backgrounds. */

  --white: #FFFFFF;
  --surface: #FBF7F2;
  /* warm cream, derived from 5asec's #FFFFEA */
  --surface-2: #F5EFE7;
  --ink: #2A1633;
  /* deep aubergine for primary text */
  --ink-2: #5C4763;
  --ink-3: #7A6580;
  --ink-soft: #AB9CB0;

  /* Brand (purple) */
  --brand: #4E2158;
  /* aubergine purple — parent's primary */
  --brand-dark: #3B1347;
  /* deeper aubergine — parent variant */
  --brand-darker: #2A0B33;
  /* almost black-purple, for footers */
  --brand-50: #F4EAF6;
  /* lightest tint for soft backgrounds */
  --brand-100: #E4D2E9;
  /* light tint for hover/borders */
  --brand-200: #C9A4D3;

  /* Accent (signature orange — the conversion lever) */
  --accent: #FE6100;
  /* parent's signature orange — used for ALL CTAs */
  --accent-dark: #D85200;
  --accent-50: #FFF1E6;
  --accent-100: #FFD9BD;

  /* Legacy aliases so existing markup keeps working without churn.
     'gold-hi' now reads as orange (the parent's accent). */
  --gold: var(--accent);
  --gold-soft: var(--accent-50);

  --success: #2E8B57;
  --success-50: #EAF6EF;
  --warn: #C2410C;
  --warn-50: #FEF2E6;
  --line: #E8DFE9;
  /* soft purple-tinted hairline */
  --line-strong: #C9B8CB;

  /* ─── Multi-colour accent palette ────────────────────────────────
     The parent 5asec.com differentiates services by colour — orange
     for Basic, wine for Textile Care, deep red for Expert, coral for
     Easy Life, deep purple for B2B. We extend that pattern with two
     more accents (blue + teal) for digital/innovation moments, plus
     gold for premium tier highlights. Each accent has a paired
     surface tint for soft backgrounds.
     CTA buttons stay orange (the parent's primary action colour);
     these accents drive *feature cards, service cards, icons, stat
     tiles* — anywhere we have multiple of the same component that
     should look distinct, not monotone. */
  --c-orange: #FE6100;
  --c-orange-50: #FFF1E6;
  --c-purple: #4E2158;
  --c-purple-50: #F4EAF6;
  --c-deeppurp: #2A0B33;
  --c-deeppurp-50: #EAE0EF;
  --c-wine: #8B1A3F;
  --c-wine-50: #F7E6EC;
  --c-coral: #E94560;
  --c-coral-50: #FDEAEE;
  --c-blue: #2F6DFF;
  --c-blue-50: #E8EFFA;
  --c-bluedark: #1E40AF;
  --c-teal: #14B8A6;
  --c-teal-50: #E0F7F4;
  --c-gold: #C29D5E;
  --c-gold-50: #F8F1E3;

  /* Signature gradient pairs — for hero bands, CTA bands, panel-5net,
     premium decorative moments. */
  --g-purple: linear-gradient(135deg, #2A0B33 0%, #4E2158 50%, #3B1347 100%);
  --g-purple-pink: linear-gradient(135deg, #4E2158 0%, #8B1A3F 100%);
  --g-purple-orange: linear-gradient(135deg, #4E2158 0%, #C2410C 60%, #FE6100 100%);
  --g-orange: linear-gradient(135deg, #FE6100 0%, #D85200 100%);
  --g-orange-gold: linear-gradient(135deg, #FE6100 0%, #C29D5E 100%);
  --g-blue: linear-gradient(135deg, #2F6DFF 0%, #1E40AF 100%);
  --g-purple-blue: linear-gradient(135deg, #4E2158 0%, #1E40AF 100%);
  --g-hero-overlay: linear-gradient(135deg, rgba(42, 11, 51, 0.94) 0%, rgba(78, 33, 88, 0.86) 50%, rgba(59, 19, 71, 0.92) 100%);
  --g-soft-cream: linear-gradient(135deg, var(--surface) 0%, var(--white) 100%);

  /* Easing curves for tactile micro-interactions */
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease-smooth: cubic-bezier(.19, 1, .22, 1);

  /* Type stack — one rounded geometric sans (Manrope) end-to-end. Manrope's
     softly-rounded terminals + open apertures keep long body copy easy on the
     eye while its 700/800 weights have enough presence for hero headlines, so
     we don't need a second display family. --font-display is kept as an alias
     pointing at the same family — older rules that reference it still resolve. */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Light, brand-tinted gradients for elevated card / surface moments.
     Used by section.surface, .feature-card[data-c], .model-card[data-c]
     and hero-card variants to add depth without competing with content. */
  --g-surface-soft: linear-gradient(180deg, #FFFCF6 0%, #FAF3E6 100%);
  --g-card-cream: linear-gradient(160deg, #FFFFFF 0%, #FDF8EE 100%);
  --g-card-orange: linear-gradient(155deg, #FFFFFF 0%, #FFF4EC 100%);
  --g-card-purple: linear-gradient(155deg, #FFFFFF 0%, #F6EEF8 100%);
  --g-card-teal: linear-gradient(155deg, #FFFFFF 0%, #E9F8F6 100%);
  --g-card-blue: linear-gradient(155deg, #FFFFFF 0%, #EEF2FF 100%);
  --g-card-wine: linear-gradient(155deg, #FFFFFF 0%, #FBEDF1 100%);
  --g-card-coral: linear-gradient(155deg, #FFFFFF 0%, #FFEFEB 100%);
  --g-card-gold: linear-gradient(155deg, #FFFFFF 0%, #FAF1DD 100%);

  --max-w: 1240px;
  --gut: clamp(20px, 4vw, 48px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;

  /* Shadows tinted with the aubergine ink rgb(42,22,51) so they read
     as warm-purple rather than cool-navy. */
  --shadow-sm: 0 1px 2px rgba(42, 22, 51, 0.07);
  --shadow-md: 0 4px 16px -2px rgba(42, 22, 51, 0.10), 0 2px 4px -1px rgba(42, 22, 51, 0.05);
  --shadow-lg: 0 18px 48px -22px rgba(42, 22, 51, 0.22), 0 6px 12px -6px rgba(42, 22, 51, 0.10);
  --shadow-xl: 0 32px 64px -28px rgba(42, 22, 51, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11', 'kern';
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

::selection {
  background: var(--brand);
  color: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

/* Manrope at heavy weight on the two largest levels — gives the page
   its anchor while the rounded letterforms keep things friendly. */
h1,
h2,
.h1,
.h2,
.hero-title {
  font-weight: 800;
  letter-spacing: -0.022em;
}

p {
  margin: 0 0 1em;
}

.numeric {
  font-feature-settings: 'tnum', 'lnum';
}

/* ─── Layout primitives ────────────────────────────────────────────── */
.container,
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

section {
  padding: clamp(64px, 8vw, 112px) 0;
}

section.surface {
  background: var(--g-surface-soft, var(--surface));
}

section.dark {
  background: var(--brand-darker);
  color: var(--white);
}

section.dark h1,
section.dark h2,
section.dark h3 {
  color: var(--white);
}

section.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.center {
  text-align: center;
}

/* ─── Type scale ───────────────────────────────────────────────────── */
.eyebrow {
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow.gold {
  color: var(--brand);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
}

/* gold-hi is retained as a class hook from the previous design pass but
   reads as the brand-blue accent now (no yellow/amber ornament). */
.gold-hi {
  color: var(--brand);
  font-weight: 800;
}

.cta-band .gold-hi {
  color: var(--white);
}

.h1 {
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.028em;
}

.h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.024em;
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.018em;
}

.h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 620px;
}

.muted {
  color: var(--ink-3);
}

.fine {
  font-size: 0.86rem;
  color: var(--ink-2);
}

.measure-wide {
  max-width: 880px;
}

.measure {
  max-width: 620px;
}

.measure-tight {
  max-width: 480px;
}

/* Highlight chip — gold accent inside headlines for premium moments */
.gold-hi {
  color: var(--gold);
}

/* ─── Buttons ──────────────────────────────────────────────────────── */
/* Primary CTA — orange gradient with shimmer-on-hover, matching the
   parent's signature accent. Uses a linear gradient (not flat) for
   premium depth, plus a sweeping highlight that animates on hover. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.005em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: var(--g-orange);
  color: var(--white);
  cursor: pointer;
  transition: transform .2s var(--ease-out-back),
    box-shadow .25s ease,
    filter .25s ease;
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px rgba(254, 97, 0, 0.45);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Sweep-highlight effect — slides a soft-white diagonal across the
   button on hover, the classic "shine" CTA micro-animation. */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 30%,
      rgba(255, 255, 255, 0.28) 50%,
      transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-smooth);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 32px -8px rgba(254, 97, 0, 0.55), 0 6px 12px -4px rgba(216, 82, 0, 0.30);
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

.btn-lg {
  padding: 18px 28px;
  font-size: 1rem;
}

.btn-secondary {
  background: var(--white);
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--brand-50);
  color: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: none;
  font-weight: 600;
  box-shadow: none;
}

.btn-ghost:hover {
  color: var(--accent);
  background: transparent;
  transform: translateY(-1px);
}

/* Arrow on buttons - subtle animation */
.btn .arrow {
  transition: transform .2s ease;
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ─── Reveal-on-scroll ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.19, 1, .22, 1), transform .7s cubic-bezier(.19, 1, .22, 1);
}

.reveal.active {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .06s;
}

.reveal.d2 {
  transition-delay: .12s;
}

.reveal.d3 {
  transition-delay: .18s;
}

.reveal.d4 {
  transition-delay: .24s;
}

.reveal.d5 {
  transition-delay: .30s;
}

/* ─── Navigation ───────────────────────────────────────────────────
   Purple-on-dark matching the parent 5asec.com pattern. The parent
   logo is designed for a dark/purple background — its "5àsec" wordmark
   uses a light fill that disappeared against my previous white nav.
   With this dark surface the wordmark + tagline + orange dot accents
   all read cleanly. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-darker);
  /* #2A0B33 — deeper than the hero overlay so visual hierarchy holds */
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.nav.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 68px;
  /* roomy enough for the 44px logo without cramping */
}

@media (max-width: 600px) {
  .nav-inner {
    min-height: 58px;
    padding: 10px var(--gut);
  }
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.024em;
  color: var(--white);
  text-decoration: none;
}

/* Parent-brand logo (PNG, 530×211 — 2.5:1 aspect ratio).
   Designed for a dark/purple surface; on the new purple nav the
   logo's "5àsec" wordmark + "TEXTILE EXPERT" tagline + orange dot
   accents all render at full visibility. No filter override. */
.nav-logo {
  height: 44px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .nav-logo {
    height: 34px;
  }
}

.nav-brand-sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 12px;
  margin-left: 2px;
  line-height: 1;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Indian tricolour flag — pinned next to the "India" tag in nav +
   footer to reinforce the Indian-edition framing of the parent brand. */
.india-flag {
  width: 22px;
  height: 14.6px;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(42, 22, 51, 0.18);
  flex-shrink: 0;
  vertical-align: middle;
}

.footer .india-flag {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  .nav-logo {
    height: 26px;
  }

  .nav-brand-sub {
    font-size: 0.6rem;
    padding-left: 9px;
  }
}

.nav-links {
  display: none;
  gap: 36px;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 900px) {
  .nav-links {
    display: inline-flex;
  }
}

.nav-links a {
  padding: 8px 0;
  position: relative;
  transition: color .15s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a.active {
  color: var(--white);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  /* orange underline — parent's pattern */
  border-radius: 1px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  cursor: pointer;
  color: var(--white);
  transition: background .15s ease, border-color .15s ease;
}

.nav-burger:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.40);
}

/* Drawer's close button (inside drawer, white background): override
   back to dark-on-light since the drawer is light. */
.nav-drawer .nav-burger {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.nav-drawer .nav-burger:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

@media (min-width: 900px) {
  .nav-burger {
    display: none;
  }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 20px var(--gut) 28px;
  transform: translateY(-100%);
  transition: transform .35s cubic-bezier(.19, 1, .22, 1);
  overflow-y: auto;
}

.nav-drawer.open {
  transform: translateY(0);
}

/* Top brand bar inside the drawer — a purple band that matches the
   sticky nav, so the parent logo (designed for dark surfaces) reads
   correctly here too. The rest of the drawer stays light/airy below
   this band. Bleeds full-width via negative margins. */
.nav-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -20px calc(var(--gut) * -1) 32px;
  padding: 16px var(--gut);
  background: var(--brand-darker);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer .nav-brand {
  color: var(--white);
}

.nav-drawer .nav-brand-sub {
  color: rgba(255, 255, 255, 0.78);
  border-left-color: rgba(255, 255, 255, 0.22);
}

/* Close button on the drawer's purple band — light variant, matches
   the main nav's burger styling. */
.nav-drawer .nav-burger {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.nav-drawer .nav-burger:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.40);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-drawer-links a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer-links a .nav-arrow {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 1.1rem;
}

.nav-drawer-cta {
  margin-top: 28px;
}

.nav-drawer-cta .btn {
  width: 100%;
  padding: 16px;
}

.nav-drawer-contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.nav-drawer-contact strong {
  color: var(--ink);
}

/* ─── Hero ─────────────────────────────────────────────────────────── */
/* Matches the parent 5asec.com pattern: real outlet photography behind
   a deep purple overlay (~85% opacity) so foreground text reads as
   white-on-purple. Photo brings warmth + credibility, purple anchors
   brand identity, orange CTAs pop dramatically against the overlay. */
.hero {
  padding: clamp(72px, 9vw, 120px) 0 clamp(88px, 11vw, 140px);
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(42, 11, 51, 0.94) 0%, rgba(78, 33, 88, 0.86) 50%, rgba(59, 19, 71, 0.92) 100%),
    var(--hero-photo, url('assets/photos/5asec/home_excellence.jpg')) center / cover no-repeat;
}

.hero::before {
  /* Subtle vignette + texture for depth — radial highlight from upper
     right, soft fade on bottom edge so the section transition reads
     cleanly. */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(254, 97, 0, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, transparent 70%, rgba(42, 11, 51, 0.30) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero .h1,
.hero .hero-h1 {
  color: var(--white);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
}

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

.hero .hero-meta-item {
  color: rgba(255, 255, 255, 0.78);
}

.hero .hero-meta-item .check {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

/* Per-page hero photo override — set on body[data-hero] or inline.
   Default is home_excellence.jpg via the --hero-photo CSS variable. */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 72px;
  }
}

.hero-h1 {
  margin: 18px 0 22px;
  max-width: 760px;
}

.hero-h1 .gold-hi {
  color: var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-2);
}

.hero-meta-item .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Hero stat panel — glass on the purple-overlay hero so the photo
   bleeds through softly while keeping numbers crisp + readable. */
.hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: 0 24px 60px -20px rgba(42, 11, 51, 0.5);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 60%, transparent 100%);
}

.hero-card-head {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 24px;
}

.hero-card .hero-stat-value {
  color: var(--white);
}

.hero-card .hero-stat-label {
  color: rgba(255, 255, 255, 0.62);
}

.hero-card .hero-stat {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.hero-card .hero-stat:nth-child(odd) {
  border-right-color: rgba(255, 255, 255, 0.14);
}

.hero-card .hero-stat:nth-child(1),
.hero-card .hero-stat:nth-child(2) {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.hero-card-foot {
  border-top-color: rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.hero-card-foot .badge {
  background: var(--accent) !important;
  color: var(--white) !important;
}

/* Hero-card alternate skin — for pages that want a light glass-on-white
   variant (about / contact). Override the dark hero treatment. */
.hero-card.light {
  background: var(--white);
  border: 1px solid var(--line);
  backdrop-filter: none;
  color: var(--ink);
}

.hero-card.light .hero-card-head {
  color: var(--ink-3);
}

.hero-card.light .hero-stat-value {
  color: var(--ink);
}

.hero-card.light .hero-stat-label {
  color: var(--ink-3);
}

/* Hero-card secondary list text (services.html "Five pillars" card).
   Has to be light enough to read on the dark purple glass — the global
   .muted (--ink-3 = #7A6580) was invisible against the overlay. */
.hero-card .hero-list-sub {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
  font-size: 0.92rem;
}

.hero-card strong {
  color: var(--white);
  font-weight: 700;
  font-size: 0.96rem;
}

/* Horizontal-overflow safeguard. Some long-string descenders (full city
   names, hyphenated phrases) on narrow mobile widths can force the page
   wider than the viewport — this clip locks it to the viewport width
   without disabling vertical scroll. */
html,
body {
  overflow-x: clip;
}

section,
.container,
.section-inner {
  overflow-x: clip;
}

img,
table {
  max-width: 100%;
}

/* Ensure CTA bands respect the container on mobile — the 48px h-padding
   was the culprit on narrow viewports. Tighten on phones. */
@media (max-width: 600px) {
  .cta-band {
    padding: 40px 22px;
  }

  .panel-5net {
    padding: 40px 22px;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.hero-stat {
  padding: 18px 0;
}

.hero-stat:nth-child(odd) {
  padding-right: 16px;
  border-right: 1px solid var(--line);
}

.hero-stat:nth-child(2),
.hero-stat:nth-child(4) {
  padding-left: 16px;
}

.hero-stat:nth-child(1),
.hero-stat:nth-child(2) {
  border-bottom: 1px solid var(--line);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: 'tnum';
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 500;
}

.hero-card-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-2);
}

.hero-card-foot .badge {
  background: var(--success-50);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Trust strip ──────────────────────────────────────────────────── */
.trust-strip {
  padding: 36px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.trust-item {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.012em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item .trust-num {
  color: var(--brand);
  font-feature-settings: 'tnum';
}

.trust-divider {
  color: var(--line-strong);
}

/* ─── Award ribbon (social proof) ──────────────────────────────────── */
/* Sits between the trust strip and the feature grid on index.html.
   Two-column layout on desktop: badge image left, copy right.
   Stacks on mobile with badge centred above the text. */
.award-ribbon {
  padding: clamp(56px, 6vw, 80px) 0;
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--surface) 100%);
}

.award-ribbon-inner {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
  align-items: center;
  justify-items: center;
}

@media (min-width: 720px) {
  .award-ribbon-inner {
    grid-template-columns: 160px 1fr;
    gap: 36px;
    text-align: left;
    justify-items: stretch;
  }
}

.award-badge {
  width: 140px;
  height: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(254, 97, 0, 0.18));
}

@media (min-width: 720px) {
  .award-badge {
    width: 160px;
    height: 160px;
  }
}

.award-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.award-title {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--ink);
}

.award-body {
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

@media (min-width: 720px) {
  .award-body {
    max-width: none;
  }
}

/* ─── Section header pattern ───────────────────────────────────────── */
.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head .lead {
  margin-top: 16px;
}

/* ─── Stat grid (the 4-tile feature row) ───────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 880px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-tile {
  background: var(--c-gradient, var(--g-card-cream));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform .3s var(--ease-out-back),
    box-shadow .25s ease,
    border-color .25s ease;
  --c-current: var(--c-purple);
  --c-current-50: var(--c-purple-50);
}

.stat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--c-current);
  box-shadow: 0 18px 40px -16px rgba(42, 22, 51, 0.20);
}

.stat-tile:hover .stat-tile-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--c-current);
  color: var(--white);
}

.stat-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-current-50);
  color: var(--c-current);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform .35s var(--ease-out-back),
    background .25s ease,
    color .25s ease;
}

/* Per-tile colour variant */
.stat-tile[data-c="orange"] {
  --c-current: var(--c-orange);
  --c-current-50: var(--c-orange-50);
  --c-gradient: var(--g-card-orange);
}

.stat-tile[data-c="purple"] {
  --c-current: var(--c-purple);
  --c-current-50: var(--c-purple-50);
  --c-gradient: var(--g-card-purple);
}

.stat-tile[data-c="wine"] {
  --c-current: var(--c-wine);
  --c-current-50: var(--c-wine-50);
  --c-gradient: var(--g-card-wine);
}

.stat-tile[data-c="blue"] {
  --c-current: var(--c-blue);
  --c-current-50: var(--c-blue-50);
  --c-gradient: var(--g-card-blue);
}

.stat-tile[data-c="teal"] {
  --c-current: var(--c-teal);
  --c-current-50: var(--c-teal-50);
  --c-gradient: var(--g-card-teal);
}

.stat-tile[data-c="gold"] {
  --c-current: var(--c-gold);
  --c-current-50: var(--c-gold-50);
  --c-gradient: var(--g-card-gold);
}

.stat-tile-value {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--ink);
  font-feature-settings: 'tnum';
}

.stat-tile-label {
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.stat-tile-caption {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ─── Feature card grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Feature card — multi-colour variants so a 6-card grid reads as
   six distinct moments, not six clones. Drives the per-card colour
   via `data-c="orange|purple|wine|coral|blue|teal|gold"` on the
   article element. Default (no data-c) falls back to purple. */
.feature-card {
  /* Per-card gradient — set by [data-c] rules below. Falls back to the
     cream gradient when no colour variant is declared. */
  background: var(--c-gradient, var(--g-card-cream));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform .3s var(--ease-out-back),
    box-shadow .25s ease,
    border-color .25s ease;
  position: relative;
  overflow: hidden;
}

/* Coloured top-edge accent that grows wider on hover — a subtle
   "tab" indicator anchoring each card to its colour. */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--c-current, var(--c-purple));
  transition: width .35s var(--ease-out-back);
  border-radius: 0 0 3px 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-current, var(--c-purple));
  box-shadow: 0 24px 48px -16px rgba(42, 22, 51, 0.18);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-current-50, var(--c-purple-50));
  color: var(--c-current, var(--c-purple));
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: transform .35s var(--ease-out-back),
    background .25s ease,
    box-shadow .25s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--c-current, var(--c-purple));
  color: var(--white);
  box-shadow: 0 10px 24px -8px var(--c-current, var(--c-purple));
}

/* Per-card colour assignment — sets a pair of CSS variables that the
   card's ::before and feature-icon consume. Six variants matching the
   parent's multi-colour service pattern + a blue one for digital/tech. */
.feature-card[data-c="orange"] {
  --c-current: var(--c-orange);
  --c-current-50: var(--c-orange-50);
  --c-gradient: var(--g-card-orange);
}

.feature-card[data-c="purple"] {
  --c-current: var(--c-purple);
  --c-current-50: var(--c-purple-50);
  --c-gradient: var(--g-card-purple);
}

.feature-card[data-c="wine"] {
  --c-current: var(--c-wine);
  --c-current-50: var(--c-wine-50);
  --c-gradient: var(--g-card-wine);
}

.feature-card[data-c="coral"] {
  --c-current: var(--c-coral);
  --c-current-50: var(--c-coral-50);
  --c-gradient: var(--g-card-coral);
}

.feature-card[data-c="blue"] {
  --c-current: var(--c-blue);
  --c-current-50: var(--c-blue-50);
  --c-gradient: var(--g-card-blue);
}

.feature-card[data-c="teal"] {
  --c-current: var(--c-teal);
  --c-current-50: var(--c-teal-50);
  --c-gradient: var(--g-card-teal);
}

.feature-card[data-c="gold"] {
  --c-current: var(--c-gold);
  --c-current-50: var(--c-gold-50);
  --c-gradient: var(--g-card-gold);
}

.feature-card[data-c="deeppurp"] {
  --c-current: var(--c-deeppurp);
  --c-current-50: var(--c-deeppurp-50);
  --c-gradient: var(--g-card-purple);
}

.feature-icon.gold {
  background: var(--c-gold-50);
  color: var(--c-gold);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.014em;
}

.feature-body {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── Compare table (the 3-format hero block on franchise page) ────── */
.compare-wrap {
  background: var(--g-card-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare th,
.compare td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  background: var(--surface);
  border-bottom: 2px solid var(--line-strong);
  padding-top: 24px;
  padding-bottom: 24px;
}

.compare thead .col-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.compare thead .col-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--ink);
  line-height: 1.1;
}

.compare thead .col-name .gold-hi {
  color: var(--gold);
}

.compare thead .col-price {
  margin-top: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.024em;
  color: var(--brand);
}

.compare thead .col-sub {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 4px;
}

.compare tbody th {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-2);
  width: 28%;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.compare tbody td {
  font-weight: 500;
  color: var(--ink);
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare-highlight {
  position: relative;
}

.compare-highlight::after {
  content: 'MOST CHOSEN';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-bottom-left-radius: 8px;
}

.compare-cta-row td {
  padding: 24px;
  border-bottom: 0;
}

.compare-cta-row td .btn {
  width: 100%;
}

/* Stacked card view (mobile-only when table breaks) */
@media (max-width: 720px) {

  .compare,
  .compare-wrap {
    display: block;
    box-shadow: none;
    border: 0;
  }

  .compare thead {
    display: none;
  }

  .compare,
  .compare tbody,
  .compare tr {
    display: block;
  }

  .compare tbody tr {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    margin-bottom: 16px;
    padding: 18px;
    background: var(--white);
  }

  .compare tbody tr th,
  .compare tbody tr td {
    display: block;
    padding: 8px 0;
    border: 0;
    background: transparent;
  }

  .compare tbody tr th {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
}

/* ─── Process steps (5-step franchise process) ─────────────────────── */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}

@media (min-width: 720px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
}

.process-step {
  position: relative;
  padding: 24px;
  text-align: left;
}

@media (min-width: 720px) {
  .process-step {
    text-align: center;
    padding: 0 16px;
  }

  .process-step::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 30px);
    right: calc(-50% + 30px);
    height: 1px;
    background: var(--line-strong);
    z-index: 0;
  }

  .process-step:last-child::after {
    display: none;
  }
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--brand);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  font-feature-settings: 'tnum';
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.012em;
}

.process-body {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ─── Service pillar cards ─────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 720px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Service card — multi-colour, matching the parent's 5-service-colour
   pattern (orange / wine / dark red / coral / deep purple). The 6th
   variant (blue) is used for the 5NET digital platform tile so it
   reads as the technology moment. */
.service-card {
  background: var(--c-gradient, var(--g-card-cream));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .3s var(--ease-out-back),
    box-shadow .25s ease,
    border-color .25s ease;
  position: relative;
  overflow: hidden;
  --c-current: var(--c-purple);
  --c-current-50: var(--c-purple-50);
}

/* Soft coloured corner glow — adds depth without overpowering. */
.service-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--c-current);
  opacity: 0.06;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-current);
  box-shadow: 0 28px 56px -20px rgba(42, 22, 51, 0.22);
}

.service-card:hover::after {
  opacity: 0.14;
  transform: scale(1.2);
}

.service-card .service-num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-current);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.service-card .service-num::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--c-current);
  border-radius: 2px;
}

.service-card .service-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card .service-desc {
  font-size: 0.94rem;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.service-card ul li {
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-current);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

/* Per-card colour variant */
.service-card[data-c="orange"] {
  --c-current: var(--c-orange);
  --c-current-50: var(--c-orange-50);
  --c-gradient: var(--g-card-orange);
}

.service-card[data-c="wine"] {
  --c-current: var(--c-wine);
  --c-current-50: var(--c-wine-50);
  --c-gradient: var(--g-card-wine);
}

.service-card[data-c="coral"] {
  --c-current: var(--c-coral);
  --c-current-50: var(--c-coral-50);
  --c-gradient: var(--g-card-coral);
}

.service-card[data-c="purple"] {
  --c-current: var(--c-purple);
  --c-current-50: var(--c-purple-50);
  --c-gradient: var(--g-card-purple);
}

.service-card[data-c="blue"] {
  --c-current: var(--c-blue);
  --c-current-50: var(--c-blue-50);
  --c-gradient: var(--g-card-blue);
}

.service-card[data-c="teal"] {
  --c-current: var(--c-teal);
  --c-current-50: var(--c-teal-50);
  --c-gradient: var(--g-card-teal);
}

.service-card[data-c="deeppurp"] {
  --c-current: var(--c-deeppurp);
  --c-current-50: var(--c-deeppurp-50);
  --c-gradient: var(--g-card-purple);
}

/* ─── Timeline ─────────────────────────────────────────────────────── */
.timeline {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--line);
  padding-left: 32px;
  position: relative;
}

.tl-row {
  padding-bottom: 28px;
  position: relative;
}

.tl-row::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand);
}

.tl-row.gold::before {
  border-color: var(--brand-dark);
}

.tl-year {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand);
  letter-spacing: 0.04em;
  font-feature-settings: 'tnum';
  margin-bottom: 4px;
}

.tl-row.gold .tl-year {
  color: var(--brand-dark);
}

.tl-event {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.55;
}

.tl-event strong {
  font-weight: 700;
}

/* ─── Region grid ──────────────────────────────────────────────────── */
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.region-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}

.region-card.is-india {
  background: linear-gradient(135deg, var(--brand-darker), var(--brand-dark));
  border-color: var(--brand-darker);
  color: var(--white);
}

.region-card.is-india h3,
.region-card.is-india .region-count {
  color: var(--white);
}

.region-card.is-india .region-list {
  color: rgba(255, 255, 255, 0.86);
}

.region-card.is-india .region-count {
  color: var(--white);
  font-weight: 800;
}

.region-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.region-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.region-count {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
  font-feature-settings: 'tnum';
}

.region-list {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ─── Territory pills (franchise page) ─────────────────────────────── */
.territory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 720px) {
  .territory-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.territory {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s ease;
}

.territory:hover {
  border-color: var(--brand);
}

.territory .city {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.territory .state {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.territory .state.open {
  color: var(--success);
}

.territory .state.construction {
  color: var(--brand);
}

.territory .state.closed {
  color: var(--warn);
}

.territory.is-construction {
  background: var(--brand-50);
  border-color: var(--brand-100);
}

.territory.is-closed {
  background: var(--warn-50);
  border-color: rgba(217, 119, 6, 0.2);
}

/* AD-closed callout — sits above the territory grid on franchise.html,
   highlights that Privé Hub (Area Developer) tier is pre-allocated in
   specific markets while single-unit formats may still be open. Uses
   the warn palette so it reads as "advisory, not catastrophic". */
.ad-closed-callout {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--warn-50) 0%, #FFF7ED 100%);
  border: 1px solid rgba(194, 65, 12, 0.22);
  border-radius: var(--r-lg);
  margin-top: 24px;
}

.ad-closed-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--warn);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.ad-closed-body {
  color: var(--ink);
}

.ad-closed-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 6px;
}

.ad-closed-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.ad-closed-body strong {
  color: var(--ink);
  font-weight: 700;
}

/* ─── 5NET panel ───────────────────────────────────────────────────── */
.panel-5net {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.panel-5net::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.panel-5net h2 {
  color: var(--white);
}

.panel-5net .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.panel-5net p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.panel-5net-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

@media (min-width: 880px) {
  .panel-5net-grid {
    grid-template-columns: 5fr 4fr;
    gap: 64px;
    align-items: center;
  }
}

.panel-5net-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.panel-5net-module {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 0.92rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-5net-module .bi {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

/* ─── Testimonial card ─────────────────────────────────────────────── */
.testimonial {
  background: var(--g-card-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 24px;
  font-size: 4rem;
  color: var(--brand);
  opacity: 0.18;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 24px;
  font-weight: 500;
  letter-spacing: -0.006em;
  position: relative;
  z-index: 1;
}

.testimonial-who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-who-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}

.testimonial-who-meta {
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* ─── FAQ ──────────────────────────────────────────────────────────── */
.faq {
  background: var(--g-card-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
  gap: 16px;
  transition: background .15s ease;
}

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

.faq summary:hover {
  background: var(--surface);
}

.faq summary .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--brand);
  transition: transform .25s ease;
  font-weight: 400;
  font-size: 1.4rem;
}

.faq details[open] summary .faq-icon {
  transform: rotate(45deg);
}

.faq details[open] summary {
  background: var(--surface);
}

.faq .faq-body {
  padding: 0 28px 24px;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 860px;
}

.faq .faq-body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ─── CTA band (full-width promo band) ─────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 50%, var(--brand) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto 28px;
  max-width: 620px;
}

.cta-band .gold-hi {
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.cta-band-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band .btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
  color: var(--white);
}

.cta-band .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.50);
  color: var(--white);
}

/* ─── Capex breakdown table (franchise) ────────────────────────────── */
.capex-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--g-card-cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.capex-table th,
.capex-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.capex-table thead th {
  background: var(--surface);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.capex-table th.num,
.capex-table td.num {
  text-align: right;
  font-feature-settings: 'tnum';
}

.capex-table tbody tr:hover {
  background: var(--surface);
}

.capex-table tfoot td {
  border-bottom: 0;
  background: var(--surface);
  font-weight: 800;
  font-size: 1.1rem;
}

.capex-table tfoot td.num {
  color: var(--brand);
}

/* ─── P&L list (hero-card variant — no table, no wrap, airy) ──────── */
/* Designed for the constrained ~360px hero card width on franchise.html.
   Each row is two lines: phase label on top, revenue · profit numerals
   below. Numerals use tabular figures so columns align even across rows. */
.pl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pl-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pl-row:last-child {
  border-bottom: 0;
}

.pl-row-mature {
  background: linear-gradient(90deg, var(--brand-50), transparent);
  margin: 4px -12px 0;
  padding: 16px 12px;
  border-radius: var(--r-md);
  border-bottom: 0;
}

/* ─── P&L list — DARK HERO-CARD VARIANT ────────────────────────────
   The default .pl-list colours target white cards (dark text on
   light bg). When the list sits inside a .hero-card on the dark
   purple hero, every label disappears. Override every text colour
   for white-on-dark legibility. Scoped to .hero-card so the white-
   card version stays untouched. */
.hero-card .pl-list {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.hero-card .pl-row {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.hero-card .pl-phase {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
}

.hero-card .pl-phase small {
  color: var(--accent);
  font-weight: 700;
}

.hero-card .pl-value {
  color: var(--white);
  font-weight: 800;
}

.hero-card .pl-divider {
  color: rgba(255, 255, 255, 0.45);
}

.hero-card .pl-profit {
  /* A lighter, more luminous green so it punches against the
     dark purple. The base #2E8B57 reads as muted on dark surfaces. */
  color: #4ADE80;
}

.hero-card .pl-profit-strong {
  color: #6EE7A1;
}

.hero-card .pl-row-mature {
  background: linear-gradient(90deg, rgba(254, 97, 0, 0.16), rgba(255, 255, 255, 0.04) 70%);
  border: 1px solid rgba(254, 97, 0, 0.30);
}

.hero-card .pl-row-mature .pl-phase {
  color: var(--white);
}

.hero-card .pl-row-mature .pl-phase small {
  color: var(--accent);
}

.hero-card .pl-legend {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
}

.hero-card .pl-dot-rev {
  background: rgba(255, 255, 255, 0.7);
}

.hero-card .pl-dot-pro {
  background: #4ADE80;
}

.hero-card .fine {
  color: rgba(255, 255, 255, 0.55);
}

.pl-phase {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.pl-phase small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.pl-row-mature .pl-phase {
  color: var(--brand-dark);
}

.pl-row-mature .pl-phase small {
  color: var(--brand);
}

.pl-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-feature-settings: 'tnum';
  white-space: nowrap;
}

.pl-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
}

.pl-row-mature .pl-value {
  font-size: 1.3rem;
  font-weight: 800;
}

.pl-divider {
  color: var(--ink-soft);
  font-weight: 400;
}

.pl-profit {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--success);
  letter-spacing: -0.012em;
}

.pl-profit-strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.pl-legend {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  font-size: 0.78rem;
  color: var(--ink-3);
}

.pl-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pl-dot-rev {
  background: var(--ink);
}

.pl-dot-pro {
  background: var(--success);
}

/* ─── ROI / projection table ───────────────────────────────────────── */
.roi-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.roi-table th,
.roi-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.roi-table thead th {
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roi-table thead th.num {
  text-align: right;
}

.roi-table tbody td {
  font-weight: 600;
}

.roi-table tbody td.num {
  text-align: right;
  font-feature-settings: 'tnum';
  font-weight: 700;
}

.roi-table tbody td.profit {
  color: var(--success);
}

.roi-table tbody tr:last-child td {
  border-bottom: 0;
  background: var(--brand-50);
}

.roi-table tbody tr:last-child td.profit {
  color: var(--success);
  font-size: 1.05rem;
}

/* ─── Form ─────────────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: 18px;
}

.form-row.two {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-card label .req {
  color: var(--warn);
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(254, 97, 0, 0.20);
}

.form-card .input-error,
.form-card input.input-error,
.form-card select.input-error,
.form-card textarea.input-error {
  border-color: var(--warn) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
  background: var(--warn-50);
}

.form-card .field-error {
  color: var(--warn);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-card .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-success {
  background: var(--success-50);
  border: 1px solid rgba(5, 150, 105, 0.20);
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--r-md);
  margin-top: 18px;
  font-size: 0.95rem;
}

/* ─── Contact card ─────────────────────────────────────────────────── */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  color: var(--ink);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row .icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand);
  border-radius: 8px;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-row .label {
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 600;
}

.contact-row .value {
  font-weight: 600;
  color: var(--ink);
}

.contact-row a.value:hover {
  color: var(--brand);
}

/* ─── Footer ───────────────────────────────────────────────────────── */
.footer {
  background: var(--brand-darker);
  color: rgba(255, 255, 255, 0.86);
  padding: 64px var(--gut) 32px;
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

@media (min-width: 880px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  /* Parent logo is dark-coloured on a transparent background. Inverting
     to white-on-navy keeps it legible on the footer's dark surface. The
     filter cascade: brightness(0) renders the whole image black, then
     invert(1) flips it to pure white. Works for any monochrome logo. */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 12px;
  line-height: 1;
  align-self: center;
}

.footer-tag {
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 320px;
  line-height: 1.55;
}

.footer h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.7;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  font-size: 0.92rem;
  transition: color .15s ease;
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
}

/* ─── WhatsApp FAB ─────────────────────────────────────────────────── */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(5, 150, 105, 0.55);
  z-index: 40;
  transition: transform .2s ease, box-shadow .2s ease;
}

.fab-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -10px rgba(5, 150, 105, 0.65);
}

.fab-wa svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

/* ─── Utility ──────────────────────────────────────────────────────── */
.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mt-56 {
  margin-top: 56px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-48 {
  margin-bottom: 48px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* ─── Model cards — quick-glance per-format summary ──────────────────
   Three at-a-glance cards above the compare table on franchise.html.
   Each card is a clickable summary that jumps to the corresponding
   column in the compare table. Per-card colour driven by `data-c`
   matching the existing feature-card / stat-tile pattern. */
.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.model-card {
  display: flex;
  flex-direction: column;
  background: var(--c-gradient, var(--g-card-cream));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out-back),
    box-shadow .25s ease,
    border-color .25s ease;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--c-current, var(--c-purple));
  transition: width .35s var(--ease-out-back);
  border-radius: 0 0 4px 0;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-current, var(--c-purple));
  box-shadow: 0 24px 48px -16px rgba(42, 22, 51, 0.18);
}

.model-card:hover::before {
  width: 100%;
}

.model-card-featured {
  border-color: var(--c-current, var(--c-purple));
  box-shadow: 0 18px 36px -18px rgba(42, 22, 51, 0.16);
}

.model-card-featured::before {
  width: 100%;
  height: 5px;
}

/* Per-card colour assignment — same five-pair pattern used elsewhere. */
.model-card[data-c="orange"] {
  --c-current: var(--c-orange);
  --c-current-50: var(--c-orange-50);
  --c-gradient: var(--g-card-orange);
}

.model-card[data-c="purple"] {
  --c-current: var(--c-purple);
  --c-current-50: var(--c-purple-50);
  --c-gradient: var(--g-card-purple);
}

.model-card[data-c="wine"] {
  --c-current: var(--c-wine);
  --c-current-50: var(--c-wine-50);
  --c-gradient: var(--g-card-wine);
}

.model-card[data-c="coral"] {
  --c-current: var(--c-coral);
  --c-current-50: var(--c-coral-50);
  --c-gradient: var(--g-card-coral);
}

.model-card[data-c="blue"] {
  --c-current: var(--c-blue);
  --c-current-50: var(--c-blue-50);
  --c-gradient: var(--g-card-blue);
}

.model-card[data-c="teal"] {
  --c-current: var(--c-teal);
  --c-current-50: var(--c-teal-50);
  --c-gradient: var(--g-card-teal);
}

.model-card[data-c="gold"] {
  --c-current: var(--c-gold);
  --c-current-50: var(--c-gold-50);
  --c-gradient: var(--g-card-gold);
}

.model-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--c-current-50, var(--c-purple-50));
  color: var(--c-current, var(--c-purple));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.model-name {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.020em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}

.model-price {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--c-current, var(--c-purple));
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 22px;
}

.model-price-sub {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim, #7a6677);
}

.model-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model-list li {
  font-size: 0.93rem;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.45;
}

.model-list li .dot {
  flex: 0 0 auto;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--c-current, var(--c-purple));
  box-shadow: 0 0 0 3px var(--c-current-50, var(--c-purple-50));
}

.model-list li strong {
  color: var(--c-current, var(--c-purple));
  font-weight: 700;
}

.model-cta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  color: var(--c-current, var(--c-purple));
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.model-cta .arrow {
  transition: transform .25s var(--ease-out-back);
}

.model-card:hover .model-cta .arrow {
  transform: translateX(4px);
}

/* ─── Footer Bottom Minimal Redesign ─────────────────────────────────────── */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  padding-top: 32px;
  font-size: 0.82rem;
  color: #a39c98;
}

.footer-minimal-copy {
  color: #d1cbc7;
  font-size: 0.8rem;
}

.footer-minimal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.footer-minimal-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #eab308;
  /* Yellow/Gold */
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
  border-bottom: none;
}

.footer-minimal-links a:hover {
  opacity: 0.8;
}

.footer-minimal-credit {
  color: #a39c98;
  font-size: 0.8rem;
}

.footer-minimal-credit a {
  color: #eab308;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  border-bottom: none;
}

.footer-minimal-links a:not(:last-child)::after {
  content: "|";
  color: #a39c98;
  font-weight: 400;
}