/* calendariosconnombres.com — hoja única. Sistema: blanco, negro, un acento (rojo Estudi Roig).
   Radios: imágenes 18px · inputs 10px · botones píldora. Tipografía: Geist variable (self-hosted). */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/geist-latin-wght-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/geist-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff; --ink: #0b0b0c; --ink-2: #3f3f46; --ink-3: #65656e; --line: #e4e4e7; --line-2: #f0f0f2;
  --accent: #e63d17; --accent-ink: #c43310; --accent-soft: #fdece7;
  --radius: 18px; --radius-s: 10px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --w: 1280px; --gutter: clamp(20px, 4vw, 48px);
  --shadow: 0 1px 2px rgba(11,11,12,.05), 0 24px 60px -30px rgba(11,11,12,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--w), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tipografía */
.display { font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); text-wrap: balance; }
.h2 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(1.9rem, 1rem + 3vw, 3.4rem); text-wrap: balance; }
.h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem); }
.lede { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); line-height: 1.4; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
em.acc { font-style: normal; color: var(--accent); }

/* Botones (píldora) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 52px; padding: 0 1.4rem; border-radius: 999px; font-weight: 500; font-size: 1rem; white-space: nowrap; border: 1px solid transparent; transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #26262b; }
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-accent:hover { background: #a82b0c; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { height: 42px; padding: 0 1.1rem; font-size: .95rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: 68px; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-2); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; letter-spacing: -0.02em; font-size: 1.05rem; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { font-size: 1.32rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.brand-word b { color: var(--accent-ink); font-weight: 700; }
.brand small { font-weight: 400; color: var(--ink-3); font-size: .8rem; letter-spacing: 0; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; color: var(--ink-2); }
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: .5rem; }
@media (max-width: 900px) { .nav-links { display: none; } .brand small { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 1340px) { .brand small { display: none; } }
/* Entre 901 y 1280 px no caben secciones + LLAMAR + Ver precios + idioma: se compactan */
@media (max-width: 1280px) and (min-width: 901px) { .nav .wrap { gap: 1rem; } .nav-links { gap: 1.1rem; font-size: .9rem; } .nav-tel { padding: 0 .8rem; } }
@media (max-width: 1080px) and (min-width: 901px) { .nav .btn { display: none; } }
@media (max-width: 440px) { .nav .wrap { gap: .75rem; } .brand { font-size: .95rem; gap: .5rem; } .brand-mark { width: 30px; height: 30px; } .brand-word { font-size: 1.15rem; } .nav .btn { padding: 0 .95rem; font-size: .88rem; } }

/* Hero */
.hero { position: relative; min-height: min(calc(100dvh - 68px), 880px); display: grid; align-items: center; color: #fff; isolation: isolate; overflow: clip; background: #1b1511; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
/* Oscurecedor: más denso a la izquierda (texto) y suave a la derecha (calendarios), con viñeta arriba y abajo */
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(12,9,7,.74) 0%, rgba(12,9,7,.52) 42%, rgba(12,9,7,.34) 100%),
  linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.38) 100%); }
