/* ══════════════════════════════════════════════════════════════════════
   Guardian Bus Lines — Site Stylesheet
   Design tokens are derived from the Guardian shield mark (navy + gold).
   No build step — plain CSS, loaded directly by includes/head.php.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --navy:        #0D2545;
  --navy-2:      #07152a;
  --navy-tint:   #16335c;
  --gold:        #FFC200;
  --gold-dark:   #E6AF00;
  --paper:       #FFFFFF;
  --paper-alt:   #F4F6FA;
  --ink:         #1A2332;
  --mid:         #4B5563;
  --border:      #E2E8F0;
  --green:       #1F7A4D;
  --green-tint:  #EAF7EF;
  --red:         #B3261E;
  --focus:       #2E6E8C;
  --shadow: 0 2px 10px rgba(13,37,69,.06);
  --shadow-lg: 0 10px 34px rgba(13,37,69,.14);
  --radius: 8px;
}

/* ── Layout utilities ──────────────────────────────────────────────── */
.inner { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.inner-narrow { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.gbl-section { padding: 4.5rem 1.5rem; scroll-margin-top: 80px; }
.gbl-section-alt { background: var(--paper-alt); }
.gbl-section-navy { background: var(--navy); color: #fff; }
.section-label {
  display: flex; align-items: center; gap: .55rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: .7rem;
}
.gbl-section-navy .section-label,
.section-label.on-dark { color: var(--gold); }
.section-label::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px; background: currentColor;
  border-radius: 1px; flex-shrink: 0;
}
h2.section-heading {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800; letter-spacing: -.02em;
  color: var(--navy); line-height: 1.2;
  margin-bottom: .65rem;
}
.gbl-section-navy h2.section-heading { color: #fff; }
p.section-sub {
  font-size: 1.02rem; color: var(--mid);
  max-width: 620px; line-height: 1.65;
  margin-bottom: 2.75rem;
}
.gbl-section-navy p.section-sub { color: rgba(255,255,255,.74); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: .95rem;
  padding: .85rem 1.75rem; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .15s, transform .1s; font-family: inherit;
}
.btn-primary:hover { background: var(--gold-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: #fff;
  font-weight: 600; font-size: .95rem;
  padding: .85rem 1.75rem; border-radius: 6px;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.38);
  cursor: pointer; transition: border-color .15s, background .15s;
  font-family: inherit;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); }
.btn-outline-navy {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--navy);
  font-weight: 700; font-size: .92rem;
  padding: .75rem 1.5rem; border-radius: 6px;
  text-decoration: none; border: 1.5px solid var(--navy);
  cursor: pointer; transition: background .15s, color .15s; font-family: inherit;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── Header ────────────────────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1rem;
  padding: 0 1.5rem; max-width: 1120px; margin: 0 auto;
}
.logo { text-decoration: none; flex-shrink: 0; display: flex; align-items: center; gap: .6rem; }
.logo-img { height: 40px; width: auto; }
.logo-tag { font-size: .62rem; font-weight: 600; color: rgba(220,225,235,.7); letter-spacing: .1em; text-transform: uppercase; display: none; }

nav#main-nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; }
nav#main-nav > ul > li { position: relative; }
nav#main-nav a {
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: .85rem; font-weight: 500;
  padding: .55rem .7rem; border-radius: 4px;
  transition: color .15s, background .15s; white-space: nowrap;
  display: inline-block;
}
nav#main-nav a:hover, nav#main-nav a.active { color: #fff; background: rgba(255,255,255,.09); }

.has-dropdown > a::after { content: '▾'; font-size: .6rem; margin-left: .35rem; opacity: .7; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg);
  min-width: 260px; padding: .5rem; margin: 0; list-style: none;
}
/* No gap between the nav link and the dropdown box on purpose — a margin here
   creates a dead zone the pointer has to cross, which drops :hover (and closes
   the menu) before it ever reaches the submenu items. */
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { display: block; }
nav#main-nav .dropdown-menu a {
  display: block; color: var(--navy); font-size: .86rem; font-weight: 600; line-height: 1.3;
  padding: .55rem .75rem; border-radius: 5px; transition: background .12s, color .12s;
}
nav#main-nav .dropdown-menu a:hover,
nav#main-nav .dropdown-menu a:focus-visible { background: var(--paper-alt); color: var(--gold-dark); }
.dropdown-menu .dd-desc { display: block; font-size: .74rem; font-weight: 400; color: var(--mid); line-height: 1.35; margin-top: .1rem; transition: color .12s; }
.dropdown-menu a:hover .dd-desc, .dropdown-menu a:focus-visible .dd-desc { color: var(--navy); }

