/* ============================================================
   MARIPOSA MONARCA — Design System
   Palette: monarch butterfly — deep amber, burnt orange, 
   obsidian black, cream, with accent gold and deep teal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  /* Monarch palette */
  --color-amber:        #E8680A;
  --color-amber-deep:   #C04E00;
  --color-amber-light:  #F5973C;
  --color-amber-pale:   #FDE8CC;
  --color-gold:         #D4A017;
  --color-gold-light:   #F5D76E;
  --color-obsidian:     #1A0E00;
  --color-obsidian-2:   #2D1E08;
  --color-wing-dark:    #8B3A00;
  --color-wing-mid:     #C05A00;
  --color-cream:        #FDF6EC;
  --color-cream-2:      #FBF0E0;
  --color-teal-accent:  #1A6B6B;

  /* Semantic */
  --color-bg:           var(--color-cream);
  --color-surface:      #FFFAF3;
  --color-surface-2:    #FDF4E4;
  --color-border:       #E8C99A;
  --color-text:         #1A0E00;
  --color-text-muted:   #6B4B22;
  --color-text-faint:   #B8935A;
  --color-primary:      var(--color-amber);
  --color-primary-dark: var(--color-amber-deep);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.25rem; --space-6: 1.5rem;
  --space-8: 2rem;    --space-10: 2.5rem; --space-12: 3rem;
  --space-16: 4rem;   --space-20: 5rem;   --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm: 0.375rem; --radius-md: 0.5rem;
  --radius-lg: 0.75rem;  --radius-xl: 1.25rem;
  --radius-2xl: 2rem;    --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26,14,0,.08);
  --shadow-md: 0 4px 16px rgba(26,14,0,.12);
  --shadow-lg: 0 12px 40px rgba(26,14,0,.16);
  --shadow-float: 0 8px 32px rgba(232,104,10,.18), 0 2px 8px rgba(26,14,0,.1);

  /* Motion */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 200ms var(--ease-spring);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ---- Dark mode ---- */
[data-theme="dark"] {
  --color-bg:           #110900;
  --color-surface:      #1A0E00;
  --color-surface-2:    #231508;
  --color-border:       #4A2E0A;
  --color-text:         #FDE8CC;
  --color-text-muted:   #C09060;
  --color-text-faint:   #7A5530;
  --color-primary:      #F5973C;
  --color-primary-dark: #E8680A;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:           #110900;
    --color-surface:      #1A0E00;
    --color-surface-2:    #231508;
    --color-border:       #4A2E0A;
    --color-text:         #FDE8CC;
    --color-text-muted:   #C09060;
    --color-text-faint:   #7A5530;
    --color-primary:      #F5973C;
    --color-primary-dark: #E8680A;
  }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
button { cursor: pointer; background: none; border: none; }
::selection { background: rgba(232,104,10,.2); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-nav--scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: var(--space-1);
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
  background: color-mix(in oklab, var(--color-primary) 10%, transparent);
}
.nav-right { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.lang-toggle {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  background: var(--color-surface);
}
.lang-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
}
.theme-toggle:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-surface); border-bottom: 1px solid var(--color-border);
    flex-direction: column; padding: var(--space-4) var(--space-6); gap: var(--space-2);
    box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: clamp(var(--space-20), 12vw, var(--space-32)) var(--space-6);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232,104,10,.22) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(212,160,23,.18) 0%, transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(232,104,10,.06) 0%, transparent 70%),
    var(--color-cream);
  z-index: 0;
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(232,104,10,.28) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(212,160,23,.2) 0%, transparent 55%),
    #110900;
}
.hero-wing {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-default);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--color-amber);
  border-radius: 2px;
}
.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 18ch;
}
.hero h1 em { color: var(--color-amber); font-style: italic; }
.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: var(--space-10);
}
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ============================================================
   BUTTERFLY SVG DECORATIONS
   ============================================================ */
