/* Plus Jakarta Sans, SIL Open Font License. See /fonts/OFL.txt. Latin subset. */

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #1c1917;
    --muted: #44403c;
    --line: #f0e4d8;
    --orange: #9a3412;
    --teal: #115e59;
    --amber: #92400e;
    --paper: #fff7ed;
    --cream: #fffbf7;
    --night: #1c1410;
    --shadow: 0 18px 40px rgba(124, 45, 18, 0.14);
    --radius: 1.25rem;
    --max: 74rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
}

img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal); }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.hero :focus-visible,
.site-footer :focus-visible,
#como-funciona :focus-visible,
.contact-band :focus-visible { outline-color: #fdba74; }

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 50;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 251, 247, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.5rem;
    padding-block: 0.45rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-right: auto;
    color: var(--ink);
    text-decoration: none;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    background: linear-gradient(145deg, #c2410c, #9a3412 55%, #115e59);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(154, 52, 18, 0.28);
}
.brand-name { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.nav-desktop { display: none; }
.nav-desktop a, .nav-mobile a { color: var(--ink); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-mobile { position: relative; }
.nav-mobile .nav-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    display: none;
    width: min(18rem, 80vw);
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow);
}
.nav-mobile[open] .nav-panel { display: grid; gap: 0.25rem; }
.nav-panel a { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0.75rem; border-radius: 0.7rem; }
.nav-panel a:hover { background: var(--paper); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary { background: linear-gradient(135deg, #c2410c, #9a3412); color: #fff; box-shadow: 0 10px 24px rgba(154, 52, 18, 0.28); }
.btn-primary:hover { background: #7c2d12; }
.btn-secondary { border-color: #fed7aa; background: #fff; color: #7c2d12; }
.btn-secondary:hover { background: var(--paper); }
.btn-ghost { border-color: #fed7aa; background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { cursor: progress; }
a.header-login { display: none; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 2.6rem 0 3.4rem;
    color: #fff7ed;
    background: linear-gradient(145deg, #1c1410 0%, #3f1d12 46%, #7c2d12 74%, #134e4a 100%);
}
.aurora { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; animation: drift 16s ease-in-out infinite alternate; }
.blob-a { width: 34rem; height: 34rem; right: -8rem; top: -10rem; background: radial-gradient(circle, rgba(234, 88, 12, 0.85), transparent 68%); }
.blob-b { width: 26rem; height: 26rem; right: 8%; bottom: -10rem; background: radial-gradient(circle, rgba(15, 118, 110, 0.8), transparent 68%); animation-duration: 19s; }
.blob-c { width: 18rem; height: 18rem; left: 46%; top: 8%; background: radial-gradient(circle, rgba(245, 158, 11, 0.5), transparent 68%); animation-duration: 22s; }
.hero-grid, .hero-copy, .hero-stage { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 1.75rem; }
.eyebrow { margin: 0 0 0.75rem; color: var(--orange); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .eyebrow,
#como-funciona .eyebrow,
.contact-band .eyebrow { color: #ffedd5; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0.85rem; font-size: clamp(2.2rem, 7vw, 4.15rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.lead { max-width: 40rem; margin-bottom: 0.75rem; font-size: 1.12rem; line-height: 1.55; color: #ffedd5; }
.support { color: #fde68a; }
.hero-actions, .fact-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-actions { margin: 1.4rem 0 1.1rem; }
.hero .btn-secondary { background: #fff; color: #7c2d12; }
.fact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.4rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(28, 20, 16, 0.45);
    color: #fff7ed;
    font-size: 0.86rem;
    font-weight: 700;
}
.fact i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #5eead4; }
.hero-stage { position: relative; min-height: 12rem; }
.browser {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.15rem;
    background: #1c1410;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.hero .browser { transform: perspective(1400px) rotateY(-7deg) rotateX(4deg); }
.browser-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
    color: #ffedd5;
    font-size: 0.78rem;
    font-weight: 700;
}
.browser-top span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #fdba74; }
.browser-top span:nth-child(2) { background: #5eead4; }
.browser-top span:nth-child(3) { background: #fecdd3; }
.browser-top em { margin-left: 0.35rem; font-style: normal; }
.browser img { display: block; width: 100%; height: auto; background: #fff; }
.float-shot {
    position: absolute;
    right: -0.2rem;
    bottom: -1.2rem;
    width: min(42%, 13.5rem);
    margin: 0;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 1.4rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    animation: float 7s ease-in-out infinite alternate;
    background: #111;
}
.float-shot img { display: block; width: 100%; height: auto; }
.qr-badge {
    position: absolute;
    left: -0.4rem;
    bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 11rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.9rem;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
}
.qr-badge svg { width: 2.6rem; height: 2.6rem; flex: none; }
.qr-badge p { margin: 0; font-size: 0.75rem; font-weight: 800; line-height: 1.25; }

.section { padding: 3.4rem 0; }
.section-head { max-width: 44rem; margin-bottom: 1.5rem; }
h2 { margin-bottom: 0.7rem; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; }
h3 { margin-bottom: 0.35rem; font-size: 1.05rem; letter-spacing: -0.02em; }
.section-intro, .card p, .step p, .form-note, .legal-note { color: var(--muted); }
.fine-print { margin: -0.4rem 0 1rem; color: var(--muted); font-size: 0.78rem; }
.card p, .step p { margin-bottom: 0; }

#problema {
    background:
        radial-gradient(circle at 0% 0%, rgba(194, 65, 12, 0.12), transparent 32%),
        radial-gradient(circle at 100% 10%, rgba(15, 118, 110, 0.12), transparent 34%),
        var(--paper);
}
#como-funciona {
    color: #fff7ed;
    background:
        radial-gradient(circle at 12% 0%, rgba(94, 234, 212, 0.18), transparent 28%),
        radial-gradient(circle at 90% 100%, rgba(251, 146, 60, 0.22), transparent 30%),
        linear-gradient(160deg, #1c1410, #3f1d12 58%, #134e4a);
}
#como-funciona .section-intro, #como-funciona .step p { color: #ffedd5; }
#como-funciona .eyebrow { color: #5eead4; }
#funciones { background: linear-gradient(180deg, #fff, #fff7ed 40%, #fff); }
#confianza {
    background:
        radial-gradient(circle at 0 0, rgba(15, 118, 110, 0.14), transparent 30%),
        radial-gradient(circle at 100% 0, rgba(194, 65, 12, 0.1), transparent 32%),
        #f0fdfa;
}
.gallery { background: #fff; }
#plan { background: linear-gradient(180deg, #fff, var(--paper)); }
#preguntas { background: #fff7ed; }

.grid { display: grid; gap: 0.9rem; }
.card, .step, .plan-card, .contact-card, .compare, .security-col {
    border-radius: var(--radius);
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #c2410c, #0f766e, #d97706) border-box;
    border: 1.5px solid transparent;
    color: var(--ink);
}
.card, .step, .security-col { padding: 1.1rem 1.15rem 1.15rem; }
.card:hover, .step:hover, .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card.is-soon { background: linear-gradient(#fffdf9, #fffdf9) padding-box, linear-gradient(135deg, #d97706, #9a3412) border-box; }

.steps { position: relative; margin: 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.step { position: relative; background: rgba(28, 20, 16, 0.45); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff7ed; }
.step-num {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #c2410c, #0f766e);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.group-label { display: flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 0.8rem; font-weight: 800; }
.badge { display: inline-flex; align-items: center; min-height: 1.5rem; padding: 0.1rem 0.55rem; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.badge-now { background: #ccfbf1; color: #115e59; }
.badge-soon { background: #ffedd5; color: #9a3412; }

.security-grid, .contact-grid, .plan-panels { display: grid; gap: 0.9rem; }
.security-col ul, .plan-card ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.security-col li, .plan-card li { margin: 0.4rem 0; }
.plan-card { padding: 1.25rem; }
.early-note { margin-top: 0.8rem; font-weight: 700; color: var(--ink); }
.compare { margin-top: 1rem; overflow-x: auto; background: #fff; }
table { width: 100%; border-collapse: collapse; }
caption { padding: 1rem 1rem 0; font-weight: 800; text-align: left; }
th, td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 0.92rem; }

.shot-switch {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.4rem;
    padding: 0.35rem;
    border: 0;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px #fed7aa;
}
.shot-switch input { position: absolute; opacity: 0; pointer-events: none; }
.shot-switch label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}
.shot-stage { margin-top: 1rem; }
.shot-panel { display: none; margin: 0; }
.shot-stage .shot-panel:first-child { display: block; }
.shot-panel figcaption { margin-top: 0.7rem; color: var(--muted); font-weight: 700; }
.gallery .browser { border-color: var(--line); background: #fff; box-shadow: var(--shadow); }
.gallery .browser-top { color: #1c1917; background: #fff7ed; }
@supports selector(:has(*)) {
    .shot-picker:has(input:checked) .shot-panel { display: none; }
    .shot-picker:has(#shot-fotos:checked) [data-shot="fotos"],
    .shot-picker:has(#shot-detalle:checked) [data-shot="detalle"],
    .shot-picker:has(#shot-clasica:checked) [data-shot="clasica"],
    .shot-picker:has(#shot-noche:checked) [data-shot="noche"],
    .shot-picker:has(#shot-texto:checked) [data-shot="texto"],
    .shot-picker:has(#shot-calida:checked) [data-shot="calida"],
    .shot-picker:has(#shot-marca:checked) [data-shot="marca"],
    .shot-picker:has(#shot-producto:checked) [data-shot="producto"],
    .shot-picker:has(#shot-qr:checked) [data-shot="qr"] { display: block; }
    .shot-picker:has(#shot-fotos:checked) label[for="shot-fotos"],
    .shot-picker:has(#shot-detalle:checked) label[for="shot-detalle"],
    .shot-picker:has(#shot-clasica:checked) label[for="shot-clasica"],
    .shot-picker:has(#shot-noche:checked) label[for="shot-noche"],
    .shot-picker:has(#shot-texto:checked) label[for="shot-texto"],
    .shot-picker:has(#shot-calida:checked) label[for="shot-calida"],
    .shot-picker:has(#shot-marca:checked) label[for="shot-marca"],
    .shot-picker:has(#shot-producto:checked) label[for="shot-producto"],
    .shot-picker:has(#shot-qr:checked) label[for="shot-qr"] {
        background: linear-gradient(135deg, #c2410c, #115e59);
        color: #fff;
    }
}

.faq details { border-radius: 1rem; background: #fff; border: 1px solid #fed7aa; }
.faq details + details { margin-top: 0.6rem; }
.faq details[open] {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #c2410c, #0f766e) border-box;
    border: 1.5px solid transparent;
}
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.2rem; padding: 0.9rem 1rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { background: #fff7ed; }
.faq details p { margin: 0; padding: 0 1rem 1rem; }

.contact-band {
    color: #fff7ed;
    background:
        radial-gradient(circle at 10% 0%, rgba(94, 234, 212, 0.22), transparent 26%),
        radial-gradient(circle at 90% 20%, rgba(251, 146, 60, 0.28), transparent 28%),
        linear-gradient(145deg, #3f1d12, #9a3412 48%, #134e4a);
}
.contact-band .eyebrow { color: #5eead4; }
.contact-band h2 { color: #fff; }
.contact-band .contact-copy > p, .contact-band .legal-note { color: #ffedd5; }
.contact-card {
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.contact-card h3, .contact-card p { color: var(--ink); }
.contact-card .form-note { color: var(--muted); }
.contact-copy .card { margin-top: 0.8rem; }
.contact-grid { align-items: start; }
.alert { margin-bottom: 1rem; padding: 0.9rem 1rem; border-radius: 1rem; font-weight: 650; }
.alert p, .alert ul { margin: 0.35rem 0 0; }
.alert-success { background: #ccfbf1; color: #115e59; }
.alert-error { background: #ffe4e6; color: #9f1239; }
.fields, .field-row { display: grid; gap: 0.85rem; }
label { display: block; margin-bottom: 0.35rem; font-size: 0.92rem; font-weight: 800; }
input, textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #fed7aa;
    border-radius: 0.9rem;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
}
textarea { min-height: 8rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #57534e; }
.contact-band .legal-note a { color: #fff7ed; font-weight: 800; }
.is-invalid input, .is-invalid textarea { border-color: #e11d48; background: #fff7f8; }
.field-error { margin: 0.35rem 0 0; color: #9f1239; font-size: 0.85rem; font-weight: 700; }
.turnstile { margin-top: 0.4rem; }

.site-footer { background: var(--night); color: #ffedd5; }
.footer-grid { display: grid; gap: 1.25rem; padding: 2.2rem 0 1.4rem; }
.site-footer a { color: #ffedd5; }
.site-footer p, .footer-meta { color: #e7d5c5; }
.footer-brand { color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.footer-links, .footer-legal-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding-bottom: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.88rem; }

@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(18px, -16px, 0) scale(1.06); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-8px); } }

@media (max-width: 719px) {
    .header-inner { flex-wrap: nowrap; }
    .hero .browser { transform: none; }
    .hero-stage { display: grid; gap: 1rem; }
    .float-shot, .qr-badge { position: static; width: min(16rem, 70%); margin-inline: auto; animation: none; }
    .qr-badge { width: auto; }
}
@media (min-width: 720px) {
    .problem-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field-row { grid-template-columns: 1fr 1fr; }
    .security-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
    .nav-desktop { display: flex; align-items: center; gap: 0.9rem; }
    a.header-login { display: inline-flex; }
    .nav-mobile { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr); align-items: center; }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .feature-grid.available { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .feature-grid.upcoming { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero .browser, .float-shot { transform: none; }
}
