/* ==========================================================================
   INSTA BUSINESS — Design System
   A premium Indian shopping-discovery platform.
   Signature: the "Category Index" — every department & subcategory carries
   its real catalog number (S.No.), styled like a market token / ledger
   entry, and the hero ticker borrows the split-flap look of an Indian
   railway departure board to surface what's popular right now.
   ========================================================================== */

:root {
  /* ---- Color tokens ---- */
  --ink: #17173A;            /* deep indigo-black — header, footer, dark type */
  --ink-soft: #4B4B6B;       /* secondary text on paper */
  --ink-faint: #85859E;      /* tertiary / meta text */
  --paper: #FAF7F1;          /* warm paper background */
  --paper-alt: #F1EBDD;      /* alternate section background */
  --paper-deep: #EAE2CE;     /* card / input background on paper */
  --line: #E3DAC4;           /* hairline borders on paper */
  --line-dark: rgba(250, 247, 241, 0.16); /* hairline borders on ink */
  --saffron: #E39A34;        /* primary accent — CTAs, marigold */
  --saffron-deep: #C17E1E;   /* hover / pressed */
  --saffron-tint: #FBEBD2;   /* light chip background */
  --emerald: #1F6F53;        /* secondary accent — trust, tags, links */
  --emerald-deep: #175840;
  --emerald-tint: #DEEEE6;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(23, 23, 58, 0.06), 0 1px 1px rgba(23, 23, 58, 0.04);
  --shadow-md: 0 8px 24px rgba(23, 23, 58, 0.10);
  --shadow-lg: 0 20px 48px rgba(23, 23, 58, 0.16);

  /* ---- Type ---- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* ---- Layout ---- */
  --container: 1200px;
  --container-narrow: 760px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --nav-height: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

/* ---- Focus visibility (accessibility) ---- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Typography scale ---- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { color: var(--ink-soft); }
.lede { font-size: 1.15rem; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--emerald); font-weight: 600;
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: var(--emerald); display: inline-block; }
.eyebrow--on-dark { color: var(--saffron); }
.eyebrow--on-dark::before { background: var(--saffron); }

/* ---- Layout helpers ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--alt { background: var(--paper-alt); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink p { color: rgba(250, 247, 241, 0.72); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head h2 { margin-top: 10px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-height);
}
.nav {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--ink); flex-shrink: 0; }
.brand .brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(155deg, var(--saffron) 0%, var(--emerald) 130%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
}
.brand-name span { color: var(--emerald); }

.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a {
  padding: 9px 14px; border-radius: 100px; font-weight: 600; font-size: 0.93rem; color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--paper-deep); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-search-toggle, .nav-menu-toggle {
  width: 40px; height: 40px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.nav-search-toggle:hover, .nav-menu-toggle:hover { border-color: var(--emerald); }
.nav-menu-toggle { display: inline-flex; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-menu-toggle { display: none; }
}
@media (max-width: 480px) {
  .nav-shop-cta { display: none; }
}

/* Desktop search flyout */
.nav-search-panel {
  position: absolute; left: 0; right: 0; top: var(--nav-height);
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 18px 0; display: none;
}
.nav-search-panel.is-open { display: block; }
.nav-search-panel .search-input-row { max-width: 720px; margin: 0 auto; }

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 600; display: none;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer__backdrop { position: absolute; inset: 0; background: rgba(23,23,58,0.5); }
.mobile-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--paper); box-shadow: var(--shadow-lg);
  padding: 20px 22px 28px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mobile-drawer__close { width: 38px; height: 38px; border-radius: 100px; border: 1px solid var(--line); background: var(--white); display: inline-flex; align-items: center; justify-content: center; }
