/* ==========================================================================
   ZANTI PHARMACY — SHARED DESIGN SYSTEM
   --------------------------------------------------------------------------
   This file is READ-ONLY for page agents. Page-specific styles belong in
   assets/css/pages/<page>.css, loaded AFTER this file.
   Component reference + copy-paste snippets: DESIGN-SPEC.md
   --------------------------------------------------------------------------
   CONTENTS
     01. Reset
     02. Design tokens
     03. Base + typography
     04. Utilities (container, section, grids, text helpers)
     05. Buttons
     06. Badges + chips
     07. Cards (generic, service, category, product, article, trust, step)
     08. Stats band
     09. Forms
     10. Accordion
     11. Tabs
     12. Alerts
     13. Skeletons + empty states
     14. Prose (article/legal bodies)
     15. Announcement bar
     16. Header + nav + dropdown
     17. Mobile drawer
     18. Search overlay
     19. Hero (homepage) + page hero (interior)
     20. Steps (prescription flow)
     21. CTA banner
     22. Footer
     23. Status pill, back-to-top, breadcrumbs, pagination, filter bar
     24. Animation system (reveal, stagger, float, intro)
     25. Reduced motion
     26. Print
   ========================================================================== */

/* ==========================================================================
   01. RESET
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Sticky footer: <main> absorbs spare height on short pages. */
body > main {
  flex: 1 0 auto;
  width: 100%;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

[id] {
  scroll-margin-top: 96px;
}

/* ==========================================================================
   02. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Brand palette */
  --brand: #088046;
  --brand-strong: #066B39;
  --brand-deep: #054D2B;
  --brand-bright: #0FA155;
  --brand-glow: #8CE8B4;
  --accent-teal: #35B3B1;
  --mint: #E6F7F3;
  --mint-soft: #F0FAF7;
  --canvas: #F4FAF9;
  --surface: #FFFFFF;
  --ink: #0B2233;
  --slate: #46606B;
  --slate-soft: #587480;

  /* Accent + feedback */
  --amber: #F59E0B;
  --amber-soft: #FEF3C7;
  --amber-ink: #92400E;
  --success: #15803D;
  --success-soft: #E3F6EA;
  --error: #B42318;
  --error-soft: #FDECEA;
  --info: #0E7490;
  --info-soft: #E0F4F8;
  --warning: #B45309;
  --warning-soft: #FEF3C7;
  --whatsapp: #15803D;
  --whatsapp-deep: #116632;

  /* Lines + focus */
  --line: #DFECE9;
  --line-strong: #C6DDD8;
  --focus-ring: rgba(20, 184, 166, 0.5);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #066B39, #088046 60%, #088749);
  --gradient-hero: linear-gradient(140deg, #054D2B, #066B39 34%, #088046 62%, #0C8F51 100%);
  --gradient-text: linear-gradient(92deg, #066B39, #077F45);
  --gradient-text-bright: linear-gradient(92deg, #A7F3C9, #D7FBE7);

  /* Typography */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-md: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-lg: clamp(1.375rem, 1.22rem + 0.65vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.5rem + 1.1vw, 2.375rem);
  --fs-2xl: clamp(2.125rem, 1.8rem + 1.7vw, 3rem);
  --fs-hero: clamp(2.5rem, 2.05rem + 2.6vw, 4.05rem);

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows (layered, soft) */
  --shadow-sm: 0 1px 2px rgba(11, 34, 51, 0.06), 0 2px 8px rgba(11, 34, 51, 0.05);
  --shadow-md: 0 6px 16px rgba(11, 34, 51, 0.08), 0 2px 6px rgba(11, 34, 51, 0.05);
  --shadow-lg: 0 18px 40px rgba(11, 34, 51, 0.14), 0 6px 14px rgba(11, 34, 51, 0.07);
  --shadow-brand: 0 10px 26px rgba(15, 118, 110, 0.32);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 820px;
  --header-height: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed-fast: 0.22s;
  --speed-base: 0.35s;
  --speed-slow: 0.7s;

  /* Z-scale */
  --z-header: 100;
  --z-drawer: 210;
  --z-drawer-overlay: 200;
  --z-search: 300;
  --z-intro: 999;
}

/* ==========================================================================
   03. BASE + TYPOGRAPHY
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--slate);
  background: var(--canvas);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--fs-2xl); font-weight: 800; }
h2 { font-size: var(--fs-xl); font-weight: 800; }
h3 { font-size: var(--fs-md); }
h4 { font-size: var(--fs-body); }

p { margin: 0; }
p + p { margin-top: var(--sp-4); }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color var(--speed-fast) ease;
}

a:hover { color: var(--brand-strong); }

strong { color: var(--ink); font-weight: 600; }

::selection {
  background: var(--brand-strong);
  color: #FFFFFF;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

body.no-scroll {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: var(--sp-4);
  z-index: calc(var(--z-intro) + 1);
  padding: var(--sp-3) var(--sp-5);
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--speed-fast) ease;
}

.skip-link:focus {
  top: var(--sp-4);
  color: #FFFFFF;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

kbd {
  font-family: var(--font-body);
  font-size: 0.85em;
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

/* ==========================================================================
   04. UTILITIES
   ========================================================================== */

.container {
  width: min(100% - 40px, var(--container-max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, var(--container-narrow));
  margin-inline: auto;
}

.section {
  padding-block: clamp(64px, 9vw, 110px);
}

.section-tight {
  padding-block: clamp(40px, 6vw, 72px);
}

.section-tinted { background: var(--mint-soft); }
.section-white { background: var(--surface); }
.section-dark {
  background: var(--gradient-hero);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark h2,
.section-dark h3 { color: #FFFFFF; }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.is-centered {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 { margin-bottom: var(--sp-4); }

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head-split .section-head {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.eyebrow.is-plain::before { display: none; }

.section-dark .eyebrow { color: var(--brand-glow); }

.lead {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--slate);
}

.section-dark .lead { color: rgba(255, 255, 255, 0.82); }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-bright {
  background: var(--gradient-text-bright);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.grid-fit {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.grid-fit-sm {
  grid-template-columns: repeat(auto-fill, minmax(min(164px, 100%), 1fr));
}

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.u-center { text-align: center; }

.u-hidden-mobile { display: none; }

@media (min-width: 768px) {
  .u-hidden-mobile { display: initial; }
  .u-hidden-desktop { display: none; }
}

/* ==========================================================================
   05. BUTTONS
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform var(--speed-fast) ease,
    box-shadow var(--speed-base) ease,
    background-color var(--speed-fast) ease,
    color var(--speed-fast) ease,
    border-color var(--speed-fast) ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Sweeping shine on hover (solid buttons) */
.btn-primary::after,
.btn-whatsapp::after,
.btn-light::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 44%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-whatsapp:hover::after,
.btn-light:hover::after {
  left: 130%;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: #FFFFFF;
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.btn-secondary:hover {
  background: var(--mint);
  color: var(--brand-strong);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--brand);
  color: var(--brand-strong);
  background: var(--mint-soft);
}

.btn-light {
  background: #FFFFFF;
  color: var(--brand-strong);
  box-shadow: 0 10px 26px rgba(4, 27, 24, 0.28);
}

.btn-light:hover { color: var(--brand-deep); }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.32);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-deep);
  color: #FFFFFF;
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: var(--fs-xs);
}

.btn-lg {
  min-height: 56px;
  padding: 0 34px;
  font-size: 1rem;
}

.btn-block { width: 100%; }

/* Icon-only round button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: transparent;
  transition: background-color var(--speed-fast) ease, color var(--speed-fast) ease, transform var(--speed-fast) ease;
}

.btn-icon:hover {
  background: var(--mint);
  color: var(--brand-strong);
  transform: translateY(-1px);
}

/* Arrow nudge inside any .btn or link with .icon-arrow */
.icon-arrow { transition: transform var(--speed-base) var(--ease-out); }
.btn:hover .icon-arrow,
a:hover > .icon-arrow { transform: translateX(4px); }

/* Text-style arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--brand);
}

.link-arrow:hover { color: var(--brand-strong); }

/* ==========================================================================
   06. BADGES + CHIPS
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  background: var(--mint);
  color: var(--brand-strong);
}

.badge-rx {
  background: var(--amber-soft);
  color: var(--amber-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-soft {
  background: var(--canvas);
  color: var(--slate);
  border: 1px solid var(--line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all var(--speed-fast) ease;
}

.chip:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

/* ==========================================================================
   07. CARDS
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--speed-base) var(--ease-out),
    box-shadow var(--speed-base) var(--ease-out),
    border-color var(--speed-base) ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.card-pad { padding: clamp(22px, 3vw, 32px); }

.card-static:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Icon medallion used across cards */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--mint);
  color: var(--brand);
  transition: background var(--speed-base) ease, color var(--speed-base) ease, transform var(--speed-base) var(--ease-out);
}

.icon-badge .icon { width: 26px; height: 26px; }

.icon-badge.is-round { border-radius: var(--radius-pill); }

/* --- Service card --- */
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(22px, 3vw, 30px);
  height: 100%;
}

.service-card h3 { font-size: 1.125rem; }

.service-card p {
  font-size: var(--fs-sm);
  flex-grow: 1;
}

.service-card:hover .icon-badge {
  background: var(--gradient-brand);
  color: #FFFFFF;
  transform: scale(1.06) rotate(-3deg);
}

/* --- Category tile --- */
.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-5);
  min-height: 148px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  transition:
    transform var(--speed-base) var(--ease-out),
    box-shadow var(--speed-base) var(--ease-out);
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--speed-base) ease;
}

