/* =========================================================
   Ruta Chapina — excursiones en grupo (demo de Atom Tecnología)
   Paleta: verde bosque, naranja atardecer y arena; letras Bricolage Grotesque e Inter
   ========================================================= */
:root {
    --night: #0f1f1a;
    --night-2: #17302a;
    --forest: #1e4a3d;
    --sun: #f26b1f;
    --sun-dark: #d6560e;
    --sun-soft: #fdeee4;
    --sand: #f7f2ea;
    --sand-2: #efe7da;
    --ink: #16211d;
    --ink-soft: #5b6a63;
    --line: rgba(22, 33, 29, .12);
    --ok: #2f8f5b;
    --low: #e0661a;
    --out: #9aa39f;
    --whatsapp: #25d366;
    --error: #c0392b;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 12px -6px rgba(15, 31, 26, .2);
    --shadow: 0 26px 50px -26px rgba(15, 31, 26, .45);
    --nav-h: 78px;
    --font-title: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
    margin: 0; background: #fff; color: var(--ink);
    font-family: var(--font-body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.08; letter-spacing: -.025em; margin: 0; }
p, figure, blockquote { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--sun); color: #fff; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

/* ===== Botones ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
    font-weight: 600; font-size: .97rem; line-height: 1.2; white-space: nowrap;
    transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn--sun { background: var(--sun); color: #fff; box-shadow: 0 12px 26px -12px rgba(242, 107, 31, .9); }
.btn--sun:hover { background: var(--sun-dark); }
.btn--glass { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: var(--forest); }
.btn--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--sun); color: var(--sun-dark); }
.btn--whatsapp { background: var(--whatsapp); color: #06381c; }
.btn--whatsapp:hover { background: #1fbe5b; }
.btn--sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.round-btn {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: background .2s, border-color .2s, opacity .2s;
}
.round-btn:hover:not(:disabled) { border-color: var(--sun); color: var(--sun-dark); }
.round-btn:disabled { opacity: .35; cursor: not-allowed; }
.round-btn--glass { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); }
.round-btn--glass:hover:not(:disabled) { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .22); }

.eyebrow { margin-bottom: .8rem; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-dark); }
.eyebrow--sun { color: var(--sun); }

/* ===== Navegación ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.nav.is-solid, .nav.is-menu-open { background: rgba(255, 255, 255, .96); color: var(--ink); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__icon { width: 36px; height: 36px; padding: 6px; border-radius: 10px; background: var(--sun); color: #fff; }
.logo__text { display: grid; font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; line-height: 1; letter-spacing: -.03em; }
.logo__text small { margin-top: 4px; font-family: var(--font-body); font-weight: 600; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-weight: 600; font-size: .94rem; }
.nav__links > a:not(.btn) { opacity: .85; transition: opacity .2s, color .2s; }
.nav__links > a:not(.btn):hover { opacity: 1; color: var(--sun); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Portada: carrusel de destinos ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 920px; overflow: hidden; background: var(--night); color: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s ease-out; }
.hero-slide.is-active .hero-slide__img { transform: scale(1); }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10, 20, 16, .82) 0%, rgba(10, 20, 16, .45) 50%, rgba(10, 20, 16, .05) 100%),
                linear-gradient(0deg, rgba(10, 20, 16, .75) 0%, transparent 45%);
}
.hero-slide__content { position: relative; z-index: 1; padding-bottom: 150px; }
.hero-slide__content > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hero-slide.is-active .hero-slide__content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-slide__content > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-slide__content > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-slide__content > :nth-child(4) { transition-delay: .36s; }
.hero-slide__kicker {
    display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px);
    font-weight: 600; font-size: .88rem;
}
.hero-slide__kicker .icon { color: var(--sun); }
.hero-slide__title { max-width: 14ch; margin-top: 1.2rem; font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hero-slide__title span { color: var(--sun); }
.hero-slide__text { max-width: 34rem; margin-top: 1.2rem; font-size: 1.12rem; color: rgba(255, 255, 255, .85); }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.hero__dots { display: flex; gap: .6rem; }
.hero__dot { position: relative; width: 56px; height: 4px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .3); cursor: pointer; }
.hero__dot::before { content: ''; position: absolute; inset: -12px 0; }
.hero__dot-fill { position: absolute; inset: 0; width: 0; background: #fff; }
.hero__dot.is-active .hero__dot-fill { width: 100%; }
.hero.is-playing .hero__dot.is-active .hero__dot-fill { animation: progress var(--slide-time, 7s) linear forwards; }
.hero__arrows { display: flex; gap: .6rem; }

/* ===== Confianza ===== */
.trust { position: relative; z-index: 3; margin-top: -1px; background: var(--night); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: .9rem; padding: 1.6rem 1.2rem; border-left: 1px solid rgba(255, 255, 255, .1); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(242, 107, 31, .16); color: var(--sun); }
.trust__item strong { display: block; font-size: .98rem; }
.trust__item span { font-size: .86rem; color: rgba(255, 255, 255, .65); }

/* ===== Secciones ===== */
.section { padding: 104px 0; }
.section--sand { background: var(--sand); }
.section--night { background: var(--night); color: #fff; }
.section__head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; margin-bottom: 2rem; text-align: left; }
.section__head--split .section__text { max-width: 26rem; margin: 0; }
.section__title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.section__title span { color: var(--sun); }
.section__text { margin-top: 1rem; font-size: 1.06rem; color: var(--ink-soft); }
.section--night .section__text { color: rgba(255, 255, 255, .72); }

/* ===== Filtros y salidas ===== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filter {
    display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
    border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--sun); }
.filter.is-active { border-color: var(--night); background: var(--night); color: #fff; }

.trips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.trip { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.trip:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.trip__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.trip__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.trip:hover .trip__media img { transform: scale(1.06); }
.trip__date {
    position: absolute; top: 14px; right: 14px; display: grid; justify-items: center; min-width: 58px; padding: .45rem .5rem .4rem;
    border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .74rem; text-transform: uppercase; color: var(--ink-soft); line-height: 1.1;
}
.trip__date strong { font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.trip__tags { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .76rem; font-weight: 700; backdrop-filter: blur(6px); }
.tag--camp { background: var(--sun); color: #fff; }
.trip__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.trip__place { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; font-weight: 600; color: var(--ink-soft); }
.trip__place .icon { color: var(--sun); }
.trip__name { margin-top: .3rem; font-size: 1.4rem; font-weight: 700; }
.trip__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .7rem; font-size: .88rem; color: var(--ink-soft); }
.trip__meta > span { display: inline-flex; align-items: center; gap: .35rem; }
.difficulty { display: inline-flex; align-items: center; gap: .45rem; }
.difficulty__bars { display: inline-flex; gap: 3px; }
.difficulty__bars i { width: 6px; height: 14px; border-radius: 2px; background: var(--sand-2); }
.difficulty__bars[data-level="1"] i:nth-child(-n + 1),
.difficulty__bars[data-level="2"] i:nth-child(-n + 2),
.difficulty__bars[data-level="3"] i { background: var(--sun); }

.seats { margin-top: 1.1rem; }
.seats__bar { height: 6px; border-radius: 6px; background: var(--sand-2); overflow: hidden; }
.seats__bar span { display: block; height: 100%; border-radius: 6px; background: var(--ok); }
.seats__label { display: block; margin-top: .4rem; font-size: .84rem; font-weight: 700; color: var(--ok); }
.seats--low .seats__bar span { background: var(--low); }
.seats--low .seats__label, .seats__label.seats--low { color: var(--low); }
.seats--out .seats__bar span { background: var(--out); }
.seats--out .seats__label, .seats__label.seats--out { color: var(--out); }
.seats__label.seats--ok { color: var(--ok); }
.trip__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.2rem; }
.trip__price { font-size: .86rem; color: var(--ink-soft); }
.trip__price strong { display: block; font-family: var(--font-title); font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.trip.is-sold-out .trip__media img { filter: grayscale(.85); }

/* ===== Acampar ===== */
.camp { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.camp__perks { display: grid; gap: .9rem; margin-top: 1.8rem; }
.camp__perks li { display: flex; align-items: center; gap: .8rem; color: rgba(255, 255, 255, .88); }
.camp__perks .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(242, 107, 31, .16); color: var(--sun); }
.camp__photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; }

