:root {
    --ink: #0c0c0f;
    --text: #33333a;
    --muted: #6b6b74;
    --line: #e2e2de;
    --paper: #ffffff;
    --tint: #f4f4f1;
    --black: #000000;
    --wa: #1fa855;
    --rainbow: linear-gradient(90deg, #ff2bd1 0%, #8a3dff 16%, #2f7dff 32%, #12c8d6 46%, #2fd16b 60%, #ffd400 76%, #ff8a00 90%, #ff3d3d 100%);
    --skew: -10deg;
    --display: 'Montserrat', 'Segoe UI', sans-serif;
    --body: 'Hanken Grotesk', 'Segoe UI', sans-serif;
    --wrap: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    line-height: 1.08;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); letter-spacing: -.025em; text-transform: uppercase; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.015em; text-transform: uppercase; }
h3 { font-size: 1.05rem; letter-spacing: .01em; text-transform: uppercase; }

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible { outline: 3px solid #2f7dff; outline-offset: 3px; }

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

.sr, .skip:not(:focus) {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .6rem 1rem; background: #fff; color: var(--ink); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

.rainbow-line { height: 4px; background: var(--rainbow); }

/* ---------- Cabecera ---------- */

.top { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.top__logo img { width: auto; height: 60px; mix-blend-mode: screen; }

.menu { display: flex; align-items: center; gap: 2rem; font-family: var(--display); font-weight: 600; font-size: .9rem; }
.menu a { text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a[aria-current] { border-bottom-color: #fff; }
.menu .menu__wa {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border: 1.5px solid #fff; font-weight: 700;
}
.menu .menu__wa:hover { background: #fff; color: var(--black); }

.top__toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.top__toggle i { display: block; height: 2px; margin: 5px 0; background: #fff; }

/* ---------- Botones (paralelogramo, como la F del logo) ---------- */

.btn {
    display: inline-block; padding: .9rem 1.6rem;
    font-family: var(--display); font-weight: 700; font-size: .92rem;
    color: #fff; background: var(--ink); border: 2px solid var(--ink);
    text-decoration: none; cursor: pointer;
    transform: skewX(var(--skew));
    transition: background-color .15s, color .15s, translate .15s;
}
.btn > span { display: inline-flex; align-items: center; gap: .55rem; transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { translate: 0 -2px; background: #2a2a31; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); border-color: var(--wa); }
.btn--wa:hover { background: #178a45; border-color: #178a45; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: #e9e9e6; }

.actions { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; margin-left: .35rem; }

/* ---------- Portada ---------- */

.eyebrow {
    margin-bottom: 1.1rem;
    font-family: var(--display); font-weight: 700; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
    content: ''; display: inline-block; width: 22px; height: 10px; margin-right: .7rem;
    background: var(--ink); transform: skewX(-24deg);
}

.lead { font-size: 1.2rem; line-height: 1.55; max-width: 34em; }

.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero__shape {
    position: absolute; top: -10%; bottom: -10%; right: -8%; width: 46%;
    background: var(--tint); transform: skewX(-14deg);
}
.hero__shape::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -34px; width: 10px; background: var(--tint);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 em { font-style: italic; display: block; }
.hero .lead { margin: 1.5rem 0 2rem; }

.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 3rem 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 1.1rem 2rem 0 0; margin-right: 2rem; border-right: 1px solid var(--line); }
.facts div:last-child { border: 0; margin: 0; }
.facts dt { font-size: .82rem; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--ink); }

.screen { position: relative; margin: 0; justify-self: center; width: min(100%, 330px); }
.screen__frame {
    position: relative; padding: 4px; background: var(--rainbow);
    box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .55);
}
.screen__frame video { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #000; border: 8px solid #000; }
.screen figcaption { margin-top: .9rem; font-size: .85rem; color: var(--muted); text-align: center; }

/* cuadritos del logo */
.pixels { position: absolute; top: -34px; right: -44px; display: grid; grid-template-columns: repeat(3, 16px); gap: 6px; transform: skewX(-12deg); }
.pixels i { width: 16px; height: 16px; background: var(--ink); }
.pixels i:nth-child(2), .pixels i:nth-child(4), .pixels i:nth-child(9) { background: transparent; }
.pixels i:nth-child(3) { background: #ffd400; }
.pixels i:nth-child(5) { background: #ff2bd1; }
.pixels i:nth-child(7) { background: #2f7dff; }

/* ---------- Secciones ---------- */

.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec--tint { background: var(--tint); }
.sec--flush { padding-top: 0; }

.head { max-width: 42rem; margin-bottom: 2.8rem; }
.head h2 + p { margin: 1rem 0 0; font-size: 1.1rem; }

.band { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--tint); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: paso; }
.steps li { counter-increment: paso; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.steps li::before {
    content: '0' counter(paso);
    display: block; margin-bottom: .9rem;
    font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.steps h3 { margin-bottom: .5rem; }
.steps p { margin: 0; }

/* ---------- Planes ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 2.4rem 1.8rem 1.9rem; background: #fff; border: 1px solid var(--line);
    scroll-margin-top: 110px;
}
.plan::before { content: ''; position: absolute; inset: -1px -1px auto; height: 10px; background: var(--rainbow); }
.plan__name { font-size: 1.05rem; letter-spacing: .04em; }
.plan__price { margin: .6rem 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.plan__price strong { font-family: var(--display); font-weight: 800; font-size: 2.5rem; letter-spacing: -.02em; }
.plan__price span { font-family: var(--display); font-weight: 600; color: var(--muted); }
.plan__list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.plan__list li { position: relative; padding: .35rem 0 .35rem 1.5rem; }
.plan__list li::before { content: ''; position: absolute; left: 0; top: .95em; width: 10px; height: 6px; background: var(--ink); transform: skewX(-24deg); }
.plan__list b { color: var(--ink); }
.plan__note { flex: 1; font-size: .95rem; color: var(--muted); }
.plan .btn { align-self: flex-start; margin-left: .3rem; }

.fine { max-width: 48rem; margin: 2rem 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Bloques de dos columnas ---------- */

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--map { grid-template-columns: 1.15fr .85fr; }
.split h2 { margin-bottom: 1.2rem; }
.split .btn { margin-left: .3rem; }

.photo { position: relative; margin: 0; max-width: 400px; }
.photo::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--ink); }
.photo img { position: relative; width: 100%; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 2rem; padding: 0; }
.tags li { padding: .3rem .8rem; font-size: .9rem; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line); }

address { margin: 0 0 1.2rem; font-style: normal; font-weight: 500; color: var(--ink); }

.map { margin: 0; }
.map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 320px; border: 1px solid var(--line); }
.map figcaption { margin-top: .6rem; font-size: .82rem; color: var(--muted); }

/* ---------- Tu idea, en grande ---------- */

.idea {
    padding: clamp(5rem, 10vw, 8rem) 0; color: #d6d6da; background: var(--black);
    clip-path: polygon(0 3.5vw, 100% 0, 100% calc(100% - 3.5vw), 0 100%);
}
.idea__in > * { max-width: 46rem; }
.idea h2 { color: #fff; font-style: italic; font-size: clamp(2rem, 5vw, 3.4rem); }
.idea h2::after { content: ''; display: block; width: 120px; height: 5px; margin-top: 1.2rem; background: var(--rainbow); }
.idea p { margin: 1.5rem 0 2rem; font-size: 1.15rem; }
.idea .btn { margin-left: .3rem; }

/* ---------- Preguntas ---------- */

.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0;
    font-family: var(--display); font-weight: 700; color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { max-width: 40rem; margin: 0 0 1.3rem; }

/* ---------- Llamada final ---------- */

.cta { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--tint); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta p { margin: .5rem 0 0; }
.cta__phone, .contact__phone {
    display: inline-block; font-family: var(--display); font-weight: 800;
    font-size: clamp(2.8rem, 8vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em;
    color: var(--ink); text-decoration: none;
}
.cta__phone:hover, .contact__phone:hover { text-decoration: underline; text-decoration-thickness: 4px; }
.cta .cta__place { margin: 0; font-family: var(--display); font-weight: 600; color: var(--ink); }

/* ---------- Encabezado de páginas internas ---------- */

.page-head { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-head::after {
    content: ''; position: absolute; top: -20%; bottom: -20%; right: -6%; width: 26%;
    background: var(--tint); transform: skewX(-14deg);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { max-width: 15em; font-size: clamp(2rem, 4.6vw, 3.3rem); }
.page-head .lead { margin: 1.3rem 0 0; }
.page-head .actions { margin-top: 2rem; }
.page-head--solo { min-height: 55vh; display: grid; align-items: center; }

/* ---------- Tabla comparativa ---------- */

.table-scroll { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); }
.compare thead td { border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 500; color: var(--muted); }
.compare td { color: var(--ink); }

.notes { margin: 1.8rem 0 0; padding-left: 1.2rem; font-size: .92rem; color: var(--muted); }

/* ---------- Contacto ---------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__info .actions { margin: 1.5rem 0 2.2rem .35rem; }

.form { position: relative; padding: 2.4rem 2rem 2rem; border: 1px solid var(--line); }
.form::before { content: ''; position: absolute; inset: -1px -1px auto; height: 10px; background: var(--rainbow); }
.form h2 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form label { display: block; margin-bottom: 1.1rem; }
.form label span { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
    width: 100%; padding: .75rem .85rem; font: inherit; color: var(--ink);
    background: #fff; border: 1.5px solid #c9c9c4; border-radius: 0;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 125, 255, .25); }
.form textarea { resize: vertical; }
.form .btn { margin: .4rem 0 0 .3rem; }
.form__hint { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Pie ---------- */

.foot { background: var(--black); color: #b9b9c0; font-size: .95rem; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.foot__brand img { width: 170px; mix-blend-mode: screen; }
.foot__brand p { margin: .6rem 0 0; }
.foot__h { margin-bottom: .9rem; font-size: .78rem; letter-spacing: .14em; color: #fff; }
.foot__list { list-style: none; margin: 0; padding: 0; }
.foot__list li { margin-bottom: .5rem; }
.foot__list a { text-decoration: none; }
.foot__list a:hover { color: #fff; text-decoration: underline; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.4rem 5.5rem; border-top: 1px solid #26262b; font-size: .82rem; color: #85858e; }
.foot__legal p { margin: 0; }

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
    position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85rem 1.2rem; border-radius: 999px;
    font-family: var(--display); font-weight: 700; font-size: .9rem;
    color: #fff; background: var(--wa); text-decoration: none;
    box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
    transition: translate .15s, background-color .15s;
}
.wa-float:hover { translate: 0 -2px; background: #178a45; }
.wa-float .ico { width: 1.5rem; height: 1.5rem; }

/* ---------- Entrada de la portada ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero__text > *, .screen { animation: subir .6s cubic-bezier(.2, .7, .2, 1) both; }
    .hero__text > :nth-child(2) { animation-delay: .06s; }
    .hero__text > :nth-child(3) { animation-delay: .12s; }
    .hero__text > :nth-child(4) { animation-delay: .18s; }
    .hero__text > :nth-child(5) { animation-delay: .24s; }
    .screen { animation-delay: .15s; }
    @keyframes subir { from { opacity: 0; translate: 0 18px; } }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .wa-float { transition: none; }
}

/* ---------- Pantallas pequeñas ---------- */

@media (max-width: 900px) {
    .hero__in, .split, .split--map, .faq, .contact { grid-template-columns: 1fr; }
    .hero__shape { width: 70%; right: -30%; }
    .screen { width: min(100%, 290px); }
    .pixels { right: -20px; }
    .plans, .steps { grid-template-columns: 1fr; }
    .steps { gap: 1.8rem; }
    .photo { max-width: 340px; margin-right: 22px; }
    .foot__in { grid-template-columns: 1fr 1fr; }
    .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .top__in { min-height: 64px; }
    .top__logo img { height: 50px; }
    .top__toggle { display: block; }
    .menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: .5rem 1.25rem 1.25rem; background: var(--black); border-top: 1px solid #26262b;
    }
    .menu.is-open { display: flex; }
    .menu a { padding: .9rem 0; border-bottom: 1px solid #26262b; }
    .menu .menu__wa { justify-content: center; margin-top: 1rem; padding: .8rem 1rem; border: 1.5px solid #fff; }
    .facts div { padding-right: 1.1rem; margin-right: 1.1rem; }
    .facts dd { font-size: 1.2rem; }
    .wa-float span { display: none; }
    .wa-float { padding: .9rem; }
    .page-head::after { display: none; }
}