.hero .wrap { padding: 4rem 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero .hero-title { max-width: 16ch; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero .lede { color: rgba(255,255,255,.9); margin-top: 1.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.hero-note { margin-top: 1.4rem; font-size: .92rem; color: rgba(255,255,255,.78); max-width: 40ch; }

/* Calendarios del hero: maquetados en HTML para que foto, nombre y mes cambien de verdad.
   Proporciones y tipografía (Roboto) tomadas de calendarios de sobremesa reales con espiral wire-o. */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('fonts/roboto-latin-wght-normal.woff2') format('woff2'); }
/* Composición como en la foto de producto: apaisado delante, vertical detrás y más alto, ambos girados en perspectiva
   (se ve la trasera de la peana a la derecha). Va pegada a la derecha para dejar ver el vídeo. */
.hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-cals { justify-self: end; width: clamp(300px, 34vw, 500px); }
.cals-stage { position: relative; aspect-ratio: 1.42; perspective: 1500px; perspective-origin: 30% 40%; }
.cal { position: absolute; margin: 0; transform-origin: 50% 100%; container-type: inline-size; }
.cal-v { width: 43%; right: 3%; top: 0; transform: rotateY(-22deg) rotateX(5deg); }
.cal-h { width: 62%; left: 0; bottom: 4%; transform: rotateY(-22deg) rotateX(5deg); }
.cal-tent { position: relative; isolation: isolate; }
.cals-cap { margin-top: 1.3rem; text-align: center; font-size: .78rem; color: rgba(255,255,255,.72); }
.cal-page { position: relative; container-type: inline-size; display: flex; flex-direction: column; background: #fbfbf9; border-radius: 2px 2px 3px 3px; font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif; color: #1d1d20; z-index: 1; background-image: linear-gradient(180deg, rgba(0,0,0,.09) 0, rgba(0,0,0,0) 4.5%), linear-gradient(0deg, rgba(0,0,0,.12) 0, rgba(0,0,0,0) 3%), linear-gradient(100deg, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 35%, rgba(0,0,0,.07) 100%); box-shadow: 0 0 0 .5px rgba(0,0,0,.18), 0 .3cqw 1cqw rgba(0,0,0,.18), 0 1.4cqw 1.6cqw -1cqw rgba(0,0,0,.5); }
.cal-h .cal-page { aspect-ratio: 21 / 15; }
.cal-v .cal-page { aspect-ratio: 15 / 21; }
/* Agujeros y espiral wire-o */
.cal-page::after { content: ''; position: absolute; left: 4%; right: 4%; top: 1.3cqw; height: 1.6cqw; min-height: 3px; background: radial-gradient(circle, #3a3a3f 40%, transparent 46%) 0 50% / 9px 100% repeat-x; }
.cal-page::before { content: ''; position: absolute; left: 4%; right: 4%; top: -6px; height: calc(1.6cqw + 9px); min-height: 12px; z-index: 2; border-radius: 3px; background: repeating-linear-gradient(90deg, transparent 0 2.5px, #f1f1f4 2.5px 3.6px, #8f9199 3.6px 5px, transparent 5px 9px); filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)); }
.cal-ph { position: relative; overflow: hidden; background: #2b2420; flex: none; }
.cal-h .cal-ph { aspect-ratio: 2.5; margin: 4.6cqw 2.5cqw 0; }
.cal-v .cal-ph { aspect-ratio: 1.36; margin-top: 3.4cqw; }
.cal-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 700ms var(--ease-out); }
.cal-ph img.is-on { opacity: 1; }
.cal-grid { flex: 1; min-height: 0; position: relative; }
/* Dos capas apiladas: la cuadrícula y el logo hacen fundido cruzado a la vez que la foto */
.cg-layer { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transition: opacity 700ms var(--ease-out); }
.cg-layer.is-on { opacity: 1; }
.cg-days { display: grid; grid-template-columns: .75fr repeat(7, 1fr); text-align: center; align-items: center; font-variant-numeric: tabular-nums; }
.cg-days i { font-style: normal; color: #8a8a90; font-weight: 400; }
.cg-days em { font-style: normal; color: #a3a3aa; font-weight: 300; }
.cg-days .o { color: #d3d3d7; }
.cg-days .su { color: var(--accent-ink); font-weight: 500; }
/* Logos de empresas inventadas: cambian con cada foto, como haría cada cliente con el suyo */
.lg { display: flex; align-items: center; gap: .45em; color: var(--c); line-height: 1; text-align: left; }
.lg svg { width: 1.55em; height: 1.55em; flex: none; }
.lg b { display: block; font-weight: 700; font-size: 1em; letter-spacing: -.01em; }
.lg small { display: block; margin-top: .22em; font-size: .42em; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #8a8a90; }
.lg.up b { text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
.lg.lo b { text-transform: lowercase; font-weight: 500; letter-spacing: -.03em; font-size: 1.12em; }
.lg.serif b { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-style: italic; letter-spacing: 0; }
/* Vertical 15 × 21: foto a sangre, banda de mes, cuadrícula + meses vecinos, logo abajo */
.cal-v .cg-band { display: grid; grid-template-columns: 66% 34%; height: 6.6cqw; }
.cal-v .cg-band b { background: #38383c; color: #fff; font-weight: 300; font-size: 3.1cqw; letter-spacing: .34em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; padding-left: .34em; }
.cal-v .cg-band span { font-size: 1.7cqw; color: #8a8a90; display: flex; align-items: center; padding-left: 3cqw; line-height: 1.2; }
.cal-v .cg-body { display: grid; grid-template-columns: 1fr 26%; gap: 3cqw; padding: 2.6cqw 5cqw 0 4cqw; }
.cal-v .cg-days { grid-auto-rows: 6.2cqw; font-size: 4.3cqw; }
.cal-v .cg-days i { font-size: 1.7cqw; align-self: end; padding-bottom: .8cqw; }
.cal-v .cg-days em { font-size: 1.8cqw; }
.cal-v .cg-days > :nth-child(-n+8) { grid-row: 1; height: 3.4cqw; }
.cal-v .cg-minis { display: flex; flex-direction: column; gap: 3.4cqw; padding-top: .6cqw; }
.cal-v .cg-mini b { display: block; font-size: 1.5cqw; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #6d6d74; margin-bottom: .6cqw; }
.cal-v .cg-mini .cg-days { grid-template-columns: repeat(7, 1fr); grid-auto-rows: auto; font-size: 1.3cqw; line-height: 1.5; color: #55555c; }
.cal-v .cg-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 5cqw 3.4cqw 4cqw; }
.cal-v .lg { font-size: 4.6cqw; }
.cal-v .cg-foot small { font-size: 1.6cqw; color: #8a8a90; letter-spacing: .02em; }
/* Apaisado 21 × 15: foto con margen, banda fina de mes, cuadrícula a la izquierda y logo + contacto a la derecha */
.cal-h .cg-band { margin: 0 2.5cqw; height: 2.7cqw; background: #38383c; color: #fff; font-weight: 300; font-size: 1.55cqw; letter-spacing: .38em; text-transform: uppercase; display: flex; align-items: center; justify-content: center; padding-left: .38em; }
.cal-h .cg-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 4cqw; padding: 1.2cqw 5cqw 0 4cqw; }
.cal-h .cg-days { grid-auto-rows: 3.5cqw; font-size: 2.4cqw; align-content: start; }
.cal-h .cg-days i { font-size: 1.15cqw; align-self: end; padding-bottom: .5cqw; }
.cal-h .cg-days em { font-size: 1.2cqw; }
.cal-h .cg-days > :nth-child(-n+8) { grid-row: 1; height: 2.4cqw; }
.cal-h .cg-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.6cqw; text-align: center; }
.cal-h .lg { font-size: 4cqw; }
.cal-h .cg-side small { font-size: 1.35cqw; color: #8a8a90; line-height: 1.5; }
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding: 3.5rem 0 3.5rem; gap: 2.5rem; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-cals { justify-self: center; width: min(88vw, 460px); }
}
@media (max-width: 700px) { .hero-media img, .hero-media video { object-position: 62% 100%; } .hero-note { font-size: .85rem; } .hero .hero-cta { display: none; } .hero-note { margin-top: 1.1rem; } }

/* Secciones */
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.head .lede { margin-top: 1rem; max-width: 52ch; }

/* Conmutador de nombre */
.switcher { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.switcher-stage { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #d8cbb6; box-shadow: var(--shadow); }
.switcher-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 420ms var(--ease-out); }
.switcher-stage img.is-on { opacity: 1; }
.switcher-stage .tag { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.9); color: var(--ink); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px); }
.names { display: flex; flex-direction: column; gap: .5rem; }
.names button { text-align: left; height: 56px; padding: 0 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; transition: border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease-out); }
.names button:hover { border-color: var(--ink-3); }
.names button:active { transform: scale(.985); }
.names button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.names button span { font-size: .8rem; font-weight: 400; opacity: .7; }
.switcher-note { margin-top: 1rem; }
@media (max-width: 900px) { .switcher { grid-template-columns: 1fr; } .names { flex-direction: row; flex-wrap: wrap; } .names button { height: 48px; flex: 1 1 40%; font-size: .95rem; } .names button span { display: none; } }

/* Manifiesto (único bloque oscuro de la página) */
.manifesto { background: var(--ink); color: #fff; }
.manifesto .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.manifesto .display { font-size: clamp(2rem, 1rem + 3.6vw, 4.2rem); }
.manifesto .display em { font-style: normal; color: #ff6a3d; }
.manifesto .body { color: rgba(255,255,255,.72); margin-top: 1.6rem; font-size: 1.1rem; }
.ledger { border-top: 1px solid rgba(255,255,255,.18); margin-top: .4rem; }
.ledger li { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.ledger li span:first-child { color: rgba(255,255,255,.75); }
.ledger li span:last-child { font-weight: 500; text-align: right; white-space: nowrap; }
.ledger li.win span { color: #fff; }
.ledger li.win span:last-child { color: #ff6a3d; }
.ledger { padding: 0; margin: 0 0 1.5rem; }
.manifesto .kicker { font-size: 1.05rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
@media (max-width: 900px) { .manifesto .grid { grid-template-columns: 1fr; } }

/* Tira de 12 meses */
.months { padding-bottom: clamp(4.5rem, 9vw, 8.5rem); }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 440px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem var(--gutter) 1.5rem; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
@media (min-width: 1380px) { .strip { padding-left: calc((100vw - var(--w)) / 2); padding-right: calc((100vw - var(--w)) / 2); margin: 0 calc(-1 * ((100vw - var(--w)) / 2)); } }
.month { scroll-snap-align: start; }
.month figure { margin: 0; }
.month .ph { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--line-2); }
.month img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.month:hover img { transform: scale(1.03); }
.month figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem .2rem 0; }
.month figcaption b { font-weight: 600; }
.month figcaption span { color: var(--ink-3); font-size: .9rem; }
.strip-nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: -.5rem; }
.strip-nav button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: border-color 160ms ease, transform 140ms var(--ease-out); }
.strip-nav button:hover { border-color: var(--ink); }
.strip-nav button:active { transform: scale(.95); }

/* Antes / después */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.cmp { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; touch-action: none; user-select: none; box-shadow: var(--shadow); cursor: ew-resize; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cmp .knob { position: absolute; top: 50%; left: var(--x, 50%); width: 48px; height: 48px; border-radius: 999px; background: #fff; transform: translate(-50%, -50%); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.cmp .lbl { position: absolute; top: 1rem; padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 500; background: rgba(255,255,255,.88); color: var(--ink); }
.cmp .lbl.l { left: 1rem; } .cmp .lbl.r { right: 1rem; }
.points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; color: var(--ink-2); }
.points li b { color: var(--ink); font-weight: 600; display: block; }
.points .dot { width: 28px; height: 28px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 600; font-size: .8rem; margin-top: .1rem; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }

/* Dos modalidades */
.ways { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.way { border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: #fff; }
.way .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line-2); position: relative; }
.way .media img { width: 100%; height: 100%; object-fit: cover; }
.way .mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; height: 100%; }
.way .mosaic img { width: 100%; height: 100%; object-fit: cover; }
.way .content { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: .9rem; align-content: start; }
.way .price { font-size: 1rem; color: var(--ink-2); }
.way .price b { font-weight: 600; color: var(--ink); font-size: 1.5rem; letter-spacing: -0.02em; }
.way .badge { justify-self: start; font-size: .78rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--accent-soft); color: #9a2709; }
.way ul { margin: .2rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.way ul li { margin: .25rem 0; }
.way .btn { justify-self: start; margin-top: .4rem; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }

/* Cómo funciona */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.step { counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-size: .85rem; font-weight: 500; color: var(--accent); margin-bottom: .9rem; letter-spacing: 0; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--ink-2); text-wrap: pretty; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } .step { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-2); } .step:last-child { border: 0; } }

/* Spec + calculadora + formulario */
.quote { background: #fafafa; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.specs { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.4rem; }
.specs span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .85rem; font-size: .9rem; color: var(--ink-2); }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 2.5rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.panel h3 { margin-bottom: 1.2rem; }
.field { display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.field label, .field .lab { font-size: .92rem; font-weight: 500; }
.field .help { font-size: .82rem; color: var(--ink-3); }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.seg button { min-height: 46px; padding: .5rem .6rem; line-height: 1.2; background: #fff; border: 0; font-weight: 500; font-size: .95rem; transition: background-color 140ms ease, color 140ms ease; }
.seg button small { display: block; font-weight: 400; font-size: .78rem; opacity: .75; }
@media (max-width: 420px) { .seg button { font-size: .88rem; } }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.qty { display: grid; grid-template-columns: 1fr 120px; gap: .8rem; align-items: center; }
input[type="range"] { width: 100%; accent-color: var(--accent); height: 36px; margin: 0; }
.input, select.input, textarea.input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 .9rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color 140ms ease, box-shadow 140ms ease; }
textarea.input { height: auto; min-height: 96px; padding: .7rem .9rem; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,11,12,.08); }
.input::placeholder { color: #8e8e95; }
.input[aria-invalid="true"] { border-color: var(--accent); }
.err { color: var(--accent-ink); font-size: .85rem; display: none; }
.field.bad .err { display: block; }
.ticks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); margin-top: -.2rem; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); }
.switch .lab { font-weight: 500; }
.switch .help { display: block; font-weight: 400; }
.toggle { position: relative; width: 50px; height: 30px; border-radius: 999px; background: #d4d4d8; border: 0; transition: background-color 180ms ease; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform 200ms var(--ease-out); }
.toggle[aria-checked="true"] { background: var(--accent-ink); }
.toggle[aria-checked="true"]::after { transform: translateX(20px); }
.result { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.2rem; display: grid; gap: .55rem; }
.result .row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--ink-2); font-size: .95rem; }
.result .row > span { flex: 1 1 auto; }
.result .row b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
@media (max-width: 420px) { .result .row { font-size: .88rem; } .result .row .muted { display: block; font-size: .78rem; } }
@media (max-width: 360px) { .result .row { flex-wrap: wrap; gap: .1rem .75rem; } .result .row b { margin-left: auto; } }
.result .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .4rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.result .total .big { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.result .total .big small { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.result .fine { font-size: .82rem; color: var(--ink-3); margin-top: .4rem; }
.form-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .4rem; }
.form-foot .btn { min-width: 220px; }
.ok { display: none; padding: 1.4rem; border-radius: var(--radius-s); background: var(--accent-soft); color: var(--accent-ink); }
.ok b { color: var(--ink); }
.panel.sent form { display: none; } .panel.sent .ok { display: block; }
.check { display: flex; gap: .7rem; align-items: start; font-size: .95rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }

/* Confianza */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.case { border-top: 2px solid var(--ink); padding-top: 1.2rem; }
.case .n { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.case .n small { font-size: 1rem; letter-spacing: 0; font-weight: 500; color: var(--ink-2); margin-left: .35rem; }
.case p { color: var(--ink-2); margin-top: .7rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.review { background: #fafafa; border-radius: var(--radius); padding: 1.6rem; display: grid; gap: .9rem; align-content: start; }
.review .stars { color: var(--accent); letter-spacing: .1em; font-size: .9rem; }
.review p { color: var(--ink); text-wrap: pretty; }
.review footer { font-size: .9rem; color: var(--ink-3); }
.review footer b { color: var(--ink); font-weight: 500; }
.g-link { margin-top: 1.4rem; font-size: .95rem; }
.g-link a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .proof, .reviews { grid-template-columns: 1fr; } }

/* Tecnología */
.tech { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; font-size: .9rem; color: var(--ink-2); background: #fff; }
.qa { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.qa li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: .3rem; }
.qa li b { font-weight: 600; }
.qa li span { color: var(--ink-2); }
.tech-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; margin-top: 2rem; }
.tech-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .tech { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; color: var(--ink-3); font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.3rem; color: var(--ink-2); max-width: 65ch; text-wrap: pretty; }

/* CTA final */
.final { position: relative; color: #fff; overflow: clip; isolation: isolate; }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.15)); z-index: -1; }
.final .wrap { padding: clamp(5rem, 11vw, 9rem) 0; }
.final .h2 { max-width: 16ch; }
.final .lede { color: rgba(255,255,255,.88); margin-top: 1rem; }

/* Footer */
.footer { padding: 3.5rem 0 2.5rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer .h4 { margin: 0 0 .8rem; font-size: .85rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer .legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-3); }
.footer .logo { height: 40px; width: auto; margin-bottom: .9rem; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

/* Revelado al hacer scroll (una vez, ease-out, sutil) */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .month img, .switcher-stage img { transition: none; } }

/* Barra CTA móvil */
.mobile-cta { display: none; }
@media (max-width: 700px) { .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); } .mobile-cta .btn { width: 100%; } body { padding-bottom: 80px; } }

/* ---------- Galería: CTA, selector de 12 escenas, vistas ---------- */
.gal-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; margin-top: 1.25rem; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fafafa; }
.gal-cta > div { max-width: 62ch; }
.gal-cta .h3 { margin-bottom: .4rem; }
.way .content .btn + .btn { margin-left: .5rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .9rem; font-weight: 500; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.picker { display: none; padding: clamp(2rem, 5vw, 3.5rem) 0 9rem; }
body[data-view="pick"] .picker { display: block; }
body[data-view="pick"] main > section:not(.picker) { display: none; }
body:not([data-view="home"]) .mobile-cta { display: none; }
body[data-view="pick"] .footer, body[data-view="pick"] .final { display: none; }
.back { display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .9rem 0 .6rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; }
.back:hover { border-color: var(--ink); }
.picker-top { max-width: 760px; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.picker-top .h2 { margin-top: 1.2rem; }
.picker-top .lede { margin-top: .8rem; }

.pgrid { columns: 4 260px; column-gap: 14px; }
.tile { display: block; width: 100%; break-inside: avoid; margin: 0 0 14px; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity 380ms var(--ease-out), transform 380ms var(--ease-out); }
.tile .ph { position: relative; border-radius: 14px; overflow: hidden; background: var(--line-2); transition: transform 220ms var(--ease-out); }
.tile img { display: block; width: 100%; height: auto; }
.tile:hover .ph { transform: scale(1.015); }
.tile:active .ph { transform: scale(.97); }
.tile:focus-visible .ph { outline: 3px solid var(--ink); outline-offset: 2px; }
.tile .tick { position: absolute; top: 9px; left: 9px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.95); background: rgba(11,11,12,.18); box-shadow: 0 1px 4px rgba(0,0,0,.35); display: grid; place-items: center; transition: background-color 160ms ease, border-color 160ms ease, transform 220ms var(--ease-out); }
.tile .tick svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.4); transition: opacity 160ms ease, transform 220ms var(--ease-out); }
.tile .ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--accent); pointer-events: none; transition: box-shadow 220ms var(--ease-out); }
.tile[aria-pressed="true"] .ph { transform: scale(.955); }
.tile[aria-pressed="true"] .ph::after { box-shadow: inset 0 0 0 5px var(--accent); }
.tile[aria-pressed="true"] .tick { background: var(--accent); border-color: #fff; transform: scale(1.08); }
.tile[aria-pressed="true"] .tick svg { opacity: 1; transform: none; }
.tile .num { position: absolute; top: 9px; right: 9px; min-width: 26px; height: 26px; padding: 0 .4rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; display: none; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.tile[aria-pressed="true"] .num { display: grid; }
.tile .code { display: block; padding: .4rem .15rem 0; font-size: .78rem; color: var(--ink-3); line-height: 1.3; overflow-wrap: anywhere; }
.pgrid.done .tile[aria-pressed="false"] { opacity: 0; transform: scale(.94); pointer-events: none; }

.pcount { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); z-index: 60; display: none; align-items: center; gap: 1rem; padding: .7rem .8rem .7rem 1.2rem; border-radius: 999px; background: rgba(11,11,12,.92); color: #fff; backdrop-filter: blur(14px); box-shadow: 0 18px 50px -12px rgba(0,0,0,.55); transition: transform 380ms var(--ease-out); max-width: calc(100vw - 24px); }
body[data-view="pick"] .pcount { display: flex; transform: translate(-50%, 0); }
.pc-num { display: flex; align-items: baseline; gap: .45rem; white-space: nowrap; }
.pc-num b { font-size: 1.9rem; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 1.4ch; text-align: center; }
.pc-num span { font-size: .92rem; opacity: .8; }
.pc-bar { width: clamp(70px, 14vw, 150px); height: 6px; border-radius: 99px; background: rgba(255,255,255,.2); overflow: hidden; }
.pc-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width 320ms var(--ease-out); }
.pc-clear { background: none; border: 0; color: #fff; opacity: .75; font: inherit; font-size: .85rem; padding: .4rem .3rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.pc-clear:hover { opacity: 1; }
.pc-clear[hidden], .pc-go[hidden] { display: none; }
@media (max-width: 520px) { .pcount { gap: .6rem; padding-left: .9rem; } .pc-bar { display: none; } .pc-num b { font-size: 1.6rem; } }

.chosen { border: 1px solid var(--line); background: #fafafa; border-radius: var(--radius-s); padding: .9rem 1rem; margin-bottom: 1.2rem; }
.chosen-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.chosen-list { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.chosen-list:empty { display: none; }
.chosen-list li { font-size: .7rem; color: var(--ink-3); line-height: 1.25; overflow-wrap: anywhere; }
.chosen-list img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-bottom: .25rem; }
.chosen.complete { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 520px) { .chosen-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .tile, .tile .ph, .tile .tick, .tile .tick svg, .pcount, .pc-bar i { transition: none; } }
.chosen[hidden] { display: none; }
body[data-view="pick"] .picker .wrap { animation: viewIn 320ms var(--ease-out) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { body[data-view="pick"] .picker .wrap { animation: none; } }

/* Eje emocional: la sonrisa */
.hero .hero-title { max-width: 19ch; font-size: clamp(2.2rem, 1.1rem + 3.1vw, 3.9rem); }
.smile { background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%); }
.smile .head { max-width: 820px; }
.smile .kicker { color: var(--accent-ink); }
.moment { list-style: none; counter-reset: m; margin: 0; padding: 2rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.moment li { counter-increment: m; }
.moment li::before { content: counter(m); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: .9rem; }
.moment li:last-child::before { background: var(--accent); }
.moment b { display: block; font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: .35rem; }
.moment span { color: var(--ink-2); text-wrap: pretty; }
.moment-end { margin-top: 2.2rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 30ch; text-wrap: balance; }
.evidence { margin-top: clamp(2.5rem, 5vw, 4rem); }
.evidence-lead { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.ev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ev-grid article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.ev-grid b { font-size: 1.1rem; letter-spacing: -.01em; }
.ev-grid p { color: var(--ink-2); font-size: .97rem; text-wrap: pretty; }
.ev-grid a { margin-top: auto; padding-top: .4rem; font-size: .82rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.ev-grid a:hover { color: var(--ink); }
.smile-who { margin-top: 2rem; max-width: 62ch; color: var(--ink-2); }
@media (max-width: 900px) { .moment { grid-template-columns: 1fr 1fr; } .ev-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .moment { grid-template-columns: 1fr; gap: 1.4rem; } }

/* Botón LLAMAR en la cabecera (icono + texto). En móvil sustituye al botón de precios (pill oscura) */
.nav-tel { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 42px; padding: 0 1rem; margin-left: .5rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease; }
.nav-tel svg { flex: none; }
.nav-tel:hover { color: var(--accent-ink); border-color: currentColor; }
.nav-tel + .btn { margin-left: 0; }
@media (max-width: 900px) { .nav-tel { margin-left: auto; } }
@media (max-width: 700px) {
  .nav .btn { display: none; }
  .nav .nav-tel { height: 40px; padding: 0 .95rem 0 .85rem; margin-left: auto; border: 0; background: var(--ink); color: #fff; font-size: .82rem; }
  .nav .nav-tel svg { width: 17px; height: 17px; }
  .nav .brand { flex-shrink: 0; }
  .nav .nav-tel:hover { color: #fff; background: var(--accent-ink); }
}

/* Peana realista: la cuña trasera nace de la base de la hoja (foto de producto real), con grosor de cartón,
   sombra de la espiral sobre el papel y sombra proyectada sobre la mesa (luz desde arriba a la izquierda) */
.cal-back { position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; right: -11%; clip-path: polygon(0 0, 90% 0, 100% 97%, 0 100%); background: linear-gradient(112deg, #e9e9e4 0%, #d6d6d0 45%, #b9b9b3 100%); }
.cal-back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(0,0,0,.14) 100%); }
.cal-tent::before { content: ''; position: absolute; z-index: 0; top: 0; bottom: 0; right: -.9cqw; width: 1.1cqw; background: linear-gradient(90deg, #cfcfca, #a9a9a3); border-radius: 0 1px 1px 0; }
.cal-tent::after { content: ''; position: absolute; z-index: -2; left: 0; right: -10%; bottom: -.6cqw; height: 1.2cqw; background: rgba(0,0,0,.65); filter: blur(1.2px); }
.cal::after { content: ''; position: absolute; z-index: -1; left: 2%; right: -30%; bottom: -8cqw; height: 8cqw; background: linear-gradient(180deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.32) 50%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(90deg, #000 0, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 55%, transparent 100%); filter: blur(2.5px); transform: skewX(-42deg); transform-origin: 0 0; }
.cal-ph::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.16), inset 0 .6cqw 1.4cqw rgba(0,0,0,.22); background: linear-gradient(115deg, rgba(255,255,255,.14) 0, rgba(255,255,255,0) 40%); }
.hero .hero-title .h1-2 { display: block; color: rgba(255,255,255,.78); }
.smile .kicker { margin-bottom: .9rem; }

/* Compra: fotos propias, pago y subida */
[hidden] { display: none !important; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; border-radius: 999px; transition: background-color 140ms ease; }
.stepper button:hover:not(:disabled) { background: var(--line-2); }
.stepper button:disabled { opacity: .3; }
.stepper output { min-width: 2.2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.uploader { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem; margin-bottom: 1.1rem; display: grid; gap: .8rem; background: #fafafa; }
.up-head { display: flex; justify-content: space-between; align-items: baseline; }
.drop { display: grid; gap: .25rem; justify-items: center; text-align: center; padding: 1.2rem 1rem; border: 1.5px dashed #c4c4cb; border-radius: var(--radius-s); background: #fff; cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease; }
.drop:hover, .drop.over { border-color: var(--accent-ink); background: var(--accent-soft); }
.drop small { color: var(--ink-3); font-size: .8rem; }
.up-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.up-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .4rem .5rem; font-size: .9rem; }
.up-list img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; background: var(--line-2); }
.up-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-list .st { display: block; font-size: .78rem; color: var(--ink-3); }
.up-list .st.good { color: #1a7f37; } .up-list .st.warn { color: var(--accent-ink); }
.up-list button { border: 0; background: transparent; width: 36px; height: 36px; border-radius: 999px; font-size: 1.2rem; color: var(--ink-3); }
.up-list button:hover { background: var(--line-2); color: var(--ink); }
.check.later { margin: 0; }
.paybox { border: 0; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .5rem; }
.paybox legend { font-size: .92rem; font-weight: 500; padding: 0; margin-bottom: .45rem; }
.pm { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease; }
.pm:has(input:checked) { border-color: var(--ink); background: #fafafa; }
.pm input { accent-color: var(--accent-ink); margin-top: .2rem; width: 18px; height: 18px; }
.pm small { display: block; color: var(--ink-3); font-size: .82rem; font-weight: 400; }
.form-foot.stack { flex-direction: column; align-items: stretch; }
.form-foot.stack .btn { width: 100%; }
.form-foot.stack .small { text-align: center; }
.pay-msg { margin-top: .8rem; padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--accent-soft); color: var(--accent-ink); font-size: .92rem; }
.pedido-page { max-width: 720px; margin: 0 auto; padding: 3rem 1.2rem 5rem; display: grid; gap: 1.4rem; }
.pedido-page .banner { padding: 1rem 1.2rem; border-radius: var(--radius-s); font-weight: 500; }
.banner.good { background: #e8f6ec; color: #14612b; } .banner.wait { background: #fff4d6; color: #7a5200; } .banner.bad { background: var(--accent-soft); color: var(--accent-ink); }

/* Eslogan en la zona de pedido */
.made { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 1.2rem 0 0; font-size: .85rem; font-weight: 500; letter-spacing: .02em; color: var(--ink-2, #444); }
.made svg { color: #e0245e; flex: none; }
#precio { scroll-margin-top: 60px; }
body.at-order .mobile-cta { display: none; }

/* Hero móvil compacto: texto arriba, el vídeo como banda con el nombre bien visible, calendarios debajo (todo en la primera pantalla) */
@media (max-width: 700px) {
  .hero { display: grid; grid-template-columns: 100%; grid-template-rows: auto auto auto; align-items: start; min-height: 0; }
  .hero::after { display: none; }
  .hero .wrap { display: contents; }
  .hero-copy { grid-row: 1; padding: 1.3rem var(--gutter) 0; position: relative; z-index: 2; }
  .hero .hero-title { font-size: clamp(1.7rem, 7.6vw, 2.15rem); line-height: 1.04; max-width: 17ch; }
  .hero .lede { font-size: 1rem; line-height: 1.35; margin-top: .65rem; max-width: 30ch; }
  .hero-note { display: none; }
  .hero-media { position: relative; inset: auto; grid-row: 2; z-index: 0; height: min(52vw, 240px); margin-top: .6rem;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 80%, transparent 100%); }
  .hero-media { overflow: hidden; }
  .hero-media video, .hero-media img { object-position: 50% 100%; transform: scale(1.3); transform-origin: 50% 70%; }
  .hero-cals { grid-row: 3; grid-column: 1; justify-self: center; width: min(66vw, 300px); margin-top: -2.2rem; margin-bottom: 1.1rem; position: relative; z-index: 2; }
  .cals-cap { display: none; }
}
.gal-cta .btn { white-space: normal; height: auto; min-height: 52px; padding-top: .7rem; padding-bottom: .7rem; text-align: center; max-width: 100%; }
@media (max-width: 700px) { .gal-cta .btn { width: 100%; } }
.months { overflow-x: clip; }

/* Pago embebido (Stripe Payment Element) y aviso de presupuesto recuperado */
.paypanel { margin-top: 1.1rem; padding: 1.1rem; border: 1px solid var(--line, #e6e0d8); border-radius: var(--radius-s, 10px); background: #fff; display: grid; gap: .9rem; }
.paypanel[hidden], .bank[hidden] { display: none; }
.pp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pp-fine { text-align: center; margin: 0; }
#payElement { min-height: 56px; }
.bank { display: grid; gap: .5rem; font-size: .95rem; }
.bank .row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line, #eee); }
.bank .row b { font-variant-numeric: tabular-nums; word-break: break-all; text-align: right; }
.restored { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--radius-s, 10px); background: #e8f6ec; color: #14612b; font-size: .95rem; }

/* H1 SEO: kicker pequeño en mayúsculas sobre el titular (h2) */
.hero .h1-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); margin: 0 0 .9rem; line-height: 1.3; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (max-width: 700px) { .hero .h1-kicker { font-size: .66rem; letter-spacing: .13em; margin-bottom: .55rem; } }

.extras { border: 1px solid var(--line); border-radius: var(--radius-s); padding: .4rem 1rem; margin-bottom: 1.1rem; background: #fafafa; }
.extra { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; }
.extra[hidden] { display: none; }
.extra + .extra { border-top: 1px solid var(--line); }
.extra-txt { display: grid; gap: .15rem; min-width: 0; }
.extra-txt .small { overflow-wrap: anywhere; }
.extra-txt .good, .nm-count.good { color: #1a7f37; }
.extra-txt .warn, .nm-count.warn { color: var(--accent-ink); }
.extra .btn { flex: none; cursor: pointer; }
.extras-note { margin: 0 0 .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.modal { border: 0; border-radius: 18px; padding: 0; width: min(560px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); box-shadow: 0 24px 80px rgba(0,0,0,.28); color: var(--ink); }
.modal::backdrop { background: rgba(11,11,12,.55); }
.modal-in { display: grid; gap: .8rem; padding: 1.4rem; }
.modal textarea { min-height: 220px; resize: vertical; font-variant-numeric: tabular-nums; }
.nm-count { margin: 0; font-size: .9rem; color: var(--ink-3); min-height: 1.3em; }
.modal-foot { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.modal-foot .spacer { flex: 1; }
@media (max-width: 560px) { .extra { flex-direction: column; align-items: stretch; } .extra .btn { text-align: center; justify-content: center; } }

/* Bloques en dos columnas */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: stretch; }
.col > :last-child { margin-bottom: 0; }
.grp { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-2); }
.grp2 { margin-top: .4rem; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 .8rem; }
.row2.cp { grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); }
select.input { appearance: auto; }
.col-price { display: flex; flex-direction: column; }
.col-price .result { margin-top: 0; border-top: 0; flex: 1; align-content: start; background: #fafafa; border-radius: var(--radius-s); padding: 1.2rem 1.3rem 1.3rem; }
.col-mat { display: flex; flex-direction: column; }
.col-mat .field-grow { flex: 1; margin-bottom: 0; grid-template-rows: auto 1fr; }
.col-mat .field-grow textarea { min-height: 5.5rem; resize: none; }
.pay-block { margin-top: 1.6rem; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fafafa; }
.pay-cols { margin: 0; }
.pay-block .pm { background: #fff; }
.pay-block .pm:has(input:checked) { background: #fff; }
.paybox.bad .pm { border-color: var(--accent-ink); }
.paybox.bad .err { display: block; }
@media (min-width: 901px) { .pay-cols > .col:first-child { order: 2; } }
.pay-cols .paybox { margin: 0; }
.pay-cols .form-foot { margin-top: 0; }
.pay-cols .form-foot .btn { min-width: 0; width: 100%; }
@media (max-width: 900px) {
  .cols { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .pay-cols { gap: 1.2rem; }
}
@media (max-width: 420px) { .row2, .row2.cp { grid-template-columns: 1fr; } }

/* Chips de características: una sola línea en escritorio ancho (por debajo de 1400 px no caben y pasan a dos) */
@media (min-width: 1400px) {
  .specs { flex-wrap: nowrap; gap: .4rem; }
  .specs span { white-space: nowrap; padding: .38rem .7rem; font-size: clamp(.78rem, .35rem + .35vw, .88rem); }
}
/* EN/FR/CA tienen textos más largos: si no caben en una línea, pasan a dos (sin desbordar la página) */
html:not([lang="es"]) .specs { flex-wrap: wrap; }

/* Botón flotante «Recomendar» + panel (site/share.js) */
.share-fab { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: .55rem; height: 50px; padding: 0 1.25rem 0 1.05rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .98rem; box-shadow: 0 14px 34px -10px rgba(11,11,12,.55), 0 0 0 1px rgba(255,255,255,.08) inset; opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), background-color 160ms ease; }
.share-fab.on { opacity: 1; transform: none; pointer-events: auto; }
.share-fab:hover { background: #26262b; }
.share-fab:active { transform: scale(.96); }
.share-fab svg { color: var(--accent); }
body:not([data-view="home"]) .share-fab, body:not([data-view="home"]) .share-nudge { display: none; }
.share-nudge { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 45; width: min(300px, calc(100vw - 36px)); padding: .9rem 2.2rem .9rem 1rem; border-radius: 14px; background: #fff; color: var(--ink-2); font-size: .92rem; line-height: 1.4; box-shadow: 0 18px 46px -14px rgba(11,11,12,.35), 0 0 0 1px var(--line); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.share-nudge::after { content: ""; position: absolute; right: 34px; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: 1px 1px 0 var(--line); }
.share-nudge.on { opacity: 1; transform: none; pointer-events: auto; }
.share-nudge b { color: var(--ink); display: block; margin-bottom: .15rem; }
.share-nudge button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink-3); }
.share-dlg { position: fixed; inset: 0; z-index: 90; }
.share-bg { position: absolute; inset: 0; background: rgba(11,11,12,.38); backdrop-filter: blur(3px); opacity: 0; transition: opacity 220ms ease; }
.share-panel { position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: calc(84px + env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 36px)); max-height: calc(100dvh - 110px); overflow: auto; padding: 1.6rem 1.5rem 1.3rem; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px -20px rgba(11,11,12,.5); opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out); }
.share-dlg.on .share-bg { opacity: 1; }
.share-dlg.on .share-panel { opacity: 1; transform: none; }
.share-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--line-2); color: var(--ink-2); }
.share-x:hover { background: var(--line); }
.share-k { color: var(--accent-ink); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.share-t { margin-top: .35rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; font-size: 1.55rem; padding-right: 2rem; text-wrap: balance; }
.share-p { margin-top: .55rem; color: var(--ink-2); font-size: .96rem; line-height: 1.45; text-wrap: pretty; }
.share-l { display: block; margin-top: 1.1rem; font-size: .85rem; font-weight: 500; }
.share-l span { color: var(--ink-3); font-weight: 400; }
.share-panel textarea { display: block; width: 100%; margin-top: .4rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-s); font: inherit; font-size: .92rem; line-height: 1.45; color: var(--ink); resize: vertical; background: #fafafa; }
.share-panel textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.share-card { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; padding: .5rem; border: 1px solid var(--line); border-radius: 12px; }
.share-card img { width: 84px; height: 44px; object-fit: cover; border-radius: 7px; flex: none; }
.share-card b { display: block; font-size: .86rem; font-weight: 600; line-height: 1.25; }
.share-card span { font-size: .8rem; color: var(--ink-3); }
.share-native { width: 100%; margin-top: 1rem; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin-top: 1rem; }
.share-ch { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .55rem .2rem .5rem; border: 0; border-radius: 12px; background: none; font-size: .78rem; color: var(--ink-2); transition: background-color 140ms ease, transform 140ms var(--ease-out); }
.share-ch:hover { background: var(--line-2); }
.share-ch:active { transform: scale(.95); }
.share-ch i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; }
.share-ok { min-height: 1.3em; margin-top: .5rem; font-size: .86rem; color: #15803d; text-align: center; opacity: 0; transition: opacity 200ms ease; }
.share-ok.on { opacity: 1; }
.share-thanks { margin-top: .2rem; text-align: center; font-size: .82rem; color: var(--ink-3); }
html.share-lock { overflow: hidden; }
@media (max-width: 700px) {
  .share-fab { bottom: calc(88px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .share-fab span { display: none; }
  .share-nudge { bottom: calc(150px + env(safe-area-inset-bottom)); }
  .share-nudge::after { right: 20px; }
  .share-panel { left: 0; right: 0; bottom: 0; width: auto; max-height: 92dvh; border-radius: 22px 22px 0 0; padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); transform: translateY(40px); transform-origin: bottom center; }
}
@media (prefers-reduced-motion: reduce) { .share-fab, .share-nudge, .share-panel, .share-bg { transition: opacity 160ms ease; transform: none !important; } }
.bank-alert { margin: 0 0 .8rem; padding: .8rem .95rem; border: 2px solid var(--accent, #c43310); border-radius: 10px; font-size: 1rem; line-height: 1.4; }

/* Definición bajo el hero */
.def-strip { background: #1b1511; color: rgba(255,255,255,.78); padding: 1.2rem 0 1.6rem; }
.def-strip p { margin: 0 auto; max-width: 62ch; font-size: .95rem; line-height: 1.5; }
@media (max-width: 700px) {
  .hero-copy { padding-top: 1rem; }
  .hero .h1-kicker { margin-bottom: .4rem; }
  .hero .lede { max-width: 32ch; }
  .hero-media { height: min(34vw, 150px); margin-top: .4rem; }
  .hero-cals { margin-top: -1.6rem; margin-bottom: .9rem; }
  .def-strip p { font-size: .88rem; }
}

/* Selector de idioma (cabecera) — v27 */
/* Selector de idioma: siempre el último elemento de la cabecera (extremo derecho) */
.lang { position: relative; flex: none; }
.nav .lang { margin-left: -.5rem; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; height: 36px; padding: 0 .6rem; border-radius: 999px; border: 1px solid transparent; color: var(--ink-2); font-size: .85rem; font-weight: 500; letter-spacing: .02em; cursor: pointer; user-select: none; transition: border-color 160ms ease, color 160ms ease; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--ink); border-color: var(--line); }
.lang-list { position: absolute; top: calc(100% + 6px); right: 0; margin: 0; padding: .35rem; list-style: none; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 60; }
.lang-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .7rem; border-radius: 8px; font-size: .92rem; color: var(--ink-2); white-space: nowrap; }
.lang-list a:hover { background: var(--line-2); color: var(--ink); }
.lang-list a[aria-current] { color: var(--ink); font-weight: 600; }
.lang-list a small { color: var(--ink-3); font-weight: 400; }
@media (max-width: 900px) { .lang summary { padding: 0 .4rem; } }
@media (max-width: 340px) { .nav .brand-word { font-size: 1rem; } .nav .brand-mark { width: 26px; height: 26px; } .nav .brand { gap: .35rem; } .nav .wrap { gap: .5rem; } }
@media (max-width: 380px) { .nav .nav-tel { padding: 0 .75rem 0 .65rem; letter-spacing: .03em; gap: .35rem; } }
@media (max-width: 700px) { .nav .lang { margin-left: -.35rem; } .nav .lang summary { color: var(--ink); height: 40px; } .nav .lang summary svg { width: 18px; height: 18px; } }
@media (max-width: 440px) { .lang summary span { display: none; } }
.foot-langs { display: flex; gap: .3rem .9rem; flex-wrap: wrap; }
.foot-langs a[aria-current] { color: var(--ink); font-weight: 600; }

/* Teléfono con prefijo internacional */
.tel { display: grid; grid-template-columns: minmax(104px, auto) 1fr; gap: .5rem; }
.tel select.input { padding-right: 1.6rem; font-variant-numeric: tabular-nums; }
