/* NTH Studio · sitio web · identidad nueva (27/10/2026)
   Fondos: negro #0a0a0c y gris oscuro #545454. Texto: hueso #fffefb y piedra #b9b6ae.
   Azul noche #1b2f4f: solo detalles mínimos, nunca como texto. */

:root {
  --tinta: #0a0a0c;
  --gris: #545454;
  --hueso: #fffefb;
  --piedra: #b9b6ae;
  --noche: #1b2f4f;
  --rgb-hueso: 255,254,251;
  --rgb-tinta: 10,10,12;
  --demo-bg: #0d0d10; --demo-bg-2: #121215; --retrato-2: #1a1a1d;
  --linea: rgba(var(--rgb-hueso),0.14);
  --linea-f: rgba(var(--rgb-hueso),0.28);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--tinta); color: var(--hueso);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--noche); color: var(--hueso); }
:focus-visible { outline: 2px solid var(--hueso); outline-offset: 4px; border-radius: 4px; }
html { scrollbar-width: thin; scrollbar-color: var(--gris) var(--tinta); }

/* Grano sutil sobre toda la web */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 400; background: var(--hueso); color: var(--tinta); padding: 10px 16px; border-radius: 999px; font-size: 13px; }
.skip:focus { left: 12px; }

.wrap { padding-left: var(--pad); padding-right: var(--pad); max-width: 1440px; margin: 0 auto; }
section { position: relative; }
.bg-tinta { background: var(--tinta); }
.bg-gris { background: var(--gris); }
.sec { padding: clamp(72px, 9vw, 136px) 0; }

/* ---------- Tipografía ---------- */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--piedra); display: block; margin-bottom: 24px; }
.bg-gris .eyebrow { color: rgba(var(--rgb-hueso),0.8); }
.giant { font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.92; font-size: clamp(44px, 9vw, 150px); }
.h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.96; font-size: clamp(32px, 5.4vw, 80px); }
.h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; font-size: clamp(22px, 2.2vw, 30px); }
.lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.7; color: var(--piedra); max-width: 620px; }
.bg-gris .lead { color: rgba(var(--rgb-hueso),0.88); }
.mut { color: var(--piedra); }
.bg-gris .mut { color: rgba(var(--rgb-hueso),0.8); }
.chip { display: inline-block; background: var(--noche); color: var(--hueso); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; }
.tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--linea-f); border-radius: 999px; color: var(--piedra); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 32px; border-radius: 999px;
  background: var(--hueso); color: var(--tinta); border: 1px solid var(--hueso); text-decoration: none;
  font: 600 13px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.btn::after { content: "→"; font-size: 15px; transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--noche); border-color: var(--noche); color: var(--hueso); }
.btn:hover::after { transform: translateX(5px); }
.btn.borde { background: transparent; color: var(--hueso); border-color: var(--linea-f); }
.btn.borde:hover { background: var(--hueso); color: var(--tinta); border-color: var(--hueso); }
.btn.sin-flecha::after { display: none; }
.link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; position: relative; padding-bottom: 6px; display: inline-block;
}
.link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--linea-f); }
.link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--hueso); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.link:hover::after { transform: scaleX(1); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: height 0.45s var(--ease), background 0.45s var(--ease), backdrop-filter 0.45s, border-color 0.45s, transform 0.55s var(--ease);
}
.nav.scrolled { height: 64px; background: rgba(var(--rgb-tinta),0.5); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); border-bottom-color: var(--linea); }
.nav.hide { transform: translateY(-100%); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: rgba(var(--rgb-hueso),0.75); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity 0.4s; }
.nav.scrolled .progress { opacity: 1; }

.wordmark { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-size: 22px; line-height: 1; white-space: nowrap; }
.wordmark b { font-family: var(--serif); font-weight: 800; font-size: 1.55em; letter-spacing: -0.01em; line-height: 1; }
.wordmark span { font-weight: 300; font-size: 0.8em; letter-spacing: 0.1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a:not(.btn) { position: relative; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--piedra); padding: 8px 0; transition: color 0.3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 1px; width: 100%; background: var(--hueso); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--hueso); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a[aria-current="page"] { color: var(--hueso); }
.nav-links a[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--noche); box-shadow: 0 0 0 1px rgba(var(--rgb-hueso),0.55); }
.nav .btn { padding: 13px 22px; font-size: 11px; }
.nav .btn::after { display: none; }

.burger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 130; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--hueso); transition: transform 0.4s var(--ease), opacity 0.3s, top 0.4s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger.abierto span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.abierto span:nth-child(2) { opacity: 0; }
.burger.abierto span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.menu-movil { position: fixed; inset: 0; z-index: 99; background: rgba(var(--rgb-tinta),0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; flex-direction: column; justify-content: center; padding: 96px var(--pad) 48px; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.menu-movil.abierto { opacity: 1; visibility: visible; }
.menu-movil a:not(.btn) { font-size: clamp(34px, 9vw, 56px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; text-decoration: none; line-height: 1.15; padding: 4px 0; opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.menu-movil.abierto a:not(.btn) { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 120ms); }
.menu-movil .btn { margin-top: 28px; align-self: flex-start; }
body.menu-abierto { overflow: hidden; }

/* ---------- Hero (inicio) ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 72px; overflow: hidden; }
.hero-glow { position: absolute; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, rgba(84,84,84,0.55) 0%, rgba(84,84,84,0) 65%); animation: flota 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes flota { to { transform: translate3d(-4vw, 5vw, 0) scale(1.08); } }
.hero-inner { position: relative; width: 100%; }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: clamp(28px, 4vw, 56px); }
.hero-meta .meta { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--piedra); }
.line { display: block; overflow: hidden; padding-top: 0.14em; margin-top: -0.14em; padding-bottom: 0.06em; }
.line > span { display: block; transform: translateY(115%); animation: sube 1.1s var(--ease) forwards; animation-delay: var(--d, 0.1s); }
@keyframes sube { to { transform: none; } }
.hero-title { font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; font-size: clamp(44px, 7vw, 108px); }
.hero-sub { margin-top: clamp(18px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; font-size: clamp(24px, 3.3vw, 50px); max-width: 1000px; }
.hero-fila { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; margin-top: clamp(32px, 4.5vw, 64px); }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; align-items: center; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--piedra); }
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--hueso), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(56px, 8vw, 120px)) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.page-hero .hero-glow { width: 50vw; height: 50vw; right: -12vw; top: -20vw; opacity: 0.8; }
.page-hero .giant { margin-bottom: 28px; }

/* ---------- Franja de logos ---------- */
.logos { padding: 36px 0 40px; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); overflow: hidden; }
.logos .eyebrow { text-align: center; margin-bottom: 26px; }
.logos-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.logos-track { display: flex; align-items: center; gap: 88px; width: max-content; animation: marquee 34s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
.logos-track img { height: 64px; width: auto; object-fit: contain; flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.62; transition: opacity 0.35s, transform 0.35s var(--ease); }
.logos-track img:hover { opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cuadros con luz que sigue al mouse ---------- */
.spot { position: relative; overflow: hidden; isolation: isolate; }

/* ---------- Filas numeradas (Cómo trabajamos en la home) ---------- */
.filas { border-top: 1px solid var(--linea-f); }
.fila { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--linea-f); transition: padding 0.45s var(--ease), background 0.3s; }
.fila:hover { padding-left: 16px; }
.fila .n { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--piedra); }
.bg-gris .fila .n { color: rgba(var(--rgb-hueso),0.8); }
.fila h3 { font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.025em; text-transform: uppercase; line-height: 1; }
.fila p { font-size: 15px; color: var(--piedra); line-height: 1.65; max-width: 520px; }
.bg-gris .fila p { color: rgba(var(--rgb-hueso),0.88); }

/* ---------- Dolores ---------- */
.cab { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linea-f); border-left: 1px solid var(--linea-f); }
.dolor { padding: clamp(24px, 3vw, 44px); border-right: 1px solid var(--linea-f); border-bottom: 1px solid var(--linea-f); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; transition: background 0.4s; }
.dolor:hover { background: rgba(var(--rgb-hueso),0.04); }
.dolor .n { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linea-f); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; color: var(--piedra); transition: background 0.35s, color 0.35s, border-color 0.35s; }
.dolor:hover .n { background: var(--noche); border-color: var(--noche); color: var(--hueso); }
.dolor h3 { margin-bottom: 12px; }
.dolor p { font-size: 14px; color: var(--piedra); line-height: 1.65; }
.cierre-frase { margin-top: clamp(28px, 4vw, 56px); font-weight: 300; font-size: clamp(24px, 3.2vw, 46px); letter-spacing: -0.02em; line-height: 1.1; }
.cierre-frase b { font-weight: 800; }

/* ---------- Planes ---------- */
.planes-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--linea-f); border-radius: 16px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; transition: border-color 0.4s, transform 0.5s var(--ease); background: rgba(var(--rgb-tinta),0.35); }
.card:hover { border-color: rgba(var(--rgb-hueso),0.6); transform: translateY(-4px); }
.bg-tinta .card { background: rgba(var(--rgb-hueso),0.03); }
.card .h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.03em; }
.card .frase { font-weight: 300; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; }
.card .para { font-size: 13px; color: var(--piedra); line-height: 1.6; margin-top: auto; }
.bg-gris .card .para { color: rgba(var(--rgb-hueso),0.8); }
.card .link { align-self: flex-start; }