.butterfly-float {
  position: absolute;
  opacity: 0.12;
  animation: floatButterfly 8s ease-in-out infinite;
  pointer-events: none;
}
.butterfly-float:nth-child(2) { animation-delay: -3s; opacity: 0.08; }
.butterfly-float:nth-child(3) { animation-delay: -5.5s; opacity: 0.06; }
@keyframes floatButterfly {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-amber);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,104,10,.3);
}
.btn-primary:hover {
  background: var(--color-amber-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,104,10,.35);
  color: #fff;
}
.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-surface);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}
.section-inner {
  max-width: var(--content-default);
  margin: 0 auto;
}
.section-wide {
  max-width: var(--content-wide);
  margin: 0 auto;
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}
.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-style: italic;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.section-title em { color: var(--color-amber); font-style: italic; }
.section-intro {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: var(--space-12);
}

/* ============================================================
   FLOATING TILES / CARDS
   ============================================================ */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}
.tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-amber), var(--color-gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: color-mix(in oklab, var(--color-amber) 30%, var(--color-border));
}
.tile:hover::before { opacity: 1; }
.tile-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-amber-pale), rgba(212,160,23,.2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.tile-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
  line-height: 1.25;
}
.tile-body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.tile-body ul { padding-left: var(--space-5); margin-top: var(--space-2); }
.tile-body li { margin-bottom: var(--space-1); }
.tile-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-amber);
  letter-spacing: 0.04em;
}
.tile-link:hover { color: var(--color-amber-deep); gap: var(--space-3); }

/* Gradient tile variants */
.tile-amber {
  background: linear-gradient(135deg, rgba(232,104,10,.08), rgba(245,151,60,.05));
}
.tile-gold {
  background: linear-gradient(135deg, rgba(212,160,23,.1), rgba(245,215,110,.06));
}
.tile-dark {
  background: var(--color-obsidian);
  color: var(--color-amber-pale);
  border-color: var(--color-wing-dark);
}
.tile-dark .tile-title { color: var(--color-amber-pale); }
.tile-dark .tile-body { color: rgba(253,232,204,.7); }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--color-border); }
.accordion-item { border-bottom: 1px solid var(--color-border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; text-align: left;
  padding: var(--space-5) var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-display); font-size: var(--text-base); font-weight: 600;
  color: var(--color-text); background: var(--color-surface);
  transition: background var(--transition);
  cursor: pointer; border: none;
}
.accordion-btn:hover { background: var(--color-surface-2); color: var(--color-amber); }
.accordion-btn[aria-expanded="true"] { color: var(--color-amber); background: var(--color-surface-2); }
.accordion-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--color-text-muted); transition: transform var(--transition);
}
.accordion-btn[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); color: var(--color-amber); }
.accordion-panel {
  display: none;
  padding: 0 var(--space-6) var(--space-6);
  background: var(--color-surface);
  font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7;
}
.accordion-panel.open { display: block; }
.accordion-panel ul { padding-left: var(--space-5); margin-top: var(--space-3); }
.accordion-panel li { margin-bottom: var(--space-2); }
.accordion-panel a { color: var(--color-amber); font-weight: 500; }

/* ============================================================
   STEP LIST
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: var(--space-5); }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--space-5); align-items: start;
}
.step-num {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
  color: #fff; font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 4px 12px rgba(232,104,10,.25);
}
.step-content h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-2); color: var(--color-text); }
.step-content p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }
.step-content a { color: var(--color-amber); font-weight: 500; }

/* ============================================================
   PHRASE TABLE
   ============================================================ */
.phrase-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.phrase-table thead tr { background: linear-gradient(90deg, var(--color-amber), var(--color-gold)); color: #fff; }
.phrase-table th { padding: var(--space-3) var(--space-5); text-align: left; font-weight: 600; }
.phrase-table td { padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--color-border); }
.phrase-table tr:nth-child(even) td { background: var(--color-surface); }
.phrase-table tr:hover td { background: rgba(232,104,10,.06); }
.phrase-en { color: var(--color-text); font-weight: 500; }
.phrase-es { color: var(--color-amber-deep); font-weight: 600; }
[data-theme="dark"] .phrase-en { color: var(--color-text); }
[data-theme="dark"] .phrase-es { color: var(--color-amber-light); }

