/* Hocicua · Marketing y publicidad — estilo editorial */
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url("/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url("/fonts/poppins-800.woff2") format("woff2"); }

:root {
  --red: #c40000;
  --red-deep: #990000;
  --red-ink: #6e0000;
  --red-soft: #fbe3de;
  --pink: #f4d3cb;
  --cream: #f5eee4;
  --cream-2: #ece2d4;
  --paper: #f5eee4;
  --white: #fffbf7;
  --ink: #151112;
  --ink-2: #4b4245;
  --ink-3: #82777a;
  --line: rgba(21, 17, 18, .14);
  --line-red: rgba(196, 0, 0, .25);
  --radius: 16px;
  --radius-lg: 26px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(60, 10, 10, .06), 0 24px 50px -28px rgba(60, 10, 10, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 Poppins, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: normal; color: var(--red); }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.on-red :focus-visible, .footer :focus-visible { outline-color: var(--white); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main > section { overflow-x: clip; }

/* Botones */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1 Poppins, sans-serif; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: var(--pink); }
.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.on-red .btn-line:hover { background: var(--white); border-color: var(--white); color: var(--red); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--red); }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream); transition: background-color .3s, box-shadow .3s; }
.header.scrolled { background: rgba(245, 238, 228, .9); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-height: 44px; margin-right: auto; text-decoration: none; }
.brand img { width: 128px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; white-space: nowrap; padding: 10px 12px; border-radius: 999px; font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: var(--cream-2); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateX(-50%); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer; place-items: center; }
.menu-btn .icon { width: 22px; height: 22px; }
@media (max-width: 1140px) { .nav a { padding: 10px 9px; font-size: .875rem; } .header-inner { gap: 16px; } }
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .header-inner > .btn { display: none; }
  .nav { position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: var(--cream); box-shadow: 0 30px 40px -24px rgba(40, 0, 0, .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: transparent; color: var(--red); }
  .nav a[aria-current="page"]::after { left: auto; right: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; transform: translateY(-50%); }
  .nav .btn { display: inline-flex; margin-top: 22px; }
}
@media (min-width: 981px) { .nav .btn { display: none; } }

/* Guiño */
.wink { display: block; color: var(--red); }
.wink svg { display: block; width: 100%; height: auto; }
.wink .lid { transform-origin: 50% 50%; transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) { .wink.blink .lid { animation: blink 5s 1.5s infinite; } }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.06); } 96% { transform: scaleY(1); } }