.planes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--linea-f); border-radius: 16px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; background: rgba(var(--rgb-hueso),0.03); transition: border-color 0.4s, transform 0.5s var(--ease); }
.plan:hover { border-color: rgba(var(--rgb-hueso),0.6); transform: translateY(-4px); }
.plan.ancla { background: var(--gris); border-color: var(--gris); }
.plan .tag { align-self: flex-start; margin-bottom: 36px; }
.plan.ancla .tag { border-color: rgba(var(--rgb-hueso),0.5); color: var(--hueso); }
.plan .h3 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.03em; margin-bottom: 16px; }
.plan .frase { font-weight: 300; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; margin-bottom: 20px; min-height: 96px; }
.plan .para { font-size: 12px; color: var(--piedra); letter-spacing: 0.03em; line-height: 1.6; padding-bottom: 24px; border-bottom: 1px solid var(--linea); min-height: 104px; }
.plan.ancla .para { color: rgba(var(--rgb-hueso),0.88); border-color: rgba(var(--rgb-hueso),0.25); }
.plan ul { flex: 1; margin: 6px 0 32px; }
.plan li { font-size: 13.5px; padding: 12px 0; border-bottom: 1px solid var(--linea); line-height: 1.45; display: flex; gap: 12px; }
.plan.ancla li { border-color: rgba(var(--rgb-hueso),0.2); }
.plan li::before { content: "+"; font-weight: 600; color: var(--piedra); flex-shrink: 0; }
.plan.ancla li::before { color: var(--hueso); }
.plan li.no { color: var(--piedra); } .plan li.no::before { content: "·"; }
.plan .btn { justify-content: center; }
.plan.ancla .btn:hover { background: var(--tinta); border-color: var(--tinta); }
.nota { margin-top: 28px; font-size: 13px; color: var(--piedra); max-width: 760px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-item { border-top: 1px solid var(--linea-f); }
.faq-item:last-child { border-bottom: 1px solid var(--linea-f); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; text-align: left; font-family: var(--font); color: var(--hueso); }
.faq-q span { font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; transition: transform 0.4s var(--ease); }
.faq-q:hover span { transform: translateX(6px); }
.faq-q i { width: 34px; height: 34px; border: 1px solid var(--linea-f); border-radius: 50%; position: relative; flex-shrink: 0; transition: background 0.3s, border-color 0.3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--hueso); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.abierto .faq-q i { background: var(--noche); border-color: var(--noche); }
.faq-item.abierto .faq-q i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.abierto .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { font-size: 15px; color: var(--piedra); line-height: 1.75; padding: 0 56px 28px 0; max-width: 680px; }

/* ---------- Equipo ---------- */
.equipo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.persona { border-radius: 16px; overflow: hidden; background: rgba(var(--rgb-hueso),0.04); border: 1px solid var(--linea); transition: transform 0.5s var(--ease), border-color 0.4s; }
.persona:hover { transform: translateY(-6px); border-color: var(--linea-f); }
/* Reemplazar .retrato por <img> cuando estén las fotos del equipo */
.retrato { aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 24px; font-family: var(--serif); font-size: clamp(120px, 14vw, 220px); font-weight: 800; line-height: 0.75; color: rgba(var(--rgb-hueso),0.9); background: var(--gris); transition: transform 0.8s var(--ease); }
.persona:nth-child(even) .retrato { background: var(--retrato-2); }
.persona:hover .retrato { transform: scale(1.03); }
.persona .ph { overflow: hidden; }
.persona-info { padding: 22px 24px 28px; }
.persona-info h3 { margin-bottom: 8px; font-size: 24px; }
.persona-info p { font-size: 13px; color: var(--piedra); line-height: 1.6; }

/* ---------- Casos ---------- */
.casos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.caso { border: 1px solid var(--linea-f); border-radius: 16px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; background: rgba(var(--rgb-hueso),0.03); transition: border-color 0.4s, transform 0.5s var(--ease); min-height: 320px; }
.caso:hover { border-color: rgba(var(--rgb-hueso),0.6); transform: translateY(-4px); }
.caso.destacado { grid-column: span 2; background: var(--gris); border-color: var(--gris); }
.caso .logo { height: 56px; display: flex; align-items: center; }
.caso .logo img { max-height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.caso .logo b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.caso .quien { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); }
.caso.destacado .quien { color: rgba(var(--rgb-hueso),0.85); }
.caso h3 { font-weight: 300; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -0.015em; }
.caso.destacado h3 { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.12; }
.caso p { font-size: 14px; color: var(--piedra); line-height: 1.65; }
.caso.destacado p { color: rgba(var(--rgb-hueso),0.88); }
.caso .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.caso.destacado .tag { border-color: rgba(var(--rgb-hueso),0.5); color: var(--hueso); }

/* ---------- Imágenes (por ahora en negro) ---------- */
/* Para poner una foto real: reemplazar el <div class="ph">…</div> por <img src="…" alt="…" /> dentro del mismo .media */
.media { position: relative; overflow: hidden; border-radius: 16px; background: #000; border: 1px solid var(--linea); }
.media > img, .media > .ph { width: 100%; display: block; }
.media > video { width: 100%; height: auto; display: block; background: #000; }
.media > img { aspect-ratio: var(--r, 16 / 9); object-fit: cover; }
.media .ph { aspect-ratio: var(--r, 16 / 9); background: #000; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 24px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--rgb-hueso),0.38); }
.media > img, .media > .ph { transform: scale(1.07); transition: transform 1.6s var(--ease); }
.media.visto > img, .media.visto > .ph { transform: scale(1); }
.media:hover > img { transform: scale(1.03); }
.sec-media { padding: 0 0 clamp(56px, 7vw, 104px); }

/* ---------- Fotos que se mueven con la web ----------
   La foto reacciona al scroll como el resto del sitio: entra desenfocada y apagada, se aclara y se enfoca al llegar
   al centro de la pantalla, y se va apagando al salir. Siempre en blanco y negro, fundida con el fondo.
   Variables que mueve site.js: --p (0 a 1, cuánto está en foco) y --t (-1 a 1, posición respecto del centro). */
@property --g { syntax: '<number>'; inherits: true; initial-value: 1; }
.media.fx { --p: 1; --t: 0; --g: 1; --px: 0; --py: 0; border: 0; background: none; border-radius: 0; overflow: visible; transition: --g 0.8s var(--ease); }
.media.fx:hover { --g: 0.45; }
.media.fx .frame { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: var(--r, 16 / 9); background: #000; isolation: isolate; }
.media.fx .frame img {
  position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; object-position: var(--pos, 50% 50%);
  transform: translate3d(calc(var(--px) * 12px), calc(var(--t) * -7% + var(--py) * 12px), 0) scale(calc(1.16 - var(--p) * 0.1));
  filter: grayscale(var(--g)) contrast(1.08) blur(calc((1 - var(--p)) * var(--blur, 9px))) brightness(calc(0.46 + var(--p) * 0.38));
  opacity: calc(0.42 + var(--p) * 0.58);
  will-change: transform, filter, opacity; transition: transform 0.35s linear;
}
/* Se funde con el fondo: sombras arriba y abajo, bordes oscuros y luz que sigue al mouse */
.media.fx .frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--rgb-tinta),0.78) 0%, rgba(var(--rgb-tinta),0) 28%, rgba(var(--rgb-tinta),0) 58%, rgba(var(--rgb-tinta),0.92) 100%),
    radial-gradient(130% 100% at 50% 50%, transparent 52%, rgba(var(--rgb-tinta),0.7) 100%); }
.media.fx .cap { position: absolute; left: 24px; bottom: 20px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(var(--rgb-hueso),0.75); }
.media.fx .cap::before { content: ""; display: inline-block; width: 28px; height: 1px; background: rgba(var(--rgb-hueso),0.6); vertical-align: middle; margin-right: 12px; }

/* ---------- Equipo: foto + lista ---------- */
.equipo-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.equipo-layout .media { position: sticky; top: 96px; }
.equipo-lista { border-top: 1px solid var(--linea-f); }
.integrante { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--linea-f); transition: padding 0.45s var(--ease); }
.integrante:hover { padding-left: 14px; }
.integrante .ini { font-family: var(--serif); font-weight: 800; font-size: 64px; line-height: 1; color: var(--hueso); }
.integrante h3 { margin-bottom: 8px; }
.integrante p { font-size: 14px; color: var(--piedra); line-height: 1.65; max-width: 420px; }

/* ---------- Casos (3 casos, imagen + texto) ---------- */
.caso-fila { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--linea-f); }
.caso-fila:last-child { border-bottom: 1px solid var(--linea-f); }
.caso-fila:nth-child(even) .media { order: 2; }
.caso-fila .logo { height: 48px; display: flex; align-items: center; margin-bottom: 20px; }
.caso-fila .logo img { max-height: 48px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.caso-fila .logo b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.caso-fila h2 { font-weight: 300; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 28px; }
.caso-datos { border-top: 1px solid var(--linea); margin-bottom: 28px; }
.caso-datos div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.caso-datos dt { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); padding-top: 3px; }
.caso-datos dd { font-size: 14px; color: var(--piedra); line-height: 1.65; }
.caso-fila .tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Pasos (auditoría) ---------- */
.dos { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pasos { border-top: 1px solid var(--linea-f); }
.paso { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--linea); transition: padding 0.45s var(--ease); }
.paso:hover { padding-left: 12px; }
.paso .n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea-f); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--piedra); transition: background 0.35s, border-color 0.35s, color 0.35s; }
.paso:hover .n { background: var(--noche); border-color: var(--noche); color: var(--hueso); }
.paso h3, .paso h4 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.paso p { font-size: 14px; color: var(--piedra); line-height: 1.65; max-width: 480px; }

/* ---------- Recursos ---------- */
.recursos-lista { border-top: 1px solid var(--linea-f); }
.recursos-lista li { padding: 22px 0; border-bottom: 1px solid var(--linea); display: flex; justify-content: space-between; gap: 20px; align-items: baseline; transition: padding 0.45s var(--ease); }
.recursos-lista li:hover { padding-left: 12px; }
.recursos-lista strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.recursos-lista span { font-size: 12px; color: var(--piedra); text-align: right; letter-spacing: 0.03em; }
.bg-gris .recursos-lista span { color: rgba(var(--rgb-hueso),0.8); }

/* ---------- Canales de contacto ---------- */
.canales { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.canal { border: 1px solid var(--linea-f); border-radius: 16px; padding: 32px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 220px; transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s; }
.canal:hover { border-color: rgba(var(--rgb-hueso),0.6); transform: translateY(-4px); background: rgba(var(--rgb-hueso),0.04); }
.canal small { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); }
.canal strong { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.canal strong::after { content: "↗"; font-weight: 400; transition: transform 0.4s var(--ease); }
.canal:hover strong::after { transform: translate(4px, -4px); }

/* ---------- Cierre / CTA ---------- */
.cta { text-align: left; }
.cta .giant { font-size: clamp(40px, 9vw, 150px); margin-bottom: clamp(28px, 4vw, 56px); }
.cta-fila { display: flex; justify-content: space-between; gap: 32px; align-items: end; flex-wrap: wrap; }
.cta-botones { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Texto legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; margin: 44px 0 12px; }
.legal p, .legal li { font-size: 15px; color: var(--piedra); line-height: 1.8; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(var(--rgb-hueso),0.25); }
.footer .wordmark { font-size: 30px; }
.footer p { font-size: 14px; color: rgba(var(--rgb-hueso),0.85); max-width: 320px; margin-top: 18px; line-height: 1.65; }
.footer h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--rgb-hueso),0.7); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 14px; text-decoration: none; position: relative; }
.footer li a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: var(--hueso); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.footer li a:hover::after { transform: scaleX(1); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(var(--rgb-hueso),0.7); }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--hueso); }