/* ============================================================
   STATE SELECTOR
   ============================================================ */
.state-select-wrap {
  position: relative; max-width: 440px;
}
.state-select {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  padding-right: var(--space-12);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--color-text);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition);
}
.state-select:focus { border-color: var(--color-amber); outline: none; }
.state-select-wrap::after {
  content: '▾';
  position: absolute; right: var(--space-5); top: 50%;
  transform: translateY(-50%);
  color: var(--color-amber); pointer-events: none;
  font-size: var(--text-sm);
}
.state-panel { display: none; }
.state-panel.active { display: block; }

/* ============================================================
   INFO BANNER
   ============================================================ */
.info-banner {
  background: linear-gradient(135deg, rgba(232,104,10,.12), rgba(212,160,23,.1));
  border: 1px solid rgba(232,104,10,.3);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex; gap: var(--space-4); align-items: flex-start;
  margin: var(--space-8) 0;
}
.info-banner-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.info-banner h4 { font-size: var(--text-sm); font-weight: 700; color: var(--color-amber-deep); margin-bottom: var(--space-2); }
[data-theme="dark"] .info-banner h4 { color: var(--color-amber-light); }
.info-banner p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.65; }
.info-banner a { color: var(--color-amber); font-weight: 500; }

/* ============================================================
   LANGUAGE TOGGLE — hide/show content
   ============================================================ */
.lang-es { display: none; }
.lang-en { display: block; }
body.lang-es .lang-en { display: none; }
body.lang-es .lang-es { display: block; }

/* For inline text swapping */
.en-text { display: inline; }
.es-text { display: none; }
body.lang-es .en-text { display: none; }
body.lang-es .es-text { display: inline; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-obsidian);
  color: var(--color-amber-pale);
  padding: var(--space-16) var(--space-6) var(--space-8);
}
.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
}
.footer-logo { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; font-style: italic; }
.footer-tagline { font-size: var(--text-sm); color: rgba(253,232,204,.6); margin-top: var(--space-3); line-height: 1.6; max-width: 38ch; }
.footer-heading { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-amber); margin-bottom: var(--space-5); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: rgba(253,232,204,.7); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-amber-light); }
.footer-bottom {
  max-width: var(--content-wide);
  margin: var(--space-12) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(253,232,204,.1);
  font-size: var(--text-xs);
  color: rgba(253,232,204,.4);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4);
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.divider-wing {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-amber), var(--color-gold), transparent);
  margin: var(--space-12) 0;
  border: none;
}
.tag {
  display: inline-flex; align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600;
  background: rgba(232,104,10,.12);
  color: var(--color-amber-deep);
  border: 1px solid rgba(232,104,10,.2);
}
[data-theme="dark"] .tag { color: var(--color-amber-light); background: rgba(232,104,10,.18); }
.resource-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-amber);
  color: var(--color-amber);
  font-size: var(--text-xs); font-weight: 600;
  transition: all var(--transition);
}
.resource-link:hover {
  background: var(--color-amber);
  color: #fff;
  transform: translateY(-2px);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
.highlight-box {
  background: linear-gradient(135deg, var(--color-obsidian), var(--color-obsidian-2));
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-8);
  color: var(--color-amber-pale);
  border: 1px solid var(--color-wing-dark);
}
.highlight-box h2 { color: var(--color-amber-light); font-style: italic; }
.highlight-box p { color: rgba(253,232,204,.75); }

/* ============================================================
   VOLUNTEER BANNER & FORM
   ============================================================ */
.volunteer-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg,
    var(--color-obsidian) 0%,
    var(--color-obsidian-2) 40%,
    #3A1800 100%);
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-6);
}