.btn-header-quote {
  background: var(--gold); color: var(--navy);
  font-size: .84rem; font-weight: 700;
  padding: .55rem 1.15rem; border-radius: 5px;
  text-decoration: none; white-space: nowrap;
  border: none; cursor: pointer; transition: background .15s;
  font-family: inherit; flex-shrink: 0;
}
.btn-header-quote:hover { background: var(--gold-dark); }
.header-call {
  color: rgba(255,255,255,.85); font-size: .84rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; display: none;
}

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px; flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

@media (min-width: 1000px) { .header-call { display: inline-block; } }

@media (max-width: 900px) {
  nav#main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); border-bottom: 3px solid var(--gold);
    max-height: 0; overflow: hidden; transition: max-height .22s ease;
  }
  nav#main-nav.open { max-height: 560px; overflow-y: auto; }
  nav#main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1rem; }
  nav#main-nav > ul > li { width: 100%; }
  nav#main-nav a { padding: .8rem .5rem; }
  .dropdown-menu { display: block; position: static; box-shadow: none; background: rgba(255,255,255,.04); margin: 0 0 .25rem; }
  nav#main-nav .dropdown-menu a { color: rgba(255,255,255,.85); }
  nav#main-nav .dropdown-menu a:hover, nav#main-nav .dropdown-menu a:focus-visible { background: rgba(255,255,255,.08); color: #fff; }
  .dropdown-menu .dd-desc { color: rgba(255,255,255,.5); }
  .dropdown-menu a:hover .dd-desc, .dropdown-menu a:focus-visible .dd-desc { color: rgba(255,255,255,.75); }
  .btn-header-quote { display: none; }
  .hamburger { display: flex; }
}

/* ── Sticky mobile action bar ──────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 250;
  background: var(--navy); border-top: 3px solid var(--gold);
  padding: .6rem .9rem; padding-bottom: calc(.6rem + env(safe-area-inset-bottom));
  gap: .6rem;
}
.mobile-cta-bar a {
  flex: 1; text-align: center; text-decoration: none;
  font-weight: 700; font-size: .88rem; padding: .75rem .5rem; border-radius: 6px;
}
.mobile-cta-bar .mcb-call { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.mobile-cta-bar .mcb-quote { background: var(--gold); color: var(--navy); }
@media (max-width: 640px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ── Home hero ─────────────────────────────────────────────────────── */
#hero { background: var(--navy); color: #fff; padding: 4.5rem 1.5rem 4rem; position: relative; overflow: hidden; }
#hero::before {
  content: ''; position: absolute; top: 0; right: -60px; width: 420px; height: 100%;
  background: var(--gold); opacity: .07; transform: skewX(-12deg); pointer-events: none; z-index: 1;
}
#hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 35%, transparent 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,194,0,.12); border: 1px solid rgba(255,194,0,.32);
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 20px; margin-bottom: 1.4rem;
}
.hero-inner h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; line-height: 1.16; letter-spacing: -.025em; margin-bottom: 1.2rem; }
.hero-inner h1 span { color: var(--gold); }
.hero-sub { font-size: 1.06rem; line-height: 1.7; color: rgba(255,255,255,.8); max-width: 660px; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; margin-bottom: 2rem; }

