/* =========================================================
   Every Other Weekend — web corporativa
   Sistema «Luz de tarde»: pino (casa A), arcilla (casa B),
   lavanda (lo compartido) sobre lienzo cálido.
   ========================================================= */

:root {
    --canvas: #F6F5F1;
    --paper: #FFFFFF;
    --sand: #E6D9C4;
    --sand-soft: #EFE8DC;
    --line: #DCD6CA;
    --ink: #17201F;
    --ink-2: #48524F;
    --ink-3: #5F6966;

    --pino: #1F4F4C;
    --pino-deep: #143331;
    --pino-soft: #E2EDEB;
    --pino-light: #7DBDB3;

    --arcilla: #9E4A2B;
    --arcilla-deep: #7E3A21;
    --arcilla-soft: #F4E3DA;
    --arcilla-light: #E5967A;

    --lavanda: #4A3F91;
    --lavanda-soft: #E8E5F7;
    --lavanda-light: #AFA5F2;

    --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

    --r-control: 10px;
    --r-card: 14px;
    --r-surface: 22px;
    --r-photo: 28px;

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(72px, 9vw, 128px);

    --shadow-soft: 0 1px 2px rgba(23, 32, 31, .06), 0 8px 24px -12px rgba(23, 32, 31, .18);
    --shadow-lift: 0 2px 4px rgba(23, 32, 31, .06), 0 24px 48px -24px rgba(23, 32, 31, .35);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--pino);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--pino-deep);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.035em;
    font-variation-settings: "opsz" 96;
    font-weight: 750;
}

h2 {
    font-size: clamp(2rem, 1.35rem + 2.5vw, 3.15rem);
    line-height: 1.05;
    letter-spacing: -0.028em;
    font-variation-settings: "opsz" 72;
}

h3 {
    font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: -0.012em;
    font-variation-settings: "opsz" 32;
    font-weight: 650;
}

h4 {
    font-size: 1.0625rem;
    line-height: 1.3;
    font-weight: 650;
    font-variation-settings: "opsz" 18;
}

p {
    margin: 0;
    text-wrap: pretty;
}

ul {
    margin: 0;
    padding: 0;
}

:focus-visible {
    outline: 3px solid var(--lavanda);
    outline-offset: 3px;
    border-radius: 6px;
}

main {
    display: block;
    overflow-x: clip;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.lede {
    font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 36em;
}

.muted {
    color: var(--ink-3);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 200;
    background: var(--ink);
    color: var(--paper);
    padding: 10px 16px;
    border-radius: var(--r-control);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
    color: var(--paper);
}

/* ---------- Botones ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: var(--r-control);
    border: 1.5px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--pino);
    color: var(--paper);
}

.btn-primary:hover {
    background: var(--pino-deep);
    color: var(--paper);
}

.btn-quiet {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-quiet:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.btn-light {
    background: var(--paper);
    color: var(--pino-deep);
}

.btn-light:hover {
    background: var(--sand-soft);
    color: var(--pino-deep);
}

.btn-on-dark {
    background: transparent;
    color: var(--paper);
    border-color: rgba(255, 255, 255, .45);
}

.btn-on-dark:hover {
    border-color: var(--paper);
    color: var(--paper);
}

.btn-lg {
    min-height: 54px;
    padding: 14px 26px;
    font-size: 1.0625rem;
}

.text-link {
    font-weight: 600;
    color: var(--pino);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

/* ---------- Marca ---------- */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 24;
    white-space: nowrap;
}

/* ---------- Navegación ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 245, 241, .88);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    color: var(--ink-2);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: var(--r-control);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--ink);
    background: var(--sand-soft);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-actions .btn {
    min-height: 42px;
    padding: 9px 18px;
    font-size: .975rem;
}

.nav-login {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 12px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    border-radius: var(--r-control);
    border: 1px solid var(--line);
    background: var(--paper);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: transform .2s ease, background-color .2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle span::before {
    top: -6px;
}

.menu-toggle span::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 20px;
        box-shadow: 0 24px 32px -24px rgba(23, 32, 31, .3);
    }

    .site-nav.is-open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        margin: 0 0 12px;
    }

    .nav-links a {
        padding: 14px 12px;
        font-size: 1.0625rem;
    }

    .nav-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .nav-actions .btn {
        min-height: 50px;
    }

    .nav-login {
        text-align: center;
    }
}

@media (min-width: 901px) {
    .site-nav {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-left: auto;
    }
}

/* ---------- Tira de semanas (motivo de la marca) ---------- */

