/* mount-etna.tours — Volcanic lava-orange editorial theme */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,600;0,700;0,900;1,600&family=Source+Sans+3:wght@400;600;700&display=optional');

:root {
  --bg:        #fafaf8;
  --bg-alt:    #f2f0eb;
  --border:    #dedad4;
  --text:      #1c1b18;
  --muted:     #5a5751;
  --accent:    #b84c1a;   /* volcanic lava orange */
  --accent-lt: #fdf0e8;
  --warn:      #9a6809;
  --highlight: #fde68a;
  --highlight-strong: #fbd35a;
  --serif:     'Fraunces', Georgia, serif;
  --sans:      'Source Sans 3', system-ui, sans-serif;
  --max:       820px;
  --wide:      1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; font-size: 16px; overflow-x: clip; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: clip; }
h1,h2,h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem,5vw,3.2rem); }
h2 { font-size: clamp(1.4rem,3vw,1.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--text); color: #fff;
  padding: .75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.site-header .logo { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #fff; text-decoration: none; }
.site-header .logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: #ccc; text-decoration: none; font-size: .88rem; font-weight: 600; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.mobile-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1a0f0a 0%, #3d1a0c 50%, #1a0f0a 100%);
  color: #fff;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b84c1a' fill-opacity='0.06'%3E%3Cpolygon points='30 0 60 52 0 52'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.hero h1 { font-family: var(--serif); color: #fff; margin-bottom: 1rem; max-width: 760px; margin-inline: auto; }
.hero .deck { font-size: 1.15rem; color: #c8bfb8; max-width: 600px; margin: 0 auto 1.5rem; }
.hero-meta { font-size: .82rem; color: #7a6e68; margin-top: .5rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: .7em 1.6em; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: .95rem; transition: background .15s; }
.btn-primary:hover { background: #9c3f15; }
.btn-ghost { display: inline-block; border: 1px solid rgba(255,255,255,.35); color: #fff; padding: .7em 1.6em; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .15s; }
.btn-ghost:hover { border-color: #fff; }

/* ── Facts bar ── */
.facts-bar {
  background: var(--text); color: #fff;
  padding: 1.5rem 1.5rem;
}
.facts-grid {
  max-width: var(--wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem; text-align: center;
}
.fact { min-width: 0; }
.fact-number { font-family: var(--serif); font-size: 1.9rem; font-weight: 900; color: var(--accent); line-height: 1; }
.fact-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9a9088; margin-top: .25rem; overflow-wrap: anywhere; }

/* ── Anchor nav ── */
.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;
}
.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, Monaco, Consolas, monospace;
  font-size: .68rem; 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; }

/* ── Main content ── */
.content-section {
  max-width: var(--max); margin: 0 auto;
  padding: 3rem 1.5rem;
}
.content-section + .content-section { padding-top: 0; }
.content-section h2 { margin-bottom: 1.25rem; }

/* ── Callout / TL;DR ── */
.callout {
  background: var(--bg-alt); border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem; border-radius: 0 4px 4px 0; margin-bottom: 2rem;
}
.callout ul { padding-left: 1.25rem; }
.callout li { margin-bottom: .5rem; }

/* ── Tour type cards grid ── */
.type-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem; margin-bottom: 2rem;
}
.type-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.25rem;
  transition: border-color .15s, box-shadow .15s;
}
.type-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(184,76,26,.12); }
.type-card .type-icon { font-size: 2rem; margin-bottom: .6rem; }
.type-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.type-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.type-card .chip-link { display: inline-block; margin-top: .75rem; }

/* ── Chip links ── */
.chip {
  display: inline-block;
  padding: .35em .85em;
  border-radius: 20px;
  font-size: .78rem; font-weight: 700; text-decoration: none;
  transition: background .15s, color .15s;
}
.chip.accent { background: var(--accent); color: #fff; }
.chip.accent:hover { background: #9c3f15; }
.chip.outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.chip.outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Inline highlighted links ── */
.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%;
}
.u-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .12em;
  height: 1.5px; background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.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); }
.u-link:hover::after { transform: scaleX(1); }

/* ── Persona grid ── */
.persona-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.persona-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.1rem;
}
.persona-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.persona-card ul { padding-left: 1.1rem; font-size: .88rem; }
.persona-card li { margin-bottom: .3rem; }
.persona-card .chip { margin-top: .75rem; }