.mobile-drawer a.mobile-link {
  padding: 13px 6px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-drawer__depts { margin-top: 14px; }
.mobile-drawer__depts-title { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin: 6px 0 8px; }
.mobile-drawer__depts a { display: flex; justify-content: space-between; padding: 9px 6px; font-size: 0.92rem; color: var(--ink-soft); border-radius: 8px; }
.mobile-drawer__depts a:hover { background: var(--paper-deep); }
.mobile-drawer__depts a .tkn { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }
body.drawer-lock { overflow: hidden; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--saffron); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--saffron-deep); box-shadow: var(--shadow-md); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline--light { border-color: var(--line-dark); color: var(--paper); }
.btn-outline--light:hover { background: rgba(250,247,241,0.12); border-color: var(--paper); }
.btn-ghost { background: var(--paper-deep); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; padding: 56px 0 72px; overflow: hidden;
  background:
    radial-gradient(720px 420px at 82% -10%, rgba(227,154,52,0.16), transparent 60%),
    radial-gradient(600px 400px at -5% 110%, rgba(31,111,83,0.13), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 0.85fr; gap: 56px; } }
.hero-copy h1 { margin: 16px 0 18px; }
.hero-copy h1 em { font-style: italic; color: var(--emerald); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-search { margin-top: 30px; max-width: 480px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.hero-stat span { font-size: 0.82rem; color: var(--ink-faint); }

/* Signature: split-flap "departures" ticker */
.flap-board {
  background: var(--ink); border-radius: var(--radius-lg); padding: 22px 20px 20px;
  box-shadow: var(--shadow-lg);
}
.flap-board__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.flap-board__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--saffron); }
.flap-board__dot { width: 7px; height: 7px; border-radius: 50%; background: #59D18E; box-shadow: 0 0 0 3px rgba(89,209,142,0.22); display: inline-block; margin-right: 6px; animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.flap-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px;
  border-bottom: 1px solid var(--line-dark);
}
.flap-row:last-child { border-bottom: none; }
.flap-row .flap-no { font-family: var(--font-mono); font-size: 0.76rem; color: var(--saffron); width: 32px; flex-shrink: 0; }
.flap-row .flap-name { font-weight: 600; color: var(--paper); font-size: 0.96rem; flex: 1; }
.flap-row .flap-count { font-family: var(--font-mono); font-size: 0.74rem; color: rgba(250,247,241,0.5); flex-shrink: 0; }
.flap-board__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.flap-board__foot a { font-size: 0.85rem; font-weight: 600; color: var(--paper); display: flex; align-items: center; gap: 6px; }
.flap-board__foot a:hover { color: var(--saffron); }

/* ==========================================================================
   SEARCH
   ========================================================================== */
.search-box { position: relative; }
.search-input-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 100px;
  padding: 6px 8px 6px 18px; box-shadow: var(--shadow-sm);
}
.search-input-row:focus-within { border-color: var(--emerald); }
.search-input-row svg { flex-shrink: 0; color: var(--ink-faint); width: 19px; height: 19px; }
.search-input-row input {
  flex: 1; border: none; outline: none; background: transparent; padding: 9px 0; font-size: 0.98rem; color: var(--ink);
}
.search-input-row input::placeholder { color: var(--ink-faint); }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); max-height: 380px; overflow-y: auto; z-index: 60; display: none;
}
.search-results.is-open { display: block; }
.search-results a.result-row { display: block; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.search-results a.result-row:last-child { border-bottom: none; }
.search-results a.result-row:hover, .search-results a.result-row.is-active { background: var(--paper-alt); }
.result-row .result-dept { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald); }
.result-row .result-name { font-weight: 600; color: var(--ink); margin-top: 2px; }
.search-empty { padding: 22px 18px; color: var(--ink-faint); font-size: 0.9rem; }
.search-page-input { max-width: 640px; }