.volunteer-banner__wing {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.volunteer-banner__wing svg {
  width: 100%; height: 100%;
  object-fit: cover;
}

.volunteer-banner__inner {
  max-width: var(--content-default);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.volunteer-banner__header {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  margin-bottom: var(--space-12);
}
@media (max-width: 640px) {
  .volunteer-banner__header { flex-direction: column; align-items: center; text-align: center; }
}

.volunteer-banner__butterfly {
  flex-shrink: 0;
  animation: floatButterfly 6s ease-in-out infinite;
}

.volunteer-banner__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light, #F5D76E);
  margin-bottom: var(--space-3);
}

.volunteer-banner__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-style: italic;
  color: var(--color-amber-pale);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.volunteer-banner__title em {
  color: var(--color-amber-light);
  font-style: italic;
}

.volunteer-banner__subtitle {
  font-size: var(--text-base);
  color: rgba(253,232,204,.7);
  max-width: 60ch;
  line-height: 1.7;
}

/* ---- Form card ---- */
.volunteer-form {
  background: rgba(255,250,243,.05);
  border: 1px solid rgba(232,104,10,.25);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  backdrop-filter: blur(8px);
}

/* ---- Layout helpers ---- */
.vf-row { margin-bottom: var(--space-6); }
.vf-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 560px) {
  .vf-row--2 { grid-template-columns: 1fr; }
}
.vf-field { display: flex; flex-direction: column; gap: var(--space-2); }
.vf-field--half { max-width: 360px; }

/* ---- Labels ---- */
.vf-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-amber-pale);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.vf-required {
  color: var(--color-amber-light);
  font-size: var(--text-base);
  line-height: 1;
}
.vf-optional {
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(253,232,204,.5);
}
.vf-hint {
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(253,232,204,.5);
}

/* ---- Inputs & Textarea ---- */
.vf-input {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(232,104,10,.3);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-amber-pale);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  width: 100%;
}
.vf-input::placeholder { color: rgba(253,232,204,.3); }
.vf-input:focus {
  outline: none;
  border-color: var(--color-amber);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(232,104,10,.18);
}
.vf-textarea { resize: vertical; min-height: 100px; }

/* ---- Divider ---- */
.vf-divider {
  border: none;
  border-top: 1px solid rgba(232,104,10,.2);
  margin: var(--space-8) 0;
}

/* ---- Fieldsets / Legends ---- */
.vf-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-8);
}
.vf-legend {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-amber-pale);
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.vf-legend--required::after {
  content: '';
}

/* ---- Checkbox grid ---- */
.vf-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.vf-check-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) {
  .vf-check-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .vf-check-grid, .vf-check-grid--3 { grid-template-columns: 1fr; }
}

.vf-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(232,104,10,.2);
  background: rgba(255,255,255,.04);
  transition: all var(--transition);
}
.vf-check:hover {
  background: rgba(232,104,10,.1);
  border-color: rgba(232,104,10,.45);
}
.vf-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.vf-check__box {
  width: 20px; height: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(232,104,10,.5);
  background: rgba(255,255,255,.06);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.vf-check input[type="checkbox"]:checked ~ .vf-check__box {
  background: var(--color-amber);
  border-color: var(--color-amber);
}
.vf-check input[type="checkbox"]:checked ~ .vf-check__box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.vf-check input[type="checkbox"]:checked ~ .vf-check__label {
  color: var(--color-amber-light);
}
.vf-check__label {
  font-size: var(--text-sm);
  color: rgba(253,232,204,.8);
  line-height: 1.4;
  transition: color var(--transition);
}
.vf-check:has(input:checked) {
  background: rgba(232,104,10,.12);
  border-color: rgba(232,104,10,.5);
}

/* ---- Radio group ---- */
.vf-radio-group { display: flex; flex-direction: column; gap: var(--space-3); }
.vf-radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(232,104,10,.2);
  background: rgba(255,255,255,.04);
  transition: all var(--transition);
}
.vf-radio:hover {
  background: rgba(232,104,10,.1);
  border-color: rgba(232,104,10,.45);
}
.vf-radio input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.vf-radio__dot {
  width: 20px; height: 20px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(232,104,10,.5);
  background: rgba(255,255,255,.06);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.vf-radio input[type="radio"]:checked ~ .vf-radio__dot {
  border-color: var(--color-amber);
  background: var(--color-amber);
  box-shadow: inset 0 0 0 4px rgba(26,14,0,.85);
}
.vf-radio__label {
  font-size: var(--text-sm);
  color: rgba(253,232,204,.85);
  font-weight: 500;
}
.vf-radio:has(input:checked) {
  background: rgba(232,104,10,.12);
  border-color: rgba(232,104,10,.5);
}
.vf-radio:has(input:checked) .vf-radio__label { color: var(--color-amber-light); font-weight: 700; }

/* ---- Consent copy ---- */
.vf-consent-text {
  font-size: var(--text-sm);
  color: rgba(253,232,204,.7);
  margin-bottom: var(--space-4);
  line-height: 1.65;
  max-width: 66ch;
}
.vf-consent-text strong { color: var(--color-amber-light); }

/* ---- Errors ---- */
.vf-error {
  font-size: var(--text-xs);
  color: #F97066;
  font-weight: 600;
  display: none;
}
.vf-error.visible { display: block; }

/* ---- Submit row ---- */
.vf-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
.vf-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-amber), var(--color-gold));
  color: #1A0E00;
  font-size: var(--text-base);
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 24px rgba(232,104,10,.35);
  transition: all var(--transition);
}
.vf-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(232,104,10,.45);
}
.vf-submit-btn:active { transform: translateY(0); }
.vf-privacy {
  font-size: var(--text-xs);
  color: rgba(253,232,204,.45);
  max-width: 36ch;
  line-height: 1.5;
}