/* ── Season grid ── */
.season-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.season-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.1rem;
}
.season-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.season-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ── Info table (logistics) ── */
.info-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 2rem; }
.info-table th { background: var(--bg-alt); text-align: left; padding: .6rem 1rem; font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--border); }
.info-table td { padding: .65rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table tr:hover td { background: var(--accent-lt); }

/* ── Red flags / mistakes ── */
.flag-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.flag-item { background: #fff6f0; border: 1px solid #f0d0c0; border-radius: 6px; padding: 1rem; }
.flag-item h3 { font-size: .95rem; color: var(--accent); margin-bottom: .35rem; }
.flag-item p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ── Testimonials ── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1rem; margin-bottom: 2rem; }
.testimonial { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: 1.1rem; }
.testimonial blockquote { font-style: italic; font-size: .9rem; margin-bottom: .5rem; }
.testimonial cite { font-size: .78rem; color: var(--muted); }

/* ── Tours CTA section ── */
.tours-cta { background: var(--accent-lt); border: 1px solid #f0cdb0; border-radius: 8px; padding: 2rem; margin-bottom: 3rem; }
.tours-cta h2 { margin-bottom: .75rem; }
.tours-cta ul { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.tours-cta li { margin-bottom: .4rem; }

/* ── FAQ ── */
.faq-list { margin-bottom: 2rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1rem 0; cursor: pointer;
  font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.25rem; color: var(--accent); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 1rem; font-size: .95rem; }
.faq-item.open .faq-answer { display: block; }

/* ── Plan pill ── */
.plan-pill {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  background: var(--accent); color: #fff;
  padding: .7em 1.3em; border-radius: 40px;
  text-decoration: none; font-weight: 700; font-size: .88rem;
  box-shadow: 0 3px 16px rgba(184,76,26,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  transform: translateY(8px);
}
.plan-pill.visible { opacity: 1; pointer-events: auto; transform: none; }

/* ── Tours page hero ── */
.tours-hero { background: var(--text); color: #fff; padding: 2.5rem 1.5rem; }
.tours-hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(1.6rem,4vw,2.4rem); margin-bottom: .5rem; }
.tours-hero p { color: #b0a89e; font-size: .95rem; margin: 0; }

/* ── Pick cards (hero 3) ── */
.pick-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.25rem; }
.pick-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.pick-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); border-color: var(--accent); }
.pick-card .tour-img { width: 100%; height: 180px; object-fit: cover; }
.pick-card .card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.pick-card h3 { font-size: 1rem; margin-bottom: .4rem; line-height: 1.3; }
.pick-card h3 a { color: var(--text); text-decoration: none; }
.pick-card h3 a:hover { color: var(--accent); }
.pick-card .tour-meta { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.pick-card .tour-meta .star { color: var(--accent); }
.pick-card .book-cta {
  display: inline-block; margin-top: auto;
  background: var(--accent); color: #fff;
  padding: .5em 1.1em; border-radius: 4px;
  text-decoration: none; font-weight: 700; font-size: .85rem;
  text-align: center; transition: background .15s;
}
.pick-card .book-cta:hover { background: #9c3f15; }
.pick-card .badges { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .5rem; }

/* ── Badges ── */
.badge { display: inline-block; padding: .2em .55em; border-radius: 3px; font-size: .72rem; font-weight: 700; }
.badge-sold-out { background: #fee2e2; color: #b91c1c; }
.badge-offer { background: #fef3c7; color: #92400e; }
.badge-skip { background: #dcfce7; color: #166534; }

/* ── Filter bar ── */
.filter-bar {
  max-width: var(--wide); margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
}
.filter-group { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.filter-group-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .25rem; }
.filter-chip {
  padding: .35em .85em; border-radius: 20px;
  font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  cursor: pointer; transition: all .15s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Count bar ── */
.count-bar {
  max-width: var(--wide); margin: 0 auto;
  padding: .4rem 1.5rem .8rem;
  font-size: .82rem; color: var(--muted);
}

/* ── Data table ── */
.table-wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem 2rem; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 660px; }
.data-table thead th {
  background: var(--bg-alt); text-align: left; padding: .65rem 1rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid var(--border); white-space: nowrap; cursor: pointer;
  user-select: none;
}
.data-table thead th:hover { color: var(--text); }
.data-table thead th.sorted-asc::after { content: ' ↑'; }
.data-table thead th.sorted-desc::after { content: ' ↓'; }
.data-table tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
.data-table tbody tr:hover { background: var(--accent-lt); }
.data-table td { padding: .7rem 1rem; vertical-align: middle; }
.tc-name { max-width: 320px; }
.tc-name a { color: var(--text); text-decoration: none; font-weight: 600; }
.tc-name a:hover { color: var(--accent); }
.tc-rating { white-space: nowrap; color: var(--accent); font-weight: 700; }
.tc-reviews { text-align: right; color: var(--muted); }
.tc-dur { white-space: nowrap; color: var(--muted); }
.tc-price { font-weight: 700; white-space: nowrap; }
.price-before { text-decoration: line-through; color: var(--muted); font-weight: 400; margin-right: .2em; }
.tc-book a { display: inline-block; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); padding: .3em .8em; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: .8rem; white-space: nowrap; transition: all .15s; }
.tc-book a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tour-row-hidden { display: none; }

/* ── Type tags ── */
.type-tag { display: inline-block; padding: .2em .55em; border-radius: 3px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.type-hiking   { background: #e8f5e9; color: #2e7d32; }
.type-jeep     { background: #fff3e0; color: #e65100; }
.type-wine     { background: #f3e5f5; color: #6a1b9a; }
.type-sunset   { background: #fff8e1; color: #f57f17; }
.type-helicopter { background: #e3f2fd; color: #0277bd; }
.type-cable-car { background: #e8eaf6; color: #283593; }
.type-private  { background: #fce4ec; color: #ad1457; }
.type-day-tour { background: #f1f8e9; color: #33691e; }

/* ── Methodology box ── */
.methodology {
  max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem 2rem;
}
.methodology-box {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 6px; padding: 1.25rem 1.5rem;
  font-size: .88rem; color: var(--muted);
}
.methodology-box strong { color: var(--text); }

/* ── Wide sections (for tables/picks) ── */
.wide-section { max-width: var(--wide); margin: 0 auto; padding: 2rem 1.5rem; }
.wide-section h2 { margin-bottom: 1.25rem; }
.section-eyebrow { font-family: ui-monospace, monospace; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .35rem; }

/* ── Footer ── */
.site-footer {
  background: var(--text); color: #9a9088;
  padding: 2.5rem 1.5rem;
  font-size: .88rem;
}
.footer-grid {
  max-width: var(--wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.footer-col h4 { color: #fff; font-family: var(--serif); font-size: 1rem; margin-bottom: .75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: #9a9088; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--wide); margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid #2c2c2c; font-size: .78rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }

/* ── Mobile nav ── */
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--text); flex-direction: column; gap: 0; padding: 1rem 1.5rem; border-top: 1px solid #333; z-index: 200; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .6rem 0; border-bottom: 1px solid #2c2c2c; font-size: .95rem; }
  .mobile-toggle { display: block; }
  .site-header { position: relative; }
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .type-grid, .persona-grid, .season-grid, .flag-list { grid-template-columns: 1fr; }
  .pick-cards { grid-template-columns: 1fr; }
  .filter-bar { padding: 1rem; }
  .table-wrap { padding: 0 0 2rem; }
}
@media (max-width: 460px) {
  h1 { font-size: 1.75rem; }
  .fact-number { font-size: 1.5rem; }
}