/* Etiquetas de sección */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .num { color: var(--red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.on-red .eyebrow, .on-ink .eyebrow { color: rgba(255, 251, 247, .85); }
.on-red .eyebrow::before { background: var(--white); }
.on-red .eyebrow .num { color: var(--white); }
.section { padding: clamp(80px, 11vw, 160px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.on-red { background: var(--red); color: var(--white); }
.on-white { background: var(--white); }
.on-ink { background: var(--ink); color: var(--white); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { grid-column: 1; margin-top: 18px; font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.head .lead { grid-column: 1; max-width: 56ch; }
.head > .btn, .head > .link-arrow { grid-row: 1 / span 3; grid-column: 2; align-self: end; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } .head > .btn, .head > .link-arrow { grid-row: auto; grid-column: 1; justify-self: start; } }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.on-red .lead, .on-ink .lead { color: rgba(255, 251, 247, .86); }

/* Portada */
.hero { position: relative; padding: clamp(16px, 3vw, 40px) 0 0; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.hero-brand { display: flex; align-items: center; gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 4vw, 48px) 0 clamp(8px, 2vw, 16px); }
.hero-brand .wordmark { flex: 1 1 auto; min-width: 0; width: 100%; max-width: 980px; }
.hero-brand .wink { flex: 0 0 clamp(90px, 15vw, 220px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); line-height: 1.02; }
.hero-side .lead { color: var(--ink-2); }
.hero-side .price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero-side .price strong { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; color: var(--red); line-height: 1; }
.hero-side .price span { color: var(--ink-2); font-weight: 500; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Galería de fotos de la portada */
.strip { position: relative; display: grid; grid-template-columns: 1.1fr .9fr 1.2fr .8fr 1fr; gap: clamp(8px, 1.2vw, 16px); align-items: end; padding: 0 var(--gutter); max-width: 1600px; margin: 0 auto; }
.strip figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--cream-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.strip figure:hover img { transform: scale(1.05); }
.strip figure:nth-child(1) { aspect-ratio: 4 / 5; }
.strip figure:nth-child(2) { aspect-ratio: 3 / 4.6; }
.strip figure:nth-child(3) { aspect-ratio: 4 / 4.4; }
.strip figure:nth-child(4) { aspect-ratio: 3 / 4.8; }
.strip figure:nth-child(5) { aspect-ratio: 4 / 5.2; }
.strip figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 251, 247, .92); font-size: .75rem; font-weight: 600; }
.sticker { position: absolute; z-index: 2; width: clamp(110px, 12vw, 168px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(90, 0, 0, .7); text-decoration: none; }
.sticker svg.ring { position: absolute; inset: 6%; width: 88%; height: 88%; }
.sticker text { font: 700 11.5px Poppins, sans-serif; letter-spacing: 2.6px; fill: currentColor; text-transform: uppercase; }
.sticker .wink { width: 44%; color: var(--white); }
.strip .sticker { left: 44%; top: -9%; }
@media (prefers-reduced-motion: no-preference) { .sticker svg.ring { animation: spin 22s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip figure { flex: 0 0 62%; scroll-snap-align: start; aspect-ratio: 4 / 5 !important; }
  .strip .sticker { position: absolute; left: auto; right: calc(var(--gutter) + 6px); top: -48px; width: 104px; }
}

/* Cinta */
.band { overflow: hidden; background: var(--red); color: var(--white); padding: clamp(16px, 2vw, 24px) 0; margin-top: clamp(48px, 7vw, 96px); }
.band-track { display: flex; width: max-content; font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.band-track span { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
.band-track .wink { width: 1.6em; color: var(--white); }
@media (prefers-reduced-motion: no-preference) { .band-track { animation: band 34s linear infinite; } }
@keyframes band { to { transform: translateX(-50%); } }

/* Caso */
.case-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin: 18px 0 clamp(32px, 5vw, 56px); }
.case-title h2 { font-size: clamp(3.4rem, 11vw, 10rem); letter-spacing: -.06em; line-height: .9; }
.case-title p { font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; color: var(--ink-2); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.case-copy .lead { color: var(--ink); font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.badge .icon { width: 14px; height: 14px; color: #ff6b5f; }
.stats { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.stats li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stats strong { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.04em; color: var(--red); line-height: 1.1; }
.stats span { color: var(--ink-2); font-size: .9375rem; }
.checks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { margin-top: 4px; color: var(--red); }
.on-red .checks .icon, .on-ink .checks .icon { color: var(--white); }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 20px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.tabs button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 .9375rem/1 Poppins, sans-serif; cursor: pointer; transition: background-color .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr; } }

/* Marcos de pantalla */
.devices { position: relative; padding-bottom: 12%; }
.laptop { width: 88%; }
.laptop-screen { position: relative; padding-top: 30px; border-radius: 14px; overflow: hidden; background: #e6dccf; border: 1px solid var(--line); box-shadow: var(--shadow); }
.laptop-screen::before { content: ""; position: absolute; left: 14px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #e15b4f; box-shadow: 14px 0 #e4b04a, 28px 0 #5fb55a; }
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.laptop-base { display: none; }
.phone { position: absolute; right: 0; bottom: 0; width: 28%; padding: 7px; border-radius: 28px; background: var(--ink); box-shadow: 0 30px 50px -22px rgba(40, 0, 0, .6); }
.phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 21px; }
.screens img { transition: opacity .35s; }
.screens.swap img { opacity: 0; }
.devices .chip { display: none; }

.lookrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); margin-top: clamp(40px, 6vw, 72px); }
.lookrow figure { margin: 0; }
.lookrow img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.lookrow figcaption { margin-top: 8px; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 760px) { .lookrow { grid-template-columns: 1fr 1fr; } }

/* Mosaico de servicios */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: clamp(10px, 1.4vw, 18px); }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.tile:hover, button.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
button.tile { border: 0; font: inherit; text-align: left; cursor: pointer; }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.tile p { color: inherit; opacity: .78; max-width: 34ch; }
.tile .price { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.04em; opacity: 1; }
.tile .price small { font-size: .55em; font-weight: 500; letter-spacing: 0; opacity: .8; }
.tile .go { position: absolute; top: clamp(18px, 2vw, 26px); right: clamp(18px, 2vw, 26px); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: currentColor; transition: transform .45s var(--ease); }
.tile .go .icon { color: var(--white); width: 20px; height: 20px; }
.tile:hover .go { transform: rotate(-45deg); }
.t-web { grid-column: span 2; grid-row: span 2; background: var(--red); color: var(--white); }
.t-web h3 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); }
.t-web .wink { width: clamp(120px, 14vw, 200px); color: var(--white); }
.t-web .go { background: var(--white); }
.t-web .go .icon { color: var(--red); }
.t-shop { grid-column: span 2; color: var(--white); background: var(--ink); }
.t-shop::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(21,17,18,.15), rgba(21,17,18,.75)); }
.t-shop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1s var(--ease); }
.t-shop:hover img { transform: scale(1.05); }
.t-shop > *:not(img) { position: relative; z-index: 2; }
.t-shop .go { position: absolute; }
.t-shop .go { background: var(--white); }
.t-shop .go .icon { color: var(--ink); }
.t-redes, .t-auto, .t-mant { min-height: 240px; }
.t-redes h3, .t-auto h3, .t-mant h3 { font-size: clamp(1.45rem, 2.1vw, 2rem); padding-right: 52px; }
.tile .price { white-space: nowrap; }
.t-redes { background: var(--pink); }
.t-redes .go { background: var(--ink); }
.t-auto { background: var(--ink); color: var(--white); }
.t-auto .go { background: var(--white); }
.t-auto .go .icon { color: var(--ink); }
.t-mant { background: transparent; border: 2px solid var(--ink); }
.t-calc { grid-column: span 3; background: var(--white); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.t-calc .bubbles { display: grid; gap: 10px; }
.t-calc .bubble { justify-self: end; max-width: 90%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--red); color: var(--white); font-weight: 600; font-size: .9375rem; }
.t-calc .bubble.bot { justify-self: start; border-radius: 18px 18px 18px 4px; background: var(--cream); color: var(--ink); }
.t-calc .go { background: var(--red); }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .t-web, .t-shop { grid-column: span 2; } .t-web { grid-row: span 1; min-height: 360px; } .t-calc { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .t-web, .t-shop, .t-calc { grid-column: auto; } .t-calc { grid-template-columns: 1fr; } }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.project { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); text-decoration: none; aspect-ratio: 4 / 3.2; }
.project-img { position: absolute; inset: 0; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
a.project:hover .project-img img { transform: scale(1.05); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 17, 18, 0) 45%, rgba(21, 17, 18, .82)); }
.project-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 16px; padding: clamp(18px, 2.4vw, 30px); }
.project-body h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.project-body p { margin-top: 4px; opacity: .85; font-size: .9375rem; }
.project-body .go { margin-left: auto; display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--red); transition: transform .45s var(--ease); }
a.project:hover .go { transform: rotate(-45deg); }
.state { position: absolute; z-index: 3; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--white); color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.state .icon { width: 14px; height: 14px; }
.project.locked { background: var(--cream-2); color: var(--ink); }
.project.locked::after { background: repeating-linear-gradient(-45deg, rgba(196, 0, 0, .1) 0 2px, transparent 2px 14px); }
.project.locked .project-img img { filter: blur(14px) saturate(.3); opacity: .35; transform: scale(1.2); }
.project.locked .state { background: var(--ink); color: var(--white); }
.project.locked .lock { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; }
.project.locked .lock span { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; border: 2px dashed var(--red); color: var(--red); }
.project.locked .lock .icon { width: 28px; height: 28px; }
.project.locked .project-body p { color: var(--ink-2); opacity: 1; }
.projects .project.featured { grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
.projects.three { grid-template-columns: 1.3fr 1fr; }
@media (prefers-reduced-motion: no-preference) { .project.unlocked.in .state { animation: pop .7s var(--ease) both; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
@media (max-width: 760px) { .projects, .projects.three { grid-template-columns: 1fr; } .projects .project.featured { grid-row: auto; min-height: 0; aspect-ratio: 4 / 4.4; } }

/* Planes */
.switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 44px); }
.switch button { min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 1rem/1 Poppins, sans-serif; cursor: pointer; }
.switch button[aria-selected="true"] { background: var(--red); color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.plans[hidden] { display: none; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.plan-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--red); }
.plan .sub { margin-top: 6px; color: var(--ink-3); font-size: .9375rem; }
.plan-price { margin: 28px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.plan-price span { color: var(--ink-3); font-weight: 500; }
.plan .note { font-size: .875rem; color: var(--ink-3); }
.plan ul { display: grid; gap: 10px; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.plan li .icon { margin-top: 3px; color: var(--red); width: 1.05em; height: 1.05em; }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--red); color: var(--white); border-color: var(--red); }
.plan.featured .sub, .plan.featured .note, .plan.featured .plan-price span { color: rgba(255, 251, 247, .8); }
.plan.featured ul { border-color: rgba(255, 251, 247, .25); }
.plan.featured li .icon { color: var(--white); }
.plan.featured .plan-icon { background: rgba(255, 251, 247, .16); color: var(--white); }
.plan.featured .btn-ink { background: var(--white); color: var(--red); }
.plan .ribbon-tag { position: absolute; top: -13px; left: clamp(24px, 2.6vw, 36px); padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plans-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; color: var(--ink-2); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: clamp(3.4rem, 6vw, 5.6rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); margin-bottom: 18px; }
.step h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; } .step { border-bottom: 1px solid var(--line); padding-bottom: 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding-left: 0; border-right: 0; } }