.category-tile > * { position: relative; }

.category-tile .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
}

.category-tile .icon-badge .icon { width: 22px; height: 22px; }

.category-tile-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.category-tile-arrow {
  margin-top: auto;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--speed-base) ease, transform var(--speed-base) var(--ease-out), color var(--speed-base) ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: #FFFFFF;
}

.category-tile:hover::before { opacity: 1; }

.category-tile:hover .icon-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.category-tile:hover .category-tile-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #FFFFFF;
}

/* --- Product card --- */
.product-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  height: 100%;
}

.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.product-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-2);
}

.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--brand); }

.product-card-desc {
  font-size: var(--fs-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-soft);
}

.product-card-availability .icon {
  width: 1em;
  height: 1em;
  color: var(--brand);
}

.product-card-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.product-card:hover { border-color: var(--brand-bright); }

/* --- Article card --- */
.article-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(22px, 3vw, 30px);
  height: 100%;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--slate-soft);
}

.article-card h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--brand); }

.article-card p {
  font-size: var(--fs-sm);
  flex-grow: 1;
}

/* --- Trust card --- */
.trust-card {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
}

.trust-card .icon-badge { flex: none; }

.trust-card h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--sp-1);
}

.trust-card p { font-size: var(--fs-sm); }

/* ==========================================================================
   08. STATS BAND
   ========================================================================== */

