/* TripyTrips SAMPLE design. Plain CSS, no build step. */
:root {
  --ink: #0b1a20;
  --ink-2: #12303a;
  --paper: #f6f2e9;
  --sage: #e1e9dc;
  --sage-2: #cddac6;
  --surface: #ffffff;
  --text: #14232b;
  --muted: #4a5a62;
  --brand: #0f4c5c;
  --accent: #c2410c; /* CTA buttons only */
  --accent-dark: #9a3412;
  --wa: #15803d;
  --line: #d8d2c3;
  --radius: 22px;
  --f-display: "Unbounded", "Arial Black", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.4vw, 2.6rem); letter-spacing: .02em; text-transform: uppercase; }
h3 { font-size: 1.1rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

:focus-visible { outline: 3px solid #ffb347; outline-offset: 3px; border-radius: 6px; }
.skip {
  position: absolute; left: .75rem; top: -4rem; z-index: 100;
  background: #fff; color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: .75rem; }

/* ---------- Top: sample banner + header (sticky) ---------- */
.top { position: sticky; top: 0; z-index: 50; }
.banner {
  background: #ffd9a0; color: #2a1800;
  font-size: .75rem; line-height: 1.3; text-align: center;
  padding: .35rem .75rem; font-weight: 600;
}
.header { background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand {
  font-family: var(--f-display); font-weight: 800; letter-spacing: .06em;
  text-decoration: none; font-size: 1.15rem; text-transform: uppercase;
}
.brand span { color: #9fd3c7; }
.nav { display: flex; gap: .4rem; overflow-x: auto; padding: 0 0 .55rem; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  white-space: nowrap; text-decoration: none; font-size: .875rem; font-weight: 600;
  padding: .45rem .8rem; border-radius: 999px; background: rgba(255,255,255,.08); min-height: 36px;
  display: inline-flex; align-items: center;
}
.nav a:hover { background: rgba(255,255,255,.18); }
.header__wa { display: none; }

@media (min-width: 900px) {
  .header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .header__row { padding: .8rem 0; }
  .nav { padding: 0; overflow: visible; margin-left: auto; }
  .nav a { background: none; padding: .5rem .9rem; }
  .header__wa { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 0;
  font: 700 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--wa { background: #e8f3ea; color: #0d3b1f; }
.btn--wa:hover { background: #fff; }
.btn--small { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sage); }
.link-light { color: #fff; font-weight: 600; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(620px, calc(100svh - 110px));
  background: var(--ink); color: #fff;
  display: flex;
}
.hero__layer { position: absolute; left: 0; right: 0; pointer-events: none; will-change: transform; }
.hero__bg { top: -8%; height: 116%; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__shade {
  inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,16,20,.6) 0%, rgba(5,16,20,.25) 55%, rgba(5,16,20,0) 80%),
    linear-gradient(180deg, rgba(5,16,20,.6) 0%, rgba(5,16,20,.35) 35%, rgba(5,16,20,.55) 75%, rgba(5,16,20,.9) 100%);
}
.mist { z-index: 2; border-radius: 50%; }
.mist--l {
  left: -35%; bottom: 8%; width: 95%; height: 48%;
  background: radial-gradient(closest-side, rgba(226,236,242,.6), rgba(226,236,242,0));
}
.mist--r {
  right: -35%; left: auto; bottom: 14%; width: 95%; height: 42%;
  background: radial-gradient(closest-side, rgba(226,236,242,.5), rgba(226,236,242,0));
}
.mist--top {
  left: 10%; right: 10%; top: 6%; height: 30%; width: auto;
  background: radial-gradient(closest-side, rgba(226,236,242,.22), rgba(226,236,242,0));
}
.ridge { bottom: 0; width: 100%; }
.ridge svg { width: 100%; height: 100%; }
.ridge--back { z-index: 3; height: 42%; transform-origin: bottom center; }
.ridge--back path { fill: #12303a; opacity: .92; }
.ridge--front { z-index: 4; height: 30%; transform-origin: bottom center; }
.ridge--front path { fill: #06161c; }
.ridge--edge { z-index: 5; height: 9%; will-change: auto; }
.ridge--edge path { fill: var(--sage); }

.hero__content {
  position: relative; z-index: 6; width: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 3rem 0 22vh; will-change: transform;
}
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #cfe9e1; margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(1.6rem, 7vw, 6.5rem);
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.45); margin-bottom: .5em;
}
.hero h1 span { display: block; }
.hero__sub { max-width: 34rem; font-size: 1.125rem; color: #e6efec; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.5rem; margin-top: 1.4rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--sage { background: var(--sage); }
.section--paper { background: var(--paper); }
.section--white { background: #fff; }
.section__intro { max-width: 40rem; color: var(--muted); font-size: 1.125rem; }
.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 .75rem;
}
.note {
  display: inline-block; font-size: .82rem; font-weight: 600; color: #5a3b00;
  background: #ffe9c2; padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1.2rem;
}

/* ---------- Trip cards ---------- */
.cards {
  list-style: none; margin: 2rem 0 0; padding: 0 0 1rem;
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: -1.25rem; padding-inline: 1.25rem; scroll-padding-inline: 1.25rem;
}
.cards > li { flex: 0 0 78%; max-width: 330px; scroll-snap-align: start; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: var(--brand); color: #fff; isolation: isolate;
  box-shadow: 0 10px 30px rgba(15, 40, 30, .18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,16,20,0) 35%, rgba(5,16,20,.88) 100%);
}
.card__tag {
  position: absolute; top: .9rem; left: .9rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--ink); padding: .25rem .65rem; border-radius: 999px;
}
.card__body { padding: 1.1rem 1.1rem 1.2rem; }
.card h3 { margin: 0 0 .3rem; font-size: 1.15rem; text-transform: uppercase; }
.card__meta { font-size: .9rem; margin: 0 0 .15rem; color: #e8f0ee; }
.card__price { font-weight: 700; margin: .4rem 0 .9rem; font-size: 1.05rem; }
.card__price small { font-weight: 500; font-size: .78rem; opacity: .85; }
@media (hover: hover) {
  .card:hover { transform: translateY(-10px); box-shadow: 0 22px 44px rgba(15, 40, 30, .28); }
  .card:hover .card__img { transform: scale(1.06); }
}
@media (min-width: 760px) {
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 1.4rem; }
  .cards > li { max-width: none; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; counter-reset: s; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
}
.steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--brand); color: #fff; font: 800 1rem var(--f-display); margin-bottom: .8rem;
}
.steps p { color: var(--muted); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Safety placeholders ---------- */
.ph-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.ph {
  border: 2px dashed #8ca090; border-radius: var(--radius); padding: 1.3rem; background: rgba(255,255,255,.55);
}
.ph p { margin: 0; color: var(--muted); }
.ph strong { color: var(--brand); }
@media (min-width: 760px) { .ph-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ph-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Quiz (dark band) ---------- */
.quiz { background: var(--ink-2); color: #fff; }
.quiz .kicker { color: #9fd3c7; }
.quiz__box {
  max-width: 640px; margin-top: 2rem; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2rem);
}
.step { border: 0; padding: 0; margin: 0 0 1.6rem; min-width: 0; }
.step legend { font: 800 1.05rem/1.3 var(--f-display); padding: 0; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1.1rem; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.4); font-weight: 600; transition: background-color .15s, color .15s;
}
.opt input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.opt input:focus-visible + span { outline: 3px solid #ffb347; outline-offset: 3px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input {
  width: 100%; min-height: 48px; padding: .6rem .9rem; border-radius: 12px; border: 2px solid #fff;
  font: 1rem var(--f-body); color: var(--text); background: #fff;
}
.hint { font-size: .85rem; color: #cfe0dc; margin: .3rem 0 0; }
.step__nav { display: none; gap: .75rem; align-items: center; margin-top: 1.4rem; }
.js .step__nav { display: flex; }
.btn--ghost-dark { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.12); }
.progress { display: none; margin-bottom: 1.4rem; }
.js .progress { display: block; }
.progress p { font-size: .85rem; margin: 0 0 .4rem; color: #cfe0dc; font-weight: 600; }
.progress__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 20%; background: #9fd3c7; transition: width .3s ease; }
.js .step { display: none; margin: 0; }
.js .step.is-active { display: block; }
.error { color: #ffd0c2; font-weight: 600; min-height: 1.4em; margin: .8rem 0 0; }
.quiz__thanks { text-align: left; }
.quiz__thanks h3 { font-size: 1.4rem; text-transform: uppercase; }
.quiz__fine { font-size: .85rem; color: #cfe0dc; margin-top: 1rem; }

/* ---------- Reviews placeholder ---------- */
.empty {
  border: 2px dashed #8ca090; border-radius: var(--radius); background: rgba(255,255,255,.6);
  padding: clamp(1.6rem, 5vw, 3rem); text-align: center; margin-top: 2rem;
}
.empty h3 { text-transform: uppercase; margin-bottom: .4rem; }
.empty p { color: var(--muted); margin: 0 auto; max-width: 34rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-top: 2rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: .75rem; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1.1rem 3rem 1.1rem 1.2rem; list-style: none; position: relative; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--brand); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #dbe7e3; padding: 3rem 0 6rem; }
.footer .brand { color: #fff; }
.footer__grid { display: grid; gap: 2rem; }
.footer h3 { font-size: .8rem; letter-spacing: .14em; color: #9fd3c7; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .4rem; }
.footer a { text-underline-offset: 3px; }
.footer__fine { margin-top: 2rem; font-size: .85rem; color: #a9bdb7; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: .6rem 1.1rem;
  background: var(--wa); color: #fff; border-radius: 999px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.float-wa svg { width: 22px; height: 22px; flex: none; }

/* ---------- Motion (JS adds .js) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__layer, .hero__content { transform: none !important; }
}

/* ---------- Featured trip ---------- */
.feature { display: grid; gap: 1.2rem; margin: 1.5rem 0 2.5rem; }
.feature__main, .included { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.feature__meta { margin: 0 0 .3rem; color: var(--muted); font-weight: 600; }
.feature__price { font: 800 clamp(1.8rem, 6vw, 2.6rem)/1.1 var(--f-display); color: var(--brand); margin: .2rem 0 .6rem; }
.feature__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.2rem; }
.feature .btn--wa { background: #e8f3ea; border: 2px solid #b9d6c0; }
.included h3 { text-transform: uppercase; }
.included__list { margin: 0 0 1rem; padding-left: 1.2rem; }
.included__list li { margin-bottom: .3rem; }
.included__todo { margin: 0; color: var(--muted); font-size: .95rem; border-top: 1px dashed #8ca090; padding-top: .8rem; }
.subhead { margin-top: 2rem; text-transform: uppercase; font-size: 1.1rem; }
.cards + .subhead { margin-top: 2.2rem; }
.days { margin: 1rem 0 0; padding-left: 0; list-style: none; color: var(--muted); columns: 1; }
.days li { margin-bottom: .35rem; }
@media (min-width: 760px) {
  .feature { grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .days { columns: 2; }
}

/* ---------- Four stop cards + second trip ---------- */
@media (min-width: 760px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.trip2 {
  display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 1rem; transition: transform .3s ease, box-shadow .3s ease;
}
.trip2__img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; background: var(--brand); }
.trip2__body { padding: 1.3rem 1.4rem 1.5rem; }
.trip2__body h3 { text-transform: uppercase; margin-bottom: .5rem; }
.trip2__line { margin: 0 0 .25rem; color: var(--muted); }
.trip2__body .btn { margin-top: .8rem; background: #e8f3ea; border: 2px solid #b9d6c0; }
@media (min-width: 760px) { .trip2 { grid-template-columns: 1fr 1.2fr; } .trip2__img { height: 100%; aspect-ratio: auto; } }
@media (hover: hover) { .trip2:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(15, 40, 30, .18); } }