/* Buyer-path rows on Home */
.buyer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.buyer-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 1.1rem 1.15rem; text-decoration: none;
  display: flex; flex-direction: column; gap: .35rem; transition: background .15s, border-color .15s;
}
.buyer-card:hover { background: rgba(255,255,255,.09); border-color: rgba(255,194,0,.5); }
.buyer-card .bc-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.buyer-card .bc-title { font-size: .92rem; font-weight: 700; color: #fff; }
.buyer-card .bc-arrow { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .1rem; }
@media (max-width: 860px) { .buyer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .buyer-grid { grid-template-columns: 1fr; } }

/* ── Page hero (interior pages) ───────────────────────────────────── */
.page-hero { background: var(--navy); color: #fff; padding: 3.25rem 1.5rem 3rem; }
.page-hero .inner { position: relative; }
.breadcrumb { font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.35rem); font-weight: 800; letter-spacing: -.02em; max-width: 760px; }
.page-hero p.lede { color: rgba(255,255,255,.76); margin-top: .75rem; max-width: 640px; font-size: 1rem; line-height: 1.65; }

/* ── Trust strip (reused across pages) ────────────────────────────── */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin: 2.5rem 0;
}
.trust-strip-item { background: #fff; padding: 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .3rem; }
.trust-strip-item .ts-num { color: var(--gold-dark); font-size: .95rem; }
.trust-strip-item .ts-label { font-size: .83rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
@media (max-width: 860px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }

/* ── Cards: services / safety / process ───────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .card-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .card-grid-3 { grid-template-columns: 1fr; } }

.service-card {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 1.6rem 1.6rem 1.6rem 1.35rem;
  transition: box-shadow .15s, transform .15s; text-decoration: none; color: inherit;
  display: block;
}

/* ── Testimonial / leadership cards (About page) ──────────────────── */
.testimonial-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-card .tc-quote-mark { font-size: 2.2rem; line-height: 1; color: var(--gold); font-family: Georgia, serif; }
.testimonial-card p { font-size: .92rem; color: var(--ink); line-height: 1.65; font-style: italic; margin: 0; }
.testimonial-card .tc-source { font-size: .82rem; color: var(--mid); font-style: normal; font-weight: 600; }
.testimonial-card .tc-org { display: block; font-weight: 400; color: var(--mid); }
.testimonial-card .tc-logo { width: 120px; height: 40px; object-fit: contain; object-position: left center; margin-top: .25rem; filter: grayscale(1); opacity: .8; }

a.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; letter-spacing: -.01em; }
.service-card p { font-size: .87rem; color: var(--mid); line-height: 1.6; }
.service-card .sc-link { display: inline-block; margin-top: .85rem; font-size: .82rem; font-weight: 700; color: var(--navy-tint); }

.safety-pillar {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.pillar-dot { flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-dark); margin-top: 6px; }
.safety-pillar h3 { font-size: .94rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.safety-pillar p { font-size: .84rem; color: var(--mid); line-height: 1.62; }
.gbl-section-navy .safety-pillar { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.gbl-section-navy .safety-pillar h3 { color: #fff; }
.gbl-section-navy .safety-pillar p { color: rgba(255,255,255,.65); }
.gbl-section-navy .pillar-dot { background: var(--gold); }

.process-step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; display: flex; gap: 1rem;
}
.process-step .ps-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.process-step p { font-size: .84rem; color: var(--mid); line-height: 1.6; }

/* ── Incident-response accordion (Safety page) ────────────────────── */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--border); }
.accordion-item summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem;
  font-weight: 700; font-size: .92rem; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: '+'; font-size: 1.2rem; color: var(--mid); font-weight: 400; }
.accordion-item[open] summary::after { content: '−'; }
.accordion-item[open] summary { background: var(--paper-alt); }
.accordion-item .accordion-body { padding: 0 1.25rem 1.1rem; font-size: .87rem; color: var(--mid); line-height: 1.65; }

/* ── About page ────────────────────────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
/* Photos here set width/height attrs for their natural size (layout-shift prevention);
   without an explicit height:auto, browsers hold height at the literal attribute
   value while width shrinks to the column, stretching the image. */
.about-layout img { height: auto; }
.about-text p:not(.section-label):not(.section-sub) { font-size: .98rem; line-height: 1.8; color: #374151; margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }
.fact-panel { background: var(--navy); border-radius: var(--radius); padding: 1.75rem; color: #fff; }
.fact-panel h3 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.fact-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .87rem; }
.fact-row:first-of-type { border-top: none; }
.fact-row dt { color: rgba(255,255,255,.6); }
.fact-row dd { color: #fff; font-weight: 600; text-align: right; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Placeholder art (used until real photography exists) ───────────── */
.art-block {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-tint) 100%);
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 1.25rem;
}
.art-block::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,194,0,.08) 0 2px, transparent 2px 26px);
}
.art-block .art-caption { position: relative; z-index: 1; color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 600; }