.weeks {
    --cell: clamp(18px, 3.2vw, 40px);
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    gap: clamp(4px, .6vw, 8px);
}

.weeks i {
    display: block;
    height: var(--cell);
    border-radius: 999px;
    background: var(--pino);
}

.weeks i.b {
    background: var(--arcilla);
}

.weeks i.s {
    background: var(--lavanda);
}

.weeks i.soft {
    background: var(--pino-light);
}

.weeks i.b.soft {
    background: var(--arcilla-light);
}

.weeks-caption {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 14px;
    font-size: .9375rem;
    color: var(--ink-2);
}

.key {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.key::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--pino);
}

.key.b::before {
    background: var(--arcilla);
}

.key.s::before {
    background: var(--lavanda);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow-x: clip;
    padding: clamp(28px, 5vw, 64px) 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero-copy h1 {
    max-width: 10.5em;
}

.hero-copy .lede {
    margin-top: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 18px;
    font-size: .9375rem;
    color: var(--ink-3);
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 470px);
}

.hero-shape {
    position: absolute;
    border-radius: 999px;
    z-index: 0;
}

.hero-shape.sun {
    width: 62%;
    aspect-ratio: 1;
    right: -14%;
    top: -6%;
    background: var(--arcilla-light);
    opacity: .55;
}

.hero-shape.hill {
    width: 46%;
    aspect-ratio: 2 / 1;
    left: -12%;
    bottom: 10%;
    border-radius: 999px 999px 0 0;
    background: var(--pino);
}

.arch {
    position: relative;
    z-index: 1;
    border-radius: 999px 999px var(--r-photo) var(--r-photo);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--sand);
    box-shadow: var(--shadow-lift);
}

.arch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.today-card {
    position: absolute;
    z-index: 2;
    left: -9%;
    bottom: -7%;
    width: min(300px, 78%);
    background: var(--paper);
    border-radius: var(--r-card);
    padding: 16px 18px 18px;
    box-shadow: var(--shadow-lift);
}

.today-card .day {
    font-size: .875rem;
    color: var(--ink-3);
}

.today-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 2px 0 12px;
    font-variation-settings: "opsz" 24;
}

.today-card .weeks {
    --cell: 14px;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.today-card .weeks i.today {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.today-card .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 6px;
    font-size: .75rem;
    color: var(--ink-3);
    text-align: center;
}

.hero-band {
    margin-top: clamp(56px, 7vw, 88px);
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-self: center;
        width: min(100%, 400px);
        margin-top: 8px;
    }

    .today-card {
        left: 4%;
    }
}

/* ---------- Secciones ---------- */

.section {
    padding: var(--section) 0;
}