/* ---- Success message ---- */
.vf-success {
  text-align: center;
  padding: var(--space-16) var(--space-8);
}
.vf-success__icon { font-size: 4rem; margin-bottom: var(--space-6); animation: floatButterfly 4s ease-in-out infinite; }
.vf-success h3 {
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-amber-light);
  margin-bottom: var(--space-3);
}
.vf-success p { color: rgba(253,232,204,.75); font-size: var(--text-base); }

/* ---- Conditional show/hide ---- */
.vf-conditional { transition: opacity 0.3s ease; }

/* ============================================================
   ENGAGEMENT POP-UP
   Appears after 3 meaningful interactions (clicks/scrolls)
   ============================================================ */
.engage-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,14,0,.65);
  backdrop-filter: blur(4px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.engage-overlay.is-open {
  display: flex;
  animation: fadeIn .25s ease;
}
.engage-modal {
  background: linear-gradient(145deg, #2D1E08 0%, #1A0E00 100%);
  border: 1px solid rgba(232,104,10,.25);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(232,104,10,.1);
  text-align: center;
  animation: slideUp .3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.engage-modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 50%;
  width: 2rem; height: 2rem;
  cursor: pointer;
  color: #FDE8CC;
  font-size: 1rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.engage-modal__close:hover { background: rgba(255,255,255,.15); }
.engage-modal__butterfly {
  font-size: 3rem;
  margin-bottom: .75rem;
  display: block;
  animation: floatButterfly 3s ease-in-out infinite;
}
.engage-modal__eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #E8680A;
  margin-bottom: .5rem;
}
.engage-modal__title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #FDE8CC;
  margin-bottom: .75rem;
  line-height: 1.2;
}
.engage-modal__title em { color: #D4A017; font-style: italic; }
.engage-modal__body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .95rem;
  color: rgba(253,232,204,.75);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.engage-modal__cta {
  display: inline-block;
  background: linear-gradient(135deg, #E8680A, #C04E00);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(232,104,10,.4);
}
.engage-modal__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,104,10,.5);
}
.engage-modal__skip {
  display: block;
  margin-top: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem;
  color: rgba(253,232,204,.4);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}
.engage-modal__skip:hover { color: rgba(253,232,204,.65); }

/* ============================================================
   JUST ARRIVED — EMERGENCY MODE
   ============================================================ */

/* --- Floating trigger button --- */
.just-arrived-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 8000;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: linear-gradient(135deg, #E8680A 0%, #C04E00 100%);
  color: #FDE8CC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .75rem 1.4rem;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232, 104, 10, .55);
  transition: transform .2s, box-shadow .2s;
  animation: ja-pulse 2.6s ease-in-out infinite;
  text-decoration: none;
}
.just-arrived-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 28px rgba(232, 104, 10, .7);
  animation: none;
}
.just-arrived-btn.ja-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
}
@keyframes ja-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(232,104,10,.55); transform: scale(1); }
  50%       { box-shadow: 0 6px 32px rgba(232,104,10,.9); transform: scale(1.05); }
}