.stats-band {
  position: relative;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 52px);
  box-shadow: var(--shadow-brand);
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.35), transparent 68%);
}

.stats-band-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 767px) {
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat { text-align: center; }

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.6rem + 2vw, 3.125rem);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.stat-value em {
  font-style: normal;
  color: var(--brand-glow);
}

.stat-label {
  margin-top: var(--sp-1);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   09. FORMS
   ========================================================================== */

.field { margin-bottom: var(--sp-5); }

.field-label {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

.field-label .is-required { color: var(--error); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color var(--speed-fast) ease, box-shadow var(--speed-fast) ease;
}

.input::placeholder,
.textarea::placeholder { color: var(--slate-soft); }

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--slate) 50%),
    linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 21px) 50%, calc(100% - 15px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.field-hint {
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--slate-soft);
}

.field-error {
  display: none;
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--error);
}

.field.has-error .field-error { display: block; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--error); }

.checkbox {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--sp-5);
}

@media (max-width: 599px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. ACCORDION
   ========================================================================== */

.accordion {
  display: grid;
  gap: var(--sp-3);
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--speed-base) ease, box-shadow var(--speed-base) ease;
}

.accordion-item.is-open {
  border-color: var(--brand-bright);
  box-shadow: var(--shadow-md);
}

.accordion-header { margin: 0; }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  transition: color var(--speed-fast) ease;
}

.accordion-trigger:hover { color: var(--brand); }

.accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--brand);
  transition: transform var(--speed-base) var(--ease-out), background var(--speed-base) ease, color var(--speed-base) ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
  background: var(--brand);
  color: #FFFFFF;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--speed-base) var(--ease-out), visibility var(--speed-base);
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.accordion-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.accordion-panel-content {
  padding: 0 22px 20px;
  font-size: var(--fs-sm);
}

/* ==========================================================================
   11. TABS
   ========================================================================== */

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: 6px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  width: fit-content;
  max-width: 100%;
}

.tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-strong);
  transition: background var(--speed-fast) ease, color var(--speed-fast) ease, box-shadow var(--speed-fast) ease;
}

.tab:hover { background: rgba(255, 255, 255, 0.7); }

.tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.tab-panel { display: none; padding-top: var(--sp-5); }
.tab-panel.is-active { display: block; }

/* ==========================================================================
   12. ALERTS
   ========================================================================== */

.alert {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--fs-sm);
}

.alert .icon { margin-top: 2px; }

.alert strong { color: inherit; }

.alert-info {
  background: var(--info-soft);
  color: var(--info);
  border-color: rgba(14, 116, 144, 0.25);
}

.alert-success {
  background: var(--success-soft);
  color: var(--success);
  border-color: rgba(21, 128, 61, 0.25);
}

.alert-warning {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: rgba(180, 83, 9, 0.25);
}

.alert-error {
  background: var(--error-soft);
  color: var(--error);
  border-color: rgba(180, 35, 24, 0.25);
}

/* ==========================================================================
   13. SKELETONS + EMPTY STATES
   ========================================================================== */

.skeleton {
  position: relative;
  overflow: hidden;
  background: #E8F2F0;
  border-radius: var(--radius-sm);
  min-height: 16px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  to { transform: translateX(100%); }
}

.skeleton-text { height: 16px; margin-block: 10px; }
.skeleton-title { height: 26px; width: 60%; margin-block: 12px; }
.skeleton-card { height: 210px; border-radius: var(--radius-md); }

.empty-state {
  padding: clamp(40px, 6vw, 64px) var(--sp-5);
  text-align: center;
  background: var(--mint-soft);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.empty-state .icon-badge { margin-inline: auto; margin-bottom: var(--sp-4); }

.empty-state h3 { margin-bottom: var(--sp-2); }

.empty-state p {
  max-width: 420px;
  margin-inline: auto;
  font-size: var(--fs-sm);
}

/* ==========================================================================
   14. PROSE (article bodies, legal pages)
   ========================================================================== */

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: var(--fs-lg);
  margin-top: clamp(32px, 5vw, 48px);
  margin-bottom: var(--sp-4);
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

.prose p { margin-bottom: var(--sp-4); }

.prose ul,
.prose ol {
  margin: 0 0 var(--sp-4);
  padding-left: 24px;
}

.prose li { margin-bottom: var(--sp-2); }

.prose li::marker { color: var(--brand); }

.prose .article-disclaimer {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--mint-soft);
  border-left: 4px solid var(--brand-bright);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--fs-sm);
}

/* ==========================================================================
   15. ANNOUNCEMENT BAR
   ========================================================================== */

.announcement-bar {
  background: var(--brand-deep);
  color: #FFFFFF;
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-block: 10px;
}

.announcement-text {
  flex: 1;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.5;
}

.announcement-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--speed-fast) ease, color var(--speed-fast) ease;
}

.announcement-dismiss:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.announcement-dismiss .icon { width: 16px; height: 16px; }