/* ---------- Volver arriba y barra móvil ---------- */
.arriba { position: fixed; right: 20px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linea-f); background: rgba(var(--rgb-tinta),0.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--hueso); cursor: pointer; font-size: 18px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s; }
.arriba.visible { opacity: 1; transform: none; pointer-events: auto; }
.arriba:hover { background: var(--noche); border-color: var(--noche); }
.sticky-movil { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 95; padding: 8px; gap: 8px; border-radius: 999px; background: rgba(var(--rgb-tinta),0.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--linea-f); transform: translateY(140%); transition: transform 0.5s var(--ease); }
.sticky-movil.visible { transform: none; }
.sticky-movil a { flex: 1; text-align: center; padding: 13px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.sticky-movil .a { background: var(--hueso); color: var(--tinta); }
.sticky-movil .b { border: 1px solid var(--linea-f); }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.popup.abierto { opacity: 1; visibility: visible; }
.popup-caja { background: var(--tinta); width: 100%; max-width: 880px; border-radius: 18px; border: 1px solid var(--linea-f); overflow: hidden; display: grid; grid-template-columns: 0.9fr 1.1fr; position: relative; max-height: 92vh; overflow-y: auto; transform: translateY(24px) scale(0.98); transition: transform 0.5s var(--ease); }
.popup.abierto .popup-caja { transform: none; }
.popup-lado { background: var(--gris); padding: 40px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.popup-lado .wordmark { font-size: 20px; }
.popup-lado h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95; font-size: clamp(28px, 3.2vw, 42px); }
.popup-lado p { font-size: 13px; color: rgba(var(--rgb-hueso),0.88); line-height: 1.6; }
.popup-form { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.popup-form h4 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1; }
.popup-form label.campo { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--piedra); display: block; margin-bottom: 8px; }
.popup-form input[type="email"] { width: 100%; font: 400 16px var(--font); padding: 16px 0; border: 0; border-bottom: 1px solid var(--linea-f); background: transparent; color: var(--hueso); border-radius: 0; outline: none; transition: border-color 0.3s; }
.popup-form input[type="email"]::placeholder { color: var(--piedra); }
.popup-form input[type="email"]:focus { border-bottom-color: var(--hueso); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--piedra); line-height: 1.55; margin: 18px 0 22px; }
.consent input { margin-top: 3px; accent-color: var(--noche); }
.consent a { text-decoration: underline; }
.popup-cerrar { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea-f); background: var(--tinta); color: var(--hueso); cursor: pointer; font-size: 20px; line-height: 1; z-index: 2; transition: background 0.3s, border-color 0.3s; }
.popup-cerrar:hover { background: var(--noche); border-color: var(--noche); }
.popup-ok { display: none; font-size: 15px; line-height: 1.6; }
.popup.enviado .popup-ok { display: block; }
.popup.enviado form { display: none; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visto { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero-fila, .cab, .faq-grid, .dos { grid-template-columns: 1fr; }
  .hero-acciones { justify-content: flex-start; }
  .grid-3, .planes-mini, .planes-grid, .equipo-grid, .casos-grid, .canales { grid-template-columns: 1fr; }
  .grid-3 { border-left: 1px solid var(--linea-f); }
  .dolor { min-height: 0; }
  .caso.destacado { grid-column: auto; }
  .equipo-layout { grid-template-columns: 1fr; }
  .equipo-layout .media { position: static; }
  .caso-fila { grid-template-columns: 1fr; }
  .caso-fila:nth-child(even) .media { order: 0; }
  .fila { grid-template-columns: 56px 1fr; }
  .fila p { grid-column: 2; }
  .plan .frase, .plan .para { min-height: 0; }
  .retrato { aspect-ratio: 16 / 10; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .sticky-movil { display: flex; }
  .arriba { bottom: 84px; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .hero-title { font-size: 12.5vw; }
  .popup-caja { grid-template-columns: 1fr; }
  .popup-lado { padding: 28px 24px; gap: 16px; }
  .popup-form { padding: 28px 24px 32px; }
  .recursos-lista li { flex-direction: column; gap: 4px; }
  .recursos-lista span { text-align: left; }
  .faq-a p { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
}
/* ---------- Perfiles, microcopy y citas ---------- */
.perfiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.perfiles .tag { color: var(--hueso); border-color: rgba(var(--rgb-hueso),0.35); }
.micro { font-size: 12px; letter-spacing: 0.06em; color: var(--piedra); margin-top: 14px; }
.bg-gris .micro { color: rgba(var(--rgb-hueso),0.82); }
.micro b { font-weight: 600; color: var(--hueso); }
.cita-dolor { font-weight: 300; font-style: italic; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; color: var(--hueso); margin-bottom: 12px; }
.cita-dolor::before { content: "“"; } .cita-dolor::after { content: "”"; }

/* ---------- Testimonios ---------- */
.testimonios { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonio { border: 1px solid rgba(var(--rgb-hueso),0.3); border-radius: 16px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; justify-content: space-between; background: rgba(var(--rgb-tinta),0.3); }
.testimonio blockquote { font-weight: 300; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; letter-spacing: -0.01em; }
.testimonio figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid rgba(var(--rgb-hueso),0.25); }
.testimonio figcaption b { font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.testimonio figcaption span { font-size: 12px; color: rgba(var(--rgb-hueso),0.8); letter-spacing: 0.06em; }

/* ---------- ¿Cuál sos? (planes en el inicio) ---------- */
.card .si { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); line-height: 1.5; min-height: 34px; }
.plan .ideal { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--piedra); margin-bottom: 14px; line-height: 1.5; }
.plan.ancla .ideal { color: rgba(var(--rgb-hueso),0.85); }

/* ---------- Tabla comparativa de planes ---------- */
.tabla-wrap { overflow-x: auto; border: 1px solid var(--linea-f); border-radius: 16px; margin-top: 48px; -webkit-overflow-scrolling: touch; }
.tabla { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.tabla th, .tabla td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--linea); }
.tabla thead th { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); background: rgba(var(--rgb-hueso),0.04); }
.tabla tbody th { font-weight: 500; color: var(--piedra); width: 34%; }
.tabla td { font-weight: 500; }
.tabla td.no { color: rgba(var(--rgb-hueso),0.35); }
.tabla tbody tr:hover td, .tabla tbody tr:hover th { background: rgba(var(--rgb-hueso),0.03); }
.tabla tr:last-child th, .tabla tr:last-child td { border-bottom: 0; }

/* ---------- Franja de recurso (inicio y planes) ---------- */
.recurso-franja { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.recurso-franja .acc { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

/* ---------- Ejemplo de auditoría ---------- */
.ficha { border: 1px solid rgba(var(--rgb-hueso),0.3); border-radius: 18px; background: var(--tinta); overflow: hidden; margin-top: 8px; }
.ficha-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--linea); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); }
.ficha-fila { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 18px 22px; border-bottom: 1px solid var(--linea); align-items: center; }
.ficha-fila:last-child { border-bottom: 0; }
.ficha-fila strong { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ficha-fila p { grid-column: 1 / -1; font-size: 13px; color: var(--piedra); line-height: 1.6; }
.estado { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linea-f); color: var(--piedra); white-space: nowrap; }
.estado.bien { background: var(--hueso); color: var(--tinta); border-color: var(--hueso); }
.estado.mejora { background: var(--noche); color: var(--hueso); border-color: var(--noche); }