/* Preguntas */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .head { margin-bottom: 0; position: sticky; top: 112px; grid-template-columns: 1fr; }
.faq-wrap .head > .btn, .faq-wrap .head > .link-arrow { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 18px 0; font-weight: 600; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { display: grid; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--white); color: var(--red); transition: transform .35s var(--ease), background-color .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq details p { padding: 0 56px 24px 0; color: var(--ink-2); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } }

/* Cierre */
.closing { background: var(--red); color: var(--white); padding: clamp(80px, 12vw, 170px) 0; position: relative; overflow: hidden; }
.closing h2 { font-size: clamp(3.6rem, 12vw, 11rem); letter-spacing: -.065em; line-height: .88; }
.closing .wink { width: clamp(140px, 18vw, 260px); color: var(--white); margin-bottom: clamp(24px, 4vw, 40px); }
.closing p { margin-top: 24px; max-width: 46ch; font-size: clamp(1.125rem, 1.6vw, 1.375rem); color: rgba(255, 251, 247, .9); }
.closing .ctas { margin-top: 36px; }
.closing .btn-line { color: var(--white); }

/* Cabecera de páginas interiores */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); font-size: .875rem; color: var(--ink-3); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--red); }
.page-hero h1 { margin-top: 20px; font-size: clamp(3rem, 8.4vw, 7.6rem); letter-spacing: -.06em; line-height: .92; max-width: 13ch; }
.page-hero .lead { margin-top: clamp(20px, 3vw, 32px); max-width: 58ch; }
.page-hero .ctas { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-hero-grid .wink { width: clamp(120px, 16vw, 230px); justify-self: end; }
.page-hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.page-hero-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.page-hero-photos img:nth-child(2) { margin-top: 18%; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero-grid .wink { justify-self: start; width: 110px; } }

/* Bloques de texto */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { margin-top: 18px; font-size: clamp(2.4rem, 5vw, 4.4rem); }
.split .lead { margin-top: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-lg); background: var(--white); text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: var(--white); margin-bottom: 14px; }
.card-icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.card p { color: var(--ink-2); }
.card .price { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--red); }
.card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.prose { max-width: 760px; }
.prose h2 { font-size: 2rem; margin: 56px 0 14px; letter-spacing: -.03em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(10px, 1.4vw, 18px); align-items: start; }
.gallery .col { display: grid; gap: clamp(10px, 1.4vw, 18px); }
.shot { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.shot img { width: 100%; }
.shot figcaption { padding: 14px 18px; font-size: .875rem; color: var(--ink-2); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* Pie */
.footer { background: var(--ink); color: rgba(255, 251, 247, .72); padding: clamp(64px, 8vw, 104px) 0 0; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
.footer-claim { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--white); max-width: 18ch; }
.footer-claim em { color: #ff6b5f; }
.footer h3 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 251, 247, .5); margin-bottom: 14px; font-weight: 600; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.footer a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--white); }
.footer-grid > * { min-width: 0; }
.footer-mark { margin-top: clamp(48px, 7vw, 96px); padding: 0 var(--gutter); }
.footer-mark img { width: 100%; max-width: 1600px; margin: 0 auto; opacity: .96; transform: translateY(12%); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; border-top: 1px solid rgba(255, 251, 247, .14); font-size: .875rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 980px) { .footer { padding-bottom: 76px; } }

