/* The Peru Table — design system v2
   editorial premium + prancheta drama · cream/ink/terracotta/gold */
:root {
  --cream: #FAF5EE;
  --sand: #F1E7D8;
  --ink: #1C2833;
  --ink-2: #22303C;
  --ink-soft: #55606B;
  --terra: #C0492B;
  --terra-dark: #9A3720;
  --gold: #C89B3F;
  --gold-soft: #D9B36A;
  --line: #E2D5C2;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
body {
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
.serif { font-family: "Playfair Display", Georgia, serif; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* texturas */
.grain { position: relative; }
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 2; }
.blueprint {
  background-image:
    repeating-linear-gradient(0deg, rgba(34,48,60,.055) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(34,48,60,.055) 0 1px, transparent 1px 64px);
}
.blueprint-dark {
  background-image:
    repeating-linear-gradient(0deg, rgba(250,245,238,.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(250,245,238,.05) 0 1px, transparent 1px 64px);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(28, 40, 51, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(250,245,238,.12);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; gap: 10px; flex-wrap: wrap; }
.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px; letter-spacing: 3px; color: var(--cream);
  text-decoration: none; white-space: nowrap;
}
.wordmark em { font-style: italic; color: var(--gold-soft); letter-spacing: 1px; }
.topbar nav { display: flex; gap: 26px; align-items: center; }
.topbar nav a { color: #B9C2CB; text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.topbar nav a:hover { color: var(--gold-soft); }
.nav-links { display: flex; gap: 26px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-weight: 600; font-size: 15.5px; letter-spacing: .3px;
  padding: 17px 34px; border-radius: 999px;
  transition: background .2s, color .2s, box-shadow .25s, transform .25s;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 30px rgba(192,73,43,.35); }
.btn-primary:hover { background: var(--terra-dark); box-shadow: 0 14px 38px rgba(192,73,43,.45); transform: translateY(-1px); }
.btn-ghost-light { background: transparent; color: var(--cream); border: 1.5px solid rgba(250,245,238,.5); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(250,245,238,.08); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-small { padding: 11px 22px; font-size: 13.5px; }
.btn-light { background: var(--cream); color: var(--terra-dark); }
.btn-light:hover { background: #fff; }

/* ---------- HERO (dark immersive) ---------- */
.hero {
  background: radial-gradient(120% 90% at 75% 10%, #2C3E4E 0%, var(--ink) 55%, #141D26 100%);
  color: var(--cream);
  padding: 150px 0 0;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px 48px; align-items: center;
  grid-template-areas: "top art" "btm art"; padding-bottom: 84px;
}
.hero-top { grid-area: top; align-self: end; }
.hero-btm { grid-area: btm; align-self: start; }
.hero-art { grid-area: art; }
.kicker {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700; margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 42px; height: 1.5px; background: var(--gold-soft); flex: none; }
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.07; letter-spacing: -.5px; margin-bottom: 26px;
}
h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub { font-size: 19.5px; color: #AEB9C4; max-width: 33em; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.trust-strip { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: #93A1AD; font-weight: 500; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip svg { flex: none; }

/* hero art panel */
.hero-art {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, #2A3B4A, #1A2530);
  border: 1px solid rgba(250,245,238,.14);
  min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.hero-art svg.mark { width: 72%; }
.cota {
  position: absolute; font-family: "Menlo", monospace; font-size: 10px;
  letter-spacing: 2.5px; color: rgba(217,179,106,.75); text-transform: uppercase;
}
.cota-line { position: absolute; background: rgba(217,179,106,.4); }
.photo-note {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  font-family: "Menlo", monospace; font-size: 10.5px; letter-spacing: 1.5px;
  color: rgba(250,245,238,.55); text-transform: uppercase;
  border: 1.5px dashed rgba(250,245,238,.28); border-radius: 8px;
  padding: 9px 12px; text-align: center;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--terra); color: var(--cream);
  overflow: hidden; padding: 15px 0; white-space: nowrap;
  border-top: 1px solid rgba(0,0,0,.15);
}
.marquee-track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee span {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: 19px; letter-spacing: 2px; margin: 0 26px;
}
.marquee b { font-family: "Inter", sans-serif; font-style: normal; font-weight: 400; font-size: 12px; vertical-align: 4px; opacity: .7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats band ---------- */
.stats { background: var(--ink); color: var(--cream); padding: 44px 0 52px; border-top: 1px solid rgba(250,245,238,.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-n {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 4.5vw, 62px); color: var(--gold-soft); line-height: 1.05;
}
.stat-l { font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #93A1AD; margin-top: 6px; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--cream); }
.section-terra { background: var(--terra); color: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 54px; }
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500; font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.12; margin-bottom: 16px;
}
h2 em { font-style: italic; color: var(--terra); }
.section-ink h2, .section-terra h2 { color: var(--cream); }
.section-ink h2 em, .section-terra h2 em { color: var(--gold-soft); }
.section-sub { font-size: 18px; color: var(--ink-soft); }
.section-ink .section-sub { color: #AEB9C4; }
.section-terra .section-sub { color: #F3D9C9; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quote-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 32px;
  position: relative; box-shadow: 0 14px 40px rgba(34,48,60,.07);
}
.quote-card:nth-child(2) { transform: translateY(26px); }
.quote-card::before {
  content: "\201C"; position: absolute; top: -6px; left: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 90px; color: var(--terra); opacity: .18; line-height: 1;
}
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: 15px; }
.quote-card p { font-size: 16.5px; margin-bottom: 16px; }
.quote-who { font-size: 13px; color: var(--ink-soft); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }

/* ---------- route timeline ---------- */
.stops { position: relative; display: grid; gap: 26px; max-width: 880px; }
.stops::before {
  content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px;
  border-left: 2px dashed rgba(192,73,43,.45);
}
.stop {
  display: grid; grid-template-columns: 64px 1fr; gap: 26px; align-items: flex-start;
  position: relative;
}
.stop-num {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--terra);
  color: var(--terra); font-family: "Playfair Display", Georgia, serif;
  font-size: 27px; display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2; box-shadow: 0 0 0 8px var(--sand);
}
.stop-body {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 32px;
  box-shadow: 0 12px 34px rgba(34,48,60,.06);
}
.stop h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 22px; margin-bottom: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pair-label { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.taste .pair-label { color: var(--terra); }
.see .pair-label { color: var(--gold); }
.pair p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- host (dark, arch portrait) ---------- */
.host-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.arch-frame {
  border-radius: 300px 300px 20px 20px;
  overflow: hidden; position: relative;
  background: linear-gradient(160deg, #C88A5E 0%, #9C5B3C 60%, #6E3B27 100%);
  min-height: 560px; border: 1px solid rgba(250,245,238,.18);
  display: flex; align-items: flex-end; justify-content: center;
}
.host-quote {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: clamp(23px, 2.4vw, 30px); line-height: 1.4; margin: 22px 0 26px; color: var(--cream);
}
.host-quote span { color: var(--gold-soft); }
.host-bio { color: #AEB9C4; font-size: 16.5px; }
.host-sign {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  color: var(--gold-soft); font-size: 20px; margin-top: 20px;
}

/* ---------- details card ---------- */
.details-wrap { position: relative; }
.details-card {
  background: var(--cream); color: var(--ink);
  border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  position: relative; overflow: hidden;
}
.details-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
}
.seal {
  position: absolute; top: 26px; right: 26px;
  width: 92px; height: 92px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold); font-family: "Menlo", monospace;
  font-size: 8.5px; letter-spacing: 1.5px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transform: rotate(-12deg); padding: 10px; line-height: 1.5;
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 4px; }
.price { font-family: "Playfair Display", Georgia, serif; font-size: 64px; color: var(--terra); line-height: 1; }
.price-unit { color: var(--ink-soft); font-size: 15.5px; max-width: 16em; }
.details-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.details-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.details-list svg { flex: none; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 17.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--terra); font-size: 24px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-top: 12px; color: var(--ink-soft); font-size: 15.5px; max-width: 60ch; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta h2 { font-size: clamp(36px, 5vw, 58px); }
.final-cta .btn { margin-top: 10px; }

/* ---------- footer ---------- */
footer { background: #141D26; color: #7E8B97; padding: 46px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--cream); text-decoration: none; }
footer a:hover { color: var(--gold-soft); }
footer .wordmark { font-size: 16px; }

/* ---------- sticky mobile book bar ---------- */
.bookbar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  transform: translateY(140%); transition: transform .35s ease;
  background: var(--ink); border: 1px solid rgba(250,245,238,.15);
  border-radius: 999px; padding: 10px 12px 10px 22px;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.bookbar .bb-price { color: var(--cream); font-size: 14px; }
.bookbar .bb-price b { font-family: "Playfair Display", Georgia, serif; font-size: 19px; color: var(--gold-soft); }
.bookbar.show { transform: translateY(0); }

/* ---------- home city cards ---------- */
.city-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.city-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  transition: box-shadow .3s, transform .3s; cursor: pointer;
  box-shadow: 0 10px 30px rgba(34,48,60,.08);
}
.city-card:hover { box-shadow: 0 26px 60px rgba(34,48,60,.18); transform: translateY(-4px); }
.city-visual {
  min-height: 270px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.city-visual.lima { background: linear-gradient(150deg, #D8A87C 0%, #B96F45 55%, #8C4A2D 100%); }
.city-visual.cusco { background: linear-gradient(150deg, #8CA3A8 0%, #5E7A80 55%, #3E565C 100%); }
.city-visual svg { width: 52%; opacity: .8; }
.city-body { padding: 30px 32px 34px; }
.city-body h3 { font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.city-body p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 16px; }
.city-cta { color: var(--terra); font-weight: 700; font-size: 14.5px; letter-spacing: .5px; }
.city-card.soon { pointer-events: none; }
.city-card.soon .city-body { opacity: .75; }
.badge {
  display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: var(--gold); border: 1px solid var(--gold);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .host-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .hero-art { min-height: 380px; }
  .arch-frame { min-height: 420px; max-width: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .details-card { grid-template-columns: 1fr; padding: 38px 30px 34px; gap: 34px; }
  .quotes { grid-template-columns: 1fr; }
  .quote-card:nth-child(2) { transform: none; }
  .city-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .topbar-inner { flex-wrap: nowrap; padding: 10px 0; }
  .wordmark { font-size: 13.5px; letter-spacing: 1px; gap: 10px; }
  .wordmark em { display: none; }
  .btn-small { padding: 10px 16px; font-size: 12.5px; white-space: nowrap; }
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .pair { grid-template-columns: 1fr; gap: 14px; }
  .stop { grid-template-columns: 46px 1fr; gap: 16px; }
  .stop-num { width: 46px; height: 46px; font-size: 20px; box-shadow: 0 0 0 6px var(--sand); }
  .stops::before { left: 23px; }
  .stop-body { padding: 22px 20px; }
  .bookbar { display: flex; }
  footer { padding-bottom: 92px; }
  .seal { display: none; }
}
.hero-grid > *, .host-grid > *, .details-card > *, .stop > *, .pair > *, .city-cards > * { min-width: 0; }

/* ---------- photos ---------- */
.hero-art img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art .tint { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(28,40,51,0) 40%, rgba(28,40,51,.55) 100%); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; border-radius: 14px; overflow: hidden; height: 320px; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:nth-child(even) { transform: translateY(22px); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(20,29,38,.72));
  color: var(--cream); font-family: "Menlo", monospace;
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure { height: 230px; }
}
.city-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.city-visual .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,40,51,.05), rgba(28,40,51,.35)); }
.arch-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- logo mark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 11px; }
.wordmark img { height: 48px; width: auto; display: block; }
footer .wordmark img { height: 38px; }
@media (max-width: 720px) { .wordmark img { height: 42px; } }

/* ---------- centered sections ---------- */
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .kicker { justify-content: center; }
.section-head.centered .kicker::after { content: ""; width: 42px; height: 1.5px; background: var(--gold-soft); flex: none; }
.stops { margin-left: auto; margin-right: auto; }
.faq { margin-left: auto; margin-right: auto; }

/* ---------- mobile hero: centralizado, foto no arco ---------- */
@media (max-width: 940px) {
  .hero { padding-top: 100px; }
  .hero-grid {
    grid-template-columns: 1fr; gap: 0;
    grid-template-areas: "top" "art" "btm";
    padding-bottom: 54px;
  }
  .hero-top, .hero-btm { text-align: center; }
  .hero .kicker { justify-content: center; }
  .hero .kicker::after { content: ""; width: 42px; height: 1.5px; background: var(--gold-soft); flex: none; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); margin-bottom: 0; }
  .hero-art {
    display: flex; width: min(70vw, 300px); min-height: 0; height: 330px;
    margin: 30px auto 28px;
    border-radius: 999px 999px 22px 22px;
    border: 1px solid rgba(217,179,106,.35);
  }
  .hero-sub { font-size: 16.5px; margin: 0 auto 28px; color: #C4CDD6; }
  .hero-ctas { justify-content: center; margin-bottom: 26px; }
  .trust-strip { justify-content: center; gap: 12px 20px; }
}