/* ── Callouts ──────────────────────────────────────────────────────── */
.callout-panel {
  border: 1px solid var(--gold); background: #FFF9E6;
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  display: flex; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap;
}
.callout-panel .cp-icon { font-size: 1.6rem; flex-shrink: 0; }
.callout-panel p { color: #5C4400; font-size: .9rem; line-height: 1.6; }
.callout-panel strong { color: var(--navy); }
.callout-panel[hidden] { display: none !important; }
#hmd-success, #apply-success, #events-empty { align-items: center; }

.google-review-prompt {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(92,68,0,.2);
}
.google-review-prompt-lede { margin-bottom: .6rem; }
.google-review-prompt-text-row {
  display: flex; gap: .6rem; align-items: flex-start;
  background: #fff; border: 1px solid rgba(92,68,0,.2); border-radius: var(--radius);
  padding: .75rem 1rem;
}
.google-review-prompt-text { flex: 1; margin: 0; font-style: italic; }
.google-review-copy-btn { flex-shrink: 0; padding: .4rem .9rem; font-size: .82rem; }

/* ── Simple form (How's My Driving, and future basic forms) ──────────── */
.simple-form { max-width: 620px; }
.sf-row { margin-bottom: 1.4rem; }
.sf-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .sf-row-group { grid-template-columns: 1fr; } }
.sf-label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: .45rem; }
.sf-hint { font-size: .78rem; color: var(--mid); margin-top: .35rem; }
.sf-input, .sf-textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--border); border-radius: 6px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.sf-input:focus, .sf-textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(46,110,140,.15); }
.sf-textarea { resize: vertical; min-height: 110px; }
.sf-radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sf-radio { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink); cursor: pointer; }
.sf-radio input { accent-color: var(--navy); width: 17px; height: 17px; cursor: pointer; }
.sf-toggle { display: flex; align-items: center; gap: .75rem; cursor: pointer; font-size: .92rem; color: var(--ink); width: fit-content; }
.sf-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.sf-toggle-track {
  position: relative; width: 42px; height: 24px; flex-shrink: 0;
  background: var(--border); border-radius: 999px; transition: background .15s;
}
.sf-toggle-thumb {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s;
}
.sf-toggle input:checked + .sf-toggle-track { background: var(--navy); }
.sf-toggle input:checked + .sf-toggle-track .sf-toggle-thumb { transform: translateX(18px); }
.sf-toggle input:focus-visible + .sf-toggle-track { outline: 2px solid var(--focus); outline-offset: 2px; }
.sf-file-drop {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center;
  border: 2px dashed var(--border); border-radius: 8px; padding: 1.5rem;
  cursor: pointer; transition: border-color .15s, background .15s; background: var(--paper-alt);
  font-size: .88rem; color: var(--mid);
}
.sf-file-drop:hover, .sf-file-drop.dragover { border-color: var(--gold-dark); background: #FFFDF5; }
.sf-file-drop.is-processing { opacity: .6; pointer-events: none; cursor: default; }
.sf-file-drop input { display: none; }
.sf-file-drop-icon { font-size: 1.5rem; }
.sf-file-list { margin-top: .85rem; display: flex; flex-direction: column; gap: .5rem; }
.sf-file-item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: .5rem .75rem; font-size: .85rem;
}
.sf-file-item button { background: none; border: none; color: var(--red); cursor: pointer; font-size: .8rem; font-weight: 700; padding: 0; }
.sf-submit-row { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; flex-wrap: wrap; }
.sf-status { font-size: .88rem; color: var(--mid); }
.sf-status.is-error { color: var(--red); }
.sf-error { color: var(--red); font-size: .8rem; margin-top: .35rem; display: none; }

/* ── For Parents box (Safety / Contact) ───────────────────────────── */
.parent-box {
  background: var(--paper-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
}
.parent-box h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; }
.parent-box p { font-size: .89rem; color: var(--mid); line-height: 1.65; margin-bottom: .5rem; }
.parent-box ul { margin: .5rem 0 0 1.1rem; font-size: .88rem; color: var(--mid); line-height: 1.75; }