/* Barra móvil */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 238, 228, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-bar .btn { flex: 1; min-height: 50px; padding: 0 14px; }
.mobile-bar .btn-line { flex: none; width: 50px; padding: 0; color: var(--ink); }
.mobile-bar .btn-calc { flex: none; width: 50px; padding: 0; background: var(--ink); color: var(--white); }
@media (max-width: 980px) { .mobile-bar { display: flex; } }

/* Aparición */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .reveal.in { opacity: 1; transform: none; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 10px 20px; }
  .ctas .btn { flex: 1 1 100%; }
}

/* Calculador: bloque de entrada */
.calc-teaser { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line-red); box-shadow: var(--shadow); }
.calc-teaser-bot { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--red); }
.calc-teaser-bot .bubble { justify-self: end; max-width: 85%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--white); color: var(--ink); font-weight: 600; }
.calc-teaser-bot .bubble.bot { justify-self: start; border-radius: 18px 18px 18px 4px; background: var(--ink); color: var(--white); }
@media (max-width: 760px) { .calc-teaser { grid-template-columns: 1fr; } }

/* Calculador: botón flotante */
.calc-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 16px; border: 3px solid var(--white); border-radius: 999px; background: var(--red); color: var(--white); font: 700 1rem/1 Poppins, sans-serif; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(110, 0, 0, .7); transition: transform .3s var(--ease), opacity .25s; }
.calc-launcher:hover { transform: translateY(-3px); }
.calc-launcher-wink { width: 38px; display: block; }
.calc-launcher-wink svg { display: block; width: 100%; height: auto; }
.calc-on .calc-launcher { opacity: 0; pointer-events: none; }
@media (max-width: 980px) { .calc-launcher { display: none; } }

