/* ============================================================
   Ayahuasca Retreats in Peru - Phase 3 Design System
   IDENTITY: "Selva Profunda" (approved by Oleg 2026-07-24 via the 3.2c menu). A light,
   trustworthy, DATA-FIRST look for people comparing ayahuasca retreat centers in Peru:
   warm bone-paper ground (deliberately NOT porcelain-lilac, NOT grey-white, NOT near-black
   like sibling sites), deep rainforest-green ink, one copal-amber accent reserved for CTAs,
   and a muted gold that carries real ratings. Serif display type (organic, editorial,
   distinct from every sibling's sans display). First screen is a SPLIT hero: text left,
   live comparison-table teaser card right (reads "comparison site" instantly). Mobile-first,
   zero heavy deps, system fonts to protect LCP.
   ============================================================ */

/* ---- COLOR TOKENS (light, purposeful) ---- */
:root {
  --ink:        #10281c;   /* primary text: rainforest green-black */
  --ink-soft:   #5c6b5f;   /* secondary text: sage grey */
  --paper:      #f6f3ea;   /* page ground: warm bone paper */
  --paper-2:    #ede8da;   /* raised panels (author block, infogain, table headers) */
  --surface:    #ffffff;   /* cards */
  --surface-2:  #f2eee3;   /* inputs */
  --line:       #dfd8c6;   /* hairline borders on light */
  --brand:      #33544a;   /* deep moss: secondary buttons + structural fills */
  --brand-deep: #26433a;
  --accent:     #a8611a;   /* copal amber - CTA ONLY (AA on white at button sizes) */
  --accent-deep:#8a4e13;
  --gold:       #9a7a2e;   /* muted gold - real ratings + eyebrows */
  --gold-soft:  #ead9a6;   /* gold wash for badge backgrounds (dark text on top) */
  --ok:         #2e7d4f;
  --warn:       #a3541c;   /* warning flags on center cards */

  /* ---- TYPE - organic serif display + neutral sans body. System stacks, no webfont
     (protects LCP); the serif display is the anti-template move vs sibling sites. ---- */
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* modular scale */
  --step--1: clamp(.83rem, .8rem + .15vw, .92rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2:  clamp(1.45rem, 1.25rem + 1vw, 2.1rem);
  --step-3:  clamp(1.85rem, 1.5rem + 1.8vw, 3.1rem);
  --step-4:  clamp(2.4rem, 1.8rem + 3vw, 4.4rem);

  /* spacing scale */
  --s1:.4rem; --s2:.7rem; --s3:1.1rem; --s4:1.7rem; --s5:2.6rem; --s6:4rem; --s7:6rem;
  --maxw: 72rem;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16,40,28,.06), 0 14px 40px rgba(16,40,28,.10);
}

