/* =====================================================
   Paseo en Helicóptero Nueva York — styles.css
   Theme: sky blue — Manhattan helicopter aerial view
   ===================================================== */

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

:root {
  --bg:        #fafaf8;
  --bg-alt:    #f2f0eb;
  --border:    #dedad4;
  --text:      #1c1b18;
  --muted:     #5a5751;
  --accent:    #1a73a8;       /* helicopter sky-blue */
  --accent-lt: #e6f1f8;
  --accent-rgb: 26, 115, 168;
  --warn:      #9a6809;
  --highlight: #fde68a;
  --highlight-strong: #fbd35a;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'Source Sans 3', system-ui, sans-serif;
  --max:       820px;
  --wide:      1120px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 17px;
}
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

/* Typography */
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Container */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.wide { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--accent);
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,.1);
}
.site-header .wide {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.site-logo {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: -.01em;
  white-space: nowrap;
}
.site-logo span { font-style: italic; font-weight: 400; opacity: .8; }

.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a {
  color: rgba(255,255,255,.85); text-decoration: none; font-size: .88rem;
  font-weight: 600; letter-spacing: .02em;
  transition: color .15s;
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  background: rgba(255,255,255,.15); border-radius: 4px;
  padding: .3em .9em; color: #fff;
}
.site-nav .nav-cta:hover { background: rgba(255,255,255,.25); }

.mobile-nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: .4rem; color: #fff;
}
.mobile-nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 4px 0; transition: all .2s;
}
.mobile-nav { display: none; }

@media (max-width: 640px) {
  .site-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .mobile-nav {
    position: fixed; inset: 52px 0 0 0; z-index: 99;
    background: var(--accent); padding: 2rem 1.5rem;
    overflow-y: auto;
  }
  .mobile-nav.open { display: block; }
  .mobile-nav a {
    display: block; color: rgba(255,255,255,.9); text-decoration: none;
    font-size: 1.1rem; font-weight: 600; padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}

/* =====================================================
   Hero
   ===================================================== */
.hero { padding: 4rem 0 3rem; background: var(--bg); }
.hero-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 760px; margin-bottom: 1rem; }
.hero-deck {
  font-size: 1.15rem; color: var(--muted); max-width: 660px;
  line-height: 1.6; margin-bottom: 1.5rem;
}
.hero-byline {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; color: var(--muted); letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-byline span { color: var(--accent); }
.hero-byline a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--border); }
.hero-byline a:hover { color: var(--accent); text-decoration-color: var(--accent); }

.tours-hero { padding: 3rem 0 1.5rem; background: var(--bg); }
.tours-hero h1 { margin-bottom: .75rem; }
.tours-hero p { color: var(--muted); max-width: 680px; }

/* =====================================================
   Facts Bar
   ===================================================== */
.facts-bar {
  background: var(--accent); color: #fff;
  padding: 1.25rem 0;
}
.facts-bar .wide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
}
.fact { text-align: center; min-width: 0; }
.fact-num {
  display: block;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  line-height: 1;
}
.fact-label {
  display: block; font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; opacity: .75; margin-top: .3rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  overflow-wrap: anywhere;
}

/* =====================================================
   Anchor Nav (sticky chapter strip)
   ===================================================== */