/* ==========================================================================
   16. HEADER + NAV
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(244, 250, 249, 0.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  transition: background var(--speed-base) ease, box-shadow var(--speed-base) ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(11, 34, 51, 0.08);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-height);
  padding-block: 12px;
  transition: padding var(--speed-base) ease;
}

.site-header.is-scrolled .header-inner { padding-block: 6px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.brand-logo {
  width: auto;
  height: 46px;
  color: var(--brand);
  transition: transform var(--speed-base) var(--ease-out);
}

.brand:hover .brand-logo { transform: scale(1.05); }

.brand-name {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand);
  line-height: 1;
}

.brand-name em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.76em;
  letter-spacing: 0.14em;
  color: var(--slate);
}

.nav { display: none; margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed-base) var(--ease-out);
}

.nav-link:hover { color: var(--brand-strong); }

.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }

.nav-link.is-active { color: var(--brand-strong); }

.nav-link .icon-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--speed-fast) ease;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  padding: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--speed-fast) ease, transform var(--speed-fast) var(--ease-out), visibility var(--speed-fast);
}

.dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--speed-fast) ease, transform var(--speed-fast) var(--ease-out), visibility 0s;
}

.dropdown.is-open .icon-chevron { transform: rotate(180deg); }

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.dropdown-menu a:hover {
  background: var(--mint-soft);
  color: var(--brand-strong);
}

.dropdown-menu .dropdown-divider {
  height: 1px;
  margin: var(--sp-2) var(--sp-3);
  background: var(--line);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-left: auto;
}

.nav ~ .header-actions { margin-left: 0; }

.header-cta { display: none; }

/* Keep the primary WhatsApp CTA visible on tablets, where the nav is still
   collapsed into the drawer (768–1023px). */
@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}

/* Hamburger */
.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.hamburger-line {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--speed-fast) ease, opacity var(--speed-fast) ease;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .hamburger { display: none; }
  .header-cta { display: inline-flex; }
}

/* ==========================================================================
   17. MOBILE DRAWER
   ========================================================================== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer-overlay);
  background: rgba(8, 34, 32, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--speed-base) ease;
}

.drawer-overlay.is-open { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-drawer);
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--speed-base) var(--ease-out), visibility var(--speed-base);
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  /* Become visible instantly so focus can move in on open; the base state
     keeps the delayed hide for the closing animation. */
  transition: transform var(--speed-base) var(--ease-out), visibility 0s;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-5);
}

.drawer-nav {
  display: grid;
  gap: 2px;
  margin-bottom: var(--sp-5);
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.drawer-link:hover,
.drawer-link.is-active {
  background: var(--mint-soft);
  color: var(--brand-strong);
}

.drawer-sub {
  display: grid;
  gap: 2px;
  margin-bottom: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.drawer-sub a {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate);
}

.drawer-sub a:hover { background: var(--mint-soft); color: var(--brand-strong); }

.drawer-cta {
  display: grid;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   18. SEARCH OVERLAY
   ========================================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-search);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: min(12vh, 120px) var(--sp-4) var(--sp-4);
  background: rgba(8, 34, 32, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--speed-fast) ease, visibility var(--speed-fast);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  /* Become visible instantly so focus can move in on open; the base state
     keeps the delayed hide for the closing animation. */
  transition: opacity var(--speed-fast) ease, visibility 0s;
}

.search-panel {
  width: min(640px, 100%);
  max-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(-10px) scale(0.98);
  transition: transform var(--speed-base) var(--ease-out);
}

.search-overlay.is-open .search-panel { transform: none; }

.search-input-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--line);
}

.search-input-row > .icon { color: var(--brand); }

.search-input {
  flex: 1;
  border: 0;
  padding: 8px 0;
  font-size: 1.125rem;
  color: var(--ink);
  background: transparent;
}

.search-input:focus-visible { outline: none; }

.search-input::placeholder { color: var(--slate-soft); }

.search-results {
  overflow-y: auto;
  padding: var(--sp-3);
}

.search-group-label {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-soft);
}

.search-result {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.search-result:hover,
.search-result.is-highlighted {
  background: var(--mint-soft);
  color: var(--ink);
}

.search-result-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.search-result-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
}

.search-result-meta {
  font-size: var(--fs-xs);
  color: var(--slate-soft);
}

.search-result-arrow {
  width: 16px;
  height: 16px;
  color: var(--brand);
  opacity: 0;
  transition: opacity var(--speed-fast) ease;
}

.search-result:hover .search-result-arrow,
.search-result.is-highlighted .search-result-arrow { opacity: 1; }

.search-empty {
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--slate);
}

.search-hint {
  padding: var(--sp-3) var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--slate-soft);
}

/* ==========================================================================
   19. HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #FFFFFF;
  overflow: hidden;
}

/* Radial glows */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.22), transparent 65%);
}

.hero::after {
  bottom: -220px;
  left: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.04fr 0.96fr; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-glow);
}