/* ---------- Demo del portal ---------- */
.pdemo { position: relative; border: 1px solid rgba(var(--rgb-hueso),0.28); border-radius: 20px; background: var(--demo-bg); overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,0.5); }
.pdemo-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--linea); background: rgba(var(--rgb-hueso),0.03); }
.pd-dots { display: flex; gap: 6px; } .pd-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--rgb-hueso),0.22); display: block; }
.pd-url { font-size: 12px; letter-spacing: 0.08em; color: var(--piedra); flex: 1; }
.pd-badge { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--noche); color: var(--hueso); white-space: nowrap; }
.pdemo-body { display: grid; grid-template-columns: 210px 1fr; min-height: 460px; }
.pd-side { border-right: 1px solid var(--linea); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; background: rgba(var(--rgb-hueso),0.02); }
.pd-tab { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; background: none; border: 0; color: var(--piedra); font: 500 14px var(--font); padding: 12px 14px; border-radius: 10px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.pd-tab:hover { background: rgba(var(--rgb-hueso),0.06); color: var(--hueso); }
.pd-tab.on { background: rgba(var(--rgb-hueso),0.1); color: var(--hueso); }
.pd-tab.off { opacity: 0.35; cursor: default; }
.pd-tab.off:hover { background: none; color: var(--piedra); }
.pd-count { font-size: 11px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--noche); color: var(--hueso); display: inline-flex; align-items: center; justify-content: center; }
.pd-reset { margin-top: auto; background: none; border: 1px solid var(--linea-f); color: var(--piedra); font: 600 10px var(--font); letter-spacing: 0.18em; text-transform: uppercase; padding: 11px; border-radius: 999px; cursor: pointer; transition: border-color 0.3s, color 0.3s; }
.pd-reset:hover { border-color: var(--hueso); color: var(--hueso); }
.pd-main { padding: 26px; position: relative; min-width: 0; }
.pd-view { display: none; } .pd-view.on { display: block; animation: aparece 0.5s var(--ease); }
@keyframes aparece { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pd-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--linea-f); border-radius: 14px; background: rgba(27,47,79,0.35); margin-bottom: 18px; flex-wrap: wrap; }
.pd-banner strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.pd-banner span { font-size: 13px; color: var(--piedra); }
.pd-banner .btn { padding: 13px 20px; font-size: 11px; }
.pd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.pd-kpis div { border: 1px solid var(--linea); border-radius: 14px; padding: 18px 20px; background: rgba(var(--rgb-hueso),0.03); }
.pd-kpis small, .pd-fases small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); margin-bottom: 8px; }
.pd-kpis b { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pd-fases { border: 1px solid var(--linea); border-radius: 14px; padding: 18px 20px; background: rgba(var(--rgb-hueso),0.03); }
.pd-fases ol { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.pd-fases li { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--linea-f); color: var(--piedra); }
.pd-fases li.hecho { background: rgba(var(--rgb-hueso),0.1); color: var(--hueso); } .pd-fases li.hecho::before { content: "✓ "; }
.pd-fases li.ahora { border-color: var(--hueso); color: var(--hueso); }
.pd-cal-head { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14px; } .pd-cal-head span { color: var(--piedra); font-size: 12px; }
.pd-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.pd-cal .dn { font-size: 10px; letter-spacing: 0.2em; color: var(--piedra); text-align: center; padding-bottom: 4px; }
.pd-cal .dc { position: relative; aspect-ratio: 1.15; border: 1px solid var(--linea); border-radius: 8px; font-size: 12px; padding: 6px 8px; color: var(--piedra); }
.pd-cal .dc i { position: absolute; left: 8px; bottom: 8px; width: 9px; height: 9px; border-radius: 50%; }
.d-prod { background: transparent; box-shadow: inset 0 0 0 2px var(--piedra); }
.d-aprob { background: var(--noche); box-shadow: 0 0 0 1px rgba(var(--rgb-hueso),0.7); }
.d-ok { background: var(--hueso); }
.pd-leyenda { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin-top: 16px; font-size: 12px; color: var(--piedra); }
.pd-leyenda li { display: flex; align-items: center; gap: 8px; } .pd-leyenda i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.pd-ayuda { font-size: 13px; color: var(--piedra); margin-bottom: 16px; }
.pd-tablero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pd-col h4 { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); margin-bottom: 10px; }
.pd-cards { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.pd-card { text-align: left; background: rgba(var(--rgb-hueso),0.04); border: 1px solid var(--linea); border-radius: 12px; padding: 14px 16px; cursor: pointer; color: var(--hueso); font-family: var(--font); display: flex; flex-direction: column; gap: 4px; transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s; animation: aparece 0.45s var(--ease); }
.pd-card:hover { border-color: rgba(var(--rgb-hueso),0.6); transform: translateY(-2px); }
.pd-card.sel { border-color: var(--hueso); background: rgba(var(--rgb-hueso),0.08); }
.pd-card small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); font-weight: 600; }
.pd-card strong { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.pd-card em { font-style: normal; font-size: 11px; color: var(--piedra); }
.pd-detalle { position: absolute; inset: 0; background: var(--demo-bg); padding: 26px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; overflow-y: auto; animation: aparece 0.4s var(--ease); z-index: 3; }
.pd-detalle[hidden] { display: none; }
.pd-cerrar { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linea-f); background: var(--tinta); color: var(--hueso); font-size: 20px; cursor: pointer; z-index: 2; transition: background 0.3s; }
.pd-cerrar:hover { background: var(--noche); }
.pd-prev { background: #000; border: 1px solid var(--linea); border-radius: 14px; min-height: 240px; display: flex; align-items: flex-end; padding: 16px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(var(--rgb-hueso),0.38); }
.pd-info { display: flex; flex-direction: column; gap: 12px; padding-top: 30px; min-width: 0; }
.pd-info h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.05; }
.pd-estado { align-self: flex-start; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--linea-f); color: var(--piedra); }
.pd-estado.st-aprob { background: var(--noche); border-color: var(--noche); color: var(--hueso); }
.pd-estado.st-ok { background: var(--hueso); border-color: var(--hueso); color: var(--tinta); }
.pd-hilo { list-style: none; display: flex; flex-direction: column; gap: 10px; max-height: 150px; overflow-y: auto; }
.pd-hilo li { font-size: 13px; line-height: 1.5; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--linea); border-radius: 10px; }
.pd-hilo li b { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--piedra); } .pd-hilo li.vacio { color: var(--piedra); border-style: dashed; }
.pd-campo { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); }
.pd-info textarea { width: 100%; background: transparent; border: 1px solid var(--linea-f); border-radius: 10px; color: var(--hueso); font: 400 14px var(--font); padding: 12px; resize: vertical; outline: none; transition: border-color 0.3s; }
.pd-info textarea:focus { border-color: var(--hueso); }
.pd-acciones { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pd-acciones .btn { padding: 14px 22px; font-size: 11px; } .pd-acciones .btn:disabled { opacity: 0.35; pointer-events: none; }
.pd-enviar { background: none; border: 0; color: var(--piedra); font: 600 11px var(--font); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; padding: 10px 6px; }
.pd-enviar:hover { color: var(--hueso); }
.pd-toast { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--hueso); color: var(--tinta); font-size: 13px; font-weight: 600; padding: 12px 20px; border-radius: 999px; z-index: 5; white-space: nowrap; }
.pd-toast.on { animation: aparece 0.4s var(--ease); }

/* ---------- Página Portal ---------- */
.incluye { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linea-f); border-left: 1px solid var(--linea-f); }
.incluye > div { padding: 28px 24px; border-right: 1px solid var(--linea-f); border-bottom: 1px solid var(--linea-f); transition: background 0.4s; }
.incluye > div:hover { background: rgba(var(--rgb-hueso),0.04); }
.incluye h3 { margin-bottom: 10px; font-size: 18px; }
.incluye p { font-size: 13px; color: var(--piedra); line-height: 1.6; }
.dos-niveles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nivel { border: 1px solid var(--linea-f); border-radius: 16px; padding: clamp(28px, 3vw, 44px); background: rgba(var(--rgb-hueso),0.03); }
.nivel.completo { background: var(--gris); border-color: var(--gris); }
.nivel h3 { margin: 18px 0 8px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.nivel .para { font-size: 13px; color: var(--piedra); margin-bottom: 20px; }
.nivel.completo .para { color: rgba(var(--rgb-hueso),0.88); }
.nivel li { font-size: 14px; padding: 11px 0; border-bottom: 1px solid var(--linea); display: flex; gap: 12px; }
.nivel.completo li { border-color: rgba(var(--rgb-hueso),0.22); }
.nivel li::before { content: "+"; font-weight: 600; color: var(--piedra); }
.nivel.completo li::before { color: var(--hueso); }
.pasos-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: p; }
.pasos-3 > div { border-top: 1px solid var(--linea-f); padding-top: 22px; }
.pasos-3 .n { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--piedra); display: block; margin-bottom: 14px; }
.pasos-3 h3 { margin-bottom: 10px; }
.pasos-3 p { font-size: 14px; color: var(--piedra); line-height: 1.65; }

@media (max-width: 980px) {
  .incluye { grid-template-columns: repeat(2, 1fr); }
  .pdemo-body { grid-template-columns: 1fr; }
  .pd-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--linea); padding: 10px; gap: 6px; }
  .pd-tab { white-space: nowrap; flex-shrink: 0; }
  .pd-reset { margin: 0 0 0 auto; flex-shrink: 0; }
  .pd-tablero { grid-template-columns: 1fr; }
  .pd-detalle { grid-template-columns: 1fr; }
  .pd-prev { min-height: 150px; }
  .pd-info { padding-top: 0; }
  .pd-main { padding: 18px; }
}
@media (max-width: 640px) {
  .pd-kpis { grid-template-columns: 1fr; }
  .incluye { grid-template-columns: 1fr; }
  .pd-badge { display: none; }
  .pd-cal .dc { padding: 4px 6px; font-size: 11px; }
  .ficha-fila { grid-template-columns: 1fr; }
  .estado { justify-self: start; }
}

/* ---------- Celular y pantallas táctiles ---------- */
@media (max-width: 980px) {
  .media.fx { --blur: 0px; }                       /* sin desenfoque animado: cuida batería y fluidez */
  .sec { padding: clamp(56px, 12vw, 88px) 0; }
  .page-hero { padding-top: calc(var(--nav-h) + 40px); }
  .footer { padding-bottom: 104px; }               /* deja lugar a la barra fija de abajo */
  .sticky-movil { bottom: calc(12px + env(safe-area-inset-bottom)); }
  .arriba { width: 44px; height: 44px; background: rgba(var(--rgb-tinta),0.4); }
}
@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .sec-media .media.fx .frame { aspect-ratio: 4 / 5; }       /* la foto del inicio se ve más grande en vertical */
  .sec-media .media.fx { --pos: 52% 50%; }
  .lead { font-size: 16px; }
  .hero { padding-bottom: 56px; }
  .hero-acciones .btn { width: 100%; justify-content: center; }
  .cta-botones { width: 100%; }
  .cta-botones .btn { flex: 1 1 100%; justify-content: center; }
  .plan, .card, .canal { padding: 26px 22px; }
  .canal { min-height: 150px; gap: 28px; }
  .integrante { grid-template-columns: 64px 1fr; padding: 24px 0; }
  .integrante .ini { font-size: 48px; }
  .caso-datos div { grid-template-columns: 1fr; gap: 4px; }
  .fila { padding: 26px 0; }
  .dolor { padding: 26px 22px; gap: 20px; }
  .faq-q { padding: 22px 0; }
  .legal p, .legal li { font-size: 16px; }
}
/* En pantallas táctiles no hay "hover": se apagan los movimientos que se quedarían trabados */
@media (hover: none) {
  .card:hover, .plan:hover, .canal:hover, .persona:hover { transform: none; }
  .fila:hover, .paso:hover, .integrante:hover, .recursos-lista li:hover { padding-left: 0; }
  .faq-q:hover span { transform: none; }
  .media.fx:hover { --g: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logos-track, .hero-glow, .scroll-cue i { animation: none; }
  .line > span { animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Con el menú móvil abierto, el botón de cerrar queda arriba y se esconden las barras fijas */
body.menu-abierto .sticky-movil, body.menu-abierto .arriba { opacity: 0; pointer-events: none; }

button.link { font-family: var(--font); }

.cita-caso { font-weight: 300; font-style: italic; font-size: 17px; line-height: 1.5; margin: -4px 0 24px; padding-left: 18px; border-left: 2px solid var(--linea-f); color: var(--hueso); }
.cita-caso cite { display: block; margin-top: 8px; font-style: normal; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--piedra); }

/* Demo del portal: la sección de cada vista no debe ser el contenedor del detalle superpuesto */
.pd-view { position: static; }
.pd-info .tag { align-self: flex-start; }
.pd-prev { align-self: stretch; }

.pd-side { scrollbar-width: none; }
.pd-side::-webkit-scrollbar { display: none; }

/* ===== Demo del portal, ronda 2: más funciones ===== */
.pd-bell { position: relative; background: none; border: 1px solid var(--linea-f); color: var(--hueso); width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.pd-bell:hover { background: rgba(var(--rgb-hueso),0.08); border-color: var(--hueso); }
.pd-bell-n { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--noche); color: var(--hueso); font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #0d0d10; }
.pd-bell-n[hidden] { display: none; }
.pd-notif { position: absolute; right: 16px; top: 58px; width: min(350px, calc(100% - 32px)); background: var(--demo-bg-2); border: 1px solid var(--linea-f); border-radius: 14px; z-index: 8; box-shadow: 0 24px 70px rgba(0,0,0,0.6); animation: aparece 0.3s var(--ease); }
.pd-notif[hidden] { display: none; }
.pd-notif-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--linea); }
.pd-notif-top strong { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.pd-notif-top button { background: none; border: 0; color: var(--piedra); font: 500 12px var(--font); cursor: pointer; }
.pd-notif-top button:hover { color: var(--hueso); }
.pd-notif ul, .pd-feed { list-style: none; }
.pd-notif li { padding: 12px 16px; border-bottom: 1px solid var(--linea); display: flex; flex-direction: column; gap: 3px; font-size: 13px; }
.pd-notif li:last-child { border-bottom: 0; }
.pd-notif li.nuevo { background: rgba(27,47,79,0.3); }
.pd-notif em, .pd-feed em { font-style: normal; font-size: 11px; color: var(--piedra); }

.pd-tour { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--linea); background: rgba(27,47,79,0.22); font-size: 13px; }
.pd-tour-t { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); }
.pd-tour ol { display: flex; gap: 8px 18px; flex-wrap: wrap; list-style: none; }
.pd-tour li { display: flex; align-items: center; gap: 8px; color: var(--piedra); transition: color 0.4s; }
.pd-tour li i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--linea-f); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10px; transition: background 0.4s, border-color 0.4s; }
.pd-tour li.hecho { color: var(--hueso); }
.pd-tour li.hecho i { background: var(--hueso); border-color: var(--hueso); color: var(--tinta); }
.pd-tour li.hecho i::before { content: "✓"; }
.pd-tour-cta { margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--tinta); background: var(--hueso); padding: 8px 14px; border-radius: 999px; text-decoration: none; animation: aparece 0.5s var(--ease); }
.pd-tour-cta[hidden] { display: none; }