.anchor-nav {
  position: sticky; top: 52px; z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-list {
  max-width: var(--wide); margin: 0 auto;
  padding: 0 1.5rem;
  display: inline-flex; gap: .15rem;
  list-style: none; min-width: 100%;
}
.anchor-nav-list li { flex-shrink: 0; padding: 0; margin: 0; }
.anchor-nav-list li::before { content: none; }
.anchor-link {
  display: inline-block; padding: .55rem .8rem;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, opacity .15s;
  opacity: .55; white-space: nowrap;
}
.anchor-link:hover { color: var(--accent); border-bottom-color: var(--accent); opacity: 1; }

/* =====================================================
   Section scaffolding
   ===================================================== */
.section { padding: 3rem 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .5rem;
}

/* =====================================================
   TL;DR Callout
   ===================================================== */
.tldr-box {
  background: var(--accent-lt);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.75rem; border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}
.tldr-box ul { list-style: none; padding: 0; }
.tldr-box li {
  padding: .4rem 0 .4rem 1.5rem; position: relative;
  font-size: 1.05rem;
}
.tldr-box li::before {
  content: '\2713'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* =====================================================
   Inline U-link (persistent yellow highlighter)
   ===================================================== */
.u-link {
  position: relative; font-weight: 700; text-decoration: none;
  color: var(--text); padding: 0 .12em;
  background-image: linear-gradient(to top,
    transparent .15em,
    var(--highlight) .15em,
    var(--highlight) 1.05em,
    transparent 1.05em);
  background-repeat: no-repeat; background-size: 100% 100%;
  transition: color .15s;
}
.u-link:hover {
  color: var(--accent);
  background-image: linear-gradient(to top,
    transparent .15em,
    var(--highlight-strong) .15em,
    var(--highlight-strong) 1.05em,
    transparent 1.05em);
}

/* Chip links */
.chip {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .3em .9em; border-radius: 40px;
  font-size: .82rem; font-weight: 700; text-decoration: none;
  transition: background .15s, color .15s;
}
.chip.accent {
  background: var(--accent-lt); color: var(--accent);
  border: 1px solid var(--accent);
}
.chip.accent:hover { background: var(--accent); color: #fff; }

/* =====================================================
   Persona / Type / Gem cards
   ===================================================== */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; margin-top: 1.5rem;
}
.type-card, .gem-card, .persona-card, .flag-card, .season-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem;
  transition: border-color .15s, box-shadow .15s;
}
.type-card:hover, .gem-card:hover, .persona-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), .08);
}
.type-card h3, .gem-card h3, .persona-card h3, .flag-card h3, .season-card h3 {
  font-size: 1.05rem; margin-bottom: .5rem;
}
.type-card p, .gem-card p, .persona-card p, .flag-card p, .season-card p {
  font-size: .92rem; color: var(--muted); margin-bottom: .75rem;
}
.gem-grid, .persona-grid, .flag-list, .season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem; margin-top: 1.5rem;
}
.flag-card { background: #fff5ed; border-color: #f3c69e; }
.flag-card h3::before { content: '\26A0  '; color: #9a6809; }
.season-card .season-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .7rem; font-weight: 700; color: var(--accent);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .35rem;
}

/* =====================================================
   Operator comparison table
   ===================================================== */
.compare-wrap { overflow-x: auto; margin-top: 1.5rem; }
.data-table {
  width: 100%; border-collapse: collapse;
  font-size: .92rem;
  background: var(--bg);
}
.data-table th, .data-table td {
  padding: .85rem 1rem; text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table th {
  background: var(--bg-alt); font-weight: 700;
  font-size: .78rem; letter-spacing: .03em;
  text-transform: uppercase; color: var(--muted);
}
.data-table tbody tr:hover { background: var(--accent-lt); }
.data-table td.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .tc-name { font-weight: 700; }
.compare-cell-good { color: #1e7a3a; font-weight: 700; }
.compare-cell-warn { color: #9a6809; }

/* =====================================================
   FAQ accordion
   ===================================================== */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.1rem 0; font-family: var(--serif);
  font-size: 1.08rem; font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: var(--accent);
  transition: transform .2s; flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none; padding: 0 0 1.25rem;
  color: var(--muted); font-size: 1rem; line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin-bottom: .75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* =====================================================
   Tours catalogue page
   ===================================================== */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-alt); padding: 1rem 1.25rem;
  border-radius: 8px;
}
.filter-section { display: flex; flex-direction: column; gap: .5rem; }
.filter-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin: 0;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip {
  background: var(--bg); border: 1px solid var(--border);
  padding: .35em 1em; border-radius: 40px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: all .15s; font-family: inherit; color: var(--text);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

.count-bar {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .8rem; color: var(--muted); letter-spacing: .04em;
  margin: 1rem 0 1.5rem;
}
.count-bar strong { color: var(--accent); font-weight: 700; }

/* Catalogue card sections */
.card-section { margin: 2.5rem 0; }
.section-heading {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  display: flex; align-items: baseline; gap: .75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border); padding-bottom: .5rem;
}
.section-heading-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .75rem; color: var(--accent); font-weight: 700;
  letter-spacing: .08em;
}
.tours-section-title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .5rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Tour card (whole-card-clickable per blueprint P.4) */
.tour-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.tour-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), .08);
}
.tour-card.tour-row-hidden { display: none; }

