/* ══════════════════════════════════════════════════════════════════
   LA MARCA, EN UN SOLO LUGAR.
   Cambiar colores y letras = tocar sólo este bloque (y la línea @import de las letras).
   Después correr:  python tools/aplicar_marca.py  (rehace favicon, imagen para compartir y theme-color).
   v2 (26-nov, Mati: «la nueva era de los consorcios… representamos la IA»): la página es una noche
   azul que se va entibiando al bajar, con el oro de los casilleros de la portada como único acento.
   ══════════════════════════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Lato:wght@300;400;700;900&display=swap");
:root {
  --color-fondo: #F7F2E9;      /* marfil del logo (favicon e ícono) */
  --color-fondo-2: #EFE7D8;
  --color-tinta: #0F1B2D;
  --color-tinta-suave: #4A5468;
  --color-principal: #14223A;  /* azul marino de sastrería */
  --color-sobre-principal: #F4EFE6;
  --color-acento: #D29A48;     /* oro pulido de los casilleros de la portada (medido por píxel, 26-nov) */
  --color-acento-oscuro: #7A561C;
  --color-linea: #E0D6C4;
  --color-chat: #EEF1F5;
  --color-acento-sobre-oscuro: #E8B25E;
  --color-cinta: #D59849;
  --color-noche: #070C17;      /* el fondo de arriba de todo */
  --letra-titulo: "DM Serif Display", Georgia, "Times New Roman", serif;
  --peso-titulo: 400;
  --letra-texto: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --color-sobre-acento: #0F1B2D;
  --oro-brillo: linear-gradient(100deg, #F6D79A 0%, #D29A48 42%, #F3CF8C 68%, #B57A2E 100%);
  --vidrio: rgba(255, 255, 255, .055);
  --vidrio-borde: rgba(255, 255, 255, .12);
  --texto-claro: #F4EFE6;
  --texto-suave: #B9C0CD;
  --radio: 18px;
  --ancho: 1180px;
  /* Los mueve marca.js según cuánto bajaste (fondo vivo). */
  --cielo-a: #070C17;
  --cielo-b: #0C1628;
  --brillo-oro: .10;
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--color-noche); color: var(--texto-claro);
  font-family: var(--letra-texto); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--letra-titulo); font-weight: var(--peso-titulo); line-height: 1.06; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 em, h2 em, figcaption em {
  font-style: italic; background: var(--oro-brillo); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: destello 7s ease-in-out infinite;
}
@keyframes destello { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.ceja { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--color-acento-sobre-oscuro); }
.bajada { color: var(--texto-suave); font-size: 1.12rem; font-weight: 300; max-width: 34em; margin: 18px 0 0; }
.centro { text-align: center; }
.saltar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.saltar:focus { width: auto; height: auto; clip: auto; clip-path: none; left: 16px; top: 16px; z-index: 99; background: #fff; color: #000; padding: 12px 16px; border-radius: 8px; }

/* ── el fondo vivo ────────────────────────────────────────────────── */
.cielo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vmax 50vmax at 85% 10%, rgba(210, 154, 72, var(--brillo-oro)), transparent 60%),
    radial-gradient(50vmax 40vmax at 10% 90%, rgba(70, 110, 170, .14), transparent 60%),
    linear-gradient(180deg, var(--cielo-a), var(--cielo-b));
  transition: background .6s linear;
}
.cielo canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }

/* ── cinta de borrador (se saca al publicar) ──────────────────────── */
.cinta-borrador { background: #050910; color: var(--color-acento-sobre-oscuro); text-align: center; font-size: .78rem; letter-spacing: .08em; padding: 6px 12px; }

/* ── botones (como los de matiasgabrenja-web: píldora que brilla) ─── */
.boton {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .25s ease, gap .25s ease, background-color .25s ease;
}
.boton svg { width: 22px; height: 22px; flex: none; }
.boton .flecha { transition: transform .25s ease; }
.boton:hover { gap: 14px; transform: translateY(-2px); }
.boton:hover .flecha { transform: translateX(3px); }
.boton:hover .flecha.baja { transform: translateY(3px); }
.boton:focus-visible, .tema:focus-visible, .lado:focus-visible, summary:focus-visible, .link-oro:focus-visible, .menu a:focus-visible { outline: 3px solid var(--color-acento-sobre-oscuro); outline-offset: 3px; }
.boton-oro {
  color: var(--color-sobre-acento);
  background: linear-gradient(160deg, #F3CF8C 0%, var(--color-acento) 48%, #A9712A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .7), 0 0 0 1px rgba(232, 178, 94, .35), 0 10px 34px -8px rgba(210, 154, 72, .65);
}
.boton-oro:hover { box-shadow: inset 0 1px 0 rgba(255, 244, 214, .7), 0 0 0 1px rgba(232, 178, 94, .5), 0 14px 46px -6px rgba(232, 178, 94, .85); }
.boton-oro::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: barrido 4.5s ease-in-out infinite;
}
@keyframes barrido { 0%, 62% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.boton-vidrio { color: var(--texto-claro); background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.boton-vidrio:hover { background: rgba(255, 255, 255, .1); }
.boton-chico { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.boton-grande { min-height: 62px; padding: 18px 34px; font-size: 1.1rem; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.acciones.centro { justify-content: center; }
.nota-boton { font-size: .86rem; color: var(--texto-suave); margin: 14px 0 0; }
.link-oro { display: inline-flex; min-height: 44px; align-items: center; color: var(--color-acento-sobre-oscuro); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(232, 178, 94, .4); }
.link-oro:hover { border-color: var(--color-acento-sobre-oscuro); }

/* ── encabezado ───────────────────────────────────────────────────── */
.encabezado { position: sticky; top: 0; z-index: 30; transition: background .3s ease, box-shadow .3s ease; }
.encabezado.solido { background: rgba(7, 12, 23, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--vidrio-borde); }
.encabezado .envoltura { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { height: 50px; width: auto; }
.menu { display: flex; gap: 28px; }
.menu a { font-size: .92rem; color: var(--texto-suave); text-decoration: none; padding: 10px 0; transition: color .2s; }
.menu a:hover { color: var(--texto-claro); }
.encabezado .corto { display: none; }
@media (max-width: 860px) { .menu { display: none; } }
@media (max-width: 420px) { .encabezado .largo { display: none; } .encabezado .corto { display: inline; } .logo img { height: 42px; } }

/* ── portada ──────────────────────────────────────────────────────── */
.portada { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; margin-top: -72px; padding: 140px 0 90px; overflow: hidden; }
.portada-foto { position: absolute; inset: 0; z-index: -1; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; animation: acercar 22s ease-out both; }
@keyframes acercar { from { transform: scale(1.08); } to { transform: scale(1); } }
.portada-foto::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 12, 23, .96) 0%, rgba(7, 12, 23, .82) 36%, rgba(7, 12, 23, .2) 66%, rgba(7, 12, 23, .05) 100%),
    linear-gradient(0deg, var(--color-noche) 0%, transparent 28%);
}
.portada-texto { position: relative; }
.portada h1 { font-size: clamp(2.9rem, 7.2vw, 5.8rem); max-width: 9.5em; margin-top: 18px; }
.flotantes { position: absolute; right: max(20px, calc((100vw - var(--ancho)) / 2)); bottom: 12%; display: grid; gap: 12px; width: 270px; }
.flota {
  display: grid; grid-template-columns: 10px 1fr; column-gap: 10px; align-items: center;
  padding: 12px 16px; border-radius: 16px; font-size: .84rem; color: var(--texto-claro);
  background: rgba(10, 18, 34, .62); box-shadow: inset 0 0 0 1px var(--vidrio-borde), 0 18px 40px -18px rgba(0, 0, 0, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(14px); animation: llegar .7s ease forwards;
}
.flota b { font-weight: 700; }
.flota span:last-child { grid-column: 2; color: var(--texto-suave); font-size: .78rem; }
.flota .punto { grid-row: span 2; width: 9px; height: 9px; border-radius: 50%; background: var(--color-acento-sobre-oscuro); box-shadow: 0 0 12px var(--color-acento-sobre-oscuro); }
.flota .punto.ok { background: #4ADE80; box-shadow: 0 0 12px #4ADE80; }
.f1 { animation-delay: 1.4s; margin-right: 40px; }
.f2 { animation-delay: 2.6s; margin-left: 30px; }
.f3 { animation-delay: 3.8s; }
@keyframes llegar { to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .flotantes { display: none; } }
@media (max-width: 700px) {
  .portada { align-items: flex-end; min-height: 100svh; padding: 120px 0 48px; }
  .portada-foto img { object-position: 74% 20%; }
  .portada-foto::after { background: linear-gradient(0deg, rgba(7, 12, 23, .98) 0%, rgba(7, 12, 23, .88) 42%, rgba(7, 12, 23, .25) 72%, rgba(7, 12, 23, .35) 100%); }
  .portada h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .bajada { font-size: 1.04rem; }
  .acciones .boton { width: 100%; }
}

/* ── secciones ────────────────────────────────────────────────────── */
.seccion { padding: clamp(80px, 12vw, 150px) 0; position: relative; overflow-x: clip; }
.seccion h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-top: 14px; }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.dos-col.invertida .col-telefono { order: -1; }
@media (max-width: 900px) { .dos-col { grid-template-columns: 1fr; } .dos-col.invertida .col-telefono { order: 1; } }
.cabeza-centro { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.cabeza-centro .bajada { margin-left: auto; margin-right: auto; }

/* temas del chat */
.temas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tema {
  font: inherit; font-size: .95rem; font-weight: 700; color: var(--texto-claro); cursor: pointer;
  min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 0;
  background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde);
  display: inline-flex; align-items: center; gap: 8px; transition: background .2s, box-shadow .2s, color .2s, transform .2s;
}
.tema:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .09); }
.tema.activo { color: var(--color-sobre-acento); background: linear-gradient(160deg, #F3CF8C, var(--color-acento) 60%); box-shadow: 0 0 24px -4px rgba(232, 178, 94, .7); }
.pista { font-size: .85rem; color: var(--texto-suave); margin: 12px 0 0; }

/* ── el teléfono ──────────────────────────────────────────────────── */
.col-telefono { position: relative; display: flex; flex-direction: column; align-items: center; }
.halo { position: absolute; width: 120%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -52%); background: radial-gradient(circle, rgba(210, 154, 72, .28), transparent 62%); filter: blur(10px); z-index: -1; }
.halo.calido { background: radial-gradient(circle, rgba(232, 150, 80, .3), transparent 62%); }
.telefono {
  position: relative; width: min(350px, 86vw, calc((100svh - 110px) * 9 / 19)); min-width: 280px; aspect-ratio: 9 / 19; border-radius: 54px; padding: 11px;
  background: linear-gradient(145deg, #3a3f48, #121418 40%, #2b2f36);
  box-shadow: inset 0 0 0 2px #4b515b, 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
}
.isla { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 34%; height: 30px; background: #000; border-radius: 20px; z-index: 5; }
.pie-foto { font-size: .8rem; color: var(--texto-suave); margin: 16px 0 0; }

/* WhatsApp, como se ve en un iPhone (fondo con dibujitos, burbuja verde, tildes azules) */
.wa { position: relative; height: 100%; border-radius: 44px; overflow: hidden; display: flex; flex-direction: column; background: #EFEAE2; color: #111B21; font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
.wa-estado { display: flex; justify-content: space-between; align-items: center; padding: 16px 30px 6px; font-size: 15px; font-weight: 600; background: #F6F6F6; }
.iconos { display: flex; gap: 5px; align-items: center; }
.iconos i { display: block; background: #111; border-radius: 2px; }
.senal { width: 17px; height: 10px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.wifi { width: 15px; height: 11px; clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%); }
.bateria { width: 25px; height: 12px; border-radius: 4px !important; }
.wa-cabecera { display: flex; align-items: center; gap: 9px; padding: 6px 12px 9px; background: #F6F6F6; border-bottom: 1px solid #DADADA; }
.wa-volver { color: #1DAA61; font-size: 30px; line-height: 1; font-weight: 300; display: flex; align-items: center; gap: 2px; }
.wa-volver small { font-size: 14px; font-weight: 500; background: #1DAA61; color: #fff; border-radius: 10px; padding: 1px 6px; }
.wa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 1px #E3E3E3; }
.wa-quien { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.wa-quien b { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-sub { font-size: 12px; color: #667781; transition: color .2s; }
.wa-sub.escribiendo { color: #1DAA61; }
.wa-acciones { display: flex; gap: 16px; color: #1DAA61; }
.wa-acciones svg { width: 23px; height: 23px; }
.wa-chat {
  flex: 1; overflow: hidden; padding: 10px 10px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background-color: #EFEAE2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.06' stroke-width='1.4'%3E%3Ccircle cx='18' cy='20' r='7'/%3E%3Cpath d='M60 10l6 10H54z'/%3E%3Crect x='92' y='14' width='14' height='10' rx='3'/%3E%3Cpath d='M14 70c6-8 14-8 20 0'/%3E%3Ccircle cx='70' cy='66' r='4'/%3E%3Cpath d='M98 60l4 8 8 1-6 6 2 8-8-4-8 4 2-8-6-6 8-1z'/%3E%3Cpath d='M20 104h16M28 96v16'/%3E%3Crect x='56' y='98' width='16' height='12' rx='6'/%3E%3Cpath d='M96 102c4 0 8 4 8 8'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-dia { align-self: center; font-size: 11.5px; font-weight: 600; color: #54656F; background: #fff; border-radius: 8px; padding: 4px 10px; margin: 4px 0 8px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.msj {
  position: relative; max-width: 82%; padding: 6px 9px 7px; border-radius: 9px; font-size: 14.5px; line-height: 1.35;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13); word-wrap: break-word;
  animation: burbuja .32s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes burbuja { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.msj.entra { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.msj.sale { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 0; }
.msj.entra::before, .msj.sale::before { content: ""; position: absolute; top: 0; width: 8px; height: 10px; }
.msj.entra::before { left: -7px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.msj.sale::before { right: -7px; background: #D9FDD3; clip-path: polygon(0 0, 100% 0, 0 100%); }
.msj + .msj.entra::before, .msj.entra + .msj.entra::before, .msj.sale + .msj.sale::before { display: none; }
.hora { float: right; margin: 6px 0 -4px 10px; font-size: 11px; color: #667781; display: inline-flex; align-items: center; gap: 3px; }
.tildes { width: 16px; height: 10px; display: inline-block; background: #8696A0; clip-path: polygon(0 55%, 12% 42%, 30% 62%, 62% 10%, 72% 20%, 30% 86%, 0 55%, 40% 62%, 50% 72%, 85% 10%, 96% 20%, 52% 92%, 40% 80%); }
.tildes.leidas { background: #53BDEB; }
.msj.audio { display: grid; grid-template-columns: 26px 1fr auto; grid-template-areas: "play onda yo" "dur dur dur" "trans trans trans"; column-gap: 8px; align-items: center; min-width: 230px; }
.play { grid-area: play; color: #54656F; font-size: 18px; }
.onda { grid-area: onda; height: 26px; display: flex; align-items: center; gap: 2px; }
.onda i { flex: 1; background: #A5B2B9; border-radius: 2px; transition: background .12s; }
.onda i.oida { background: #1DAA61; }
.msj.audio::after { content: ""; grid-area: yo; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #E8C9A8 0 30%, transparent 31%), radial-gradient(circle at 50% 110%, #7A5C46 0 48%, transparent 49%), #CDB59C; }
.dur { grid-area: dur; font-size: 11px; color: #667781; margin-top: -2px; }
.trans { grid-area: trans; font-size: 13px; color: #3B4A54; font-style: italic; border-top: 1px solid rgba(0, 0, 0, .07); margin-top: 6px; padding-top: 5px; }
.msj.audio .hora { grid-column: 1 / -1; justify-self: end; float: none; margin: 2px 0 -3px; }
.msj.doc { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.archivo { display: flex; gap: 10px; align-items: center; background: #F5F6F6; border-radius: 6px; padding: 9px 10px; }
.archivo .pdf { width: 30px; height: 36px; border-radius: 4px; background: #E54B4B; color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: end center; padding-bottom: 4px; }
.archivo b { font-size: 13.5px; font-weight: 600; display: block; }
.archivo small { font-size: 11.5px; color: #667781; }
.escribiendo-burbuja { align-self: flex-start; background: #fff; border-radius: 9px; border-top-left-radius: 0; padding: 12px 14px; display: flex; gap: 4px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); animation: burbuja .25s ease both; }
.escribiendo-burbuja i { width: 7px; height: 7px; border-radius: 50%; background: #8696A0; animation: salto 1.1s infinite; }
.escribiendo-burbuja i:nth-child(2) { animation-delay: .15s; }
.escribiendo-burbuja i:nth-child(3) { animation-delay: .3s; }
@keyframes salto { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-barra { display: flex; align-items: center; gap: 10px; padding: 8px 12px 26px; background: #F6F6F6; color: #1DAA61; }
.wa-barra .mas { font-size: 28px; line-height: 1; font-weight: 300; }
.wa-barra .campo { flex: 1; background: #fff; border: 1px solid #E2E2E2; border-radius: 18px; padding: 7px 14px; font-size: 14px; color: #8696A0; }
.wa-barra .mic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1DAA61; color: #fff; }
.wa-barra .mic svg { width: 19px; height: 19px; }

/* la pantalla bloqueada */
.bloqueo { overflow: hidden; }
.fondo-bloqueo { position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px); object-fit: cover; object-position: 60% 50%; border-radius: 44px; filter: brightness(.62) saturate(1.1); }
.bloqueo-hora { position: relative; z-index: 2; text-align: center; color: #fff; padding-top: 66px; font-family: -apple-system, "SF Pro Display", "Segoe UI", sans-serif; }
.bloqueo-hora span { display: block; font-size: 17px; font-weight: 600; opacity: .9; }
.bloqueo-hora b { display: block; font-size: 82px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.avisos { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 50px; display: flex; flex-direction: column; gap: 8px; }
.aviso {
  display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 12px 13px; border-radius: 22px; color: #fff;
  background: rgba(30, 30, 34, .55); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  font-family: -apple-system, "SF Pro Text", "Segoe UI", sans-serif; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .9, .3, 1.1), filter .6s ease;
}
.js .avisos:not(.llegaron) .aviso { opacity: 0; transform: translateY(-26px) scale(.96); filter: blur(4px); }
.avisos.llegaron .aviso:nth-child(2) { transition-delay: .9s; }
.avisos.llegaron .aviso:nth-child(3) { transition-delay: 1.6s; }
.aviso .app { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(160deg, #5EE17F, #1DAA61); position: relative; }
.aviso .app::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2.5px solid #fff; border-bottom-left-radius: 2px; }
.aviso small { display: block; font-size: 11.5px; opacity: .7; }
.aviso b { display: block; font-size: 14px; font-weight: 600; }
.aviso p { margin: 1px 0 0; font-size: 13.5px; line-height: 1.32; }
.aviso:first-child { box-shadow: 0 0 0 1px rgba(232, 178, 94, .45), 0 0 28px -6px rgba(232, 178, 94, .55); }

/* ── hoy y con Conexa ─────────────────────────────────────────────── */
.interruptor { position: relative; display: inline-flex; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde); }
.lado { position: relative; z-index: 1; font: inherit; font-weight: 700; font-size: 1rem; min-height: 46px; min-width: 140px; padding: 10px 22px; border: 0; border-radius: 999px; background: none; color: var(--texto-suave); cursor: pointer; transition: color .35s; }
.lado.activo { color: var(--color-sobre-acento); }
.perilla { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(160deg, #F3CF8C, var(--color-acento) 60%); box-shadow: 0 0 26px -4px rgba(232, 178, 94, .75); transition: transform .5s cubic-bezier(.3, 1.2, .4, 1); }
.interruptor.conexa .perilla { transform: translateX(100%); }
.dolores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .dolores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dolores { grid-template-columns: 1fr; } }
.dolor {
  position: relative; min-height: 210px; padding: 28px 24px; border-radius: var(--radio);
  background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde); overflow: hidden;
  transition: box-shadow .6s ease, background .6s ease;
}
.dolor .icono { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; color: var(--texto-suave); box-shadow: inset 0 0 0 1px var(--vidrio-borde); transition: color .6s ease, box-shadow .6s ease, background .6s ease; }
.dolor .icono svg { width: 26px; height: 26px; }
.dolor p { margin: 0; font-size: 1.22rem; line-height: 1.35; font-family: var(--letra-titulo); transition: opacity .5s ease, transform .5s ease; }
.dolor .hoy { color: var(--texto-suave); }
.dolor .manana { position: absolute; left: 24px; right: 24px; bottom: 28px; color: var(--texto-claro); opacity: 0; transform: translateY(14px); }
.dolores[data-modo="conexa"] .dolor { background: linear-gradient(160deg, rgba(210, 154, 72, .16), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .45), 0 20px 50px -30px rgba(232, 178, 94, .6); }
.dolores[data-modo="conexa"] .icono { color: var(--color-acento-sobre-oscuro); background: rgba(210, 154, 72, .12); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .5), 0 0 22px -6px rgba(232, 178, 94, .7); }
.dolores[data-modo="conexa"] .hoy { opacity: 0; transform: translateY(-14px); }
.dolores[data-modo="conexa"] .manana { opacity: 1; transform: none; }
.dolores[data-modo="conexa"] .dolor:nth-child(2) * { transition-delay: .08s; }
.dolores[data-modo="conexa"] .dolor:nth-child(3) * { transition-delay: .16s; }
.dolores[data-modo="conexa"] .dolor:nth-child(4) * { transition-delay: .24s; }

/* ── el panel, dibujado ───────────────────────────────────────────── */
.ventana { border-radius: 22px; overflow: hidden; background: rgba(9, 15, 28, .82); box-shadow: inset 0 0 0 1px var(--vidrio-borde), 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(210, 154, 72, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ventana-barra { display: flex; align-items: center; gap: 7px; padding: 13px 18px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--vidrio-borde); }
.ventana-barra i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ventana-barra span { margin-left: 14px; font-size: .8rem; color: var(--texto-suave); letter-spacing: .04em; }
.ventana-cuerpo { display: grid; grid-template-columns: 220px 1fr; min-height: 460px; }
.lateral { display: flex; flex-direction: column; gap: 4px; padding: 22px 16px; border-right: 1px solid var(--vidrio-borde); font-size: .92rem; color: var(--texto-suave); }
.lateral img { flex: none; align-self: flex-start; width: auto; height: 46px; margin: 0 0 18px 8px; }
.lateral span { padding: 9px 12px; border-radius: 10px; }
.lateral .activo { background: rgba(255, 255, 255, .07); color: var(--texto-claro); }
.lateral .preguntale { margin-top: auto; color: var(--color-acento-sobre-oscuro); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .35); }
.tablero { padding: 26px 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.saludo b { font-family: var(--letra-titulo); font-weight: 400; font-size: 1.6rem; }
.saludo span { color: var(--texto-suave); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--vidrio-borde); }
.kpi small { display: block; font-size: .76rem; color: var(--texto-suave); line-height: 1.3; min-height: 2.6em; }
.kpi b { display: block; font-size: 2rem; font-weight: 300; margin-top: 6px; color: var(--texto-claro); font-variant-numeric: tabular-nums; }
.paneles { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.tarea-lista, .barras { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--vidrio-borde); }
.tarea-lista small, .barras small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 10px; }
.tarea { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .9rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.tarea em { margin-left: auto; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--color-sobre-acento); background: var(--color-acento-sobre-oscuro); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.etq { font-size: .68rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--texto-suave); white-space: nowrap; }
.etq.urgente { background: rgba(239, 68, 68, .18); color: #FCA5A5; }
.barra { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: .84rem; color: var(--texto-suave); margin: 9px 0; }
.barra i { height: 9px; border-radius: 9px; background: linear-gradient(90deg, #B57A2E, #F3CF8C); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.js .ventana:not(.vista) .barra i { transform: scaleX(0); }
.preguntar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .4); font-size: .95rem; }
.chispa { color: var(--color-acento-sobre-oscuro); }
.cursor { width: 2px; height: 1.1em; background: var(--color-acento-sobre-oscuro); animation: titila 1s steps(1) infinite; }
@keyframes titila { 50% { opacity: 0; } }
@media (max-width: 900px) {
  .ventana-cuerpo { grid-template-columns: 1fr; }
  .lateral { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .paneles { grid-template-columns: 1fr; }
  .tablero { padding: 20px 16px; }
  .tarea { flex-wrap: wrap; }
}

/* ── a medida ─────────────────────────────────────────────────────── */
.banda-foto { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.banda-foto img { width: 100%; height: clamp(260px, 38vw, 470px); object-fit: cover; }
.banda-foto figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 48px); background: linear-gradient(0deg, rgba(7, 12, 23, .88), transparent 60%); }
.banda-foto figcaption b { font-family: var(--letra-titulo); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; margin-top: 8px; }
.pasos { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: paso; }
@media (max-width: 860px) { .pasos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 340px) { .pasos { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pasos li { padding: 18px 16px; } .pasos b { font-size: 1.02rem; } .pasos p { font-size: .9rem; } }
.pasos li { padding: 24px; border-radius: var(--radio); background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde); transition: transform .3s ease, box-shadow .3s ease; }
.pasos li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .45); }
.pasos span { display: block; font-family: var(--letra-titulo); font-size: 2.2rem; line-height: 1; background: var(--oro-brillo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pasos b { display: block; font-size: 1.15rem; margin-top: 14px; }
.pasos p { margin: 4px 0 0; color: var(--texto-suave); font-size: .98rem; }

/* ── confianza y preguntas ────────────────────────────────────────── */
.sellos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .sellos { grid-template-columns: 1fr; } }
.sello { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: var(--radio); background: linear-gradient(160deg, rgba(210, 154, 72, .12), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .3); }
.sello span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: var(--color-sobre-acento); background: linear-gradient(160deg, #F3CF8C, var(--color-acento)); }
.sello b { font-size: 1.08rem; font-weight: 700; }
.preguntas { max-width: 780px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 10px; }
details { border-radius: 16px; background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde); transition: background .2s; }
details[open] { background: rgba(255, 255, 255, .08); }
summary { list-style: none; cursor: pointer; position: relative; min-height: 56px; padding: 16px 56px 16px 22px; font-weight: 700; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--color-acento-sobre-oscuro); transition: transform .25s ease; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 22px 20px; color: var(--texto-suave); }

/* ── cierre ───────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 200px) 0; text-align: center; }
.final-foto { position: absolute; inset: 0; z-index: -1; }
.final-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.final-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--cielo-b) 0%, rgba(12, 20, 38, .55) 40%, rgba(12, 20, 38, .7) 100%); }
.final h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.final .bajada { margin-left: auto; margin-right: auto; color: #E2E5EC; }
.somos { max-width: 34em; margin: 40px auto 0; font-size: .95rem; color: #D5D9E1; }

/* ── pie ──────────────────────────────────────────────────────────── */
.pie { padding: 46px 0 56px; background: #050910; border-top: 1px solid var(--vidrio-borde); }
.pie .envoltura { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.pie-logo { height: 46px; width: auto; }
.pie p { margin: 0; color: var(--texto-suave); font-size: .88rem; }

/* ── aparición al bajar (sólo si hay JavaScript) ──────────────────── */
.js .aparece { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1), filter .9s ease; }
.js .aparece.visto { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .js .aparece { opacity: 1; transform: none; filter: none; transition: none; }
  .portada-foto img, h1 em, h2 em, figcaption em, .boton-oro::after, .cursor { animation: none; }
  .flota { animation: none; opacity: 1; transform: none; }
  .js .avisos:not(.llegaron) .aviso { opacity: 1; transform: none; filter: none; }
}

/* ══════════════════════════════════════════════════════════════════
   V03 (26-nov, Mati: «los dolores bien marcados… "Pa, sí me pasa esto"… Poca letra, mucha imagen,
   mucha interacción»). Todo lo de acá abajo es nuevo; lo de arriba es la v2, sin tocar.
   ══════════════════════════════════════════════════════════════════ */
.simbolos { position: absolute; }
[hidden] { display: none !important; }
.boton:active, .tema:active, .lado:active { transform: scale(.97); }
.tu-conexa h3 em {
  font-style: italic; background: var(--oro-brillo); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── la cinta métrica: mide cuánto bajaste (la idea de la marca: a medida) ── */
.cinta-medida { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 40; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(232, 178, 94, .3) 0 1px, transparent 1px 12px); }
.cinta-medida i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--avance, 0)); background: repeating-linear-gradient(90deg, rgba(7, 12, 23, .5) 0 1px, transparent 1px 12px), linear-gradient(90deg, #B57A2E, #F3CF8C); box-shadow: 0 0 12px rgba(232, 178, 94, .7); }

/* ── ¿te pasa esto? ───────────────────────────────────────────────── */
.interruptor.ancho { display: inline-grid; grid-template-columns: 1fr 1fr; width: min(100%, 470px); }
.interruptor.ancho .lado { min-width: 0; padding: 10px 8px; font-size: .95rem; }
.interruptor.vecino .perilla { transform: translateX(100%); }
@media (max-width: 420px) { .interruptor.ancho .lado { font-size: .86rem; } }
.penas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .penas { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.penas + .penas { margin-top: 44px; }
.js .penas + .penas { margin-top: 0; }
.js .penas-lados[data-lado="admin"] .penas[data-de="vecino"], .js .penas-lados[data-lado="vecino"] .penas[data-de="admin"] { display: none; }
.sin-js { grid-column: 1 / -1; margin: 0; font-family: var(--letra-titulo); font-weight: 400; font-size: 1.5rem; }
.js .sin-js { display: none; }
.pena {
  position: relative; display: flex; flex-direction: column; gap: 14px; text-align: left; min-height: 178px; padding: 20px 18px;
  font: inherit; color: var(--texto-claro); border: 0; border-radius: var(--radio); cursor: pointer; -webkit-tap-highlight-color: transparent;
  background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde);
}
.js .pena.visto { transition: transform .2s ease, box-shadow .35s ease, background .35s ease; }
.pena:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .4); }
.pena:active { transform: scale(.97); }
.pena:focus-visible, .vent:focus-visible, .aprobar:focus-visible, .pildora:focus-visible { outline: 3px solid var(--color-acento-sobre-oscuro); outline-offset: 3px; }
.pena .icono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--texto-suave); box-shadow: inset 0 0 0 1px var(--vidrio-borde); transition: color .35s ease, background .35s ease, box-shadow .35s ease; }
.pena .icono svg { width: 27px; height: 27px; }
.pena .duele { font-family: var(--letra-titulo); font-size: 1.18rem; line-height: 1.22; text-wrap: balance; }
.pena .alivio { font-size: .96rem; line-height: 1.35; color: var(--color-acento-sobre-oscuro); }
.js .pena .alivio { display: none; }
.pena .tilde { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; font-weight: 900; color: transparent; box-shadow: inset 0 0 0 1.5px var(--vidrio-borde); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .3s ease, color .3s ease; }
html:not(.js) .pena .tilde { display: none; }
.pena[aria-pressed="true"] { background: linear-gradient(160deg, rgba(210, 154, 72, .22), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1.5px rgba(232, 178, 94, .75), 0 22px 50px -28px rgba(232, 178, 94, .75); }
.pena[aria-pressed="true"] .icono { color: var(--color-acento-sobre-oscuro); background: rgba(210, 154, 72, .14); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .55), 0 0 22px -6px rgba(232, 178, 94, .7); }
.pena[aria-pressed="true"] .tilde { color: var(--color-sobre-acento); background: linear-gradient(160deg, #F3CF8C, var(--color-acento)); box-shadow: 0 0 18px -2px rgba(232, 178, 94, .8); transform: scale(1.12); }
.pena[aria-pressed="true"] .duele { font-family: var(--letra-texto); font-size: .84rem; color: var(--texto-suave); text-decoration: line-through; text-decoration-color: rgba(232, 178, 94, .7); }
.pena[aria-pressed="true"] .alivio { display: block; font-family: var(--letra-titulo); font-size: 1.1rem; line-height: 1.25; color: var(--texto-claro); animation: burbuja .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.pena.invita { animation: invita 1.5s ease 2; }
@keyframes invita { 0%, 100% { box-shadow: inset 0 0 0 1px var(--vidrio-borde); } 50% { box-shadow: inset 0 0 0 1.5px rgba(232, 178, 94, .8), 0 0 34px -6px rgba(232, 178, 94, .7); } }
@media (max-width: 480px) { .pena { min-height: 172px; padding: 18px 14px; gap: 12px; } .pena .duele { font-size: 1.08rem; } .pena .tilde { top: 14px; right: 12px; } }

.tu-conexa { max-width: 760px; margin: 44px auto 0; padding: clamp(26px, 4vw, 46px); border-radius: 26px; text-align: center; scroll-margin-top: 96px; background: linear-gradient(160deg, rgba(210, 154, 72, .17), rgba(9, 15, 28, .72)); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .45), 0 40px 100px -40px rgba(210, 154, 72, .55); animation: burbuja .45s cubic-bezier(.2, .9, .3, 1.1) both; }
.tu-conexa h3 { font-family: var(--letra-titulo); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.08; margin: 10px 0 0; text-wrap: balance; }
#tu-lista { list-style: none; counter-reset: paso; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; text-align: left; }
#tu-lista li { counter-increment: paso; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--vidrio-borde); animation: burbuja .35s ease both; }
#tu-lista li::before { content: counter(paso); text-align: center; font-family: var(--letra-titulo); font-size: 1.7rem; line-height: 1; background: var(--oro-brillo); -webkit-background-clip: text; background-clip: text; color: transparent; }
#tu-lista b { display: block; font-weight: 700; line-height: 1.3; }
#tu-lista small { display: block; margin-top: 2px; font-size: .84rem; color: var(--texto-suave); }
.nota-boton.centro { text-align: center; }
@media (max-width: 700px) { .tu-conexa .acciones .boton { width: 100%; } }
.pildora { font: inherit; border: 0; cursor: pointer; position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 35; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 10px 22px 10px 11px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-weight: 700; color: var(--color-sobre-acento); background: linear-gradient(160deg, #F3CF8C 0%, var(--color-acento) 55%, #A9712A 100%); box-shadow: inset 0 1px 0 rgba(255, 244, 214, .7), 0 18px 44px -10px rgba(0, 0, 0, .85), 0 0 34px -6px rgba(232, 178, 94, .85); animation: sube .4s cubic-bezier(.2, .9, .3, 1.2) both; }
.pildora b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-principal); color: var(--texto-claro); font-size: .98rem; font-variant-numeric: tabular-nums; }
@keyframes sube { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ── el edificio vivo ─────────────────────────────────────────────── */
.col-edificio { position: relative; display: flex; justify-content: center; }
.edificio { position: relative; width: min(370px, 88vw); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)); }
.remate { position: relative; height: 40px; margin: 0 26px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: linear-gradient(180deg, #24385C, #16243E); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .45); }
.remate::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: var(--color-acento-sobre-oscuro); box-shadow: 0 0 10px rgba(232, 178, 94, .8); }
.remate::after { content: ""; position: absolute; left: -26px; right: -26px; bottom: -9px; height: 9px; border-radius: 3px; background: linear-gradient(180deg, #F3CF8C, #8A5F24); }
.pisos { margin-top: 9px; padding: 16px 18px 6px; display: grid; gap: 4px; background: linear-gradient(180deg, #172741, #0E1930); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .3); }
.piso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(232, 178, 94, .2); }
.piso + .piso { padding-top: 10px; }
.piso:last-child { border-bottom: 0; }
.vent { position: relative; height: 56px; padding: 0; border: 0; cursor: pointer; border-radius: 30px 30px 3px 3px; background: #0A1222; box-shadow: inset 0 0 0 1.5px rgba(232, 178, 94, .38); transition: background .9s ease, box-shadow .9s ease; -webkit-tap-highlight-color: transparent; }
.vent i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(232, 178, 94, .32) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(0deg, transparent 54%, rgba(232, 178, 94, .28) 54% 57%, transparent 57%); }
.vent::after { content: ""; position: absolute; left: -5px; right: -5px; bottom: -7px; height: 11px; border: 1.5px solid rgba(232, 178, 94, .55); border-top-width: 2.5px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(232, 178, 94, .5) 0 1.5px, transparent 1.5px 7px); }
.vent.encendida, html:not(.js) .piso:nth-child(odd) .vent:nth-child(2), html:not(.js) .piso:nth-child(even) .vent:nth-child(3) { background: radial-gradient(circle at 50% 72%, #FFE7B5, #E9AC52 72%); box-shadow: inset 0 0 0 1.5px #F6D79A, 0 0 28px 3px rgba(232, 178, 94, .55); }
.vent.encendida i { background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(90, 56, 12, .45) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(0deg, transparent 54%, rgba(90, 56, 12, .4) 54% 57%, transparent 57%); }
.vent.encendida.urgente { background: radial-gradient(circle at 50% 72%, #FFD9CC, #EA6E55 76%); box-shadow: inset 0 0 0 1.5px #FFC2B3, 0 0 28px 4px rgba(234, 110, 85, .6); }
.vent.ahora { animation: latido .9s ease 2; }
@keyframes latido { 50% { transform: scale(1.08); } }
.vent:hover { box-shadow: inset 0 0 0 1.5px rgba(246, 215, 154, .9), 0 0 18px rgba(232, 178, 94, .4); }
.planta-baja { display: flex; align-items: flex-end; justify-content: center; gap: 28px; height: 78px; border-top: 6px solid #8A5F24; background: linear-gradient(180deg, #0E1930, #0A1222); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .3); }
.porton { position: relative; width: 64px; height: 62px; border-radius: 32px 32px 0 0; background: linear-gradient(180deg, #F3CF8C, #B57A2E); box-shadow: 0 0 34px rgba(232, 178, 94, .55); }
.porton::after { content: ""; position: absolute; left: 50%; top: 8px; bottom: 0; width: 2px; margin-left: -1px; background: rgba(90, 56, 12, .5); }
.farol { width: 10px; height: 10px; margin-bottom: 40px; border-radius: 50%; background: #FFE7B5; box-shadow: 0 0 18px 5px rgba(255, 231, 181, .55); }
.globo-depto { position: absolute; z-index: 3; left: 50%; width: max-content; max-width: min(270px, 80vw); padding: 10px 14px 11px; border-radius: 14px; transform: translate(-50%, -100%); pointer-events: none; background: #fff; color: #111B21; font-size: .9rem; line-height: 1.3; box-shadow: 0 18px 44px -10px rgba(0, 0, 0, .75); animation: globo .3s cubic-bezier(.2, .9, .3, 1.2) both; }
.globo-depto b { display: block; font-size: .74rem; letter-spacing: .08em; color: var(--color-acento-oscuro); }
@keyframes globo { from { opacity: 0; transform: translate(-50%, -88%) scale(.94); } to { opacity: 1; transform: translate(-50%, -100%); } }
.marcadores { display: flex; gap: 12px; margin-top: 28px; }
.marcador { flex: 1; padding: 16px 18px; border-radius: 16px; background: var(--vidrio); box-shadow: inset 0 0 0 1px var(--vidrio-borde); }
.marcador b { display: block; font-family: var(--letra-titulo); font-weight: 400; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--color-acento-sobre-oscuro); }
.marcador small { display: block; margin-top: 6px; font-size: .82rem; line-height: 1.3; color: var(--texto-suave); }
.marcador.para-vos b { color: #FCA5A5; }
.en-vivo { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.en-vivo li { display: grid; grid-template-columns: 9px auto 1fr auto; gap: 10px; align-items: center; min-height: 46px; padding: 9px 14px; border-radius: 14px; font-size: .9rem; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--vidrio-borde); animation: burbuja .4s ease both; }
.en-vivo i { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 12px #4ADE80; }
.en-vivo li.urgente i { background: #F87171; box-shadow: 0 0 12px #F87171; }
.en-vivo b { color: var(--color-acento-sobre-oscuro); white-space: nowrap; }
.en-vivo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.en-vivo time { font-size: .76rem; color: var(--texto-suave); white-space: nowrap; }
@media (max-width: 900px) { .col-edificio { order: -1; margin-bottom: 8px; } #edificio .col-texto { text-align: center; } #edificio .bajada { margin-left: auto; margin-right: auto; } .en-vivo, .marcadores { text-align: left; } }

/* ── el panel se toca ─────────────────────────────────────────────── */
.tarea { max-height: 140px; overflow: hidden; transition: opacity .5s ease, max-height .6s ease, padding .6s ease; }
.tarea .que { flex: 1; min-width: 0; transition: color .3s ease; }
.aprobar { flex: none; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; font: inherit; font-size: .86rem; font-weight: 700; color: var(--color-sobre-acento); background: linear-gradient(160deg, #F3CF8C, var(--color-acento) 60%); box-shadow: 0 0 20px -6px rgba(232, 178, 94, .8); transition: transform .15s ease, background .3s ease, color .3s ease; }
.aprobar:hover { transform: translateY(-1px); }
.aprobar:active { transform: scale(.94); }
html:not(.js) .aprobar { display: none; }
.tarea.hecha .que { color: #86EFAC; }
.tarea.hecha .aprobar { background: none; color: #86EFAC; box-shadow: inset 0 0 0 1px rgba(134, 239, 172, .5); cursor: default; }
.tarea.fuera { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-top-color: transparent; }
.todo-al-dia { margin: 4px 0 0; padding: 18px 8px; text-align: center; font-family: var(--letra-titulo); font-size: 1.2rem; color: var(--color-acento-sobre-oscuro); animation: burbuja .5s ease both; }
@media (max-width: 900px) { .tarea .que { flex-basis: 100%; } .aprobar { margin-left: auto; } }

/* ── el cierre: dos caminos ───────────────────────────────────────── */
.caminos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 46px auto 0; text-align: left; }
@media (max-width: 700px) { .caminos { grid-template-columns: 1fr; } }
.camino { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px; border-radius: 24px; background: rgba(9, 15, 28, .66); box-shadow: inset 0 0 0 1px var(--vidrio-borde); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.camino.destacado { background: linear-gradient(160deg, rgba(210, 154, 72, .3), rgba(9, 15, 28, .74)); box-shadow: inset 0 0 0 1.5px rgba(232, 178, 94, .65), 0 30px 80px -30px rgba(232, 178, 94, .65); }
.camino .num { font-family: var(--letra-titulo); font-size: 2.4rem; line-height: 1; background: var(--oro-brillo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.camino b { font-family: var(--letra-titulo); font-weight: 400; font-size: 1.65rem; line-height: 1.1; }
.camino p { margin: 0 0 16px; color: #D5D9E1; }
.camino .boton { margin-top: auto; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .pena.invita, .vent.ahora, .pildora, .tu-conexa, #tu-lista li, .en-vivo li, .globo-depto { animation: none; }
  .vent, .tarea { transition: none; }
}

/* aire entre secciones en el celular: menos letra por pantalla (vara de 40 palabras) */
@media (max-width: 700px) { .seccion { padding: 104px 0; } .en-vivo li:nth-child(n+3) { display: none; } .sellos { margin-top: 56px; } }

/* ── la portada en video (v03) ────────────────────────────────────── */
.portada-foto picture { display: block; width: 100%; height: 100%; }
.portada-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: 0; transition: opacity 1.4s ease; }
.portada-video.anda { opacity: 1; }
.portada-pausa { position: absolute; z-index: 2; right: max(20px, calc((100vw - var(--ancho)) / 2)); bottom: 26px; width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: .78rem; color: var(--texto-claro); background: rgba(10, 18, 34, .55); box-shadow: inset 0 0 0 1px var(--vidrio-borde); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s ease, transform .15s ease; }
.portada-pausa:hover { background: rgba(10, 18, 34, .8); }
.portada-pausa:active { transform: scale(.94); }
.portada-pausa:focus-visible { outline: 3px solid var(--color-acento-sobre-oscuro); outline-offset: 3px; }
@media (max-width: 700px) {
  .portada-video { object-position: 74% 20%; }
  .portada-pausa { top: 96px; right: 16px; bottom: auto; }
}

/* ── el precio de la reunión (Mati, 26-nov: 30 min · USD 100 que se descuentan) ── */
.precio-reunion { margin-top: -6px; font-weight: 600; color: var(--color-acento-sobre-oscuro); }

/* ── con quién vas a hablar (v03) ─────────────────────────────────── */
.somos-caras { margin-top: 72px; text-align: center; }
.caras { display: flex; justify-content: center; gap: clamp(18px, 4vw, 44px); margin: 22px 0 6px; }
.caras figure { margin: 0; width: min(38vw, 210px); }
.caras img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; border-radius: 22px; box-shadow: 0 0 0 1px var(--vidrio-borde), 0 24px 60px rgba(0, 0, 0, .45); }
.caras figcaption { margin-top: 12px; font-family: var(--letra-titulo, inherit); font-size: 1.25rem; color: var(--texto-claro); }
.somos-caras .somos { margin-top: 14px; }


/* ── ronda 2 (Mati, 26-nov noche) ─────────────────────────────────── */
/* el menú de arriba, más presente */
.menu { gap: 4px; padding: 5px; border-radius: 999px; background: rgba(10, 18, 34, .5); box-shadow: inset 0 0 0 1px var(--vidrio-borde); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.menu a { font-size: .97rem; font-weight: 700; letter-spacing: .01em; color: var(--texto-claro); padding: 9px 16px; border-radius: 999px; transition: color .2s, background .2s; }
.menu a:hover, .menu a:focus-visible { color: var(--color-acento-sobre-oscuro); background: rgba(232, 178, 94, .14); }
/* los temas del asistente: íconos de línea en oro, sin emojis */
.tema { min-height: 50px; padding: 11px 20px 11px 14px; gap: 10px; letter-spacing: .01em; }
.tema-icono { width: 26px; height: 26px; padding: 4px; border-radius: 50%; color: var(--color-acento-sobre-oscuro); background: rgba(232, 178, 94, .12); box-shadow: inset 0 0 0 1px rgba(232, 178, 94, .35); flex: none; }
.tema.activo .tema-icono { color: var(--color-sobre-acento); background: rgba(10, 18, 34, .12); box-shadow: inset 0 0 0 1px rgba(10, 18, 34, .3); }
/* el panel se navega */
.lateral button { font: inherit; text-align: left; color: inherit; background: none; border: 0; cursor: pointer; padding: 9px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.lateral button:hover { background: rgba(255, 255, 255, .05); color: var(--texto-claro); }
.lateral button.activo { background: rgba(232, 178, 94, .14); color: var(--color-acento-sobre-oscuro); box-shadow: inset 2px 0 0 var(--color-acento); }
.lateral button:focus-visible { outline: 2px solid var(--color-acento-sobre-oscuro); outline-offset: 2px; }
.vista { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.vista[hidden] { display: none; }
.vista > small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave); }
.vista:not([data-vista="inicio"]) { gap: 10px; animation: entra-vista .35s ease both; }
@keyframes entra-vista { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fila { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--vidrio-borde); font-size: .95rem; }
.fila b { color: var(--texto-claro); font-weight: 700; }
.fila span { color: var(--texto-suave); }
.fila em { font-style: normal; font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.fila em.ok { color: #7BE0A8; background: rgba(60, 200, 130, .12); }
.fila em.ojo { color: var(--color-acento-sobre-oscuro); background: rgba(232, 178, 94, .14); }
/* el arranque del video: la foto quieta debajo y una entrada más lenta */
.portada-foto.con-video img { animation: none; transform: none; }
.portada-video { transition: opacity 2.4s ease; }
@media (max-width: 900px) {
  .lateral { display: flex; flex-direction: row; gap: 6px; overflow-x: auto; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--vidrio-borde); scrollbar-width: none; }
  .lateral::-webkit-scrollbar { display: none; }
  .lateral img, .lateral .preguntale { display: none; }
  .lateral button { flex: none; min-height: 44px; padding: 9px 14px; white-space: nowrap; }
  .lateral button.activo { box-shadow: inset 0 -2px 0 var(--color-acento); }
  .fila { grid-template-columns: 1fr auto; }
  .fila span { grid-column: 1; grid-row: 2; font-size: .85rem; }
  .fila em { grid-row: 1 / span 2; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .vista { animation: none !important; } }

@media (max-width: 900px) { .saludo span { display: none; } }