.hero-title {
  margin-top: var(--sp-5);
  font-size: var(--fs-hero);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.hero-sub {
  margin-top: var(--sp-5);
  max-width: 560px;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* Quick-search field (a button styled as an input, opens the overlay) */
.hero-search {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: min(460px, 100%);
  margin-top: var(--sp-5);
  padding: 15px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-soft);
  font-size: var(--fs-sm);
  text-align: left;
  box-shadow: 0 14px 34px rgba(4, 27, 24, 0.35);
  transition: transform var(--speed-fast) ease, box-shadow var(--speed-base) ease;
}

.hero-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(4, 27, 24, 0.42);
}

.hero-search .icon { color: var(--brand); }

.hero-search-key {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 7px;
  background: var(--mint);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-strong);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-badge .icon {
  width: 16px;
  height: 16px;
  color: var(--brand-glow);
}

/* Hero artwork column */
.hero-art {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}

.hero-scene { width: 100%; height: auto; }

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}

.hero-chip .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.hero-chip-1 { top: 9%; left: -2%; }
.hero-chip-2 { bottom: 12%; right: -2%; }

@media (max-width: 599px) {
  .hero-chip-1 { left: 0; }
  .hero-chip-2 { right: 0; }
}

/* On narrow phones the chips smother the storefront illustration; the same
   claims already appear as hero badges above it. */
@media (max-width: 479px) {
  .hero-chip { display: none; }
}

/* --- Interior page hero --- */
.page-hero {
  position: relative;
  background: var(--gradient-hero);
  color: #FFFFFF;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.2), transparent 65%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 7vw, 88px);
  max-width: 760px;
}

.page-hero h1 {
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.page-hero .lead {
  margin-top: var(--sp-4);
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   20. STEPS (prescription flow)
   ========================================================================== */

.steps {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }

  /* Connecting line, drawn when the .steps element gains .is-revealed */
  .steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 8%;
    right: 8%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-bright), var(--brand));
    opacity: 0.35;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.1s var(--ease-out) 0.2s;
  }

  .steps.is-revealed::before { transform: scaleX(1); }
}

.step-card {
  position: relative;
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed-base) var(--ease-out), box-shadow var(--speed-base) var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--sp-2);
}

.step-card p { font-size: var(--fs-sm); }

/* ==========================================================================
   21. CTA BANNER
   ========================================================================== */

.cta-banner {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--gradient-hero);
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-brand);
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner::before {
  top: -110px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 65%);
}

.cta-banner::after {
  bottom: -130px;
  right: -60px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16), transparent 65%);
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  color: #FFFFFF;
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner .lead {
  max-width: 560px;
  margin: var(--sp-4) auto 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* ==========================================================================
   22. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  padding-block: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 48px);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

.footer-brand .brand-logo { color: #FFFFFF; }
.footer-brand .brand-name { color: #FFFFFF; }
.footer-brand .brand-name em { color: var(--brand-glow); letter-spacing: 0.14em; }

.footer-blurb {
  margin-top: var(--sp-4);
  max-width: 300px;
  line-height: 1.7;
}

.footer-brand .status-pill { margin-top: var(--sp-4); }

.footer-title {
  margin-bottom: var(--sp-4);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--speed-fast) ease, transform var(--speed-fast) ease;
}

.footer-links a:hover { color: var(--brand-glow); }

.footer-contact {
  display: grid;
  gap: var(--sp-3);
}

.footer-contact-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.footer-contact-row .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand-glow);
}

.footer-contact-row a { color: rgba(255, 255, 255, 0.85); }
.footer-contact-row a:hover { color: var(--brand-glow); }

.footer-hours {
  display: grid;
  gap: 4px;
  font-size: var(--fs-xs);
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
}