.tents { margin-top: 4.5rem; }
.tents__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.tents__title { font-size: 1.6rem; font-weight: 700; }
.tents__arrows { display: flex; gap: .6rem; }
.tents__arrows .round-btn { border-color: rgba(255, 255, 255, .25); background: transparent; color: #fff; }
.tents__arrows .round-btn:hover:not(:disabled) { border-color: var(--sun); color: var(--sun); }
.tents__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.4rem) / 3); gap: 1.4rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px;
}
.tents__track::-webkit-scrollbar { display: none; }
.tent { display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start; border-radius: var(--radius); background: var(--night-2); border: 1px solid rgba(255, 255, 255, .08); }
.tent__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.tent__media img { width: 100%; height: 100%; object-fit: cover; }
.tent__badge { position: absolute; top: 14px; left: 14px; padding: .28rem .75rem; border-radius: 999px; background: var(--sun); color: #fff; font-size: .76rem; font-weight: 700; }
.tent__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.tent__top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.tent__name { font-size: 1.3rem; font-weight: 700; }
.tent__capacity { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.tent__includes { display: grid; gap: .35rem; margin-top: .9rem; font-size: .92rem; color: rgba(255, 255, 255, .72); }
.tent__includes li { display: flex; gap: .55rem; }
.tent__includes li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--sun); }
.tent__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.3rem; }
.tent__price { font-size: .84rem; color: rgba(255, 255, 255, .65); }
.tent__price strong { display: block; font-family: var(--font-title); font-size: 1.45rem; font-weight: 800; color: #fff; line-height: 1.1; }
.tents__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.6rem; }
.tents__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .25); cursor: pointer; transition: width .3s, background .3s; }
.tents__dot.is-active { width: 28px; background: var(--sun); }