.pd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pd-toolbar .pd-ayuda { margin: 0; }
.pd-t { font-size: 14px; }
.pd-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pd-chips button, .pd-seg button { background: none; border: 1px solid var(--linea-f); color: var(--piedra); font: 600 11px var(--font); letter-spacing: 0.08em; padding: 8px 13px; border-radius: 999px; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.pd-chips button:hover, .pd-seg button:hover { color: var(--hueso); border-color: var(--hueso); }
.pd-chips button.on, .pd-seg button.on { background: var(--hueso); border-color: var(--hueso); color: var(--tinta); }
.pd-seg { display: flex; gap: 4px; }
.pd-todas { padding: 6px 2px; }
.pd-todas:disabled { opacity: 0.3; pointer-events: none; }

.pd-cal { gap: 5px; }
.pd-cal .dc { aspect-ratio: auto; min-height: 76px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.pd-cal .dc .num { font-size: 11px; color: var(--piedra); display: flex; justify-content: space-between; align-items: center; }
.pd-cal .dc .num em { font-style: normal; font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hueso); background: var(--noche); padding: 2px 5px; border-radius: 999px; }
.pd-cal .dc.hoy { border-color: var(--hueso); }
.pd-cal .dc.evento { background: rgba(var(--rgb-hueso),0.06); border-color: rgba(var(--rgb-hueso),0.5); }
.pd-pill { display: flex; align-items: center; gap: 5px; background: rgba(var(--rgb-hueso),0.07); border: 0; border-radius: 6px; padding: 4px 6px; color: var(--hueso); font: 500 10px var(--font); cursor: pointer; text-align: left; width: 100%; transition: background 0.3s, transform 0.3s var(--ease); }
.pd-pill:hover { background: rgba(var(--rgb-hueso),0.16); transform: translateY(-1px); }
.pd-pill i { position: static !important; width: 7px !important; height: 7px !important; flex-shrink: 0; border-radius: 50%; }
.pd-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-ayuda-l { margin-left: auto; font-style: italic; }
.pd-lista { display: flex; flex-direction: column; border-top: 1px solid var(--linea); }
.pd-lista[hidden] { display: none; }
.pd-fila { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--linea); color: var(--hueso); font-family: var(--font); padding: 14px 6px; cursor: pointer; transition: background 0.3s, padding 0.4s var(--ease); }
.pd-fila:hover { background: rgba(var(--rgb-hueso),0.04); padding-left: 12px; }
.pd-fila .f { font-size: 12px; color: var(--piedra); text-transform: capitalize; }
.pd-fila .n { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.pd-fila small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); font-weight: 600; }
.pd-vacio { font-size: 13px; color: var(--piedra); padding: 10px 2px; }
.pd-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-sale { font-size: 12px; color: var(--piedra); text-transform: capitalize; }
.pd-vers { display: flex; gap: 6px; }
.pd-vers button { background: none; border: 1px solid var(--linea-f); color: var(--piedra); font: 600 11px var(--font); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.pd-vers button.on { background: var(--hueso); color: var(--tinta); border-color: var(--hueso); }
.pd-vers:empty { display: none; }
.pd-hilo li.typing span { color: var(--piedra); font-style: italic; animation: parpadeo 1.1s ease-in-out infinite; }
@keyframes parpadeo { 50% { opacity: 0.35; } }

.pd-dos { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12px; margin-top: 12px; }
.pd-card-info { border: 1px solid var(--linea); border-radius: 14px; padding: 18px 20px; background: rgba(var(--rgb-hueso),0.03); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pd-card-info small, .pd-reu small, .pd-slots small, .pd-rep small, .pd-rep-det small { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); display: block; }
.pd-card-info strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.pd-card-info > span { font-size: 13px; color: var(--piedra); }
.pd-link { background: none; border: 0; border-bottom: 1px solid var(--linea-f); color: var(--hueso); font: 600 11px var(--font); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 0; cursor: pointer; margin-top: 6px; }
.pd-feed { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.pd-feed li { display: flex; flex-direction: column; gap: 2px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--linea); animation: aparece 0.45s var(--ease); }
.pd-feed li:last-child { border-bottom: 0; padding-bottom: 0; }

.pd-reu { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border: 1px solid var(--linea-f); border-radius: 14px; padding: 20px 22px; background: rgba(27,47,79,0.28); }
.pd-reu strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 2px; }
.pd-reu span { font-size: 13px; color: var(--piedra); }
.pd-reu .btn { padding: 13px 20px; font-size: 11px; }
.pd-slots { margin-top: 12px; padding: 16px 18px; border: 1px dashed var(--linea-f); border-radius: 14px; animation: aparece 0.4s var(--ease); }
.pd-slots[hidden] { display: none; }
.pd-slots > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pd-slots button { background: none; border: 1px solid var(--linea-f); color: var(--hueso); font: 500 13px var(--font); padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.pd-slots button:hover { background: var(--hueso); color: var(--tinta); }
.pd-h { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); margin: 26px 0 12px; }
.pd-acordeon details { border-top: 1px solid var(--linea); }
.pd-acordeon details:last-child { border-bottom: 1px solid var(--linea); }
.pd-acordeon summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.pd-acordeon summary::-webkit-details-marker { display: none; }
.pd-acordeon summary em { font-style: normal; font-weight: 400; color: var(--piedra); font-size: 13px; }
.pd-acordeon ul { list-style: disc; padding: 0 4px 16px 22px; font-size: 13px; color: var(--piedra); line-height: 1.7; }

.pd-reportes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.pd-rep { text-align: left; background: rgba(var(--rgb-hueso),0.03); border: 1px solid var(--linea); border-radius: 12px; padding: 16px 18px; color: var(--hueso); font-family: var(--font); cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color 0.3s; }
.pd-rep strong { font-size: 15px; }
.pd-rep.on { border-color: var(--hueso); background: rgba(var(--rgb-hueso),0.07); }
.pd-rep-det { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pd-rep-det.on { animation: aparece 0.45s var(--ease); }
.pd-rep-det > div { border: 1px solid var(--linea); border-radius: 12px; padding: 16px 18px; background: rgba(var(--rgb-hueso),0.03); }
.pd-rep-det p { font-size: 13px; line-height: 1.6; margin-top: 8px; }

.pd-buscar { width: 100%; background: transparent; border: 1px solid var(--linea-f); border-radius: 999px; color: var(--hueso); font: 400 14px var(--font); padding: 12px 18px; outline: none; margin-bottom: 14px; transition: border-color 0.3s; }
.pd-buscar:focus { border-color: var(--hueso); }
.pd-archivos { list-style: none; border-top: 1px solid var(--linea); }
.pd-archivos li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--linea); }
.pd-archivos .ext { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; border: 1px solid var(--linea-f); border-radius: 8px; padding: 8px 10px; color: var(--piedra); }
.pd-archivos li > div { flex: 1; display: flex; flex-direction: column; }
.pd-archivos strong { font-size: 14px; }
.pd-archivos small { font-size: 12px; color: var(--piedra); }

.pd-chart { border: 1px solid var(--linea); border-radius: 14px; padding: 14px; background: rgba(var(--rgb-hueso),0.03); height: 190px; }
.pd-chart svg { width: 100%; height: 100%; display: block; }
.pd-chart .l { fill: none; stroke: var(--hueso); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: traza 1.2s var(--ease) forwards; }
.pd-chart .a { fill: rgba(var(--rgb-hueso),0.07); opacity: 0; animation: aparece 1s 0.5s forwards; }
.pd-chart .p { fill: var(--hueso); stroke: var(--noche); stroke-width: 3; vector-effect: non-scaling-stroke; }
@keyframes traza { to { stroke-dashoffset: 0; } }