/* ── CTA band ──────────────────────────────────────────────────────── */
.cta-band { background: var(--navy); color: #fff; padding: 3.5rem 1.5rem; text-align: center; }
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; margin-bottom: .6rem; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 1.6rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Footer ────────────────────────────────────────────────────────── */
footer { background: var(--navy-2); color: rgba(255,255,255,.62); }
.footer-grid {
  max-width: 1120px; margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-col h4 { color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,.62); font-size: .87rem; }
.footer-col a:hover { color: #fff; }
.footer-brand .logo-img { height: 34px; margin-bottom: .9rem; }
.footer-brand p { font-size: .85rem; line-height: 1.65; max-width: 280px; color: rgba(255,255,255,.55); }
.contact-detail { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; font-size: .87rem; }
.detail-icon { flex-shrink: 0; width: 18px; text-align: center; }
.detail-icon-svg { display: flex; align-items: center; justify-content: center; }
.detail-icon-svg svg { width: 15px; height: 15px; fill: rgba(255,255,255,.7); }
.detail-value { color: #fff; }
.detail-value a { text-decoration: none; }
.detail-value a:hover { text-decoration: underline; }
.footer-bottom {
  max-width: 1120px; margin: 0 auto; padding: 1.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem;
}
.footer-utility-links { display: flex; gap: 1.25rem; list-style: none; flex-wrap: wrap; }
.footer-utility-links a { text-decoration: none; color: rgba(255,255,255,.5); font-size: .8rem; }
.footer-utility-links a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Skip link (a11y) ──────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy);
  padding: .75rem 1.25rem; font-weight: 700; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ── Motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in-view { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── Inline content editor (includes/edit-helpers.php + js/editor.js) ────
   Only active for an authenticated editor — regular visitors never load
   editor.js and never see body.gbl-editing, so none of this applies to them. */
body.gbl-editing { padding-bottom: 64px; }
body.gbl-editing .mobile-cta-bar { display: none; }
body.gbl-editing [data-editable] {
  outline: 1px dashed transparent; outline-offset: 3px; cursor: text;
  border-radius: 3px; transition: outline-color .15s, background-color .15s;
}
body.gbl-editing [data-editable]:hover {
  outline-color: rgba(46,110,140,.4); background-color: rgba(46,110,140,.06);
}
body.gbl-editing [data-editable]:focus {
  outline: 2px solid var(--focus); outline-offset: 3px; background-color: rgba(46,110,140,.1);
}

#gbl-edit-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
#gbl-edit-bar .geb-label { flex: 1 1 260px; color: rgba(255,255,255,.75); }
#gbl-edit-bar #geb-save {
  font-family: inherit; font-size: .85rem; font-weight: 700;
  padding: .55rem 1.1rem; border-radius: 5px; border: none; cursor: pointer;
  background: var(--gold); color: var(--navy);
}
#gbl-edit-bar #geb-exit {
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.8);
  text-decoration: none; padding: .55rem .3rem;
}
#gbl-edit-bar #geb-exit:hover { color: #fff; text-decoration: underline; }

/* On-brand inline color choices — the only "formatting" colors an editor can
   apply, matching the site palette rather than opening up arbitrary hex. */
.et-c-navy  { color: var(--navy); }
.et-c-gold  { color: var(--gold-dark); }
.et-c-mid   { color: var(--mid); }
.et-c-green { color: var(--green); }
.et-c-red   { color: var(--red); }

/* Block-level "style" a saved field can carry instead of its default tag
   styling — reuses the site's existing type scale, no new fonts. */
.et-style-heading {
  font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.2; color: var(--navy);
}
.gbl-section-navy .et-style-heading, .cta-band .et-style-heading { color: #fff; }
.et-style-subheading { font-size: 1.02rem; font-weight: 400; line-height: 1.65; color: var(--mid); }
.gbl-section-navy .et-style-subheading, .cta-band .et-style-subheading { color: rgba(255,255,255,.76); }
.et-style-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark);
}
.et-style-callout {
  display: block; border: 1px solid var(--gold); background: #FFF9E6;
  border-radius: var(--radius); padding: 1.5rem 1.75rem; color: #5C4400;
  font-size: .9rem; line-height: 1.6;
}
.et-style-callout strong { color: var(--navy); }

/* Floating inline-format toolbar (Bold/Italic/color/Clear) — shown on text selection */
#gbl-format-toolbar {
  position: absolute; z-index: 600;
  display: flex; align-items: center; gap: .3rem;
  background: var(--navy-2); border-radius: 8px; padding: .4rem .5rem;
  box-shadow: var(--shadow-lg);
}
#gbl-format-toolbar[hidden] { display: none; }
.gft-btn {
  font-family: 'Georgia', serif; font-size: .85rem; font-weight: 700;
  color: #fff; background: rgba(255,255,255,.08); border: none; border-radius: 4px;
  width: 28px; height: 28px; cursor: pointer;
}
.gft-btn:hover { background: rgba(255,255,255,.18); }
.gft-btn.gft-italic { font-style: italic; }
.gft-btn.gft-clear { width: auto; padding: 0 .55rem; font-family: inherit; font-size: .72rem; font-weight: 600; }
.gft-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.15); margin: 0 .15rem; }
.gft-swatch {
  width: 20px; height: 20px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(255,255,255,.5);
}
.gft-swatch:hover { border-color: #fff; }

/* Per-block style picker — shown near whichever editable element has focus */
#gbl-style-picker {
  position: absolute; z-index: 600;
  background: var(--navy-2); border-radius: 6px; padding: .3rem .4rem;
  box-shadow: var(--shadow-lg);
}
#gbl-style-picker[hidden] { display: none; }
#gbl-style-picker select {
  font-family: inherit; font-size: .74rem; font-weight: 600;
  color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px; padding: .2rem .35rem; cursor: pointer;
}
#gbl-style-picker select option { color: #1a2332; }
#gbl-edit-bar #geb-status { color: var(--gold); font-weight: 600; min-width: 90px; }