.section-head {
    max-width: 46rem;
    margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head .lede {
    margin-top: 18px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head.center .lede {
    margin-left: auto;
    margin-right: auto;
}

/* Lo que cambia */

.calm-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.calm-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 36px;
}

.calm-list li {
    padding-top: 20px;
    border-top: 1.5px solid var(--ink);
}

.calm-list svg {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.calm-list h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.calm-list p {
    color: var(--ink-2);
}

@media (max-width: 860px) {
    .calm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .calm-list {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Historias de producto */

.story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.story + .story {
    margin-top: clamp(80px, 10vw, 140px);
}

.story.flip .story-copy {
    order: 2;
}

.story-copy h2 {
    margin-bottom: 18px;
}

.story-copy .lede {
    margin-bottom: 24px;
}

.ticks {
    list-style: none;
    display: grid;
    gap: 12px;
}

.ticks li {
    position: relative;
    padding-left: 30px;
    color: var(--ink-2);
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 16px;
    height: 8px;
    border-radius: 999px;
    background: var(--pino);
}

.ticks strong {
    color: var(--ink);
    font-weight: 600;
}

.stage {
    position: relative;
    border-radius: var(--r-surface);
    padding: clamp(28px, 4vw, 52px);
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.stage.sand {
    background: var(--sand);
}

.stage.pino {
    background: var(--pino-soft);
}

.stage.arcilla {
    background: var(--arcilla-soft);
}

.stage.lavanda {
    background: var(--lavanda-soft);
}

.stage .shape {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
}

.stage.photo {
    padding: 0;
    min-height: 0;
    aspect-ratio: 4 / 5;
}

.stage.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stage .caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    background: var(--paper);
    border-radius: var(--r-card);
    padding: 14px 16px;
    font-size: .95rem;
    color: var(--ink-2);
    box-shadow: var(--shadow-soft);
}

.stage .caption strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-variation-settings: "opsz" 20;
}

@media (max-width: 860px) {
    .story {
        grid-template-columns: 1fr;
    }

    .story.flip .story-copy {
        order: 0;
    }

    .stage {
        min-height: 0;
    }
}

/* Maquetas (ilustraciones de la app) */

.mock {
    width: 100%;
    max-width: 360px;
    background: var(--paper);
    border-radius: var(--r-surface);
    padding: 20px;
    box-shadow: var(--shadow-lift);
    font-size: .9375rem;
}

.mock-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mock-head strong {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-variation-settings: "opsz" 20;
}

.mock-head span {
    font-size: .8125rem;
    color: var(--ink-3);
}

.cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.cal b {
    font-size: .6875rem;
    font-weight: 600;
    color: var(--ink-3);
    padding-bottom: 2px;
}

.cal span {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: 9px;
    font-size: .8125rem;
    font-weight: 600;
    background: var(--pino-soft);
    color: var(--pino-deep);
}

.cal span.b {
    background: var(--arcilla-soft);
    color: var(--arcilla-deep);
}

.cal span.out {
    background: transparent;
    color: #A5ACA9;
}

.cal span.fest {
    background: var(--lavanda);
    color: var(--paper);
}

.mock-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--r-control);
    background: var(--lavanda-soft);
    color: var(--lavanda);
    font-size: .875rem;
    font-weight: 600;
}

.mock-chip::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--lavanda);
    flex-shrink: 0;
}

.bubble {
    max-width: 86%;
    padding: 10px 14px;
    border-radius: 16px;
    line-height: 1.45;
}

.bubble.them {
    background: var(--sand-soft);
    border-bottom-left-radius: 4px;
}

.bubble.me {
    margin-left: auto;
    background: var(--pino);
    color: var(--paper);
    border-bottom-right-radius: 4px;
}

.bubble.draft {
    margin-left: auto;
    background: var(--paper);
    border: 1.5px dashed var(--line);
    color: var(--ink-3);
    text-decoration: line-through;
    text-decoration-color: var(--arcilla-light);
}

.thread {
    display: grid;
    gap: 10px;
}

.suggest {
    border-radius: var(--r-card);
    background: var(--lavanda-soft);
    padding: 12px 14px;
}

.suggest small {
    display: block;
    font-weight: 600;
    color: var(--lavanda);
    margin-bottom: 4px;
    font-size: .8125rem;
}

.suggest p {
    color: var(--ink);
}

.expense {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.expense span {
    color: var(--ink-3);
    font-size: .8125rem;
    display: block;
}

.expense strong {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-variation-settings: "opsz" 20;
}

.split {
    display: flex;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    margin: 16px 0 10px;
}

.split i {
    background: var(--pino);
}

.split i + i {
    background: var(--arcilla);
}

.split-legend {
    display: flex;
    justify-content: space-between;
    font-size: .8125rem;
    color: var(--ink-2);
}

.mock-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: var(--r-control);
    background: var(--pino-soft);
    color: var(--pino-deep);
    font-weight: 600;
    font-size: .9rem;
}

/* ---------- España ---------- */

.spain {
    background: var(--pino-deep);
    color: #E9F1EF;
    position: relative;
    overflow: hidden;
}

.spain h2 {
    color: var(--paper);
}

.spain .lede {
    color: #C9DAD6;
}

.spain-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.spain .ticks li {
    color: #D5E3E0;
}

.spain .ticks li::before {
    background: var(--arcilla-light);
}

.spain .ticks {
    margin-top: 28px;
}

.festivos {
    list-style: none;
    display: grid;
    gap: 10px;
}

.festivos li {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}

.festivos .date {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--paper);
    font-variation-settings: "opsz" 20;
}

.festivos .name {
    color: #E9F1EF;
}