.pd-est { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-lista-simple { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.pd-lista-simple li::before { content: "+ "; color: var(--piedra); }
.pd-tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; }
.pd-tl li { border-top: 2px solid var(--linea-f); padding-top: 10px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--piedra); }
.pd-tl li.hecho, .pd-tl li.ahora { border-color: var(--hueso); color: var(--hueso); }
.pd-tl li.ahora b::after { content: " · ahora"; font-weight: 400; color: var(--piedra); }
.pd-tl span { font-size: 11px; color: var(--piedra); }
.pd-marca { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pd-sw { display: flex; flex-direction: column; gap: 6px; font-size: 10px; letter-spacing: 0.1em; color: var(--piedra); }
.pd-sw i { width: 56px; height: 56px; border-radius: 12px; display: block; }
.pd-tipo { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pd-tipo b { font-size: 44px; font-weight: 300; line-height: 1; }
.pd-tipo span { font-size: 11px; color: var(--piedra); max-width: 90px; line-height: 1.3; }

.pd-toast { display: flex; align-items: center; gap: 14px; }
.pd-toast[hidden] { display: none; }
.pd-toast button { background: none; border: 0; border-left: 1px solid rgba(var(--rgb-tinta),0.25); padding-left: 14px; color: var(--tinta); font: 700 12px var(--font); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.pd-toast button[hidden] { display: none; }

@media (max-width: 980px) {
  .pd-dos, .pd-est, .pd-rep-det { grid-template-columns: 1fr; }
  .pd-tl { grid-template-columns: 1fr 1fr; }
  .pd-tour-cta { margin-left: 0; }
  .pd-notif { top: 54px; }
}
@media (max-width: 640px) {
  .pd-fila { grid-template-columns: 1fr auto; }
  .pd-fila .f { grid-column: 1 / -1; }
  .pd-reportes { grid-template-columns: 1fr; }
  .pd-tipo { margin-left: 0; }
  .pd-tour { gap: 8px 14px; padding: 12px 16px; }
}

.pd-sale { text-transform: none; }

.pd-cal[hidden] { display: none; }

/* ===================== EFECTOS (27/10/2026) =====================
   Todo se apaga con "reducir movimiento"; lo pesado se apaga en celular. */

/* 1. Títulos que se revelan palabra por palabra */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.14em 0.03em 0.1em; margin: -0.14em -0.03em -0.1em; }
.wi { display: inline-block; }
.js .split .wi { transform: translateY(118%); }
.js .split.visto .wi { transform: none; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }

/* 2. Frases que se encienden al scrollear */
.sw { opacity: 0.2; transition: opacity 0.25s linear; }

/* 3. La foto vuelve a tener color bajo el cursor */
.media.fx:hover { --g: 1; }
.media.fx .frame img.col {
  filter: contrast(1.06) brightness(0.9) saturate(1.05) blur(calc((1 - var(--p)) * var(--blur, 9px)));
  opacity: 0; transition: opacity 0.5s ease, transform 0.35s linear;
  -webkit-mask-image: radial-gradient(circle 150px at var(--cx, 50%) var(--cy, 50%), #000 0%, rgba(0,0,0,0.6) 45%, transparent 100%);
  mask-image: radial-gradient(circle 150px at var(--cx, 50%) var(--cy, 50%), #000 0%, rgba(0,0,0,0.6) 45%, transparent 100%);
}
.media.fx:hover .frame img.col { opacity: calc(0.42 + var(--p) * 0.58); }

/* 5 y 6. Cortina entre páginas e intro del wordmark */
.cortina { position: fixed; inset: 0; z-index: 500; background: var(--tinta); display: flex; align-items: center; justify-content: center; transform: translateY(-100%); transition: transform 0.8s var(--ease); pointer-events: none; }
.cortina .wordmark { font-size: 38px; }
.cortina .wordmark b, .cortina .wordmark span { display: inline-block; }
.entra .cortina, .intro .cortina, .cierra .cortina { transform: none; }
.entra .cortina, .intro .cortina { transition: none; }
.cierra .cortina { transition: transform 0.55s var(--ease); pointer-events: auto; }
.intro .cortina .wordmark { animation: marcaIn 1s 0.1s var(--ease) both; }
@keyframes marcaIn { from { clip-path: inset(0 100% 0 0); transform: translateY(8px); } to { clip-path: inset(0 0 0 0); transform: none; } }
html.intro, html.cierra { overflow: hidden; }
/* Si el script falla, la cortina no se queda trabada */
.intro .cortina, .entra .cortina { animation: cortinaFalla 0s 3.5s forwards; }
@keyframes cortinaFalla { to { transform: translateY(-100%); visibility: hidden; } }

/* 7. Luz ambiental que sigue al mouse */

/* 8. Cursor propio (solo mouse) */
.cursor { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(var(--rgb-hueso),0.9); border-radius: 50%; pointer-events: none; z-index: 510; mix-blend-mode: difference; opacity: 0; transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.3s, opacity 0.3s; }
.cursor.on { opacity: 1; }
.cursor.grande { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(var(--rgb-hueso),0.9); border-color: transparent; }
.cursor.texto { width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 4px; }

/* 9. Tarjetas con inclinación 3D sutil */
.card:hover, .plan:hover, .canal:hover, .testimonio:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  transition: transform 0.25s ease-out, border-color 0.4s, background 0.4s;
}
.testimonio { transition: transform 0.5s var(--ease), border-color 0.4s; }
.testimonio:hover { border-color: rgba(var(--rgb-hueso),0.6); }

/* 10. Botones con relleno que nace donde entra el cursor y menú con letras que ruedan */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; left: var(--bx, 50%); top: var(--by, 50%); width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--noche); transform: translate(-50%, -50%) scale(0); transition: transform 0.7s var(--ease); z-index: -1; pointer-events: none; }
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn:hover { background: var(--hueso); border-color: var(--noche); color: var(--hueso); }
.btn.borde::before { background: var(--hueso); }
.btn.borde:hover { background: transparent; border-color: var(--hueso); color: var(--tinta); }
.plan.ancla .btn::before { background: var(--tinta); }
.plan.ancla .btn:hover { background: var(--hueso); border-color: var(--tinta); color: var(--hueso); }
.btn:disabled::before { display: none; }
.nav-links .btn:hover { background: var(--hueso); color: var(--hueso); }
.roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: bottom; }
.roll > span { display: block; transition: transform 0.5s var(--ease); }
.roll > span::after { content: attr(data-t); display: block; color: var(--hueso); }
.nav-links a:hover .roll > span { transform: translateY(-100%); }

/* 12. Índice lateral con el progreso */
.indice { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 60; display: none; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: var(--piedra); mix-blend-mode: difference; }
.indice .v { writing-mode: vertical-rl; transform: rotate(180deg); }
.indice .linea { width: 1px; height: 90px; background: rgba(var(--rgb-hueso),0.25); position: relative; overflow: hidden; }
.indice .linea i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--hueso); transform: scaleY(var(--ip, 0)); transform-origin: top; }
@media (min-width: 1360px) { .indice { display: flex; } }

/* Celular y reducir movimiento: se apagan los efectos pesados */
@media (max-width: 980px) {
  .cursor, .ambiente, .indice { display: none !important; }
  .btn::before { display: none; }
  .btn:hover { background: var(--hueso); color: var(--tinta); }
  .btn.borde:hover { background: var(--hueso); color: var(--tinta); }
  .plan.ancla .btn:hover { background: var(--hueso); color: var(--tinta); }
}
@media (prefers-reduced-motion: reduce) {
  .cortina, .cursor, .ambiente, .indice { display: none !important; }
  .js .split .wi { transform: none; }
  .sw { opacity: 1; }
  .btn::before { display: none; }
  .btn:hover { background: var(--hueso); color: var(--tinta); }
  .btn.borde:hover { background: var(--hueso); color: var(--tinta); }
}

/* Dolores en formato "Imaginás / Sale" */
.par { margin-top: 18px; display: flex; flex-direction: column; border-top: 1px solid var(--linea); }
.par > div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); align-items: baseline; }
.par dt { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--piedra); }
.par dd { font-size: 14px; line-height: 1.55; }
.par > div:first-child dd { color: var(--hueso); font-weight: 500; }
.par > div:last-child dd { color: var(--piedra); }
.par > div:last-child dt { color: rgba(185,182,174,0.7); }
.dolor:hover .par > div:last-child dd { color: var(--hueso); }
@media (max-width: 640px) { .par > div { grid-template-columns: 1fr; gap: 2px; } }

/* Títulos largos más contenidos y tarjetas de dolor alineadas entre sí */
.cab .h2 { font-size: clamp(30px, 4.6vw, 68px); }
.dolor h3 { min-height: 2.1em; display: flex; align-items: flex-end; margin-bottom: 0; }
@media (max-width: 980px) { .dolor h3 { min-height: 0; } }

/* ===== Celular (ronda de ajustes 27/10/2026): sin scroll lateral ===== */
html, body { overflow-x: clip; max-width: 100%; }
.recurso-franja > *, .dos-niveles > *, .hero-fila > *, .cab > *, .dos > *, .grid-3 > *, .planes-grid > *, .casos-grid > *, .caso-fila > * { min-width: 0; }
@media (max-width: 980px) {
  .recurso-franja, .dos-niveles { grid-template-columns: 1fr; }
}
@media (max-width: 980px) { .pasos-3 { grid-template-columns: 1fr; } }

/* ===== Celular: menos texto y menos alto, sin efectos que traban el scroll ===== */
@media (max-width: 760px) {
  .tabla-wrap, .plan .para, .caso-fila .media, .caso-fila .tags, .perfiles { display: none; }
  .plan li { font-size: 13px; padding: 9px 0; }
  .plan, .card, .canal, .nivel { padding: 22px 20px; }
  .caso-fila { padding: 28px 0; gap: 18px; }
  .caso-datos div { padding: 10px 0; }
  .media.fx { --blur: 0px; }
  .media.fx .frame img, .media.fx .frame img.col { will-change: auto; filter: contrast(1.05) brightness(0.85) grayscale(1); transition: none; }
  .media.fx .frame img.col { display: none; }
  .lead, .sec p { font-size: 15px; line-height: 1.55; }
  .sec { padding: 52px 0; }
  .cab { gap: 14px; margin-bottom: 28px; }
}

/* Celular: aparición liviana (sin desenfoque, que es lo que más pesa al hacer scroll) */
@media (max-width: 980px) {
  .js .reveal { filter: none; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: 0s; }
  .js .split.visto .wi { transition-duration: 0.7s; transition-delay: calc(var(--i) * 30ms); }
}
@media (max-width: 760px) { .page-hero .media, .media .ph { display: none; } }
@media (max-width: 760px) {
  .testimonios { grid-template-columns: 1fr; }
  .testimonio:nth-child(n+2) { display: none; }
  .testimonio blockquote { font-size: 17px; }
}
@media (max-width: 760px) {
  .incluye { grid-template-columns: 1fr 1fr; }
  .incluye > div { padding: 18px 16px; }
  .incluye h3 { font-size: 15px; margin-bottom: 0; }
  .incluye p { display: none; }
}


/* ===================== VERSIÓN CLARA (27/10/2026) =====================
   Fondo claro con texto negro y gris; las secciones .bg-gris, el cierre (.cta) y el footer son negras.
   La versión oscura completa quedó guardada en la etiqueta de git web-nth-oscura-20261027. */