.footer-hours-row dt { color: rgba(255, 255, 255, 0.55); }
.footer-hours-row dd { margin: 0; color: rgba(255, 255, 255, 0.85); font-weight: 500; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-legal-links a { color: rgba(255, 255, 255, 0.65); }
.footer-legal-links a:hover { color: var(--brand-glow); }

/* ==========================================================================
   23. STATUS PILL, BACK-TO-TOP, BREADCRUMBS, PAGINATION, FILTER BAR
   ========================================================================== */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.status-pill.is-open {
  background: var(--success-soft);
  color: var(--success);
}

.status-pill.is-open::before {
  opacity: 1;
  animation: status-pulse 2s ease-in-out infinite;
}

.status-pill.is-closed {
  background: var(--error-soft);
  color: var(--error);
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(21, 128, 61, 0); }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: var(--z-header);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--speed-base) ease, transform var(--speed-base) var(--ease-out), visibility var(--speed-base), background var(--speed-fast) ease, color var(--speed-fast) ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand);
  color: #FFFFFF;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.page-hero .breadcrumbs {
  margin-bottom: var(--sp-4);
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.85); }
.page-hero .breadcrumbs a:hover { color: #FFFFFF; }

.breadcrumbs .icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-7);
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--slate);
}

.pagination a:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.pagination .is-current {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

/* ==========================================================================
   24. ANIMATION SYSTEM
   ========================================================================== */

/* Scroll reveal — hidden states only apply when JS is running (html.js). */
.js [data-reveal] {
  opacity: 0;
  transition:
    opacity var(--speed-slow) var(--ease-out),
    transform var(--speed-slow) var(--ease-out);
  will-change: opacity, transform;
}

.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Stagger — children rise in sequence; per-child delays set by main.js. */
.js [data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--speed-slow) var(--ease-out),
    transform var(--speed-slow) var(--ease-out);
}

.js [data-stagger].is-revealed > * {
  opacity: 1;
  transform: none;
}

/* Gentle infinite float for decorative shapes (SVG groups or HTML). */
.float-a,
.float-b,
.float-c {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: floaty 5.5s ease-in-out infinite alternate;
}

.float-b { animation-duration: 7s; animation-delay: 0.8s; }
.float-c { animation-duration: 8.5s; animation-delay: 1.6s; }

@keyframes floaty {
  from { transform: translateY(-7px); }
  to { transform: translateY(9px); }
}

/* Soft pulsing glow (hero decorative elements) */
.glow-pulse {
  animation: glow-pulse 7s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Slow shimmer across gradient headings */
.text-gradient,
.text-gradient-bright {
  background-size: 220% 100%;
  animation: gradient-pan 7s ease-in-out infinite alternate;
}

@keyframes gradient-pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* Drifting glow inside the closing CTA banner */
.cta-banner { isolation: isolate; }

.cta-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 232, 180, 0.4), transparent 65%);
  animation: cta-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cta-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(75%, 45%) scale(1.2); }
}

/* Icon badges tint and tilt when their card is hovered */
.icon-badge {
  transition:
    transform var(--speed-fast) ease,
    background var(--speed-fast) ease,
    color var(--speed-fast) ease;
}

.trust-card:hover .icon-badge {
  background: var(--gradient-brand);
  color: #FFFFFF;
  transform: scale(1.06) rotate(-3deg);
}

/* Reading-progress bar along the top edge (element injected by main.js) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: calc(var(--z-header) + 1);
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Page-load intro overlay (injected by main.js, once per session) */
.page-intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: grid;
  place-items: center;
  background: var(--gradient-hero);
  transition: opacity 0.34s ease;
}

.page-intro.is-done {
  opacity: 0;
  pointer-events: none;
}

.page-intro-mark {
  width: 78px;
  height: 78px;
  animation: intro-pulse 0.75s var(--ease-out);
}

@keyframes intro-pulse {
  0% { opacity: 0; transform: scale(0.6); }
  55% { opacity: 1; transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   25. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal],
  .js [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .steps::before { transform: scaleX(1) !important; }

  .page-intro { display: none !important; }
}

/* ==========================================================================
   26. PRINT
   ========================================================================== */

@media print {
  body { background: #FFFFFF; color: #000000; }

  .site-header,
  .announcement-bar,
  .drawer,
  .drawer-overlay,
  .search-overlay,
  .back-to-top,
  .hero-actions,
  .hero-search,
  .cta-banner,
  .hamburger {
    display: none !important;
  }

  .hero,
  .page-hero,
  .section-dark {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .hero-title,
  .page-hero h1 { color: #000000; }

  .js [data-reveal],
  .js [data-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