.tour-img {
  display: block; position: relative;
  aspect-ratio: 3/2; overflow: hidden;
}
.tour-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s;
}
.tour-card:hover .tour-img img { transform: scale(1.03); }
.badge-row {
  position: absolute; top: .75rem; left: .75rem;
  display: flex; flex-wrap: wrap; gap: .35rem; z-index: 2;
}
.tour-badge {
  display: inline-block; padding: .25em .65em; border-radius: 4px;
  font-size: .7rem; font-weight: 700; letter-spacing: .03em;
  background: rgba(0,0,0,.78); color: #fff;
  text-transform: uppercase;
}
.badge-freec { background: #1e7a3a; }
.badge-sellout { background: #c43a2c; }
.badge-es-manual { background: var(--accent); }
.badge-es-machine { background: #6b6864; }

.tour-body {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem; flex: 1;
}
.tour-body h3 { font-size: 1.05rem; margin-bottom: .5rem; line-height: 1.35; }
.tour-body h3 a { color: var(--text); text-decoration: none; }
.tour-body h3 a:hover { color: var(--accent); }
.tour-note {
  display: block; font-size: .85rem; color: var(--muted);
  margin: .25rem 0 .75rem; line-height: 1.5;
}
@media (max-width: 600px) { .tour-note { display: block; } /* keep visible on mobile for ES copy clarity */ }
.tour-meta {
  font-size: .82rem; color: var(--muted);
  margin: 0 0 1rem; font-variant-numeric: tabular-nums;
}
.tour-meta .star { color: #d39000; font-weight: 700; }
.book-cta {
  display: inline-block; margin-top: auto; align-self: flex-start;
  background: var(--accent); color: #fff;
  padding: .55em 1.3em; border-radius: 4px;
  text-decoration: none; font-weight: 700; font-size: .92rem;
  transition: background .15s;
}
.book-cta:hover { background: #155a85; }

/* =====================================================
   Top Picks (homepage hero picks)
   ===================================================== */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.pick-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.pick-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), .08);
}
.pick-img-wrap { aspect-ratio: 3/2; overflow: hidden; }
.pick-img-wrap a { display: block; height: 100%; }
.pick-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s;
}
.pick-card:hover .pick-img-wrap img { transform: scale(1.03); }
.pick-body {
  display: flex; flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem; flex: 1;
}
.pick-role {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .68rem; font-weight: 700;
  color: var(--accent); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: .5rem;
}
.pick-body h3 { font-size: 1.08rem; margin-bottom: .5rem; line-height: 1.35; }
.pick-body h3 a { color: var(--text); text-decoration: none; }
.pick-body h3 a:hover { color: var(--accent); }
.pick-meta {
  font-size: .82rem; color: var(--muted);
  margin: 0 0 1rem; font-variant-numeric: tabular-nums;
}
.pick-meta .star { color: #d39000; font-weight: 700; }

/* =====================================================
   Methodology box
   ===================================================== */
.methodology {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem 1.75rem;
  margin: 2.5rem 0 1.5rem;
}
.methodology h3 {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.methodology p { font-size: .95rem; color: var(--muted); }

/* =====================================================
   Floating plan pill
   ===================================================== */
.plan-pill {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  background: var(--accent); color: #fff;
  padding: .75em 1.4em; border-radius: 40px;
  text-decoration: none; font-weight: 700; font-size: .92rem;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), .25);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, background .15s;
}
.plan-pill.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.plan-pill:hover { background: #155a85; }
@media (max-width: 640px) {
  .plan-pill { bottom: 1rem; right: 1rem; padding: .65em 1.2em; }
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: #161918; color: rgba(255,255,255,.78);
  padding: 3rem 0 2rem; margin-top: 3rem;
}
.site-footer .wide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { padding: .25rem 0; font-size: .9rem; }
.footer-col a { color: rgba(255,255,255,.78); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem; padding-top: 1.25rem;
  font-size: .82rem; color: rgba(255,255,255,.55);
  text-align: center;
}

/* =====================================================
   Disclosure block + community voice
   ===================================================== */
.disclosure-block {
  border: 1px dashed var(--border);
  padding: 1.25rem; margin-top: 1.5rem;
  border-radius: 8px;
}
.disclosure-block summary {
  font-weight: 700; cursor: pointer; color: var(--muted);
  padding: .3rem 0;
}
.disclosure-block[open] summary { color: var(--accent); margin-bottom: .75rem; }

blockquote.editorial {
  border-left: 4px solid var(--accent);
  background: var(--accent-lt);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.5;
  font-style: italic; color: var(--text);
}
blockquote.editorial cite {
  display: block; margin-top: .5rem;
  font-family: var(--sans); font-size: .85rem; font-style: normal;
  color: var(--muted); letter-spacing: .03em;
}
