/* Pequeños Pasitos, commercial site. Self-hosted Nunito, no framework, no third-party assets. */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('fonts/nunito-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('fonts/nunito-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url('fonts/nunito-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url('fonts/nunito-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url('fonts/nunito-cyrillic-800-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
    --cream: #FFF8E9;
    --paper: #FFFDF8;
    --ink: #3B2F2F;
    --lav: #C9B8E0;
    --lav-soft: #F1EAF8;
    --plum: #8E72A8;
    --plum-deep: #5E4577;
    --pink: #FFB3C1;
    --sun: #FFD66B;
    --mint: #A9E2C6;
    --mint-soft: #E4F5EC;
    --cta: #C2432A;
    --cta-hover: #A93820;
    --edge: #F0DFBC;
    --bar-h: 76px;
    --font: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--plum-deep); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--plum-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; color: var(--plum-deep); }
h1 { font-size: clamp(2.25rem, 8vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.3rem); line-height: 1.55; max-width: 34em; margin: 1rem 0 1.5rem; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 0.5rem; top: -4rem; z-index: 50; background: var(--paper); padding: 0.6rem 1rem; border-radius: 0.75rem; }
.skip:focus { top: 0.5rem; }

/* Buttons: pills, 48px tall, the same shape everywhere. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.55rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font: 800 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.btn--cta { background: var(--cta); color: #fff; }
.btn--cta:hover { background: var(--cta-hover); }
.btn--ghost { background: transparent; color: var(--plum-deep); border-color: var(--plum); }
.btn--ghost:hover { background: var(--lav-soft); }
.btn--wide { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--plum-deep); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; min-height: 44px; }

/* Header: logo, language, sign in. A five-colour stripe underneath, from the logo's rainbow. */
.top { position: relative; background: var(--cream); }
.top::after { content: ''; display: block; height: 6px; background: linear-gradient(90deg, var(--pink) 0 20%, var(--sun) 20% 40%, var(--mint) 40% 60%, #9AD3F0 60% 80%, var(--lav) 80%); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.top__brand img { width: 88px; height: auto; }
.top__nav { display: none; gap: 1.75rem; font-weight: 700; }
.top__nav a { text-decoration: none; padding: 0.5rem 0; }
.top__nav a:hover { text-decoration: underline; }
.top__tools { display: flex; align-items: center; gap: 0.9rem; }
.top__login { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.top__cta { display: none; }
.lang { display: flex; gap: 0.15rem; list-style: none; margin: 0; padding: 0; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.lang a[aria-current] { background: var(--lav); color: var(--ink); }

/* Hero: the line, and a real phone standing under the logo's rainbow. */
.hero { padding: 1.5rem 0 0; overflow: hidden; }
.hero__row { display: grid; gap: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__note { margin: 1.25rem 0 0; font-size: 0.95rem; max-width: 32em; }
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; padding-top: 2.5rem; min-height: 24rem; }
.arch { position: absolute; left: 50%; bottom: 38%; width: min(135%, 600px); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 999px 999px 0 0; background: radial-gradient(circle farthest-side at 50% 100%, transparent 0 34%, var(--lav) 34% 48%, var(--mint) 48% 62%, var(--sun) 62% 76%, var(--pink) 76% 90%, transparent 90%); }
.phone { position: relative; margin: 0; width: clamp(200px, 58vw, 270px); }
.phone__screen { border: 7px solid var(--ink); border-radius: 36px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px -16px rgba(59, 47, 47, 0.45); }
.phone__screen img { width: 100%; }
.phone--hero { margin-bottom: -2.2rem; }

/* Bands: each topic alternates text and screens. */
.band { padding: 4.5rem 0; }
.band--lav { background: var(--lav-soft); }
.band--mint { background: var(--mint-soft); }
.band--plum { background: var(--plum-deep); color: var(--cream); }
.band--plum h2, .band--plum h3 { color: #fff; }
.band--plum a { color: #fff; }
.hero + .band { padding-top: 6.5rem; }
.feature { display: grid; gap: 2.5rem; align-items: center; }
.feature--gap { margin-top: 5rem; }
.feature__shots { display: flex; justify-content: center; gap: 1rem; }
.feature__shots .phone { width: clamp(170px, 56vw, 260px); }
.feature__shots--pair .phone { width: clamp(140px, 42vw, 240px); }
.feature__shots--pair .phone--drop { margin-top: 2.5rem; }
.minor { margin: 2rem 0 0.5rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; max-width: 36em; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.35em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.band--lav .ticks li::before { background: var(--pink); box-shadow: 0 0 0 3px #fff; }

/* Security: plain list on deep plum, small icons because the app speaks in emoji too. */
.safe { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.safe li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(201, 184, 224, 0.35); }
.safe__icon { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; font-size: 1.4rem; border-radius: 50%; background: var(--lav); }
.safe h3 { margin-bottom: 0.25rem; }
.safe p { margin: 0; }
.band--plum .lead { color: var(--cream); }

/* Demo form. */
.demo { display: grid; gap: 2rem; align-items: start; }
.form { background: var(--paper); border: 2px solid var(--edge); border-radius: 1.5rem; padding: 1.5rem 1.25rem; }
.form__grid { display: grid; gap: 1rem; }
.form__field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.form input[type='text'], .form input[type='email'], .form input[type='tel'], .form input[type='number'], .form textarea { width: 100%; min-height: 48px; padding: 0.6rem 0.9rem; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--edge); border-radius: 0.9rem; }
.form textarea { resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--plum-deep); outline-offset: 1px; }
.form [aria-invalid='true'] { border-color: var(--cta); }
.form__err { margin: 0.3rem 0 0; color: #A32E18; font-weight: 700; font-size: 0.95rem; }
.form__errors { margin-bottom: 1rem; padding: 0.8rem 1rem; border-radius: 0.9rem; background: #FFE9E3; color: #7E2412; }
.form__errors p { margin: 0 0 0.3rem; font-weight: 800; }
.form__errors ul { margin: 0; padding-left: 1.2rem; }
.form__consent { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.25rem 0 0.5rem; }
.form__consent input { flex: none; width: 1.5rem; height: 1.5rem; margin: 0.15rem 0 0; accent-color: var(--plum-deep); }
.form__consent label { font-weight: 400; }
.form .btn { margin-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer, with room for the sticky bar on phones. */
.foot { background: var(--paper); border-top: 2px solid var(--edge); padding: 2rem 0 calc(var(--bar-h) + 1.5rem + env(safe-area-inset-bottom)); }
.foot__row { display: grid; gap: 1.5rem; }
.foot__brand { display: flex; align-items: center; gap: 1rem; }
.foot__brand img { width: 56px; height: 56px; border-radius: 14px; }
.foot__tagline { margin: 0; font-weight: 800; color: var(--plum-deep); }
.foot__rights { margin: 0; font-size: 0.9rem; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }

.stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom)); background: rgba(255, 248, 233, 0.96); border-top: 2px solid var(--edge); }
.stickycta .btn { width: 100%; }
body:has(.consent:not([hidden])) .stickycta { display: none; }

/* Cookie banner: three equal buttons. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 0.75rem; }
.consent__box { max-width: 720px; margin: 0 auto; background: var(--paper); border: 2px solid var(--plum); border-radius: 1.25rem; padding: 1.1rem 1.25rem; box-shadow: 0 -8px 30px -10px rgba(59, 47, 47, 0.35); max-height: calc(100vh - 1.5rem); overflow: auto; }
.consent h2 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.consent p { font-size: 0.95rem; margin-bottom: 0.9rem; }
.consent__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.consent__btn { min-height: 48px; padding: 0.5rem 0.5rem; border-radius: 999px; border: 2px solid var(--plum-deep); background: #fff; color: var(--plum-deep); font: 800 1rem/1.2 var(--font); cursor: pointer; }
.consent__btn:hover { background: var(--lav-soft); }
.consent__panel { display: grid; gap: 0.75rem; }
.consent__opt { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.95rem; }
.consent__opt input { flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; accent-color: var(--plum-deep); }
.consent__btn--save { width: 100%; }

/* Legal pages. */
.legal { padding-top: 2.5rem; }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 0.75rem; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 0.5rem; }
.legal p { max-width: 42em; }
.legal__meta { font-size: 0.95rem; }
.draft { margin-bottom: 1.5rem; padding: 0.8rem 1rem; border-radius: 0.9rem; background: var(--sun); border: 2px solid #E6B93A; color: var(--ink); }
.tablewrap { overflow-x: auto; margin: 0.5rem 0 1rem; border: 2px solid var(--edge); border-radius: 1rem; background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 34rem; }
th, td { padding: 0.65rem 0.8rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); }
th { background: var(--lav-soft); color: var(--plum-deep); }
tr:last-child td { border-bottom: 0; }

.band--thanks { text-align: center; }
.thanks__logo { width: min(320px, 70vw); height: auto; margin: 0 auto 1.5rem; }
.band--thanks .lead { margin-left: auto; margin-right: auto; }

@media (min-width: 900px) {
    :root { --bar-h: 0px; }
    .top__brand img { width: 110px; }
    .top__nav { display: flex; }
    .top__cta { display: inline-flex; min-height: 44px; padding: 0.4rem 1.3rem; }
    .stickycta { display: none; }
    .foot { padding-bottom: 2rem; }
    .foot__row { grid-template-columns: 1fr auto; align-items: center; }
    .hero { padding-top: 2.5rem; }
    .hero__row { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 2rem; }
    .stage { min-height: 38rem; padding-top: 0; }
    .phone--hero { width: 290px; }
    .feature { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .feature--reverse .feature__text { order: 2; }
    .feature__shots .phone { width: 260px; }
    .feature__shots--pair .phone { width: 235px; }
    .safe { grid-template-columns: repeat(3, 1fr); }
    .safe li { flex-direction: column; }
    .demo { grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; }
    .form { padding: 2rem; }
    .form__grid { grid-template-columns: 1fr 1fr; }
    .form__field--wide { grid-column: 1 / -1; }
    .consent { left: auto; right: 1rem; bottom: 1rem; width: 440px; padding: 0; }
    .consent__actions { grid-template-columns: repeat(3, auto); }
}
.form__opt { font-weight: 400; }
