/* ============================================================
   Landing funnel — Ciénaga Mágica
   Estilos propios de la página de conversión (independientes de
   public/css/app.css para no arrastrar el diseño del sitio viejo).
   ============================================================ */

:root {
    --navy: #2C3E50;
    --navy-700: #22303d;
    --orange: #E67E22;
    --orange-dark: #cf6d15;
    --gold: #F1C40F;
    --blue: #3498DB;
    --sand: #F7F4EF;
    --ink: #1d2a35;
    --muted: #5b6b78;
    --line: #e2e8ee;
    --white: #ffffff;
    --radius: 18px;
    --shadow-sm: 0 2px 8px rgba(44, 62, 80, .08);
    --shadow-md: 0 10px 30px rgba(44, 62, 80, .12);
    --shadow-lg: 0 24px 60px rgba(44, 62, 80, .18);
    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Quicksand', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    letter-spacing: -.02em;
}

a { color: inherit; }

.wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .98rem;
    padding: 15px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
    color: #3a2a12;
    box-shadow: 0 12px 28px rgba(230, 126, 34, .34);
}
.btn--primary:hover { box-shadow: 0 16px 34px rgba(230, 126, 34, .44); }
.btn--ghost {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
    backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--wa {
    background: #25D366;
    color: #073b1c;
    box-shadow: 0 12px 28px rgba(37, 211, 102, .3);
}
.btn--dark { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-head {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-head__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; height: 68px;
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo__mark { height: 40px; width: auto; }
.logo__text {
    font-family: var(--font-head); font-weight: 800; font-size: 1.06rem;
    line-height: 1; letter-spacing: -.02em; color: var(--navy);
}
.logo__text em { font-style: normal; color: var(--orange); }
.logo__lockup { height: 58px; width: auto; }
@media (min-width: 900px) {
    .logo__mark { height: 44px; }
    .logo__text { font-size: 1.16rem; }
}
.head-nav { display: none; gap: 26px; }
.head-nav a {
    font-family: var(--font-head); font-size: .86rem; font-weight: 600;
    color: var(--navy); text-decoration: none; opacity: .8;
}
.head-nav a:hover { opacity: 1; color: var(--orange); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.head-actions .btn { padding: 11px 18px; font-size: .86rem; }
.head-wa { display: none; }

@media (min-width: 900px) {
    .head-nav { display: flex; }
    .head-wa { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 70px 0 60px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    transform: scale(1.02);
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(20, 33, 45, .92) 0%, rgba(20, 33, 45, .78) 45%, rgba(20, 33, 45, .35) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 660px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: .74rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--gold);
    background: rgba(241, 196, 15, .12);
    border: 1px solid rgba(241, 196, 15, .35);
    padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(2.1rem, 5.2vw, 3.5rem);
    font-weight: 800;
    text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub {
    margin: 20px 0 30px;
    font-size: clamp(1rem, 1.6vw, 1.16rem);
    color: rgba(255, 255, 255, .9);
    max-width: 52ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.trust {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    margin-top: 34px; padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: .88rem; color: rgba(255, 255, 255, .88);
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust i { color: var(--gold); }

/* ---------- Secciones ---------- */
section { scroll-margin-top: 80px; }
.block { padding: 72px 0; }
.block--sand { background: var(--sand); }
.block__head { max-width: 680px; margin-bottom: 40px; }
.block__head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--navy); }
.block__head p { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.kicker {
    display: block; font-family: var(--font-head); font-size: .74rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}

/* ---------- Dolor ---------- */
.pain {
    background: var(--navy);
    color: #fff;
    padding: 54px 0;
}
.pain__grid { display: grid; gap: 26px; }
.pain h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: 14px; }
.pain p { color: rgba(255, 255, 255, .78); }
.pain__list { list-style: none; display: grid; gap: 12px; }
.pain__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.92); }
.pain__list i { color: #ff8a65; margin-top: 5px; }
@media (min-width: 860px) { .pain__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.benefit {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 22px; box-shadow: var(--shadow-sm);
}
.benefit i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px;
    background: rgba(52, 152, 219, .12); color: var(--blue); font-size: 1.1rem;
}
.benefit h3 { font-size: 1.04rem; color: var(--navy); margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .94rem; }

/* ---------- Oferta ---------- */
.tours { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.tour {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.tour:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tour__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.tour__img img { width: 100%; height: 100%; object-fit: cover; }
.tour__tag {
    position: absolute; top: 12px; left: 12px;
    background: rgba(44, 62, 80, .9); color: #fff;
    font-family: var(--font-head); font-size: .68rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px;
}
.tour__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tour h3 { font-size: 1.14rem; color: var(--navy); }
.tour__desc { color: var(--muted); font-size: .93rem; flex: 1; }
.tour__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--muted); }
.tour__meta span { display: inline-flex; align-items: center; gap: 6px; }
.tour__meta i { color: var(--orange); }
.tour__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.tour__price { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.16rem; }
.tour__price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 22px; counter-reset: paso; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 28px 22px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
    counter-increment: paso; content: counter(paso);
    position: absolute; top: -18px; left: 22px;
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--navy); color: #fff;
    font-family: var(--font-head); font-weight: 800;
    box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1rem; color: var(--navy); margin: 8px 0 8px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Prueba social ---------- */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.quote {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.quote__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.quote p { color: var(--ink); font-size: .96rem; }
.quote footer { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--navy); color: #fff;
    font-family: var(--font-head); font-weight: 700;
}
.quote__name { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--navy); }
.quote__where { font-size: .8rem; color: var(--muted); }
.proof-stats {
    display: grid; gap: 14px; margin-top: 34px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    text-align: center;
}
.proof-stats div { padding: 18px 10px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.proof-stats strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--orange); }
.proof-stats span { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.faq summary {
    cursor: pointer; font-family: var(--font-head); font-weight: 700;
    color: var(--navy); font-size: .98rem; list-style: none;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: .94rem; }

/* ---------- Formulario ---------- */
.lead { position: relative; overflow: hidden; }
.lead::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(160deg, var(--navy) 0%, #16222d 100%);
}
.lead .wrap { position: relative; z-index: 2; }
.lead__grid { display: grid; gap: 40px; }
.lead__copy { color: #fff; }
.lead__copy h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
.lead__copy p { margin-top: 14px; color: rgba(255, 255, 255, .8); }
.lead__bullets { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.lead__bullets li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .92); font-size: .95rem; }
.lead__bullets i { color: var(--gold); margin-top: 4px; }

.lead__card {
    background: #fff; border-radius: 20px; padding: 28px;
    box-shadow: var(--shadow-lg);
}
.lead__card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 4px; }
.lead__card .hint { color: var(--muted); font-size: .86rem; margin-bottom: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--font-head); font-size: .78rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.field input, .field select, .field textarea {
    width: 100%; font-family: var(--font-body); font-size: .96rem;
    color: var(--ink); background: #fff;
    border: 1.5px solid var(--line); border-radius: 12px;
    padding: 13px 14px; transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, .14);
}
.field textarea { resize: vertical; min-height: 92px; }
.field .err { color: #c0392b; font-size: .82rem; font-weight: 600; }
.grid2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-alert {
    background: #fdecea; color: #922b21; border-radius: 12px;
    padding: 12px 14px; font-size: .88rem; margin-bottom: 16px;
}
.success {
    background: #eafaf1; border: 1px solid #b7e4c7; border-radius: 20px;
    padding: 32px 28px; text-align: center;
}
.success i { font-size: 2.4rem; color: #27ae60; }
.success h3 { color: var(--navy); margin: 14px 0 8px; font-size: 1.2rem; }
.success p { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }

@media (min-width: 940px) {
    .lead__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
}

/* ---------- Footer ---------- */
.site-foot { background: #16222d; color: rgba(255, 255, 255, .72); padding: 46px 0 90px; font-size: .88rem; }
.site-foot__grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-foot h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot .logo__lockup { height: 56px; }
.site-foot__social { display: flex; gap: 12px; margin-top: 14px; }
.site-foot__social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08);
}
.site-foot__bottom {
    margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
    font-size: .8rem; color: rgba(255, 255, 255, .55);
}

/* ---------- Flotantes ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 82px; z-index: 70;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25D366; color: #fff; font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
    text-decoration: none;
}
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    display: flex; gap: 10px; padding: 10px 14px;
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
}
.sticky-cta .btn { flex: 1; padding: 13px 14px; font-size: .88rem; white-space: nowrap; }
.hide-sm { display: none; }

@media (min-width: 900px) {
    .wa-float { bottom: 24px; width: 60px; height: 60px; }
    .hide-sm { display: inline; }
    .sticky-cta { display: none; }
    .site-foot { padding-bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover, .tour:hover { transform: none; }
}