/* ==========================================================================
   CARDS — Category "index tokens"
   ========================================================================== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(1, 1fr); }
.grid--3 { grid-template-columns: repeat(1, 1fr); }
.grid--4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 20px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cat-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--saffron-tint); color: var(--saffron-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cat-card__icon svg { width: 23px; height: 23px; }
.cat-card__token { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; }
.cat-card h3 { font-size: 1.12rem; }
.cat-card p { font-size: 0.89rem; margin: 0; }
.cat-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; font-size: 0.82rem; color: var(--ink-faint); }
.cat-card__link { color: var(--emerald); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.cat-card__link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.cat-card:hover .cat-card__link svg { transform: translateX(3px); }

/* Subcategory tile (inside a department page) */
.sub-tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px;
  display: flex; flex-direction: column; gap: 12px; transition: box-shadow .18s ease, transform .18s ease;
}
.sub-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sub-tile__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sub-tile__no { font-family: var(--font-mono); font-size: 0.72rem; color: var(--saffron-deep); background: var(--saffron-tint); padding: 2px 9px; border-radius: 100px; }
.sub-tile h3 { font-size: 1.05rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 0.79rem; padding: 6px 12px; border-radius: 100px; background: var(--paper-alt); color: var(--ink-soft);
  border: 1px solid var(--line); transition: background .15s ease, color .15s ease, border-color .15s ease;
}
a.chip:hover { background: var(--emerald-tint); color: var(--emerald-deep); border-color: var(--emerald); }
.note-flag {
  font-size: 0.78rem; color: var(--emerald-deep); background: var(--emerald-tint);
  border-radius: 8px; padding: 8px 12px; display: flex; gap: 8px; align-items: flex-start;
}
.note-flag svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.note-flag--warn { color: #8A5A12; background: var(--saffron-tint); }

/* Popular search keyword pills */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-size: 0.88rem; font-weight: 600; padding: 9px 16px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-soft);
  transition: all .15s ease;
}
.pill:hover { border-color: var(--saffron-deep); color: var(--ink); background: var(--saffron-tint); }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.84rem; color: var(--ink-faint); padding: 18px 0 0; }
.breadcrumbs a { color: var(--ink-soft); font-weight: 600; }
.breadcrumbs a:hover { color: var(--emerald); }
.breadcrumbs .sep { color: var(--line); }
.breadcrumbs [aria-current="page"] { color: var(--ink-faint); }

/* ==========================================================================
   PAGE HEADER (category / subcategory intro band)
   ========================================================================== */
.page-head { padding: 26px 0 44px; border-bottom: 1px solid var(--line); }
.page-head__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.page-head__token {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink);
  background: var(--paper-deep); border-radius: 100px; padding: 5px 12px 5px 6px; display: inline-flex; align-items: center; gap: 7px;
}
.page-head__token .n { background: var(--ink); color: var(--saffron); border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.68rem; }
.page-head h1 { margin-top: 8px; }
.page-head .lede { margin-top: 14px; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .2s ease, border-color .2s ease; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ''; position: absolute; background: var(--ink); }
.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; }
.faq-item[open] summary .plus { transform: rotate(45deg); border-color: var(--emerald); }
.faq-item p { padding: 0 2px 18px; max-width: 68ch; }

/* ==========================================================================
   RELATED / TRUST / GUIDE SECTIONS
   ========================================================================== */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.trust-card .cat-card__icon { margin-bottom: 14px; }
.trust-card h3 { font-size: 1.04rem; margin-bottom: 8px; }
.trust-card p { font-size: 0.9rem; }

.guide-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.guide-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-card__tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald); }
.guide-card h3 { font-size: 1.05rem; }
.guide-card p { font-size: 0.89rem; }
.guide-card__link { margin-top: auto; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; }

/* Department index (all-departments overview page) */
.dept-index-row {
  display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line);
}
.dept-index-row .idx-no { font-family: var(--font-mono); color: var(--ink-faint); width: 34px; flex-shrink: 0; }
.dept-index-row .idx-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--paper-deep); display: flex; align-items: center; justify-content: center; color: var(--emerald-deep); flex-shrink: 0; }
.dept-index-row .idx-icon svg { width: 20px; height: 20px; }
.dept-index-row .idx-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dept-index-row .idx-body strong { font-size: 1rem; font-weight: 600; color: var(--ink); }
.dept-index-row .idx-body span { font-size: 0.82rem; color: var(--ink-faint); }
.dept-index-row .idx-arrow { color: var(--ink-faint); flex-shrink: 0; }
.dept-index-row:hover .idx-arrow { color: var(--emerald); }
.dept-index-row:hover .idx-body strong { color: var(--emerald-deep); }