/* ---- RESET-ISH ---- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1,h2 { font-family: var(--display); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; margin: 0 0 var(--s3); color: var(--ink); }
h3 { font-family: var(--display); line-height: 1.2; letter-spacing: -.01em; font-weight: 700; margin: 0 0 var(--s3); color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); margin-top: var(--s6); }
h3 { font-size: var(--step-1); margin-top: var(--s4); }
p { margin: 0 0 var(--s3); max-width: 64ch; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---- LAYOUT ---- */
.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, 50rem); margin-inline: auto; }
.section { padding-block: var(--s6); }
.section + .section { padding-top: 0; }
.skip-link { position:absolute; left:-999px; top:0; background:var(--accent); color:#fff; padding:.6rem 1rem; z-index:50; font-weight:700; }
.skip-link:focus { left:8px; top:8px; }

/* ---- CTA ---- */
.btn {
  display:inline-flex; align-items:center; gap:.5rem; justify-content:center;
  font-family: var(--display); font-weight:700; font-size: var(--step-0);
  padding: .85rem 1.4rem; border-radius: 999px; text-decoration:none; border:0; cursor:pointer;
  min-height: 48px; transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color:#fff; }
.btn-primary:hover { background: var(--accent-deep); color:#fff; }
.btn-brand { background: var(--brand); color:#fff; }
.btn-brand:hover { background: var(--brand-deep); }
.btn-ghost { background: transparent; color: var(--ink); border:2px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---- HEADER / NAV v2 (2026-07-25, creativeshizzle-style: one line always, single CTA,
        hover mega-menu under Retreats). Desktop >920px inline; below that, hamburger. ---- */
.site-header { position: sticky; top:0; z-index:40; background: rgba(246,243,234,.94); backdrop-filter: blur(10px); border-bottom:1px solid var(--line); }
.nav { display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap:.8rem; padding-block:.6rem; }
.brand { font-family:var(--display); font-weight:800; font-size:var(--step-0); color:var(--ink); text-decoration:none; letter-spacing:-.02em; display:inline-flex; align-items:center; gap:.45rem; flex:0 0 auto; }
.brand-text { white-space:nowrap; }
.brand-logo { width:26px; height:26px; border-radius:7px; display:block; flex:0 0 auto; }
.brand b { color: var(--accent); }
.nav-links { display:flex; gap:clamp(.5rem, 1.6vw, 1.4rem); align-items:center; list-style:none; margin:0; padding:0; flex-wrap:nowrap; }
.nav-link { display:inline-flex; align-items:center; gap:.3rem; color:var(--ink); text-decoration:none; font-weight:600; font-size:var(--step--1); white-space:nowrap; background:none; border:0; cursor:pointer; font-family:var(--body); padding:.55rem .15rem; position:relative; }
.nav-link::after { content:""; position:absolute; left:.15rem; right:.15rem; bottom:.2rem; height:2px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .15s ease; }
.nav-link:hover::after, .has-menu:hover > .nav-link::after { transform:scaleX(1); }
.nav-link:hover { color:var(--accent); }
.caret { font-size:.7em; transition:transform .15s ease; }
.has-menu:hover .caret, .has-menu[data-open="true"] .caret { transform:rotate(180deg); }
.nav-actions { display:flex; align-items:center; gap:.5rem; flex:0 0 auto; }
.nav-cta { min-height:40px; padding:.5rem 1.05rem; font-size:var(--step--1); white-space:nowrap; }
.nav-cta .cta-short { display:none; }
.nav-toggle { display:none; background:none; border:0; font-size:1.5rem; min-height:44px; min-width:44px; cursor:pointer; color:var(--ink); }

/* mega-menu panel: full-width sheet anchored under the sticky header */
.nav-menu { position:absolute; left:0; right:0; top:100%; background:var(--surface); border-bottom:1px solid var(--line); box-shadow:var(--shadow); display:none; max-height:calc(100vh - 70px); overflow-y:auto; }
.has-menu:hover > .nav-menu, .has-menu:focus-within > .nav-menu, .has-menu[data-open="true"] > .nav-menu { display:block; }
.nm-inner { width:min(100% - 2rem, var(--maxw)); margin-inline:auto; display:grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap:var(--s4); padding-block:var(--s4) var(--s5); }
.nm-h { font-family:var(--display); font-weight:700; font-size:var(--step--1); text-transform:uppercase; letter-spacing:.1em; color:var(--ink-soft); margin:0 0 .55rem; }
.nm-col ul { list-style:none; margin:0; padding:0; }
.nm-col li { margin:0 0 .12rem; }
.nm-col a { display:block; color:var(--ink); text-decoration:none; font-size:var(--step--1); padding:.22rem .4rem; border-radius:6px; }
.nm-col a:hover { background:var(--paper-2); color:var(--accent); }
.nm-featured { background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius-sm); padding:var(--s3); align-self:start; }
.nm-feat-link { font-family:var(--display); font-weight:800; font-size:var(--step-1); color:var(--ink); text-decoration:none; display:inline-block; margin:.15rem 0 .3rem; }
.nm-feat-link:hover { color:var(--accent); }
.nm-featured .small { margin-bottom:.5rem; }
.nm-all { font-weight:700; }

@media (max-width: 920px) {
  .nav-toggle { display:block; }
  .nav-cta { padding:.45rem .8rem; }
  .nav-links { position:absolute; inset:100% 0 auto 0; flex-direction:column; align-items:stretch; background:var(--paper); border-bottom:1px solid var(--line); box-shadow:var(--shadow); padding:.6rem 1rem 1rem; gap:0; display:none; max-height:calc(100vh - 62px); overflow-y:auto; }
  .nav-links[data-open="true"] { display:flex; }
  .nav-links > li { border-bottom:1px solid var(--line); }
  .nav-links > li:last-child { border-bottom:0; }
  .nav-link { width:100%; justify-content:space-between; padding:.8rem .2rem; font-size:var(--step-0); }
  .nav-link::after { display:none; }
  /* mobile: Retreats is an accordion, not a hover panel */
  .nav-menu { position:static; box-shadow:none; border:0; max-height:none; overflow:visible; }
  .has-menu:hover > .nav-menu, .has-menu:focus-within > .nav-menu { display:none; }
  .has-menu[data-open="true"] > .nav-menu { display:block; }
  .nm-inner { width:100%; grid-template-columns:1fr; gap:var(--s3); padding-block:0 var(--s3); }
  .nm-featured { order:-1; }
}
@media (max-width: 560px) {
  .nav-cta .cta-long { display:none; }
  .nav-cta .cta-short { display:inline; }
  .brand { font-size:var(--step--1); }
  .brand-logo { width:24px; height:24px; }
}

/* ---- BREADCRUMB ---- */
.crumbs { font-size: var(--step--1); color: var(--ink-soft); padding-block: var(--s3); }
.crumbs a { color: var(--ink-soft); }
.crumbs span[aria-current] { color: var(--ink); font-weight:600; }

/* ---- HERO: FULL-SCREEN BACKGROUND (kept for engine parity; NOT this site's first screen,
        which uses the flipped asymmetric split hero below) ---- */
.hero-full {
  min-height: 88svh;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.hero-full-inner { padding-block: var(--s7) var(--s6); }
.hero-full h1 { color: #fff; max-width: 21ch; }
.hero-full .lede { color: rgba(255,255,255,.9); max-width: 56ch; font-size: var(--step-1); }
.hero-full .author-hook { color: rgba(255,255,255,.85); display:flex; align-items:center; gap:.6rem; font-size:var(--step--1); margin: var(--s3) 0 var(--s4); }
.hero-full .author-hook a { color: #fff; }
.hero-full .author-hook img { width:38px; height:38px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,.5); }
.hero-full-ghost { color:#fff; border-color: rgba(255,255,255,.55); }
.hero-full-ghost:hover { border-color:#fff; }
@media (max-width: 640px) { .hero-full { min-height: 72svh; } }

/* ---- HERO (money) - asymmetric split ---- */
.hero { display:grid; grid-template-columns: 1.15fr .85fr; gap: var(--s5); align-items:end; padding-top: var(--s5); }
/* this site's signature: media on the LEFT, taller than wide never; text column right */
.hero--flip { grid-template-columns: .9fr 1.1fr; }
.hero--flip .hero-media { order:-1; }
.eyebrow { font-family:var(--display); text-transform:uppercase; letter-spacing:.14em; font-size:var(--step--1); color:var(--gold); font-weight:700; margin-bottom:var(--s2); }
.hero h1 { margin-bottom: var(--s3); }
.hero .author-hook { display:flex; align-items:center; gap:.6rem; font-size:var(--step--1); color:var(--ink-soft); margin-bottom:var(--s4); }
.hero .author-hook img { width:38px; height:38px; border-radius:50%; object-fit:cover; border:2px solid var(--line); }
.hero-media { aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden; background:var(--surface); box-shadow:var(--shadow); }
.hero-media img { width:100%; height:100%; object-fit:cover; }
@media (max-width: 820px){ .hero{ grid-template-columns:1fr; align-items:start; } .hero--flip .hero-media { order:0; } }

/* ---- QUICK ANSWER (answer-first) ---- */
.quick-answer { background: var(--surface); border:1px solid var(--line); border-left:5px solid var(--accent); color: var(--ink); border-radius: var(--radius); padding: var(--s4) var(--s5); margin-top: var(--s5); box-shadow: var(--shadow); }
.quick-answer p { color:var(--ink); font-size: var(--step-1); max-width: 60ch; margin:0; }
.quick-answer .qa-label { font-family:var(--display); text-transform:uppercase; letter-spacing:.14em; font-size:.72rem; color:var(--gold); margin-bottom:var(--s2); font-weight:700; }

/* ---- KEY FACTS TABLE ---- */
.keyfacts { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.keyfacts th, .keyfacts td { text-align:left; padding:.8rem 1rem; border-bottom:1px solid var(--line); vertical-align:top; }
.keyfacts th { width:42%; font-family:var(--display); font-weight:700; color:var(--ink); background:var(--paper-2); }
.keyfacts tr:last-child th, .keyfacts tr:last-child td { border-bottom:0; }
@media (max-width:640px){
  .keyfacts { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .keyfacts th { min-width: 9rem; }
}

/* ---- PRODUCT CARD (money component) ---- */
.product-card { display:grid; grid-template-columns: 1fr 1.2fr; gap:0; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.product-card .pc-media { background:var(--paper-2); overflow:hidden; }
.product-card .pc-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.product-card .pc-body { padding: var(--s4); display:flex; flex-direction:column; gap:var(--s2); }
.pc-tag { align-self:flex-start; background:var(--gold-soft); color:#4a350c; font-weight:700; font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; padding:.25rem .6rem; border-radius:999px; }
.pc-rating { font-weight:700; color:var(--ink); display:flex; align-items:center; gap:.45rem; flex-wrap:wrap; }
.pc-rating .src { font-weight:500; color:var(--ink-soft); font-size:var(--step--1); }

/* ---- STAR RATING (dependency-free) - set fill width inline: ratingValue/5*100% ---- */
.stars { position:relative; display:inline-block; vertical-align:middle; line-height:1; white-space:nowrap; font-size:1.05em; }
.stars::before { content:"★★★★★"; color:var(--line); letter-spacing:2px; }
.stars .stars-fill { position:absolute; top:0; left:0; overflow:hidden; white-space:nowrap; }
.stars .stars-fill::before { content:"★★★★★"; color:var(--gold); letter-spacing:2px; }
.stars-num { font-weight:700; color:var(--ink); }
.trust .stars { font-size:1.15rem; margin-top:.2rem; }
.pc-price { font-family:var(--display); font-size:var(--step-2); font-weight:800; color:var(--ink); }
.pc-price small { font-size:var(--step--1); color:var(--ink-soft); font-weight:500; }
@media (max-width:680px){ .product-card{ grid-template-columns:1fr; } .product-card .pc-media{ aspect-ratio:4/3; } }

/* ---- PRICING & INCLUSIONS ---- */
.incl { display:grid; grid-template-columns:1fr 1fr; gap:var(--s4); }
.incl ul { list-style:none; padding:0; margin:0; }
.incl li { padding:.35rem 0 .35rem 1.6rem; position:relative; }
.incl .yes::before { content:"✓"; position:absolute; left:0; color:var(--ok); font-weight:800; }
.incl .no::before  { content:"✕"; position:absolute; left:0; color:var(--accent); font-weight:800; }
@media (max-width:600px){ .incl{ grid-template-columns:1fr; } }

/* ---- ITINERARY ---- */
.timeline { list-style:none; margin:0; padding:0; border-left:3px solid var(--line); }
.timeline li { position:relative; padding:0 0 var(--s4) var(--s4); }
.timeline li::before { content:""; position:absolute; left:-9px; top:4px; width:15px; height:15px; border-radius:50%; background:var(--accent); border:3px solid var(--paper); }
.timeline .t { font-family:var(--display); font-weight:700; }

/* ---- PROS / CONS ---- */
.proscons { display:grid; grid-template-columns:1fr 1fr; gap:var(--s4); }
.proscons .col { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s4); }
.proscons h3 { margin-top:0; }
.proscons ul { padding-left:1.1rem; margin:0; }
.proscons li { margin-bottom:.5rem; }
.proscons .pros { border-top:4px solid var(--ok); }
.proscons .cons { border-top:4px solid var(--accent); }
@media (max-width:600px){ .proscons{ grid-template-columns:1fr; } }

/* ---- AUTHOR EXPERIENCE ---- */
.author-block { background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s5); display:grid; grid-template-columns:auto 1fr; gap:var(--s4); align-items:start; }
.author-block img.avatar { width:84px; height:84px; border-radius:50%; object-fit:cover; border:3px solid var(--surface); box-shadow:var(--shadow); }
.author-block .updated { font-size:var(--step--1); color:var(--ink-soft); margin-top:var(--s3); }
@media (max-width:600px){ .author-block{ grid-template-columns:1fr; } }

/* ---- TRUST STRIP ---- */
.trust { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--s3); text-align:center; background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s4); }
.trust .num { font-family:var(--display); font-size:var(--step-2); font-weight:800; color:var(--gold); }
.trust .lbl { font-size:var(--step--1); color:var(--ink-soft); }
@media (max-width:640px){ .trust{ grid-template-columns:repeat(2,1fr); gap:var(--s4); } }

/* ---- FAQ (FAQPage) ---- */
.faq details { border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface); padding:.4rem 1rem; margin-bottom:.7rem; }
.faq summary { font-family:var(--display); font-weight:700; cursor:pointer; padding:.6rem 0; list-style:none; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after { content:"+"; float:right; color:var(--accent); font-weight:800; }
.faq details[open] summary::after { content:"−"; }

/* ---- RELATED TOURS ---- */
.related { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s4); }
.related .rcard { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.related .rcard .rc-media { aspect-ratio:4/3; background:var(--paper-2); }
.related .rcard .rc-media img { width:100%; height:100%; object-fit:cover; }
.related .rcard .rc-body { padding:var(--s3) var(--s4); }
@media (max-width:600px){ .related{ grid-template-columns:1fr; } }
/* 3-up card grid (homepage / hubs) */
.cards-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.cards-3 .rcard { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.cards-3 .rcard .rc-media { aspect-ratio:4/3; background:var(--paper-2); }
.cards-3 .rcard .rc-media img { width:100%; height:100%; object-fit:cover; }
.cards-3 .rcard .rc-body { padding:var(--s3) var(--s4) var(--s4); display:flex; flex-direction:column; gap:var(--s2); flex:1; }
.cards-3 .rcard .rc-body .btn { margin-top:auto; }
@media (max-width:820px){ .cards-3{ grid-template-columns:1fr; } }

/* Product card upgrades: "best for" frame, benefit bullets, social proof, popular badge */
.pc-reviews { font-weight:500; color:var(--ink-soft); font-size:var(--step--1); }
.pc-bestfor { align-self:flex-start; margin:0; background:rgba(154,122,46,.14); color:#77601f;
  font-weight:700; font-size:.7rem; text-transform:uppercase; letter-spacing:.05em; padding:.28rem .65rem; border-radius:999px; }
.pc-points { list-style:none; padding:0; margin:.15rem 0 0; display:flex; flex-direction:column; gap:.4rem; }
.pc-points li { position:relative; padding-left:1.45rem; font-size:var(--step--1); color:var(--ink); line-height:1.4; }
.pc-points li::before { content:"✓"; position:absolute; left:0; top:-.02em; color:var(--accent); font-weight:800; }
.rc-media, .pc-media { position:relative; }
.pc-badge { position:absolute; top:.6rem; left:.6rem; z-index:1; background:var(--gold-soft); color:#4a350c;
  font-weight:800; font-size:.7rem; text-transform:uppercase; letter-spacing:.05em; padding:.32rem .7rem; border-radius:999px; box-shadow:var(--shadow); }
.cards-3 .rcard.is-popular, .product-card.is-popular { border-color:var(--gold); box-shadow:0 0 0 2px var(--gold), var(--shadow); }

/* ---- CTA BANNER ---- */
.cta-banner { background:linear-gradient(120deg,#33273c,#251c2c); border:1px solid var(--line); color:#fff; border-radius:var(--radius); padding:var(--s5); text-align:center; }
.cta-banner h2 { color:#fff; margin-top:0; }
.cta-banner p { color:rgba(255,255,255,.82); max-width:52ch; margin-inline:auto; }

/* ---- AVAILABILITY WIDGET (date -> affiliate check) ---- */
.availability { display:flex; gap:.7rem; align-items:center; flex-wrap:wrap; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s3) var(--s4); box-shadow:var(--shadow); }
.availability .av-label { font-family:var(--display); font-weight:700; color:var(--ink); }
.availability .av-date { padding:.7rem .8rem; border:1px solid var(--line); border-radius:var(--radius-sm); font:inherit; min-height:48px; background:var(--surface-2); color:var(--ink); color-scheme:light; }
.availability .av-go, .availability .av-check { margin-left:auto; }
.availability .av-msg { width:100%; margin:.3rem 0 0; color:var(--ok); font-weight:600; }
@media (max-width:560px){ .availability .av-go, .availability .av-check { margin-left:0; width:100%; } }

/* ---- FOOTER (the one deep-aubergine surface) ---- */
.site-footer { background:#241b28; color:#b3a8bb; margin-top:var(--s7); padding-block:var(--s6) var(--s4); border-top:1px solid var(--line); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:var(--s5); }
.site-footer a { color:#eae4ef; text-decoration:none; }
.site-footer a:hover { text-decoration:underline; }
.site-footer h4, .site-footer .footer-h { font-family:var(--display); font-weight:700; font-size:var(--step-0); color:#fff; margin:0 0 var(--s2); }
.footer-nav ul { list-style:none; margin:0; padding:0; }
.footer-nav li { margin-bottom:.4rem; }
.socials { display:flex; gap:.8rem; margin-top:var(--s3); }
.socials a { width:40px; height:40px; display:grid; place-items:center; border:1px solid #4c3f55; border-radius:50%; }
.socials a:hover { border-color:var(--gold-soft); color:var(--gold-soft); }
.disclosure { font-size:var(--step--1); color:#a294ab; border-top:1px solid #3a2f40; margin-top:var(--s5); padding-top:var(--s3); }
.disclosure p { max-width:none; }
@media (max-width:740px){ .footer-grid{ grid-template-columns:1fr; gap:var(--s4); } }

/* ---- BLOG ---- */
.blog-hero { margin:var(--s5) 0 0; }
.blog-hero img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); }
.blog-post .author-hook { display:flex; align-items:center; gap:.6rem; font-size:var(--step--1); color:var(--ink-soft); margin-top:var(--s3); }
.blog-post .author-hook img { width:38px; height:38px; border-radius:50%; object-fit:cover; border:2px solid var(--line); }
.prose { margin-top:var(--s5); }
.prose > * { max-width:64ch; }
.prose h2 { margin-top:var(--s6); }
.prose h3 { margin-top:var(--s5); }
.prose img { width:100%; max-width:100%; height:auto; border-radius:var(--radius); margin:var(--s4) 0; box-shadow:var(--shadow); }
.prose figure { margin:var(--s4) 0; }
.prose figcaption { font-size:var(--step--1); color:var(--ink-soft); margin-top:.4rem; }
.prose ul, .prose ol { padding-left:1.3rem; }
.prose li { margin-bottom:.4rem; }
.prose blockquote { margin:var(--s4) 0; padding:.4rem 0 .4rem var(--s4); border-left:4px solid var(--accent); color:var(--ink-soft); font-style:italic; }
.prose table { width:100%; max-width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; margin:var(--s4) 0; font-size:var(--step--1); }
.prose th, .prose td { text-align:left; padding:.7rem .9rem; border-bottom:1px solid var(--line); vertical-align:top; }
.prose thead th { background:var(--paper-2); font-family:var(--display); color:var(--ink); }
.prose tbody tr:last-child td { border-bottom:0; }
@media (max-width:640px){
  .prose table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; }
}
.prose a { color:var(--accent); }
/* CRITICAL: .prose a (0,1,1) out-specifies .btn-primary (0,1,0); without these overrides a
   button inside an article body renders accent-on-accent = INVISIBLE TEXT. */
.prose a.btn-primary, .prose a.btn-primary:hover { color:#fff; }
.prose a.btn-brand { color:#fff; }
.prose a.btn-ghost { color:var(--ink); }
.blog-cta { background:var(--paper-2); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:var(--radius); padding:var(--s4) var(--s5); margin:var(--s6) 0 0; }
.blog-cta h2 { margin-top:0; }
.blog-cta p { margin-bottom:var(--s3); }
.blog-cta-btns { display:flex; gap:.6rem; flex-wrap:wrap; align-items:center; }

/* ---- INFOGRAPHIC (generated SVG) ---- */
.infographic { margin:var(--s4) 0; }
.infographic img, .infographic svg { width:100%; height:auto; border-radius:var(--radius); border:1px solid var(--line); background:var(--surface); display:block; }
.infographic figcaption { margin-top:.6rem; text-align:center; color:var(--ink-soft); }
.embed + p, .embed + p.small, .video-grid + p { max-width:none; }

/* information-gain block: fresh, sourced data competitors don't carry */
.infogain { background:var(--paper-2); border:1px solid var(--line); border-left:5px solid var(--gold); border-radius:var(--radius); padding:var(--s4) var(--s4) var(--s3); margin:var(--s5) 0; }
.infogain .infogain-h { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; font-family:var(--display); font-weight:800; font-size:var(--step-1); line-height:1.1; margin:0 0 var(--s3); max-width:none; color:var(--ink); }
.infogain .tag { font-family:var(--body); font-size:var(--step--1); font-weight:700; color:#4a350c; background:var(--gold-soft); padding:.18rem .55rem; border-radius:999px; letter-spacing:.03em; text-transform:uppercase; }
.infogain ul { list-style:none; margin:0; padding:0; display:grid; gap:var(--s3); }
.infogain li { position:relative; padding-left:1.5rem; max-width:66ch; }
.infogain li::before { content:""; position:absolute; left:0; top:.5em; width:.55rem; height:.55rem; background:var(--gold); border-radius:50%; }
.infogain .src { display:block; font-size:var(--step--1); color:var(--ink-soft); margin-top:.2rem; }
.infogain .src a { color:var(--ink-soft); }
.infogain .infogain-note { font-size:var(--step--1); color:var(--ink-soft); margin:var(--s3) 0 0; max-width:none; }

/* ---- EMBEDS (interactive map + videos) ---- */
.embed { position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); background:var(--surface); }
.embed iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--s4); }
.video-grid .embed { box-shadow:none; }
@media (max-width:820px){ .video-grid{ grid-template-columns:1fr; } }

/* ---- CONVERSION COMPONENTS (conversion-optimizer skill) ---- */
.btn-xl { font-size: var(--step-1); padding: 1.05rem 1.9rem; }
.cta-proof { display:block; font-size:var(--step--1); color:var(--ink-soft); margin:.55rem 0 0; max-width:none; }
.cta-proof .gold { color: var(--gold); font-weight:700; }
.cta-box { background:var(--paper-2); border:1px solid var(--line); border-top:3px solid var(--accent);
  border-radius:var(--radius); padding:var(--s5); margin:var(--s5) 0; max-width:none; text-align:center; }
.cta-box .cb-h { font-family:var(--display); font-weight:800; font-size:var(--step-2); color:var(--ink); margin:0 0 .5rem; max-width:none; }
.cta-box p { max-width:44ch; margin-inline:auto; }
.cta-box p:last-child { margin-bottom:0; max-width:none; }
.cta-box .btn { margin-top:.5rem; }
.cta-box a.btn-primary, .cta-box a.btn-primary:hover { color:#fff; }
@media (max-width:640px){ .cta-box { padding:var(--s4); } .cta-box .btn { width:100%; } }
/* sticky bar: fixed overlay (zero CLS), thin, revealed after first screen */
.sticky-cta { position:fixed; z-index:45; left:0; right:0; bottom:0; display:flex; align-items:center;
  justify-content:center; gap:.9rem; padding:.55rem .9rem calc(.55rem + env(safe-area-inset-bottom));
  background:rgba(246,243,234,.96); backdrop-filter:blur(8px); border-top:1px solid var(--line);
  transform:translateY(110%); transition:transform .25s ease; }
.sticky-cta.visible { transform:translateY(0); }
.sticky-cta .sc-proof { font-size:var(--step--1); color:var(--ink); white-space:nowrap; }
.sticky-cta .sc-proof .gold { color:var(--gold); font-weight:700; }
.sticky-cta .btn { min-height:44px; padding:.6rem 1.3rem; }
@media (min-width: 761px) {
  .sticky-cta { left:auto; right:1.2rem; bottom:1.2rem; border:1px solid var(--line);
    border-radius:999px; padding:.5rem .6rem .5rem 1.1rem; box-shadow:var(--shadow); }
  /* article pages (blog/guides): full-width bottom bar on desktop too, like mobile */
  body.article .sticky-cta { left:0; right:0; bottom:0; border-radius:0; border:0;
    border-top:1px solid var(--line); box-shadow:none; padding:.55rem .9rem; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition:none; } }

/* ---- TESTIMONIALS (real Viator/Tripadvisor reviews, verbatim) ---- */
.reviews { display:grid; grid-template-columns:repeat(2,1fr); gap:var(--s4); }
.review-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:var(--s4); display:flex; flex-direction:column; gap:var(--s2); }
.review-card .stars { font-size:.95rem; }
.review-card blockquote { margin:0; font-size:var(--step-0); color:var(--ink); max-width:none; }
.review-card blockquote p { max-width:none; margin:0; }
.review-meta { margin-top:auto; font-size:var(--step--1); color:var(--ink-soft); }
.review-meta strong { color:var(--ink); }
@media (max-width:760px){ .reviews{ grid-template-columns:1fr; } }

/* utility */
.lede { font-size:var(--step-1); color:var(--ink-soft); }
.small { font-size:var(--step--1); color:var(--ink-soft); }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.text-center{text-align:center}

/* ============================================================
   SELVA PROFUNDA ADDITIONS - comparison directory + lead-gen blocks
   ============================================================ */

/* ---- COMPARISON TABLE (the site's signature block) ---- */
.table-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow); }
.compare-table { width:100%; border-collapse:collapse; font-size:var(--step--1); min-width:56rem; }
.compare-table th, .compare-table td { text-align:left; padding:.7rem .9rem; border-bottom:1px solid var(--line); vertical-align:top; white-space:nowrap; }
.compare-table thead th { font-family:var(--display); background:var(--paper-2); color:var(--ink); position:sticky; top:0; }
.compare-table tbody th[scope="row"] { font-weight:700; white-space:normal; min-width:12rem; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom:0; }
.compare-table a { color:var(--ink); }
.row-featured { background:#fbf7ec; }
.table-note { margin-top:var(--s2); }

/* tier badges: verification honesty made visible */
.tier-badge { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.04em; padding:.15rem .55rem; border-radius:999px; border:1px solid var(--line); color:var(--ink-soft); background:var(--surface); white-space:nowrap; }
.tier-verified { color:var(--ok); border-color:#bcd8c6; background:#eef6f0; }
.tier-directory { color:#5b6a2e; border-color:#d3d8b4; background:#f3f5e6; }
.tier-reddit { color:#6b5b8a; border-color:#d5cde4; background:#f2eff8; }
.tier-warning { color:var(--warn); border-color:#e4c3a8; background:#f9efe4; }
.badge-pick { display:inline-block; font-size:.72rem; font-weight:700; padding:.15rem .55rem; border-radius:999px; background:var(--gold-soft); color:#5f4c17; white-space:nowrap; }
.flag-warn { color:var(--warn); }

/* warning box on center profiles */
.warn-box { background:#f9efe4; border:1px solid #e4c3a8; border-left:5px solid var(--warn); border-radius:var(--radius); padding:var(--s3) var(--s4); margin-top:var(--s3); }
.warn-box .wb-h { font-family:var(--display); font-weight:700; text-transform:uppercase; letter-spacing:.1em; font-size:.72rem; color:var(--warn); margin-bottom:var(--s1); }
.warn-box p { margin-bottom:var(--s1); }

/* featured card accent */
.rcard-featured { outline:2px solid var(--gold); outline-offset:-2px; }

/* ---- HERO TEASER CARD (split hero, right side) ---- */
.hero-teaser { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:var(--s3); }
.hero-teaser .ht-h { font-family:var(--display); font-weight:700; margin:0 0 var(--s2); font-size:var(--step-0); }
.hero-teaser .table-scroll { border:0; box-shadow:none; }
.hero-teaser .compare-table { min-width:0; }
.hero-teaser .compare-table th, .hero-teaser .compare-table td { padding:.45rem .5rem; }
/* teaser hides the wide columns so it fits beside the H1 without scrolling */
.compare-teaser th:nth-child(n+4), .compare-teaser td:nth-child(n+4) { display:none; }
.compare-teaser th:nth-child(8), .compare-teaser td:nth-child(8) { display:table-cell; }

/* ---- LEAD FORM (Web3Forms; anti-spam: honeypot + dwell time + confirm step) ---- */
.lead-form { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:var(--s4); max-width:34rem; }
.lead-form label { display:block; font-weight:600; font-size:var(--step--1); margin:var(--s3) 0 var(--s1); color:var(--ink); }
.lead-form input, .lead-form textarea { width:100%; border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface-2); color:var(--ink); font:inherit; padding:.7rem .8rem; }
.lead-form input:focus, .lead-form textarea:focus { outline:3px solid var(--accent); outline-offset:1px; }
.lead-form textarea { min-height:7.5rem; resize:vertical; }
.lead-form .lf-confirm { display:flex; gap:.55rem; align-items:flex-start; margin-top:var(--s3); font-size:var(--step--1); color:var(--ink-soft); }
.lead-form .lf-confirm input { width:auto; margin-top:.2rem; }
.lead-form button { margin-top:var(--s3); width:100%; }
.lead-form .lf-note { font-size:var(--step--1); color:var(--ink-soft); margin:var(--s2) 0 0; }
.lead-form .lf-status { font-weight:600; margin-top:var(--s2); }
.lead-form .lf-status.ok { color:var(--ok); }
.lead-form .lf-status.err { color:var(--warn); }
.lead-form .lf-req { color:var(--accent); font-weight:700; }
.lead-form .lf-optional { color:var(--ink-soft); font-weight:400; font-size:var(--step--1); }
/* honeypot: visually gone, still in the DOM for bots */
.lf-website-field { position:absolute; left:-9999px; opacity:0; height:0; width:0; overflow:hidden; }

/* ---- RETREATS HUB: featured banner + region counts ---- */
.feature-banner { background:linear-gradient(120deg,#23433a,#173026); border:1px solid var(--brand-deep); border-radius:var(--radius); padding:var(--s5); box-shadow:var(--shadow); }
.feature-banner h2 { color:#fff; margin-top:var(--s2); font-size:var(--step-2); }
.feature-banner p { color:#e4ede4; max-width:64ch; }
.feature-banner .btn-ghost { color:#fff; border-color:rgba(255,255,255,.5); }
.feature-banner .btn-ghost:hover { border-color:#fff; }
.region-count { display:inline-block; font-family:var(--body); font-size:var(--step--1); font-weight:700; color:var(--ink-soft); background:var(--paper-2); border:1px solid var(--line); border-radius:999px; padding:.05rem .55rem; vertical-align:middle; margin-left:.4rem; }
.cards-3 .rcard .rc-body .btn { margin-top:auto; }

/* (former mobile-header-CTA block removed 2026-07-25: superseded by NAV v2, which keeps
   a single .nav-cta visible at every width) */