/* --- Full-screen modal overlay --- */
.ja-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: #1A0E00;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity .35s ease, transform .35s cubic-bezier(.25,.8,.25,1);
}
.ja-modal-overlay.ja-open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* --- Modal inner wrapper --- */
.ja-modal-inner {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* --- Modal header --- */
.ja-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.ja-modal-title {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #E8680A;
  margin: 0;
  line-height: 1.2;
}
.ja-modal-close {
  background: none;
  border: 2px solid rgba(253,232,204,.25);
  border-radius: 50%;
  color: #FDE8CC;
  font-size: 1.3rem;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.ja-modal-close:hover {
  background: rgba(253,232,204,.1);
  border-color: rgba(253,232,204,.55);
}

/* --- Action cards --- */
.ja-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.ja-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(232,104,10,.25);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
}
.ja-card-header {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: .65rem;
}
.ja-card-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2.1rem;
  font-weight: 900;
  color: #D4A017;
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}
.ja-card-titles {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.ja-card-title-en,
.ja-card-title-es {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FDE8CC;
  line-height: 1.25;
  margin: 0;
}
.ja-card-body-en,
.ja-card-body-es {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem;
  color: rgba(253,232,204,.78);
  line-height: 1.55;
  margin: 0;
}

/* --- Phone numbers grid --- */
.ja-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: .75rem;
}
.ja-phone-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(232,104,10,.18);
  border: 1px solid rgba(232,104,10,.4);
  border-radius: .75rem;
  padding: .8rem .6rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
  color: inherit;
}
.ja-phone-link:hover {
  background: rgba(232,104,10,.32);
  transform: scale(1.03);
}
.ja-phone-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #E8680A;
  line-height: 1.1;
}
.ja-phone-label-en,
.ja-phone-label-es {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem;
  color: rgba(253,232,204,.65);
  text-align: center;
  line-height: 1.3;
  margin-top: .2rem;
}

/* --- Modal footer --- */
.ja-modal-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding-top: .5rem;
}
.ja-full-guide-btn {
  display: inline-block;
  background: linear-gradient(135deg, #E8680A, #C04E00);
  color: #FDE8CC;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem 2.2rem;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232,104,10,.4);
  transition: transform .2s, box-shadow .2s;
}
.ja-full-guide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,104,10,.55);
}
.ja-tap-note {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  color: rgba(253,232,204,.45);
  margin: 0;
  text-align: center;
}

/* --- Bilingual visibility logic --- */
/* Default: show EN, hide ES */
.ja-modal-overlay .es-only  { display: none; }
.ja-modal-overlay .en-only  { display: block; }
/* When body has lang-es: flip */
body.lang-es .ja-modal-overlay .es-only { display: block; }
body.lang-es .ja-modal-overlay .en-only { display: none; }
/* Phone label variants */
.ja-modal-overlay .ja-phone-label-es { display: none; }
.ja-modal-overlay .ja-phone-label-en { display: block; }
body.lang-es .ja-modal-overlay .ja-phone-label-es { display: block; }
body.lang-es .ja-modal-overlay .ja-phone-label-en { display: none; }
/* Card title variants — use inline-block so italic works */
.ja-card-title-en { display: block; }
.ja-card-title-es { display: none; }
body.lang-es .ja-card-title-en { display: none; }
body.lang-es .ja-card-title-es { display: block; }
.ja-card-body-en  { display: block; }
.ja-card-body-es  { display: none; }
body.lang-es .ja-card-body-en  { display: none; }
body.lang-es .ja-card-body-es  { display: block; }