/* ===== El encargado ===== */
.guide { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: center; }
.guide__media { position: relative; padding: 0 0 70px 70px; }
.guide__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.guide__group { position: absolute; left: 0; bottom: 0; width: 55%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 6px solid #fff; border-radius: 22px; box-shadow: var(--shadow); }
.guide__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding: 1.4rem 0; border-block: 1px solid var(--line); }
.guide__stats dt { font-size: .84rem; color: var(--ink-soft); }
.guide__stats dd { order: -1; font-family: var(--font-title); font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; color: var(--sun-dark); line-height: 1.1; }
.guide__stats div { display: flex; flex-direction: column; }
.guide__promises { display: grid; gap: .8rem; margin: 1.8rem 0 2rem; }
.guide__promises li { display: flex; gap: .7rem; }
.guide__promises .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sun-soft); color: var(--sun-dark); }

/* ===== Pasos ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { padding: 1.8rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--font-title); font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: var(--sun); line-height: 1; }
.step h3 { margin-top: 1rem; font-size: 1.2rem; font-weight: 700; }
.step p { margin-top: .5rem; font-size: .95rem; color: var(--ink-soft); }

/* ===== Reservar ===== */
.booking { display: grid; grid-template-columns: 1.2fr 400px; gap: 3rem; align-items: start; }
.booking__form { display: grid; gap: 1.4rem; }
.booking__head { margin-bottom: .4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field__label { padding: 0; font-weight: 600; font-size: .92rem; }
.field__label small { font-weight: 400; color: var(--ink-soft); }
.field__hint { font-size: .84rem; color: var(--ink-soft); }
.field input, .field select {
    width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.field select {
    appearance: none; padding-right: 2.8rem; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d6560e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 18px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(242, 107, 31, .15); }

.stepper { display: inline-flex; align-items: center; justify-self: start; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.stepper__btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--sun-dark); }
.stepper__btn:disabled { color: var(--out); cursor: not-allowed; }
.stepper__value { min-width: 44px; text-align: center; font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; }

.tent-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .6rem; }
.tent-option { position: relative; cursor: pointer; }
.tent-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tent-option__box { display: grid; gap: .15rem; height: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, background .2s; }
.tent-option__box strong { font-size: .95rem; }
.tent-option__box small { font-size: .82rem; color: var(--ink-soft); }
.tent-option input:checked + .tent-option__box { border-color: var(--sun); background: var(--sun-soft); }
.tent-option input:focus-visible + .tent-option__box { outline: 3px solid var(--sun); outline-offset: 2px; }