.festivos .ccaa {
    font-size: .8125rem;
    color: #B4CBC6;
    text-align: right;
}

.spain .weeks {
    margin-top: 40px;
}

.spain .weeks i {
    background: var(--pino-light);
}

.spain .weeks i.b {
    background: var(--arcilla-light);
}

.spain .weeks i.s {
    background: var(--lavanda-light);
}

@media (max-width: 860px) {
    .spain-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .festivos li {
        grid-template-columns: 64px 1fr;
    }

    .festivos .ccaa {
        grid-column: 2;
        text-align: left;
        margin-top: -10px;
    }
}

/* ---------- Y además ---------- */

.more-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px;
}

.more-grid li {
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.more-grid h3 {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.more-grid p {
    color: var(--ink-2);
    font-size: 1rem;
}

@media (max-width: 860px) {
    .more-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .more-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Precios ---------- */

.pricing {
    background: var(--sand-soft);
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border-radius: var(--r-surface);
    padding: 32px 28px 28px;
    border: 1px solid var(--line);
}

.plan.featured {
    background: var(--pino);
    color: #E9F1EF;
    border-color: var(--pino);
}

.plan.featured h3,
.plan.featured .price {
    color: var(--paper);
}

.plan-tag {
    align-self: flex-start;
    font-size: .8125rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--arcilla-light);
    color: var(--ink);
    margin-bottom: 14px;
}

.plan h3 {
    font-size: 1.5rem;
}

.plan .for {
    margin-top: 6px;
    color: var(--ink-2);
    min-height: 3.2em;
}

.plan.featured .for {
    color: #C9DAD6;
}

.price {
    margin-top: 22px;
    font-family: var(--font-display);
    font-size: 2.75rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variation-settings: "opsz" 72;
}

.price span {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-3);
    margin-left: 4px;
}

.plan.featured .price span {
    color: #C9DAD6;
}

.yearly {
    margin-top: 8px;
    font-size: .9375rem;
    color: var(--ink-3);
    min-height: 1.5em;
}

.plan.featured .yearly {
    color: #C9DAD6;
}

.plan .ticks {
    margin: 26px 0 30px;
    gap: 10px;
    font-size: 1rem;
}

.plan.featured .ticks li {
    color: #E2ECEA;
}

.plan.featured .ticks li::before {
    background: var(--arcilla-light);
}

.plan .btn {
    margin-top: auto;
    width: 100%;
}

.pricing-foot {
    margin-top: 28px;
    text-align: center;
    color: var(--ink-2);
    font-size: .975rem;
}

@media (max-width: 960px) {
    .plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .plan .for {
        min-height: 0;
    }
}

/* ---------- FAQ ---------- */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 24;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background:
        linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
        linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
        var(--sand-soft);
    transition: transform .2s ease;
}

.faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.faq-list .answer {
    padding: 0 0 24px;
    color: var(--ink-2);
    max-width: 40em;
}

.faq-list .answer p + p,
.faq-list .answer p + ul,
.faq-list .answer ul + p {
    margin-top: 12px;
}

.faq-list .answer ul,
.faq-list .answer ol {
    padding-left: 22px;
    display: grid;
    gap: 6px;
}

@media (max-width: 860px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cierre ---------- */

.closing {
    padding-bottom: var(--section);
}

.closing-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    border-radius: var(--r-photo);
    overflow: hidden;
    background: var(--arcilla);
    color: #FBEFEA;
}

.closing-copy {
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.closing-copy h2 {
    color: var(--paper);
    margin-bottom: 16px;
}

.closing-copy .lede {
    color: #F6DDD2;
}

.closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.closing-actions .btn-light {
    color: var(--arcilla-deep);
}

.platforms {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: .975rem;
}

.platforms .text-link {
    color: var(--paper);
}

.closing-photo {
    min-height: 320px;
}

.closing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .closing-card {
        grid-template-columns: 1fr;
    }

    .closing-photo {
        order: -1;
        max-height: 360px;
    }
}

/* ---------- Pie ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
    font-size: .975rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-grid p {
    color: var(--ink-2);
    margin-top: 14px;
    max-width: 22em;
}

.footer-grid h2 {
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 12px;
}

.footer-grid ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-grid a {
    overflow-wrap: anywhere;
    color: var(--ink-2);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-base {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink-3);
    font-size: .9rem;
}

.footer-base .weeks {
    --cell: 8px;
    width: 160px;
    gap: 3px;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

/* ---------- Páginas interiores ---------- */