:root {
  --tinta: #fffefb; --gris: #eceae3; --hueso: #0a0a0c; --piedra: #545454;
  --rgb-hueso: 10,10,12; --rgb-tinta: 255,254,251;
  --demo-bg: #fbfaf6; --demo-bg-2: #ffffff; --retrato-2: #e4e2da;
}
.bg-gris, .cta, .footer {
  --tinta: #0a0a0c; --gris: #545454; --hueso: #fffefb; --piedra: #b9b6ae;
  --rgb-hueso: 255,254,251; --rgb-tinta: 10,10,12;
  --demo-bg: #0d0d10; --demo-bg-2: #121215; --retrato-2: #1a1a1d;
  background: #0a0a0c; color: var(--hueso);
}
::selection { color: #fffefb; }
.chip, .pd-badge, .pd-count, .pd-bell-n { color: #fffefb; }
.logos-track img, .caso .logo img, .caso-fila .logo img { filter: brightness(0); opacity: 0.6; }
.bg-gris .logos-track img, .bg-gris .caso .logo img, .bg-gris .caso-fila .logo img, .logos.bg-gris img { filter: brightness(0) invert(1); }
.logos-track img:hover { opacity: 1; }
.hero-glow { background: radial-gradient(circle, rgba(84,84,84,0.12) 0%, rgba(84,84,84,0) 65%); }
.media .ph, .pd-prev, .mini-prev { color: rgba(255,254,251,0.45); }
.media.fx .cap { color: rgba(255,254,251,0.85); }
.media.fx .cap::before { background: rgba(255,254,251,0.6); }
.hero-fila { grid-template-columns: 1fr; }
.hero-fila .lead { max-width: 640px; }


/* ===== Servicios (inicio): gris claro de la marca ===== */
.servicios { background: #b9b6ae; --piedra: #3a3a3a; --linea: rgba(10,10,12,0.2); --linea-f: rgba(10,10,12,0.4); }
.serv-cab { text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 6vw, 80px); }
.serv-cab .lead { margin: 28px auto 0; max-width: 560px; color: #1f1f22; }
.serv-titulo { font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.88; font-size: clamp(56px, 11vw, 170px); }
.serv-lista { border-top: 1px solid var(--linea-f); }
.serv { position: relative; display: grid; grid-template-columns: 72px 1.1fr 1.4fr 40px; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 38px) 18px; border-bottom: 1px solid var(--linea-f); transition: background 0.4s var(--ease), color 0.4s var(--ease), padding 0.45s var(--ease); }
.serv .n { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; }
.serv h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(24px, 3.4vw, 46px); }
.serv p { font-size: 15px; line-height: 1.55; color: #1f1f22; transition: color 0.4s; }
.serv .flecha { justify-self: end; font-size: 22px; transform: translateX(-8px); opacity: 0.4; transition: transform 0.45s var(--ease), opacity 0.4s; }
.serv:hover { background: #0a0a0c; color: #fffefb; padding-left: 32px; }
.serv:hover p { color: #b9b6ae; }
.serv:hover .flecha { transform: none; opacity: 1; }
.serv-pie { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 64px); }
@media (max-width: 760px) {
  .serv { grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 22px 6px; }
  .serv p { grid-column: 2; font-size: 14px; }
  .serv .flecha { display: none; }
  .serv:hover { padding-left: 6px; }
  .serv-cab { text-align: left; }
  .serv-cab .lead { margin-left: 0; }
}

/* ===== Navegación sobre el inicio: flotante, con vidrio y borde fino (al bajar pasa a la barra completa) ===== */
.nav:not(.scrolled) .nav-inner {
  height: calc(100% - 22px); margin-top: 11px; padding-left: 26px; padding-right: 14px; border-radius: 999px;
  background: rgba(var(--rgb-tinta), 0.62); border: 1px solid var(--linea);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 34px rgba(10,10,12,0.07), inset 0 1px 0 rgba(255,255,255,0.5);
}


/* ===== Testimonios: más chicos y más sobrios ===== */
.testi-sec { padding: clamp(56px, 7vw, 96px) 0; }
.testi-cab { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.testi-cab .eyebrow { margin-bottom: 14px; }
.testi-titulo { font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.2; }
.testi-sec .testimonios { max-width: 1020px; margin: 0 auto; gap: clamp(32px, 5vw, 72px); }
.testi-sec .testimonio { border: 0; border-top: 1px solid var(--linea-f); border-radius: 0; background: none; padding: 30px 0 0; gap: 22px; position: relative; }
.testi-sec .testimonio::before { content: "“"; font-family: var(--serif); font-size: 64px; line-height: 0.6; color: var(--piedra); height: 26px; display: block; }
.testi-sec .testimonio blockquote { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; font-weight: 300; color: rgba(var(--rgb-hueso),0.92); }
.testi-sec .testimonio figcaption { border-top: 0; padding-top: 0; flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.testi-sec .testimonio figcaption b { font-size: 11px; letter-spacing: 0.18em; }
.testi-sec .testimonio figcaption span { font-size: 11px; color: var(--piedra); }
.testi-sec .testimonio figcaption .testi-logo { height: 34px; width: auto; max-width: 90px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.7; align-self: center; margin-right: 6px; }
.testi-sec .testimonio:hover { transform: none; border-color: rgba(var(--rgb-hueso),0.6); }
.testi-pie { text-align: center; margin-top: clamp(28px, 4vw, 44px); }


/* ===== Sobre nosotros (inicio) ===== */
.about { padding: clamp(64px, 9vw, 130px) 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: end; }
.about-frase { font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); letter-spacing: -0.035em; line-height: 1.05; }
.about-frase b { font-weight: 800; }
.about-texto p { font-size: 16px; line-height: 1.7; color: var(--piedra); margin-bottom: 26px; max-width: 460px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 760px) { .about { padding: 52px 0; } .about-texto p { font-size: 15px; } }


/* ===== Encabezado en dos mitades: texto a la izquierda, banner a la derecha ===== */
.hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 56px; }
.hero-dos { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-dos .hero-title { font-size: clamp(40px, 5.6vw, 92px); }
.hero-dos .hero-sub { font-size: clamp(22px, 2.5vw, 38px); }
.hero-dos .lead { margin-top: clamp(22px, 3vw, 40px); max-width: 520px; }
.hero-foto { margin: 0; position: relative; z-index: 1; border-radius: 999px 999px 22px 22px; overflow: hidden; aspect-ratio: 4 / 5; width: 100%; background: #e4e2da; box-shadow: 0 34px 80px rgba(10,10,12,0.14); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero-visual { position: relative; justify-self: end; width: min(100%, calc((100svh - var(--nav-h) - 70px) * 0.8)); margin: 0 18px 22px 0; }
.hv-marco { position: absolute; z-index: 0; inset: 0; transform: translate(18px, 18px); border: 1px solid var(--hueso); border-radius: 999px 999px 22px 22px; opacity: 0.55; }
.hv-tarjeta { position: absolute; z-index: 2; left: -34px; bottom: 42px; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; border-radius: 16px; background: rgba(255,254,251,0.78); border: 1px solid rgba(10,10,12,0.1); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 18px 44px rgba(10,10,12,0.14); }
.hv-tarjeta b { display: block; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: #0a0a0c; }
.hv-tarjeta span:not(.hv-punto) { display: block; font-size: 11.5px; color: #545454; }
.hv-punto { width: 10px; height: 10px; border-radius: 50%; background: var(--noche); box-shadow: 0 0 0 4px rgba(27,47,79,0.16); flex-shrink: 0; }
.hv-sello { position: absolute; z-index: 2; right: -22px; top: 20%; width: 84px; height: 84px; border-radius: 50%; background: #0a0a0c; color: #fffefb; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; box-shadow: 0 14px 34px rgba(10,10,12,0.25); }
.sub-raya { font-style: normal; position: relative; display: inline-block; }
.sub-raya svg { position: absolute; left: 0; bottom: -0.1em; width: 100%; height: 0.18em; color: var(--noche); overflow: visible; }
.hero-dos .hero-sub { font-weight: 300; }
.hero-bajada { display: flex; gap: 22px; align-items: stretch; margin-top: clamp(24px, 3vw, 40px); }
.hb-linea { width: 2px; flex-shrink: 0; background: linear-gradient(180deg, var(--noche), rgba(27,47,79,0)); border-radius: 2px; }
.hero-bajada .lead { margin-top: 0; max-width: 480px; }
@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero-dos { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; justify-self: stretch; margin: 12px 14px 20px 0; }
  .hv-tarjeta { left: -4px; bottom: 28px; }
  .hv-sello { right: -10px; width: 70px; height: 70px; font-size: 9px; }
}
.hero-visual { width: min(100%, 540px); }
.hv-sello { right: auto; left: -30px; top: 9%; }
@media (max-width: 980px) { .hero-visual { width: 100%; max-width: 520px; justify-self: center; } .hv-sello { left: -6px; top: 6%; } }


/* ===== Encabezado: versión sobria ===== */
.sub-raya { padding-bottom: 0.04em; border-bottom: 3px solid var(--noche); line-height: 0.95; }
.hero-foto { box-shadow: 0 24px 60px rgba(10,10,12,0.08); }
.hero-foto img { filter: saturate(0.82) contrast(1.02); }
.hv-marco { opacity: 0.35; }
.hv-tarjeta { left: -26px; bottom: 36px; padding: 12px 18px 12px 14px; border-radius: 12px; box-shadow: 0 10px 30px rgba(10,10,12,0.08); }
.hv-punto { box-shadow: none; width: 8px; height: 8px; }
.hv-tarjeta b { font-weight: 600; font-size: 12.5px; }
.hv-tarjeta span:not(.hv-punto) { font-size: 11px; }
.hb-linea { background: var(--noche); opacity: 0.7; }


/* ===== Encabezados de páginas internas: texto + pieza visual propia en cada una ===== */
.ph2 { padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 72px)); padding-bottom: clamp(56px, 6vw, 96px); }
.ph2-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.ph2 .giant { font-size: clamp(38px, 5.2vw, 84px); margin-bottom: 26px; }
.ph2 .lead { max-width: 520px; }
.ph2 .micro { margin-top: 18px; }
.ph2-visual { position: relative; justify-self: end; width: min(100%, 500px); margin: 0 18px 18px 0; }
.v-marco { position: absolute; inset: 0; transform: translate(18px, 18px); border: 1px solid var(--hueso); opacity: 0.3; border-radius: 22px; }
.v-tag { position: absolute; z-index: 3; left: -26px; bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 12px; background: rgba(255,254,251,0.8); border: 1px solid rgba(10,10,12,0.1); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 10px 30px rgba(10,10,12,0.08); font-size: 12px; font-weight: 600; color: #0a0a0c; }
.v-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--noche); flex-shrink: 0; }

/* Planes: tres tarjetas apiladas */
.v-planes { height: 380px; }
.vp-card { position: absolute; width: 78%; padding: 22px 26px; border-radius: 18px; background: var(--tinta); border: 1px solid var(--linea-f); box-shadow: 0 22px 50px rgba(10,10,12,0.07); display: flex; flex-direction: column; gap: 4px; }
.vp-card small { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--piedra); }
.vp-card b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; text-transform: uppercase; }
.vp-card span { font-size: 12.5px; color: var(--piedra); }
.vp-card.c1 { left: 0; top: 0; z-index: 1; }
.vp-card.c2 { left: 11%; top: 120px; z-index: 2; background: #eceae3; }
.vp-card.c3 { left: 22%; top: 240px; z-index: 3; background: #0a0a0c; color: #fffefb; border-color: #0a0a0c; }
.vp-card.c3 small, .vp-card.c3 span { color: #b9b6ae; }
.v-planes .v-tag { left: auto; right: -10px; top: -14px; bottom: auto; }
.v-planes .v-marco { display: none; }

/* Portal: ventana con piezas */
.vw { position: relative; z-index: 1; border-radius: 18px; background: #fffefb; border: 1px solid var(--linea-f); box-shadow: 0 24px 60px rgba(10,10,12,0.09); overflow: hidden; }
.vw-top { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--linea); font-size: 11px; color: var(--piedra); }
.vw-top i { width: 8px; height: 8px; border-radius: 50%; background: rgba(10,10,12,0.16); }
.vw-top span { margin-left: 10px; letter-spacing: 0.04em; }
.vw-fila { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px; border-bottom: 1px solid var(--linea); font-size: 13.5px; font-weight: 500; }
.vw-fila:last-child { border-bottom: 0; }
.vw-fila em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--linea-f); color: var(--piedra); white-space: nowrap; }
.vw-fila em.ap { background: #0a0a0c; color: #fffefb; border-color: #0a0a0c; }
.vw-fila em.ok { background: #eceae3; color: #0a0a0c; }
.v-portal .v-marco { transform: translate(-18px, 18px); border-radius: 18px; }

/* Nosotros: foto con una esquina muy redondeada */
.v-equipo figure { position: relative; z-index: 1; margin: 0; aspect-ratio: 1 / 1; border-radius: 22px 22px 22px 180px; overflow: hidden; box-shadow: 0 24px 60px rgba(10,10,12,0.08); background: #e4e2da; }
.v-equipo figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(0.82); }
.v-equipo .v-marco { border-radius: 22px 22px 22px 180px; }
.v-equipo .v-tag { bottom: 60px; }

/* Casos: tres fichas en escalera */
.v-casos { height: 400px; }
.v-linea { position: absolute; left: 22px; top: 24px; bottom: 24px; width: 1px; background: var(--linea-f); }
.vc-tile { position: absolute; width: 62%; height: 110px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--tinta); border: 1px solid var(--linea-f); box-shadow: 0 18px 44px rgba(10,10,12,0.06); }
.vc-tile img { height: 44px; width: auto; filter: brightness(0); opacity: 0.8; }
.vc-tile b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.vc-tile small { position: absolute; left: 18px; top: 14px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--piedra); }
.vc-tile.t1 { left: 0; top: 14px; }
.vc-tile.t2 { left: 19%; top: 148px; background: #eceae3; }
.vc-tile.t3 { left: 38%; top: 282px; }

/* Contacto: tres pasos */
.vs { position: relative; z-index: 1; border-radius: 20px; background: var(--tinta); border: 1px solid var(--linea-f); box-shadow: 0 24px 60px rgba(10,10,12,0.08); overflow: hidden; }
.vs li { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; padding: 22px 26px; border-bottom: 1px solid var(--linea); }
.vs li:last-child { border-bottom: 0; background: #0a0a0c; color: #fffefb; }
.vs li small { grid-row: span 2; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--piedra); padding-top: 4px; }
.vs li b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.vs li span { font-size: 12.5px; color: var(--piedra); }
.vs li:last-child span, .vs li:last-child small { color: #b9b6ae; }

@media (max-width: 980px) {
  .ph2-grid { grid-template-columns: 1fr; }
  .ph2-visual { justify-self: center; width: 100%; max-width: 480px; margin: 8px 14px 14px 0; }
  .v-tag { left: -4px; }
  .v-planes { height: 340px; } .vp-card.c2 { top: 106px; } .vp-card.c3 { top: 212px; }
  .v-casos { height: 360px; } .vc-tile { height: 96px; } .vc-tile.t2 { top: 132px; } .vc-tile.t3 { top: 250px; }
}
@media (max-width: 760px) { .ph2 { padding-top: calc(var(--nav-h) + 24px); } .ph2 .lead { font-size: 15px; } }
.v-portal .v-tag { left: auto; right: 22px; bottom: -22px; }

/* Interlineado de los títulos grandes: las tildes (Ó, Á, É) ya no pisan la línea de arriba */
.giant, .hero-title { line-height: 1.04; }
.ph2 .giant { line-height: 1.06; }
.line { padding-top: 0.2em; margin-top: -0.2em; padding-bottom: 0.08em; }
@media (max-width: 760px) { .ph2 .giant, .giant, .hero-title { line-height: 1.08; } }

/* Fundadores (Nosotros): tarjetas con monograma */
.fnd-titulo { font-size: clamp(40px, 7vw, 112px); margin-bottom: clamp(32px, 5vw, 64px); }
.fnd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.fnd { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; min-height: clamp(280px, 26vw, 360px); gap: 56px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid transparent; border-radius: 18px; color: #fffefb; background: linear-gradient(160deg, #1d1d21, #0a0a0c 65%); transition: border-color .4s, transform .5s var(--ease); }
.fnd:hover { border-color: #b9b6ae; transform: translateY(-4px); }
.fnd-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.fnd-n { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: #b9b6ae; }
.fnd-rol { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; padding: 7px 14px; border: 1px solid rgba(255,254,251,0.5); border-radius: 999px; color: #fffefb; }
.fnd-pie { position: relative; display: flex; flex-direction: column; gap: 14px; }
.fnd-nombre { font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em; line-height: 1; font-size: clamp(24px, 2.6vw, 38px); }
.fnd-pie p { font-size: 15px; line-height: 1.6; color: rgba(255,254,251,0.88); padding-top: 14px; border-top: 1px solid rgba(255,254,251,0.28); }
@media (max-width: 860px) { .fnd-grid { grid-template-columns: 1fr; } .fnd { min-height: 0; gap: 40px; } }
.fnd-sec { margin-top: clamp(24px, 3vw, 40px); font-size: 15px; line-height: 1.6; color: #545454; letter-spacing: 0.01em; }

/* Planes: Marketing destacado ("Más elegido") */
.plan { position: relative; }
.planes-grid .plan.ancla { background: #0a0a0c; border-color: #0a0a0c; color: #fffefb; }
.planes-grid .plan.ancla .h3, .planes-grid .plan.ancla .frase { color: #fffefb; }
.planes-grid .plan.ancla .para, .planes-grid .plan.ancla li::before { color: #b9b6ae; }
.planes-grid .plan.ancla .para { border-color: rgba(255,254,251,0.25); }
.planes-grid .plan.ancla li { color: rgba(255,254,251,0.92); border-color: rgba(255,254,251,0.2); }
.planes-grid .plan.ancla .tag { border-color: rgba(255,254,251,0.5); color: #fffefb; }
.planes-grid .plan.ancla .btn { background: #fffefb; color: #0a0a0c; border-color: #fffefb; }
.plan .mas { position: absolute; top: 22px; right: 22px; padding: 7px 14px; border-radius: 999px; background: #fffefb; color: #0a0a0c; font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 981px) { .plan.ancla { margin-top: -14px; box-shadow: 0 24px 60px rgba(10,10,12,0.28); } }
.tabla td:nth-child(3), .tabla thead th:nth-child(3) { background: rgba(var(--rgb-tinta),0.05); }
.tabla thead th.col-mas { color: var(--tinta); }
.tabla thead th.col-mas em { display: block; font-style: normal; font-size: 9px; letter-spacing: 0.18em; margin-top: 4px; color: var(--piedra); }

/* ===== Casos: fotos con marco, chip y color al pasar el mouse (06/11/2026) ===== */
@media (min-width: 981px) {
  .caso-fila { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .caso-fila:nth-child(even) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .caso-fila:nth-child(even) .caso-foto { order: 2; }
}
.caso-foto { position: relative; margin: 0; width: 100%; max-width: 380px; justify-self: center; isolation: isolate; }
.cf-marco { position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--linea-f); border-radius: 110px 22px 22px 22px; z-index: -1; transition: transform 0.7s var(--ease); }
.cf-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 110px 22px 22px 22px; background: #e4e2da; box-shadow: 0 30px 70px rgba(10,10,12,0.14); }
.cf-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.8) contrast(1.02); transform: scale(1.08); transition: transform 1.4s var(--ease), filter 0.8s var(--ease); }
.caso-foto.visto .cf-img img { transform: scale(1); }
.caso-foto:hover .cf-img img { transform: scale(1.04); filter: saturate(1) contrast(1.02); }
.caso-foto:hover .cf-marco { transform: translate(-6px, -6px); }
.cf-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(10,10,12,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fffefb; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.cf-chip b { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; border: 1px solid rgba(255,254,251,0.5); border-radius: 999px; }
@media (max-width: 980px) {
  .caso-fila:nth-child(even) .caso-foto { order: 0; }
}
@media (max-width: 760px) {
  .caso-foto { max-width: min(76vw, 320px); margin-bottom: 14px; }
  .cf-marco { inset: 12px -12px -12px 12px; border-radius: 90px 18px 18px 18px; }
  .cf-img { border-radius: 90px 18px 18px 18px; }
  .cf-chip { left: 10px; bottom: 10px; font-size: 10px; }
}

/* ===== Casos: +20 eventos el último año, versión minimalista (06/11/2026) ===== */
.cm-stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(48px, 6vw, 90px) 0 clamp(56px, 7vw, 110px); }
.cm-stat .cm-num { margin: 0; display: flex; align-items: flex-start; justify-content: center; font-weight: 300; font-size: clamp(64px, 11vw, 160px); line-height: 0.9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.cm-mas { font-size: 0.42em; line-height: 1; margin: 0.13em 0.05em 0 0; letter-spacing: 0; opacity: 0.5; }
.cm-linea { width: 1px; height: clamp(28px, 4vw, 48px); background: currentColor; opacity: 0.35; margin: clamp(20px, 2.6vw, 32px) 0 clamp(14px, 2vw, 22px); transform-origin: top; transform: scaleY(0); transition: transform 1.1s var(--ease) 0.5s; }
.cm-stat.visto .cm-linea { transform: scaleY(1); }
.cm-stat .cm-cap { margin: 0; padding-left: 0.32em; font-size: clamp(11px, 1.1vw, 13px); font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; opacity: 0.7; }
@media (prefers-reduced-motion: reduce) { .cm-linea { transform: none; transition: none; } }

/* ===== Contacto: título de Recursos que no pise la lista (06/11/2026) ===== */
#recursos .h2 { font-size: clamp(30px, 3.6vw, 52px); overflow-wrap: break-word; }
@media (max-width: 980px) { #recursos .h2 { font-size: clamp(32px, 6vw, 56px); } }
@media (max-width: 480px) { #recursos .h2 { font-size: clamp(26px, 8.2vw, 40px); } }