/* ── Events page ───────────────────────────────────────────────────── */
.events-toolbar { display: flex; justify-content: flex-end; margin-bottom: 1.75rem; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.view-toggle-btn {
  font-family: inherit; font-size: .85rem; font-weight: 700; color: var(--mid);
  background: #fff; border: none; padding: .55rem 1.25rem; cursor: pointer;
  transition: background .15s, color .15s;
}
.view-toggle-btn + .view-toggle-btn { border-left: 1.5px solid var(--border); }
.view-toggle-btn.active { background: var(--navy); color: #fff; }

.event-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.event-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem;
  box-shadow: var(--shadow);
}
.event-card-date { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.ecd-date { font-size: .82rem; font-weight: 700; color: var(--navy); }
.ecd-status {
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 20px;
}
.ecd-status--registration-open { background: var(--green-tint); color: var(--green); }
.ecd-status--registration-closed, .ecd-status--ready, .ecd-status--meta { background: var(--paper-alt); color: var(--mid); }
.event-card-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.event-card-dest { font-size: .85rem; color: var(--mid); }
.event-card-details { font-size: .86rem; color: var(--mid); line-height: 1.55; }
.event-card-footer {
  margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.event-card-price { font-size: .85rem; font-weight: 700; color: var(--navy); }
.event-card-footer .btn-primary { padding: .5rem 1.1rem; font-size: .85rem; }
.event-card-closed { font-size: .82rem; font-weight: 600; color: var(--mid); font-style: italic; }

.event-calendar { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ec-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: var(--navy); color: #fff; }
.ec-title { font-weight: 800; font-size: 1.05rem; }
.ec-nav {
  background: rgba(255,255,255,.1); border: none; color: #fff; width: 32px; height: 32px;
  border-radius: 6px; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.ec-nav:hover { background: rgba(255,255,255,.2); }
.ec-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.ec-grid-head { border-bottom: 1px solid var(--border); }
.ec-daylabel {
  text-align: center; padding: .6rem 0; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--mid);
}
.ec-cell {
  min-height: 92px; padding: .4rem; border-right: 1px solid var(--border-soft, var(--border)); border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .25rem;
}
.ec-cell-empty { background: var(--paper-alt); }
.ec-cell-today { background: #FFF9E6; }
.ec-daynum { font-size: .78rem; font-weight: 700; color: var(--mid); }
.ec-cell-today .ec-daynum { color: var(--gold-dark); }
.ec-event-pill {
  display: block; font-size: .68rem; font-weight: 600; line-height: 1.3;
  padding: .15rem .4rem; border-radius: 4px; background: var(--paper-alt); color: var(--navy);
  text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ec-event-pill--open { background: var(--navy); color: #fff; }
.ec-event-pill--open:hover { background: var(--navy-tint); }
@media (max-width: 640px) {
  .ec-cell { min-height: 64px; }
  .ec-daylabel { font-size: .62rem; }
}

/* ── Field trip destinations ──────────────────────────────────────── */
.field-trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .85rem; align-items: stretch; }
.field-trip-card {
  display: flex; flex-direction: column; gap: .3rem; height: 100%; min-height: 118px;
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 6px; padding: .85rem 1rem; text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .15s;
}
.field-trip-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.ftc-category { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-dark); }
.ftc-name { font-size: .92rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.ftc-meta { font-size: .78rem; color: var(--mid); margin-top: auto; padding-top: .5rem; }
.ftc-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: auto; padding-top: .5rem; }
.ftc-tag { font-size: .72rem; font-weight: 600; padding: .18rem .55rem; border-radius: 12px; background: var(--paper-alt); color: var(--mid); }
.ftc-tag.is-match { background: var(--green-tint); color: var(--green); font-weight: 700; }

/* ── Destination filter bar ──────────────────────────────────────── */
.dff-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.5rem; }
.dff-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; cursor: pointer; font: inherit; padding: 0; }
.dff-toggle-label { font-size: .95rem; font-weight: 700; color: var(--navy); }
.dff-toggle-icon { color: var(--mid); font-size: .85rem; transition: transform .15s; }
.dff-toggle[aria-expanded="true"] .dff-toggle-icon { transform: rotate(180deg); }
.dff-body { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1.1rem; }
.dff-body[hidden] { display: none; }
.dff-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.dff-chip { position: relative; }
.dff-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dff-chip span { display: inline-block; font-size: .78rem; font-weight: 600; padding: .35rem .8rem; border-radius: 20px; border: 1px solid var(--border); color: var(--mid); background: #fff; transition: background .15s, border-color .15s, color .15s; }
.dff-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.dff-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.dff-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1rem; flex-wrap: wrap; }

/* Accordion filter rows */
.dff-accordion { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.dff-facet { border-bottom: 1px solid var(--border); }
.dff-facet:last-child { border-bottom: none; }
.dff-facet-head {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  background: #fff; border: none; padding: .85rem 1rem; cursor: pointer; font: inherit; text-align: left;
}
.dff-facet-head:hover { background: var(--paper-alt); }
.dff-facet-name { font-size: .85rem; font-weight: 700; color: var(--navy); flex-shrink: 0; }
.dff-facet-summary { font-size: .82rem; color: var(--mid); flex: 1 1 auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dff-facet-caret { color: var(--mid); font-size: .8rem; transition: transform .15s; flex-shrink: 0; }
.dff-facet.is-open .dff-facet-caret { transform: rotate(180deg); }
.dff-facet.is-open .dff-facet-head { background: var(--paper-alt); }
.dff-facet-body { padding: .9rem 1rem 1.1rem; }
.dff-facet-body[hidden] { display: none; }
.dff-count { font-size: .85rem; color: var(--mid); }
.dff-clear { background: none; border: 1.5px solid var(--border); border-radius: 6px; padding: .45rem 1rem; font-size: .8rem; font-weight: 600; color: var(--mid); cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s; }
.dff-clear:hover { border-color: var(--navy); color: var(--navy); }

/* ── Destination correction disclosure ───────────────────────────────────── */
.dest-correction, .faq-item { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.dest-correction summary, .faq-item summary {
  cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--mid);
  list-style: none; display: flex; align-items: center; gap: .4rem;
}
.dest-correction summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.dest-correction summary::before, .faq-item summary::before { content: '+'; color: var(--gold-dark); font-weight: 800; }
.dest-correction[open] summary::before, .faq-item[open] summary::before { content: '–'; }
.dest-correction summary:hover, .faq-item summary:hover { color: var(--navy); }
.dest-correction-body, .faq-item-body { margin-top: .85rem; font-size: .85rem; color: var(--mid); line-height: 1.6; max-width: 62ch; }
.dest-correction-body a:not(.btn-outline-navy), .faq-item-body a:not(.btn-outline-navy) { color: var(--navy-tint); }
.dest-correction-body .btn-outline-navy, .faq-item-body .btn-outline-navy { margin-top: .85rem; display: inline-block; }

/* ── Field Trip Finder ────────────────────────────────────────────── */
.ftf-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.ftf-modal[hidden] { display: none; }
.ftf-modal-backdrop { position: absolute; inset: 0; background: rgba(13,37,69,.55); }
.ftf-modal-panel {
  position: relative; background: #fff; border-radius: var(--radius);
  width: 100%; max-width: 620px; max-height: min(88vh, 720px);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.ftf-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem .75rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.ftf-modal-close { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--mid); cursor: pointer; padding: .25rem .5rem; }
.ftf-modal-close:hover { color: var(--navy); }
.ftf-steps { display: flex; align-items: center; gap: .4rem; }
.ftf-step-dot {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .76rem; font-weight: 700; background: var(--paper-alt); color: var(--mid);
}
.ftf-step-dot.active { background: var(--navy); color: #fff; }
.ftf-step-dot.completed { background: var(--gold); color: var(--navy); }
.ftf-modal-body { padding: 1.5rem; overflow-y: auto; flex: 1 1 auto; }
.ftf-modal-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--border); flex-shrink: 0; flex-wrap: wrap; }

.ftf-step[hidden] { display: none; }
.ftf-step-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.ftf-step-sub { font-size: .87rem; color: var(--mid); margin-bottom: 1.25rem; line-height: 1.5; }

.ftf-row { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.ftf-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ftf-label { font-size: .82rem; font-weight: 700; color: var(--navy); }
.ftf-row input[type="number"], .ftf-row input[type="text"], .ftf-row input[type="email"], .ftf-row input[type="tel"], .ftf-row select:not([multiple]) {
  font: inherit; font-size: .92rem; padding: .6rem .75rem; border: 1px solid var(--border);
  border-radius: 6px; background: #fff; color: var(--ink); width: 100%;
}
.ftf-row input[type="number"]:focus, .ftf-row input[type="text"]:focus, .ftf-row input[type="email"]:focus, .ftf-row input[type="tel"]:focus, .ftf-row select:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,37,69,.1);
}
.ftf-age-range { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--mid); }
.ftf-age-range input { width: 80px; font: inherit; font-size: .92rem; padding: .5rem .6rem; border: 1px solid var(--border); border-radius: 6px; }

.ftf-results-summary { font-size: .85rem; color: var(--mid); margin-bottom: 1rem; }

/* Force hidden modal-nav buttons to actually hide — [hidden] alone loses to .btn-primary's display rule at equal specificity. */
.ftf-modal-nav [hidden] { display: none !important; }

/* Price meter — 5 tiers, N of 4 "$" filled solid, rest light grey */
.ftf-price-opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.ftf-price-opt {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  background: #fff; border: 1.5px solid var(--border); border-radius: 8px;
  padding: .75rem 1rem; cursor: pointer; font: inherit; transition: border-color .15s, background .15s;
}
.ftf-price-opt:hover { border-color: var(--navy-tint); }
.ftf-price-opt.is-selected { background: var(--navy); border-color: var(--navy); }
.ftf-price-pips { font-size: 1.1rem; font-weight: 800; letter-spacing: .05em; }
.ftf-pip { color: #d1d9e6; }
.ftf-pip.is-filled { color: var(--gold); }
.ftf-price-opt.is-selected .ftf-pip.is-filled { color: var(--gold); }
.ftf-price-opt.is-selected .ftf-pip:not(.is-filled) { color: rgba(255,255,255,.3); }
.ftf-price-label { font-size: .74rem; font-weight: 700; color: var(--mid); }
.ftf-price-opt.is-selected .ftf-price-label { color: #fff; }

/* Dual-handle age slider */
.ftf-slider { position: relative; height: 28px; margin: .25rem 0 .4rem; }
.ftf-slider-track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: var(--border); border-radius: 2px; transform: translateY(-50%); }
.ftf-slider-fill { position: absolute; height: 4px; top: 50%; transform: translateY(-50%); background: var(--navy); border-radius: 2px; }
.ftf-slider-input {
  position: absolute; top: 0; left: 0; width: 100%; height: 28px; margin: 0;
  background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.ftf-slider-input::-webkit-slider-runnable-track { background: transparent; }
.ftf-slider-input::-webkit-slider-thumb {
  pointer-events: auto; -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%; background: var(--navy);
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); cursor: pointer; margin-top: 5px;
}
.ftf-slider-input::-moz-range-track { background: transparent; }
.ftf-slider-input::-moz-range-thumb {
  pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--navy);
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); cursor: pointer;
}
.ftf-slider-labels { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; color: var(--navy); }

/* Print sheet: hidden on screen, the only visible thing when printing */
#dff-print-sheet { display: none; }
#dff-print-sheet h1 { font-size: 1.3rem; color: var(--navy); margin-bottom: .25rem; }
#dff-print-sheet .ps-meta { font-size: .85rem; color: var(--mid); margin-bottom: 1.25rem; }
#dff-print-sheet h2 { font-size: 1rem; color: var(--navy); margin: 1.25rem 0 .5rem; border-bottom: 1px solid var(--border); padding-bottom: .25rem; }
#dff-print-sheet .ps-filters div { font-size: .88rem; margin-bottom: .2rem; }
#dff-print-sheet .ps-dest { margin-bottom: 1.5rem; page-break-inside: avoid; }
#dff-print-sheet .ps-dest-name { font-size: .98rem; font-weight: 700; color: var(--navy); }
#dff-print-sheet .ps-dest-meta { font-size: .82rem; color: var(--mid); margin: .15rem 0 .5rem; }
#dff-print-sheet .ps-dest-map { width: 100%; max-width: 400px; border-radius: 6px; display: block; margin-bottom: .5rem; }
#dff-print-sheet .ps-dest-desc { font-size: .88rem; color: var(--ink); line-height: 1.5; }

/* Hide everything except the print sheet — targeting body's direct children
   (rather than every descendant via visibility:hidden) avoids leaving the
   modal's full-viewport fixed-position height in the print layout, which is
   what caused the extra blank pages. */
@media print {
  body > *:not(#dff-print-sheet) { display: none !important; }
  #dff-print-sheet { display: block !important; padding: 1.5rem; }
}