.page-head {
    padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px);
}

.page-head h1 {
    font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);
    max-width: 14em;
}

.page-head .lede {
    margin-top: 20px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.chips a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
}

.chips a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.feature-block {
    padding: clamp(56px, 7vw, 96px) 0;
    border-top: 1px solid var(--line);
}

.feature-block .story-copy > p.kicker {
    color: var(--arcilla);
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    margin-top: 28px;
}

.feature-points h3 {
    font-size: 1.0625rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0;
}

.feature-points p {
    color: var(--ink-2);
    font-size: 1rem;
}

@media (max-width: 560px) {
    .feature-points {
        grid-template-columns: 1fr;
    }
}

/* Texto largo: legal y ayuda */

.prose {
    max-width: 46rem;
}

.prose h2 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
    margin: 48px 0 14px;
}

.prose h3 {
    font-size: 1.2rem;
    margin: 28px 0 10px;
}

.prose p,
.prose li {
    color: var(--ink-2);
}

.prose p + p {
    margin-top: 14px;
}

.prose ul,
.prose ol {
    padding-left: 22px;
    margin: 12px 0 16px;
    display: grid;
    gap: 6px;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: .95rem;
    display: block;
    overflow-x: auto;
}

.prose th,
.prose td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.prose th {
    color: var(--ink);
    font-weight: 600;
}

.prose .legal-date {
    color: var(--ink-3);
    margin-top: 12px;
}

.prose .legal-highlight,
.callout {
    background: var(--paper);
    border-radius: var(--r-card);
    border-left: 4px solid var(--pino);
    padding: 18px 22px;
    margin: 24px 0;
}

.legal-wrap {
    padding-bottom: var(--section);
}

/* Ayuda */

.help-cards {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.help-cards li {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 22px;
}

.help-cards h2 {
    font-size: 1.125rem;
    font-variation-settings: "opsz" 20;
    margin-bottom: 6px;
}

.help-cards p {
    color: var(--ink-2);
    font-size: 1rem;
}

.help-cards a,
.help-cards button {
    margin-top: 12px;
    display: inline-block;
}

@media (max-width: 860px) {
    .help-cards {
        grid-template-columns: 1fr;
    }
}

.help-search {
    position: relative;
    max-width: 560px;
    margin-top: 28px;
}

.help-search input {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px 14px 48px;
    border-radius: var(--r-control);
    border: 1.5px solid var(--line);
    background: var(--paper);
    font: inherit;
    color: var(--ink);
}

.help-search input:focus {
    outline: none;
    border-color: var(--pino);
    box-shadow: 0 0 0 4px var(--pino-soft);
}

.help-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: var(--ink-3);
}

.help-group {
    margin-top: 56px;
}

.help-group > h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.no-results {
    margin-top: 32px;
    padding: 20px;
    border-radius: var(--r-card);
    background: var(--paper);
    color: var(--ink-2);
}

/* ---------- Aviso de cookies ---------- */

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 150;
    max-width: 560px;
    margin: 0 auto;
    background: var(--ink);
    color: #EDEFEE;
    border-radius: var(--r-card);
    padding: 16px 18px;
    box-shadow: var(--shadow-lift);
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.cookie-content p {
    flex: 1 1 220px;
    font-size: .95rem;
}

.cookie-content a {
    color: var(--paper);
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    min-height: 42px;
    padding: 8px 16px;
    border-radius: var(--r-control);
    font: inherit;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: var(--paper);
}

.cookie-btn.cookie-accept {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

/* ---------- Modal de acceso anticipado ---------- */

.beta-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(23, 32, 31, .55);
}

.beta-modal.open {
    display: flex;
}