/* ==========================================================================
   AMAZON CTA STRIP
   ========================================================================== */
.cta-strip {
  background: linear-gradient(120deg, var(--ink) 0%, #22224A 100%);
  border-radius: var(--radius-lg); padding: 40px 32px; color: var(--paper);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.cta-strip::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,154,52,0.35), transparent 70%);
}
.cta-strip h3 { color: var(--paper); font-size: 1.4rem; max-width: 30ch; position: relative; }
.cta-strip .cta-strip__title { font-family: var(--font-display); font-weight: 600; color: var(--paper); font-size: 1.4rem; max-width: 30ch; position: relative; line-height: 1.15; margin: 0; }
.cta-strip p { color: rgba(250,247,241,0.7); margin-top: 8px; position: relative; }
.cta-strip .btn-primary { position: relative; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(250,247,241,0.78); padding: 60px 0 0; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: var(--paper); }
.footer-brand p { max-width: 34ch; margin-top: 14px; font-size: 0.9rem; }
.footer-col h4 { color: var(--paper); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 600; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(250,247,241,0.72); }
.footer-col a:hover { color: var(--saffron); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--saffron); color: var(--saffron); }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 0.82rem; color: rgba(250,247,241,0.5);
}
.footer-bottom a { color: rgba(250,247,241,0.6); }
.footer-bottom a:hover { color: var(--saffron); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 400;
  display: flex; align-items: center; gap: 10px;
}
.wa-float__tooltip {
  background: var(--ink); color: var(--paper); font-size: 0.84rem; font-weight: 600;
  padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}
.wa-float:hover .wa-float__tooltip, .wa-float:focus-within .wa-float__tooltip { opacity: 1; transform: translateX(0); }
.wa-float__btn {
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37,211,102,0.42);
  position: relative; flex-shrink: 0;
}
.wa-float__btn svg { width: 29px; height: 29px; }
.wa-float__btn::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: 0.55;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float__btn::before { animation: none; } }
@media (max-width: 600px) { .wa-float { right: 14px; bottom: 84px; } .wa-float__tooltip { display: none; } .wa-float__btn { width: 52px; height: 52px; } .wa-float__btn svg { width: 25px; height: 25px; } }

/* ==========================================================================
   MISC PAGE ELEMENTS (about / contact / legal / 404 / disclosure)
   ========================================================================== */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; color: var(--ink-soft); }
.prose a { color: var(--emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.contact-card .cat-card__icon { margin-bottom: 4px; }

.error-hero { text-align: center; padding: 90px 0; }
.error-hero .code { font-family: var(--font-mono); color: var(--saffron-deep); font-size: 0.95rem; letter-spacing: 0.1em; }
.error-hero h1 { margin: 14px 0 16px; }

.badge-disclosure {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600;
  background: var(--paper-deep); color: var(--ink-soft); padding: 8px 14px; border-radius: 100px; margin-bottom: 18px;
}
.badge-disclosure svg { width: 15px; height: 15px; }

.affiliate-note {
  font-size: 0.8rem; color: var(--ink-faint); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
}

/* Search page */
.search-hero { padding: 44px 0 24px; }
.search-tally { font-size: 0.88rem; color: var(--ink-faint); margin: 18px 0 22px; }
.search-result-list { display: flex; flex-direction: column; gap: 14px; }
.search-result-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.search-result-card .result-dept { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--emerald); }
.search-result-card h3 { font-size: 1.05rem; margin: 6px 0 6px; }
.no-js .js-only { display: none !important; }
