/* Portfolio Valentín Gil — estilo "Retrato" (Inter Tight + Instrument Serif, blanco cálido y rojo) */

:root {
  --bg: #faf8f5;
  --surface: #f1ede7;
  --ink: #111111;
  --muted: #5f5a55;
  --line: #e2ddd6;
  --rojo: #e5262b;        /* rellenos, títulos grandes, puntos */
  --rojo-texto: #c41d22;  /* texto rojo chico sobre claro (4.5:1) */
  --oscuro: #140b0b;
  --oscuro-ink: #f5f1ec;
  --oscuro-muted: #b9b1aa;

  --sans: "Inter Tight", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  /* nombres que usa el momento word-highlight del kit */
  --font-display: var(--sans);
  --display-weight: 600;
  --display-tracking: -0.04em;
  --t-h2: clamp(2rem, 4.4vw, 4.2rem);
  --accent: var(--rojo);

  --gutter: clamp(16px, 5vw, 96px);
  --radio: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--rojo); color: #fff; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.oscuro :focus-visible { outline-color: var(--oscuro-ink); }

.wrap { width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; transform: translateY(-200%); text-decoration: none; }
.skip-link:focus { transform: none; }

/* ---------- Piezas de texto ---------- */
.kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo-texto); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.oscuro .kicker { color: var(--rojo); }
.titulo { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 600; letter-spacing: -.045em; line-height: .96; }
.titulo em { color: var(--rojo); }
.titulo .punto, .punto { color: var(--rojo); }
.apagado { color: var(--muted); }
.oscuro .apagado { color: var(--oscuro-muted); }
.seccion { padding-block: clamp(96px, 14vh, 160px); }
.seccion-cabeza { display: grid; gap: 22px; margin-bottom: clamp(36px, 6vh, 64px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-rojo { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.btn-rojo:hover { background: var(--ink); border-color: var(--ink); }
.oscuro .btn-rojo:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn .flecha { transition: transform .2s var(--ease); }
.btn:hover .flecha { transform: translateX(4px); }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; transition: border-color .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.etiqueta { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }

/* ---------- Píldora de navegación ---------- */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; }
.pill {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(0, 0, 0, .04);
}
.pill > a, .pill > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); background: transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.pill .logo { font-size: 18px; font-weight: 800; letter-spacing: -.05em; }
.pill .logo .punto { margin-left: -1px; }
.pill .menu-boton { background: var(--ink); color: #fff; }
.pill .menu-boton .chev { transition: transform .25s var(--ease); }
.pill .menu-boton[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pill .contacto { background: var(--rojo); color: #fff; }
.pill > a:hover, .pill > button:hover { transform: translateY(-1px); }
.menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -6px); width: min(320px, calc(100vw - 32px));
  padding: 10px; border-radius: 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.menu[data-abierto="true"] { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 16px; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.menu a:hover { background: var(--surface); }
.menu a span { color: var(--muted); font-size: 13px; }

/* ---------- Portada (escena con scroll) ---------- */
.portada { position: relative; height: 270vh; }
.portada .fijo { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--bg); }
.mancha {
  position: absolute; left: 50%; bottom: -40vh; width: 92vh; height: 92vh; border-radius: 50%;
  transform: translateX(-50%) scale(calc(1 + clamp(0, (var(--p, 0) - .28) * 3.4, 1) * 5.2));
  background: radial-gradient(circle at 50% 45%, var(--oscuro) 0 34%, #7a1214 52%, rgba(229, 38, 43, .8) 62%, rgba(229, 38, 43, 0) 72%);
  filter: blur(18px); will-change: transform;
}
.retrato {
  position: absolute; left: 50%; bottom: 0; width: min(66vh, 84vw);
  transform: translateX(-50%) translateY(calc(var(--p, 0) * 18vh));
  opacity: calc(1 - clamp(0, (var(--p, 0) - .4) * 4, 1));
  -webkit-mask-image: radial-gradient(ellipse 50% 56% at 50% 44%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 56% at 50% 44%, #000 58%, transparent 100%);
}
.retrato img { width: 100%; }
.portada-nombre {
  position: absolute; left: var(--gutter); top: 30vh; font-size: clamp(2.8rem, 6.4vw, 6.4rem); font-weight: 300; letter-spacing: -.045em; line-height: .9; text-transform: uppercase;
}
.portada-nombre b { font-weight: 700; }
.portada-lado { position: absolute; right: var(--gutter); top: 33vh; max-width: 26ch; font-size: 15px; color: var(--muted); }
.portada-textos { opacity: calc(1 - var(--p, 0) * 3.2); }
.portada-lado strong { display: block; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 10px; }
.portada-lado strong em { color: var(--rojo); }
.portada-lado .btn { margin-top: 18px; }
.portada-reves { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 0 var(--gutter); color: #fff; opacity: clamp(0, (var(--p, 0) - .52) * 4, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .52) * 4, 1)) * 30px)); }
.portada-reves .titulo { font-size: clamp(3rem, 8.4vw, 8.4rem); }
.portada-reves p { margin-top: 22px; color: var(--oscuro-muted); }
.portada-blanco { position: absolute; inset: 0; background: var(--bg); opacity: clamp(0, (var(--p, 0) - .86) * 7, 1); pointer-events: none; }
.redes { position: absolute; left: var(--gutter); bottom: 22px; display: flex; gap: 22px; font-size: 14px; opacity: calc(1 - var(--p, 0) * 6); }
.redes a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.redes a:hover { color: var(--rojo-texto); }
.desliza { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; opacity: calc(1 - var(--p, 0) * 6); color: var(--ink); }
.rota { display: inline-grid; vertical-align: baseline; }
.rota > em { grid-area: 1 / 1; opacity: 0; transform: translateY(45%); transition: opacity .5s, transform .6s var(--ease); white-space: nowrap; }
.rota > em.on { opacity: 1; transform: none; }
.rota > em.out { opacity: 0; transform: translateY(-45%); }

/* Entrada al cargar */
.js .entra { opacity: 0; transform: translateY(18px); }
.js .entro .entra { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .entro .entra:nth-child(2) { transition-delay: .12s; }
.js .entro .entra:nth-child(3) { transition-delay: .24s; }

/* ---------- Cinta de herramientas ---------- */
.cinta { padding-block: 56px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta-pista { display: flex; gap: 64px; width: max-content; animation: cinta 38s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta-item { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #8a847d; white-space: nowrap; }
.cinta-item img { width: 26px; height: 26px; opacity: .55; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Sobre mí ---------- */
.sobre { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.sobre-tarjeta { grid-column: 1 / span 5; position: sticky; top: 100px; }
.sobre-texto { grid-column: 7 / -1; display: grid; gap: 22px; }
.sobre-texto .titulo { margin-bottom: 8px; }
.sobre-texto p { font-size: 17px; color: #3b3733; max-width: 56ch; }
.sobre-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.terminal { border-radius: var(--radio); background: var(--oscuro); color: var(--oscuro-ink); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20, 11, 11, .6); aspect-ratio: 4 / 5; display: flex; flex-direction: column; }
.terminal-barra { display: flex; gap: 8px; padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.terminal-barra i { width: 11px; height: 11px; border-radius: 50%; background: #3a2f2f; }
.terminal-barra i:first-child { background: var(--rojo); }
.terminal-codigo { flex: 1; padding: 26px 24px; font: 500 clamp(14px, 1.3vw, 17px)/1.9 ui-monospace, "JetBrains Mono", Consolas, monospace; white-space: pre-wrap; }
.terminal-codigo .c { color: #7d7067; }
.terminal-codigo .k { color: #ff7a6b; }
.terminal-codigo .s { color: #f5d0a9; }
.terminal-codigo .ok { color: #8fd19e; }
.cursor { display: inline-block; width: .55em; height: 1.1em; background: var(--rojo); vertical-align: -.2em; animation: parpadeo 1s steps(1) 6; }
@keyframes parpadeo { 50% { opacity: 0; } }
.terminal-pie { padding: 18px 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; font-size: 13px; color: var(--oscuro-muted); }

/* ---------- Enfoque (frase que se pinta) ---------- */
.enfoque .mo-wh__text { font-size: clamp(2rem, 4.4vw, 4.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.06; max-width: 22ch; }
.enfoque strong { font-weight: inherit; }

/* ---------- Trabajos (carrusel) ---------- */
.trabajos-cabeza { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.flechas { display: flex; gap: 10px; }
.flecha-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; transition: transform .2s var(--ease), border-color .2s; }
.flecha-btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 78vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.carrusel::-webkit-scrollbar { display: none; }
.tarjeta { scroll-snap-align: start; text-decoration: none; display: grid; gap: 16px; }
.tarjeta-foto { aspect-ratio: 4 / 3; border-radius: var(--radio); overflow: hidden; background: var(--surface); }
.tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .7s var(--ease); }
.tarjeta:hover .tarjeta-foto img { transform: scale(1.03); }
.tarjeta-foto.oscura { background: var(--oscuro); }
.tarjeta-foto.clara-lila { background: #eeeaf6; }
.tarjeta-marca { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo-texto); }
.tarjeta h3 { font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.tarjeta-proxima { display: grid; place-content: center; text-align: center; gap: 10px; height: 100%; border: 1px dashed #cdc6bd; border-radius: var(--radio); }
.tarjeta-proxima .titulo { font-size: 2.6rem; }

/* ---------- Resultados ---------- */
.resultados { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resultado { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 12px; }
.resultado strong { font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.resultado strong .mas { color: var(--rojo); }
.resultado p { color: var(--muted); max-width: 30ch; }

/* ---------- Servicios ---------- */
.servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.servicio { border-radius: var(--radio); background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -45px rgba(0, 0, 0, .35); display: flex; flex-direction: column; transition: transform .3s var(--ease); }
.servicio:hover { transform: translateY(-4px); }
.servicio-foto { aspect-ratio: 16 / 10; overflow: hidden; background: var(--oscuro); }
.servicio-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .7s var(--ease); }
.servicio:hover .servicio-foto img { transform: scale(1.03); }
.servicio-cuerpo { padding: 24px 26px 28px; display: grid; gap: 12px; }
.servicio-num { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--rojo); }
.servicio h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.servicio p { color: var(--muted); font-size: 15px; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* ---------- Proceso ---------- */
.proceso { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.proceso-cabeza { grid-column: 1 / span 5; position: sticky; top: 120px; display: grid; gap: 22px; }
.pasos { grid-column: 7 / -1; position: relative; }
.pasos::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: rgba(229, 38, 43, .35); }
.paso { position: relative; padding: 0 0 56px 56px; display: grid; gap: 10px; }
.paso::before { content: ""; position: absolute; left: 0; top: 10px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--rojo); }
.paso-num { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--rojo); }
.paso h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; letter-spacing: -.03em; }
.paso p { color: var(--muted); max-width: 52ch; }

/* ---------- Contacto ---------- */
.contacto-grilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: start; }
.contacto-texto { grid-column: 1 / span 6; display: grid; gap: 24px; }
.contacto-texto .titulo { font-size: clamp(4rem, 11vw, 10.5rem); }
.contacto-texto > p { font-size: 18px; color: var(--muted); max-width: 40ch; }
.contacto-datos { display: grid; gap: 4px; }
.contacto-datos a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 17px; width: max-content; }
.contacto-datos a:hover { color: var(--rojo-texto); }
.formulario { grid-column: 8 / -1; border-radius: var(--radio); background: #fff; padding: 28px; display: grid; gap: 16px; box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(229, 38, 43, .5); }
.campo { display: grid; gap: 6px; }
.campo label { font-size: 14px; font-weight: 500; }
.campo input, .campo textarea { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s; }
.campo textarea { min-height: 130px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--ink); }
.campo .ayuda { font-size: 13px; color: var(--muted); }
.campo-trampa { position: absolute; left: -9999px; }
.formulario .btn { width: 100%; }
.formulario .legal { font-size: 13px; color: var(--muted); }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.faq-cabeza { grid-column: 1 / span 5; display: grid; gap: 22px; }
.faq-lista { grid-column: 7 / -1; }
.faq-lista details { border-bottom: 1px solid var(--line); }
.faq-lista summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--rojo); transition: transform .3s var(--ease); }
.faq-lista details[open] summary::after { transform: rotate(45deg); }
.faq-lista details p { padding: 0 0 24px; color: var(--muted); max-width: 60ch; }

/* ---------- Pie ---------- */
.pie { background: var(--oscuro); color: var(--oscuro-ink); padding-top: clamp(64px, 10vh, 110px); overflow: hidden; }
.pie-arriba { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.pie-arriba a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; color: var(--oscuro-muted); }
.pie-arriba a:hover { color: #fff; }
.pie-links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pie-marca { font-size: clamp(5rem, 24vw, 24rem); font-weight: 800; letter-spacing: -.075em; line-height: .8; margin-top: 40px; transform: translateY(12%); white-space: nowrap; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; font-size: 13px; color: var(--oscuro-muted); border-top: 1px solid rgba(255, 255, 255, .08); position: relative; z-index: 1; background: var(--oscuro); }

/* ---------- Páginas de caso ---------- */
.caso-portada { padding-top: 150px; padding-bottom: 56px; }
.volver { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); margin-bottom: 28px; }
.volver:hover { color: var(--ink); }
.caso-portada h1 { font-size: clamp(3.6rem, 13vw, 12rem); font-weight: 700; letter-spacing: -.065em; line-height: .86; margin-top: 18px; }
.caso-bajada { font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.3; max-width: 36ch; margin-top: 26px; }
.caso-bajada em { color: var(--rojo); }
.caso-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ficha { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 24px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 56px; font-size: 15px; }
.ficha dt { color: var(--muted); font-size: 13px; }
.caso-vista { border-radius: var(--radio); overflow: hidden; background: var(--oscuro); }
.caso-vista img { width: 100%; }
.caso-telefonos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.telefono { border: 7px solid #0d0d0d; border-radius: 26px; overflow: hidden; background: #0d0d0d; aspect-ratio: 390 / 760; }
.telefono img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.datos { display: flex; flex-wrap: wrap; gap: 16px 56px; margin-top: 40px; }
.dato strong { display: block; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.dato span { color: var(--muted); font-size: 15px; }
.caso-grilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.caso-texto { grid-column: 1 / span 6; display: grid; gap: 22px; }
.caso-texto p { font-size: 17px; color: #3b3733; max-width: 56ch; }
.caso-texto p strong { font-weight: 600; color: var(--ink); }
.caso-lado { grid-column: 8 / -1; position: sticky; top: 110px; display: grid; gap: 20px; }
.caso-lado .marco { border-radius: 22px; overflow: hidden; background: var(--oscuro); }
.caso-lado .telefono { width: min(100%, 300px); margin-inline: auto; }
.subtitulo { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.035em; margin-top: 14px; }
.lista-hecho li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.vineta { width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); margin-top: .6em; }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.galeria .marco { border-radius: 22px; overflow: hidden; background: var(--oscuro); }
.galeria .ancha { grid-column: 1 / -1; }
.galeria .marco:not(.ancha) img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; }
.cierre-caso { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: start; }
.cierre-caso > :first-child { grid-column: 1 / span 6; display: grid; gap: 24px; }
.siguiente { grid-column: 8 / -1; text-decoration: none; display: grid; gap: 14px; }
.siguiente-foto { aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #2a1c1c; }
.siguiente-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .7s var(--ease); }
.siguiente:hover .siguiente-foto img { transform: scale(1.03); }
.siguiente strong { font-size: clamp(2.2rem, 4.6vw, 4.2rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.siguiente:hover strong { color: var(--rojo); }

/* DonaFull Monitor (con los colores de la app: berenjena, porcelana, carmesí) */
.monitor { background: #361f2d; color: #e4e6c3; }
.monitor .kicker { color: #f08da6; }
.monitor .titulo em, .monitor .punto { color: #f08da6; }
.monitor p { color: #b3af99; }
.monitor .etiqueta { background: #42283a; color: #e4e6c3; }
.monitor-grilla { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: center; }
.monitor-texto { grid-column: 1 / span 5; display: grid; gap: 20px; }
.monitor-telefonos { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.monitor-telefonos .telefono { aspect-ratio: 540 / 1155; border-color: #1d1018; }
.monitor-telefonos .telefono:nth-child(2) { transform: translateY(32px); }
.tarjeta-foto.berenjena, .servicio-foto.berenjena { background: #361f2d; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .servicios { grid-template-columns: 1fr 1fr; }
  .sobre-tarjeta, .sobre-texto, .proceso-cabeza, .pasos, .contacto-texto, .formulario, .faq-cabeza, .faq-lista,
  .caso-texto, .caso-lado, .cierre-caso > :first-child, .siguiente { grid-column: 1 / -1; }
  .sobre-tarjeta, .proceso-cabeza, .caso-lado { position: static; }
  .sobre-tarjeta { max-width: 460px; }
  .ficha { grid-template-columns: repeat(2, 1fr); }
  .monitor-texto, .monitor-telefonos { grid-column: 1 / -1; }
  .caso-telefonos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pill > a, .pill > button { padding: 0 13px; font-size: 13px; }
  .pill .logo { font-size: 16px; }
  .pill > a, .pill > button { white-space: nowrap; }
  .portada-nombre { top: 13vh; }
  .portada-lado { left: var(--gutter); right: var(--gutter); top: calc(13vh + 118px); max-width: 34ch; font-size: 14px; }
  .mancha { width: 74vh; height: 74vh; bottom: -34vh; }
  .retrato { width: min(86vw, 50vh); }
  .portada-lado .btn { display: none; }
  .redes { display: none; }
  .resultados, .servicios { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; }
  .terminal { aspect-ratio: auto; min-height: 380px; }
  .formulario { padding: 20px; }
}

/* ---------- Movimiento reducido ----------
   La portada sigue el scroll (lo maneja quien navega). Se frenan solo las animaciones que corren solas. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cinta-pista, .cursor { animation: none; }
  .rota > em { transition: none; }
}