.beta-modal-card {
    width: min(520px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: var(--canvas);
    border-radius: var(--r-surface);
    padding: 26px;
    box-shadow: var(--shadow-lift);
}

.beta-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.beta-modal-head h3 {
    font-size: 1.5rem;
}

.beta-modal-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.beta-form {
    display: grid;
    gap: 16px;
}

.beta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.beta-form-row.beta-form-row--single {
    grid-template-columns: 1fr;
}

.beta-form-group {
    display: grid;
    gap: 6px;
}

.beta-form-group label {
    font-weight: 600;
    font-size: .95rem;
}

.beta-form-group input,
.beta-form-group select {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: var(--r-control);
    border: 1.5px solid var(--line);
    background: var(--paper);
    font: inherit;
    color: var(--ink);
}

.beta-form-group input:focus,
.beta-form-group select:focus {
    outline: none;
    border-color: var(--pino);
    box-shadow: 0 0 0 4px var(--pino-soft);
}

.beta-form-privacy {
    font-size: .875rem;
    color: var(--ink-3);
}

.beta-form-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .95rem;
    color: var(--ink-2);
}

.beta-form-consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--pino);
    flex-shrink: 0;
}

.beta-form-actions {
    display: grid;
    gap: 10px;
}

.beta-form-submit {
    min-height: 52px;
    border-radius: var(--r-control);
    border: 0;
    background: var(--pino);
    color: var(--paper);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.beta-form-submit:hover:not([disabled]) {
    background: var(--pino-deep);
}

.beta-form-submit[disabled] {
    opacity: .6;
    cursor: progress;
}

.beta-form-status {
    font-size: .95rem;
    min-height: 1.4em;
}

.beta-form-status.success {
    color: var(--pino);
}

.beta-form-status.warn {
    color: var(--arcilla-deep);
}

.beta-form-status.error {
    color: #A3261B;
}

.beta-hidden-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

@media (max-width: 480px) {
    .beta-form-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- Página discreta: documentar ---------- */

.quiet-hero {
    padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
}

.quiet-hero h1 {
    font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem);
    max-width: 15em;
}

.quiet-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
}

.quiet-list li {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.quiet-list h3 {
    font-size: 1.125rem;
    margin-bottom: 6px;
}

.quiet-list p {
    color: var(--ink-2);
}

@media (max-width: 700px) {
    .quiet-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Movimiento ---------- */

@media (prefers-reduced-motion: no-preference) {
    .hero .weeks i {
        transform-origin: left center;
        animation: fill-week .7s cubic-bezier(.2, .7, .2, 1) both;
        animation-delay: calc(var(--i, 0) * 45ms + 150ms);
    }

    @keyframes fill-week {
        from {
            transform: scaleX(.2);
            opacity: 0;
        }

        to {
            transform: none;
            opacity: 1;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* ---------- Ajustes finos ---------- */

.tag {
    display: inline-block;
    vertical-align: 2px;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--lavanda-soft);
    color: var(--lavanda);
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 0;
}

.plan-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
    max-width: 52rem;
}

.plan-strip div {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 18px 20px;
}

.plan-strip h2 {
    font-size: 1.125rem;
    font-variation-settings: "opsz" 20;
    margin-bottom: 4px;
}

.plan-strip p {
    color: var(--ink-2);
    font-size: 1rem;
}

@media (max-width: 560px) {
    .plan-strip {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }
}

.menu-day {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
}

.menu-day:last-of-type {
    border-bottom: 0;
}

.menu-day b {
    font-family: var(--font-display);
    font-variation-settings: "opsz" 20;
}

.menu-day span {
    display: block;
    color: var(--ink-3);
    font-size: .8125rem;
}

.cta-band {
    background: var(--pino);
    color: #E2ECEA;
    border-radius: var(--r-photo);
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-band h2 {
    color: var(--paper);
    max-width: 14em;
}

.cta-band p {
    margin-top: 10px;
    color: #C9DAD6;
}

/* Documentos legales */

.prose .legal-warning {
    background: var(--arcilla-soft);
    border-radius: var(--r-card);
    border-left: 4px solid var(--arcilla);
    padding: 18px 22px;
    margin: 24px 0;
    color: var(--ink);
}

.prose .toc,
.prose .lang-note {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 18px 22px;
    margin: 24px 0;
}

.prose .cookie-table-wrap {
    overflow-x: auto;
}

.prose .cookie-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    background: var(--pino-soft);
    color: var(--pino-deep);
}

.prose .cookie-type.analytics {
    background: var(--lavanda-soft);
    color: var(--lavanda);
}

.prose .cookie-type.functional {
    background: var(--arcilla-soft);
    color: var(--arcilla-deep);
}

.prose h1 {
    margin-bottom: 4px;
}