/* --- Responsive --- */
@media (max-width: 480px) {
  .ja-phone-grid { grid-template-columns: 1fr 1fr; }
  .ja-modal-title { font-size: 1.3rem; }
  .ja-card-num { font-size: 1.75rem; }
  .ja-card-title-en, .ja-card-title-es { font-size: 1.05rem; }
  .just-arrived-btn { font-size: .85rem; padding: .65rem 1.1rem; bottom: 1rem; left: 1rem; }
}

/* ========================================================
   PRINT BUTTON STYLES
   ======================================================== */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-cream, #FDE8CC);
  background: transparent;
  border: 1.5px solid var(--color-amber, #D4A017);
  border-radius: 2rem;
  cursor: pointer;
  transition: background .2s, color .2s;
  float: right;
  margin-left: 1rem;
  margin-bottom: .5rem;
}
.print-btn:hover {
  background: var(--color-amber, #D4A017);
  color: #1a1209;
}

/* ========================================================
   WHATSAPP FLOATING SHARE BUTTON
   ======================================================== */
.whatsapp-share {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 7500;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 3rem;
  padding: .65rem 1.1rem .65rem .8rem;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-share:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(37,211,102,.55);
  color: #fff;
}
.whatsapp-share svg {
  flex-shrink: 0;
}

/* ========================================================
   PRINT STYLESHEET
   ======================================================== */
@media print {
  /* Hide everything */
  nav, .site-nav, .hero, footer, .site-footer, .floating-btn, .volunteer-banner,
  .engage-overlay, .just-arrived-btn, .just-arrived-modal, .print-btn,
  .whatsapp-share, .dark-toggle, #lang-toggle, #theme-toggle, #nav-hamburger { display: none !important; }

  /* Show only the section being printed */
  body { background: white !important; color: black !important; }
  section { display: none !important; }
  section.printing { display: block !important; }

  /* Clean typography for print */
  .card, .tile, .info-card {
    break-inside: avoid;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
  a[href]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
  a[href^="#"]::after, a[href^="tel:"]::after { content: none; }
}

/* ============================================================
   PROGRESS TRACKER — Sticky sidebar (desktop) / pill (mobile)
   ============================================================ */

/* ---- Desktop: fixed overlay panel anchored top-right ---- */
.progress-tracker {
  position: fixed;
  top: 5rem;
  right: 1.25rem;
  z-index: 500;
  width: 280px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #FDE8CC;
  border-radius: var(--radius-xl);
  border-left: 4px solid #E8680A;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(232,104,10,.15);
  padding: var(--space-5) var(--space-5) var(--space-6);
  transition: transform 0.3s var(--ease-spring), opacity 0.3s ease, box-shadow 0.2s ease;
  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(232,104,10,.3) transparent;
}
.progress-tracker::-webkit-scrollbar { width: 4px; }
.progress-tracker::-webkit-scrollbar-thumb { background: rgba(232,104,10,.3); border-radius: 4px; }

/* Dark mode panel */
[data-theme="dark"] .progress-tracker {
  background: #2D1E08;
  border-left-color: #E8680A;
  box-shadow: 0 12px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(232,104,10,.2);
}

/* Hidden state (after close button) */
.progress-tracker.pt-hidden {
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

/* ---- Header ---- */
.pt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.pt-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A0E00;
  line-height: 1.2;
  margin: 0;
}
[data-theme="dark"] .pt-title { color: #FDE8CC; }

.pt-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: rgba(26,14,0,.45);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
.pt-close-btn:hover {
  color: #E8680A;
  background: rgba(232,104,10,.1);
}
[data-theme="dark"] .pt-close-btn { color: rgba(253,232,204,.4); }
[data-theme="dark"] .pt-close-btn:hover { color: #F5973C; }

/* ---- Progress bar ---- */
.pt-bar-wrap {
  height: 6px;
  background: rgba(232,104,10,.18);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
}
[data-theme="dark"] .pt-bar-wrap { background: rgba(232,104,10,.22); }

.pt-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #E8680A, #D4A017);
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease-spring);
  min-width: 0;
}

.pt-bar-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(26,14,0,.55);
  margin-bottom: var(--space-4);
  line-height: 1.4;
  max-width: none;
}
[data-theme="dark"] .pt-bar-label { color: rgba(253,232,204,.55); }

.pt-count {
  color: #E8680A;
  font-weight: 700;
}

/* ---- Checklist ---- */
.pt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.pt-item {
  opacity: 1;
  transform: none;
}

.pt-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}
.pt-label:hover {
  background: rgba(232,104,10,.1);
}
[data-theme="dark"] .pt-label:hover { background: rgba(232,104,10,.15); }