.summary { position: sticky; top: calc(var(--nav-h) + 16px); overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.summary__media img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.summary__body { padding: 1.5rem; }
.summary__title { font-size: 1.4rem; font-weight: 700; }
.summary__date { margin-top: .2rem; font-size: .9rem; color: var(--ink-soft); }
.summary__lines { display: grid; gap: .5rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .93rem; }
.summary__lines div { display: flex; justify-content: space-between; gap: 1rem; }
.summary__lines dt { color: var(--ink-soft); }
.summary__lines dd { font-weight: 600; white-space: nowrap; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; }
.summary__total strong { font-family: var(--font-title); font-size: 1.6rem; font-weight: 800; }
.summary__deposit { margin-top: 1rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--sun-soft); }
.summary__deposit div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; font-size: .92rem; }
.summary__deposit strong { font-family: var(--font-title); font-size: 1.4rem; font-weight: 800; color: var(--sun-dark); }
.summary__deposit p { margin-top: .2rem; font-size: .85rem; color: var(--ink-soft); }
.form-error { min-height: 1.4em; margin: .9rem 0 .5rem; font-weight: 600; font-size: .9rem; color: var(--error); }
.summary__note { margin-top: .8rem; font-size: .8rem; text-align: center; color: var(--ink-soft); }

/* ===== Galería ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; left: 12px; bottom: 12px; padding: .35rem .8rem; border-radius: 999px; background: rgba(15, 31, 26, .65); color: #fff; font-size: .84rem; font-weight: 600; backdrop-filter: blur(6px); }

/* ===== Opiniones ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); }
.review__stars { color: var(--sun); letter-spacing: 3px; }
.review p { flex: 1; font-size: 1.04rem; }
.review footer { display: grid; font-size: .9rem; color: var(--ink-soft); }
.review footer strong { color: var(--ink); }

/* ===== Preguntas ===== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq__head .btn { margin-top: 1.6rem; }
.faq__list { display: grid; gap: .8rem; }
.faq__item { border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun-soft); color: var(--sun-dark); font-size: 1.2rem; transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ===== Detalle de la salida ===== */
.trip-dialog {
    width: min(760px, 100% - 24px); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: 24px; overflow-y: auto;
    background: #fff; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}
.trip-dialog::backdrop { background: rgba(10, 20, 16, .65); backdrop-filter: blur(4px); }
.trip-dialog[open] { animation: dialog-in .3s ease; }
.trip-dialog__close { position: sticky; top: 14px; z-index: 2; float: right; display: grid; place-items: center; width: 42px; height: 42px; margin: 14px 14px -56px 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.trip-dialog__img { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.trip-dialog__body { display: grid; gap: 1.6rem; padding: 1.8rem 2rem 2rem; }
.trip-dialog__title { margin-top: .2rem; font-size: 2rem; font-weight: 800; }
.trip-dialog__summary { margin-top: .6rem; color: var(--ink-soft); }
.trip-dialog__body h3 { margin-bottom: .8rem; font-size: 1.1rem; font-weight: 700; }
.trip-dialog__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.trip-dialog__facts li { display: flex; gap: .7rem; padding: .9rem 1rem; border-radius: 14px; background: var(--sand); }
.trip-dialog__facts .icon { color: var(--sun-dark); margin-top: .15rem; }
.trip-dialog__facts span { display: grid; font-size: .8rem; color: var(--ink-soft); }
.trip-dialog__facts strong { font-size: .93rem; color: var(--ink); }
.trip-dialog__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.check-list { display: grid; gap: .45rem; font-size: .93rem; }
.check-list li { display: flex; gap: .55rem; }
.check-list .icon { margin-top: .2rem; color: var(--ok); }
.check-list--muted .icon { color: var(--sun-dark); }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--sand-2); margin-left: .4rem; }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: .8rem; padding: 0 0 .9rem 1.2rem; font-size: .93rem; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--sun); }
.timeline strong { font-weight: 700; }
.trip-dialog__return { margin-top: .2rem; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.trip-dialog__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* ===== Pie ===== */
.footer { padding: 2.4rem 0; background: var(--night); color: rgba(255, 255, 255, .62); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer .logo { color: #fff; }

/* Franja de Atom Tecnología */
.demo-strip { padding: .9rem 0 6.5rem; background: #111418; color: #c9d1d9; font-size: .88rem; }
.demo-strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.demo-strip a { color: #3ddc97; font-weight: 600; }
.demo-strip__cta { padding: .4rem .9rem; border: 1px solid rgba(61, 220, 151, .45); border-radius: 999px; }

/* ===== Botón flotante ===== */
.book-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem;
    padding: .9rem 1.35rem; border-radius: 999px; background: var(--sun); color: #fff; font-weight: 700;
    box-shadow: 0 16px 32px -12px rgba(242, 107, 31, .9); transition: transform .3s, opacity .3s;
}
.book-fab:hover { background: var(--sun-dark); }
.book-fab.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ===== Aparición al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
    .trips, .reviews { grid-template-columns: 1fr 1fr; }
    .tents__track { grid-auto-columns: calc((100% - 1.4rem) / 2); }
    .steps { grid-template-columns: 1fr 1fr; }
    .booking { grid-template-columns: 1fr 360px; gap: 2rem; }
    .guide, .camp, .faq { gap: 2.5rem; }
    .trust__grid { grid-template-columns: 1fr 1fr; }
    .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
    .trust__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 960px) {
    .nav__toggle { display: flex; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem 20px 1.2rem; background: #fff; color: var(--ink); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
    }
    .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__links > a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; opacity: 1; }
    .nav__links .btn { margin-top: 1rem; }
    .camp, .guide, .faq, .booking { grid-template-columns: 1fr; }
    .summary { position: static; }
    .guide__media { max-width: 520px; }
    .section__head--split { flex-direction: column; align-items: flex-start; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
}

@media (max-width: 640px) {
    .section { padding: 76px 0; }
    .hero { min-height: 640px; }
    .hero-slide__content { padding-bottom: 130px; }
    .hero-slide__actions .btn { flex: 1; padding-inline: 1rem; }
    .hero__controls { bottom: 32px; }
    .hero__dot { width: 36px; }
    .hero__arrows { display: none; }
    .trust__grid { grid-template-columns: 1fr; }
    .trust__item, .trust__item:nth-child(3) { padding: 1.1rem 0; border-left: 0; }
    .trust__item:nth-child(n + 2) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .trips, .reviews, .steps, .form-grid { grid-template-columns: 1fr; }
    .tents__track { grid-auto-columns: 86%; gap: 1rem; }
    .tents__arrows { display: none; }
    .guide__media { padding: 0 0 50px 40px; }
    .gallery { grid-auto-rows: 150px; }
    .gallery__item--tall { grid-row: span 1; }
    .trip-dialog__body { padding: 1.4rem 1.3rem 1.6rem; }
    .trip-dialog__facts, .trip-dialog__cols { grid-template-columns: 1fr; }
    .trip-dialog__foot { flex-direction: column; align-items: stretch; }
    .timeline li { grid-template-columns: 1fr; gap: 0; }
    .footer__inner, .demo-strip__inner { flex-direction: column; text-align: center; }
}

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