/* Calculador: ventana de chat */
.calc { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; width: min(400px, calc(100vw - 40px)); height: min(640px, calc(100vh - 40px)); border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 80px -20px rgba(40, 0, 0, .55), 0 0 0 1px var(--line); opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .25s, transform .3s var(--ease); }
.calc.open { opacity: 1; transform: none; }
.calc-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--red); color: var(--white); }
.calc-head strong { display: block; font-size: 1rem; }
.calc-head div span { display: block; font-size: .8125rem; opacity: .85; }
.calc-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--white); color: var(--red); padding: 8px; }
.calc-avatar svg { width: 100%; height: auto; }
.calc-close { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .15); color: var(--white); cursor: pointer; }
.calc-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.calc-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; line-height: 1.5; animation: msg-in .3s var(--ease) both; }
.calc-msg.user { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: var(--red); border-color: var(--red); color: var(--white); }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .calc-msg, .dots i { animation: none; } .calc { transition: none; } }
.calc-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px 12px; max-height: 45%; overflow-y: auto; }
.calc-options .calc-chip { padding: 8px 14px; }
.calc-options:empty { display: none; }
.calc-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 2px solid var(--red); border-radius: 999px; background: var(--white); color: var(--red); font: 600 .9375rem/1.25 Poppins, sans-serif; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.calc-chip:hover, .calc-chip[aria-pressed="true"] { background: var(--red); color: var(--white); }
.calc-chip[aria-pressed="true"]::before { content: "✓"; margin-right: 8px; }
.calc-chip.primary { background: var(--red); color: var(--white); }
.calc-chip.primary:hover { background: var(--red-deep); }
.calc-input { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.calc-input input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font: 400 1rem Poppins, sans-serif; color: var(--ink); }
.calc-input input:focus { outline: 2px solid var(--red); outline-offset: 0; }
.calc-input button { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 0; border-radius: 14px; background: var(--red); color: var(--white); cursor: pointer; }
.calc-result { display: grid; gap: 10px; min-width: 240px; }
.calc-msg:has(.calc-result) { max-width: 100%; width: 100%; }
.calc-result-title { font-size: 1rem; }
.calc-result ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.calc-result li { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--ink-2); }
.calc-result li b { color: var(--ink); white-space: nowrap; }
.calc-total { display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: var(--red); color: var(--white); }
.calc-total div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-total strong { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.calc-result p { font-size: .8125rem; color: var(--ink-2); }
.calc-fine { color: var(--ink-3) !important; }
@media (max-width: 560px) {
  .calc { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .calc-msg { font-size: 1rem; }
}

/* ===== Portada pensada para vender ===== */
.brand img { width: 132px; height: auto; }
.scribble { position: relative; display: inline-block; white-space: nowrap; color: var(--red); }
.scribble svg { position: absolute; left: -4%; bottom: -.16em; width: 108%; height: .42em; overflow: visible; color: var(--red); pointer-events: none; }
.scribble path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) { .scribble path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s .6s var(--ease) forwards; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.sell { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.sell-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sell .pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.sell .pill b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--red); color: var(--white); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.sell h1 { margin-top: 22px; font-size: clamp(2.7rem, 5.6vw, 5.2rem); letter-spacing: -.055em; line-height: .98; }
.sell .lead { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.sell .lead strong { color: var(--ink); }
.assure { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 500; }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .icon { color: var(--red); }

.showcase { position: relative; aspect-ratio: 1 / .92; }
.showcase .shot-main { position: absolute; left: 0; top: 6%; width: 82%; border-radius: 14px; overflow: hidden; background: #e6dccf; border: 1px solid var(--line); box-shadow: var(--shadow); padding-top: 28px; }
.showcase .shot-main::before { content: ""; position: absolute; left: 13px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #e15b4f; box-shadow: 14px 0 #e4b04a, 28px 0 #5fb55a; }
.showcase .shot-main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.showcase .shot-phone { position: absolute; right: 3%; bottom: 0; width: 27%; padding: 6px; border-radius: 26px; background: var(--ink); box-shadow: 0 30px 50px -22px rgba(40, 0, 0, .6); }
.showcase .shot-phone img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 20px; }
.showcase .shot-photo { position: absolute; left: 6%; bottom: 0; width: 34%; border-radius: 16px; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); transform: rotate(-4deg); }
.showcase .shot-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.showcase .note { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); font-size: .8125rem; line-height: 1.3; }
.showcase .note strong { display: block; font-size: .875rem; }
.showcase .note .dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--red); color: var(--white); flex: none; }
.showcase .note-a { right: 0; top: 0; }
.showcase .sticker { right: 26%; bottom: 8%; width: clamp(96px, 9vw, 128px); }
@media (prefers-reduced-motion: no-preference) { .showcase .note { animation: float 6s var(--ease) infinite alternate; } }
@keyframes float { to { transform: translateY(-8px); } }
@media (max-width: 900px) { .sell-grid { grid-template-columns: 1fr; } .showcase { max-width: 560px; } }
@media (max-width: 520px) { .showcase .note-a { display: none; } .showcase .sticker { right: 30%; width: 86px; } }

.proofbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.proofbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 22px; padding-bottom: 22px; }
.proofbar .client { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.proofbar .client img { height: 26px; width: auto; }
.proofbar .client span { font-size: .875rem; color: var(--ink-2); }
.proofbar ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; }
.proofbar li { display: inline-flex; align-items: center; gap: 8px; }
.proofbar li .icon { color: var(--red); }

.pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.pain { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.pain .q { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.pain .q::before { content: "“"; color: var(--red); }
.pain .q::after { content: "”"; color: var(--red); }
.pain .a { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-red); color: var(--ink-2); font-size: .9375rem; }
.pain .a .icon { margin-top: 3px; color: var(--red); }
@media (max-width: 1000px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255, 251, 247, .3); }
.promise div { padding: 24px 22px 0 0; }
.promise div + div { padding-left: 22px; border-left: 1px solid rgba(255, 251, 247, .3); }
.promise strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.promise span { display: block; margin-top: 8px; color: rgba(255, 251, 247, .85); font-size: .9375rem; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr 1fr; } .promise div:nth-child(3) { padding-left: 0; border-left: 0; } .promise div { padding-bottom: 22px; } }
.on-red .steps { border-color: rgba(255, 251, 247, .3); }
.on-red .step { border-color: rgba(255, 251, 247, .3); }
.on-red .step::before { -webkit-text-stroke-color: var(--white); }
.on-red .step p { color: rgba(255, 251, 247, .85); }

.starter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.starter h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); letter-spacing: -.06em; line-height: .9; }
.starter .lead { margin-top: 20px; }
.qform { padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); color: var(--ink); box-shadow: 0 40px 70px -40px rgba(60, 0, 0, .8); }
.qform fieldset { margin: 0; padding: 0; border: 0; }
.qform legend, .qform label { display: block; margin-bottom: 10px; font-weight: 600; font-size: .9375rem; }
.qform .opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.qform .opts input { position: absolute; opacity: 0; pointer-events: none; }
.qform .opts span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.qform .opts input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.qform .opts input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.qform input[type="text"] { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); font: 400 1rem Poppins, sans-serif; color: var(--ink); margin-bottom: 20px; }
.qform input[type="text"]:focus { outline: 2px solid var(--red); outline-offset: 0; }
.qform .btn { width: 100%; }
.qform small { display: block; margin-top: 12px; text-align: center; color: var(--ink-3); font-size: .8125rem; }
@media (max-width: 860px) { .starter { grid-template-columns: 1fr; } }

.faq-wrap .head h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }

/* Composición propia de la portada (diseños de ejemplo de Hocicua) */
.stage { position: relative; aspect-ratio: 1 / .9; }
.mock-web { position: absolute; left: 0; top: 4%; width: 80%; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #ece4d8; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e15b4f; }
.mock-bar i:nth-child(2) { background: #e4b04a; }
.mock-bar i:nth-child(3) { background: #5fb55a; }
.mock-bar span { margin-left: 10px; flex: 1; height: 16px; max-width: 46%; border-radius: 999px; background: #fffaf3; font-size: 9px; line-height: 16px; padding-left: 10px; color: #8b8178; }
.mock-site { position: relative; aspect-ratio: 16 / 10.4; background: #0f2a2c url("/img/ejemplo-clinica.webp") center / cover; color: #fff; }
.mock-site::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 30, .88) 0%, rgba(8, 28, 30, .55) 55%, rgba(8, 28, 30, .1) 100%); }
.mock-site > * { position: relative; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; padding: 4% 5% 0; font-size: clamp(8px, .8vw, 11px); }
.mock-nav b { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(10px, 1vw, 14px); letter-spacing: .14em; }
.mock-nav b::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #2bd4b4; }
.mock-nav em { color: #fff; opacity: .8; font-style: normal; }
.mock-copy { padding: 8% 5% 0; max-width: 62%; }
.mock-copy small { display: block; font-size: clamp(7px, .7vw, 10px); letter-spacing: .2em; text-transform: uppercase; color: #2bd4b4; }
.mock-copy strong { display: block; margin-top: 6px; font-size: clamp(16px, 2.1vw, 30px); line-height: 1.02; letter-spacing: -.03em; }
.mock-copy span { display: inline-flex; margin-top: 12px; padding: 7px 12px; border-radius: 8px; background: #2bd4b4; color: #06302b; font-size: clamp(8px, .75vw, 11px); font-weight: 700; }
.mock-tag { position: absolute; left: 5%; bottom: 6%; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); font-size: clamp(7px, .65vw, 9px); }
.mock-post { position: absolute; right: 0; top: 0; width: 38%; border-radius: 22px; padding: 6px; background: var(--ink); box-shadow: 0 30px 50px -22px rgba(40, 0, 0, .6); }
.mock-post-in { border-radius: 17px; overflow: hidden; background: #fff; color: var(--ink); }
.mock-post-head { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 11px; font-weight: 600; }
.mock-post-head .av { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); padding: 4px; color: #fff; }
.mock-post-head .av svg { width: 100%; height: auto; }
.mock-post-head small { margin-left: auto; color: var(--ink-3); font-weight: 400; }
.mock-post-img { aspect-ratio: 1; background: var(--red); color: #fff; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 12%; }
.mock-post-img .wink { width: 46%; color: #fff; }
.mock-post-img strong { font-size: clamp(15px, 1.7vw, 24px); line-height: 1.02; letter-spacing: -.035em; }
.mock-post-foot { display: flex; gap: 10px; align-items: center; padding: 9px 10px 11px; font-size: 10px; color: var(--ink-2); }
.mock-post-foot b { color: var(--red); font-size: 13px; }
.mock-chat { position: absolute; right: 4%; bottom: 0; width: 46%; padding: 12px; border-radius: 18px; background: #efe7dc; box-shadow: var(--shadow); display: grid; gap: 7px; font-size: clamp(10px, .85vw, 12.5px); line-height: 1.35; }
.mock-chat .top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 11px; color: var(--ink-2); }
.mock-chat .top .icon { color: #25a95b; }
.mock-chat p { max-width: 86%; padding: 7px 10px; border-radius: 12px 12px 12px 3px; background: #fff; }
.mock-chat p.me { justify-self: end; border-radius: 12px 12px 3px 12px; background: #d6f5c7; }
.mock-chat p small { display: block; margin-top: 2px; color: #25a95b; font-size: .8em; font-weight: 600; }
.stage .sticker { left: 22%; bottom: 4%; width: clamp(96px, 9vw, 122px); }
@media (prefers-reduced-motion: no-preference) {
  .mock-post { animation: float 7s var(--ease) infinite alternate; }
  .mock-chat { animation: float 6s -3s var(--ease) infinite alternate; }
}
/* Hocicua reel inside the laptop mockup: 12 s CSS loop */
.mock-site.reel { overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #3a0606 0%, var(--ink) 58%); }
.mock-site.reel::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; bottom: -40%; border-radius: 50%; background: var(--red); filter: blur(40px); opacity: .55; }
.reel-s { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 6%; padding: 0 28% 7% 7%; opacity: 0; }
.reel-s small { font-size: clamp(8px, .78vw, 11px); letter-spacing: .2em; text-transform: uppercase; color: #ffb3a8; }
.reel-logo { width: 100%; height: auto; }
.s1 { opacity: 1; }
.s2 { gap: 2%; }
.reel-w { position: relative; display: block; width: 100%; height: 1.1em; font-size: clamp(28px, 3.6vw, 54px); line-height: 1; letter-spacing: -.045em; font-weight: 800; color: var(--white); }
.reel-w i { position: absolute; left: 0; top: 0; font-style: normal; opacity: 0; }
.reel-w i:nth-child(2) { color: #ff4d3d; }
.s3 .wink { width: 26%; color: #ff4d3d; }
.s3 strong { font-size: clamp(16px, 2.1vw, 30px); line-height: 1.02; letter-spacing: -.035em; color: var(--white); }
.reel-btn { padding: 6px 13px; border-radius: 999px; background: var(--red); color: #fff; font-size: clamp(8px, .8vw, 11px); font-weight: 700; }
.reel-ui { position: absolute; left: 4%; right: 4%; bottom: 5%; display: flex; align-items: center; gap: 10px; font-size: clamp(7px, .65vw, 9px); color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.reel-play { width: 0; height: 0; border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.reel-bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: #ff4d3d; transform-origin: left; transform: scaleX(.3); }
@media (prefers-reduced-motion: no-preference) {
  .reel-s, .reel-w i, .reel-logo, .reel-bar i, .s3 > * { animation: 12s var(--ease) infinite both; }
  .s1 { animation-name: reel-s1; }
  .reel-logo { animation-name: reel-write; animation-timing-function: linear; }
  .s2 { animation-name: reel-s2; }
  .s3 { animation-name: reel-s3; }
  .s3 > * { animation-name: reel-up; }
  .s3 > :nth-child(2) { animation-delay: .15s; }
  .s3 > :nth-child(3) { animation-delay: .3s; }
  .reel-w i:nth-child(1) { animation-name: reel-w1; }
  .reel-w i:nth-child(2) { animation-name: reel-w2; }
  .reel-w i:nth-child(3) { animation-name: reel-w3; }
  .reel-bar i { animation-name: reel-bar; animation-timing-function: linear; }
}
@keyframes reel-s1 { 0%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: scale(.96); } }
@keyframes reel-write { 0% { clip-path: inset(0 100% 0 0); } 16%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes reel-s2 { 0%, 32% { opacity: 0; } 35%, 64% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes reel-w1 { 0%, 34% { opacity: 0; transform: translateY(40%); } 37%, 43% { opacity: 1; transform: none; } 46%, 100% { opacity: 0; transform: translateY(-40%); } }
@keyframes reel-w2 { 0%, 45% { opacity: 0; transform: translateY(40%); } 48%, 54% { opacity: 1; transform: none; } 57%, 100% { opacity: 0; transform: translateY(-40%); } }
@keyframes reel-w3 { 0%, 56% { opacity: 0; transform: translateY(40%); } 59%, 64% { opacity: 1; transform: none; } 67%, 100% { opacity: 0; transform: translateY(-40%); } }
@keyframes reel-s3 { 0%, 66% { opacity: 0; } 69%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes reel-up { 0%, 66% { opacity: 0; transform: translateY(14px); } 71%, 100% { opacity: 1; transform: none; } }
@keyframes reel-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 900px) { .stage { max-width: 600px; } }
@media (max-width: 520px) { .stage { aspect-ratio: auto; display: grid; } .mock-web { position: relative; width: 100%; top: 0; } .mock-post { display: none; } .reel-s { padding: 0 8% 9%; } .reel-logo { width: 88%; } .mock-chat { position: relative; width: 78%; right: auto; justify-self: end; margin-top: -9%; } .stage .sticker { left: 4%; bottom: 0; width: 84px; } }

/* El calculador cerrado no puede tapar nada */
.calc[hidden] { display: none !important; }
.calc:not(.open) { pointer-events: none; }
.calc-launcher { display: none !important; }

/* Portada simple */
.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.offer-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-red); }
.offer-card h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.offer-card p { color: var(--ink-2); }
.offer-price { margin-top: auto; padding-top: 18px; font-size: 1.125rem; color: var(--ink-2) !important; }
.offer-price strong { font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; color: var(--red); }
.offer-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--red); }
.offer-extra { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border: 1px dashed var(--line-red); color: var(--ink-2); }
.offer-extra .icon { margin-top: 3px; color: var(--red); }
.offer-extra a { color: var(--red); font-weight: 600; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }
.proof { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.proof h2 { margin-top: 18px; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.proof .lead { margin-top: 18px; }
.proof-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #e6dccf; padding-top: 28px; position: relative; }
.proof-img::before { content: ""; position: absolute; left: 13px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #e15b4f; box-shadow: 14px 0 #e4b04a, 28px 0 #5fb55a; }
.proof-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
.mobile-bar .btn-red { flex: 1; }

/* Lo primero que se ve aparece al instante (mejor velocidad percibida) */
.sell .reveal, .page-hero .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