/* Hide the native checkbox */
.pt-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom checkbox box */
.pt-check-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(232,104,10,.55);
  background: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s var(--ease-spring);
  flex-shrink: 0;
}
[data-theme="dark"] .pt-check-box {
  background: rgba(255,255,255,.08);
  border-color: rgba(232,104,10,.5);
}

/* Checked box: amber fill with checkmark */
.pt-checkbox:checked ~ .pt-check-box {
  background: #E8680A;
  border-color: #E8680A;
  transform: scale(1.1);
}
.pt-checkbox:checked ~ .pt-check-box::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* Item text */
.pt-text {
  font-size: 0.8rem;
  color: #3A2006;
  line-height: 1.4;
  transition: opacity 0.25s ease, text-decoration-color 0.25s ease;
}
[data-theme="dark"] .pt-text { color: rgba(253,232,204,.85); }

/* Checked text: strikethrough + dimmed */
.pt-item.pt-checked .pt-text {
  text-decoration: line-through;
  text-decoration-color: rgba(232,104,10,.7);
  opacity: 0.6;
}

/* Focus ring on label for keyboard nav */
.pt-checkbox:focus-visible ~ .pt-check-box {
  outline: 2px solid #E8680A;
  outline-offset: 2px;
}

/* ---- Mobile pill trigger ---- */
.pt-pill {
  display: none; /* hidden on desktop */
  position: fixed;
  bottom: 5.5rem; /* above the WhatsApp button */
  right: 1.25rem;
  z-index: 600;
  align-items: center;
  gap: 0.4rem;
  background: #FDE8CC;
  border: 2px solid #E8680A;
  border-radius: var(--radius-full);
  padding: 0.5rem 0.9rem 0.5rem 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232,104,10,.35);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: #1A0E00;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
[data-theme="dark"] .pt-pill {
  background: #2D1E08;
  color: #FDE8CC;
  box-shadow: 0 4px 16px rgba(0,0,0,.45), 0 0 0 1px rgba(232,104,10,.35);
}
.pt-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,104,10,.45);
}

.pt-pill-count {
  color: #E8680A;
  font-size: 0.85rem;
  font-weight: 800;
}
.pt-pill-check {
  font-size: 0.8rem;
  color: #E8680A;
}
.pt-pill-label {
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---- Responsive: mobile layout ---- */
@media (max-width: 860px) {
  /* Hide desktop fixed panel by default on mobile */
  .progress-tracker {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    border-left: none;
    border-top: 4px solid #E8680A;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-spring), opacity 0.3s ease;
    z-index: 600;
    padding-bottom: var(--space-8);
  }
  .progress-tracker.pt-mobile-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  /* Override the pt-hidden class on mobile */
  .progress-tracker.pt-hidden {
    transform: translateY(100%);
    opacity: 0;
  }

  /* Show pill on mobile */
  .pt-pill { display: flex; }
}

@media (min-width: 861px) {
  /* Pill hidden on desktop */
  .pt-pill { display: none !important; }
}

/* ---- Print: hide tracker ---- */
@media print {
  .progress-tracker,
  .pt-pill { display: none !important; }
}

/* Just Arrived modal — legal disclaimer */
.ja-legal-note {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.05);
  border-radius: .5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  color: rgba(253,232,204,.55);
  line-height: 1.5;
  text-align: center;
}
