/* ============================================================
   CORYN — sistema visual v2
   Tipografia: Bricolage Grotesque (titulos) + IBM Plex Sans / Mono
   ============================================================ */

:root{
  --paper:#f7f9fd;
  --card:#ffffff;
  --ink:#0a1730;
  --ink-2:#2d3f61;
  --muted:#5b6d8d;
  --line:#dde5f2;
  --accent:#1f5fe0;
  --cyan:#1a9db5;
  --band-a:#0a1730;
  --band-b:#17347a;
  --on-band:#c9daf6;
  --wa:#20c25c;
  --shadow:0 1px 2px rgba(10,23,48,.05), 0 12px 32px -18px rgba(10,23,48,.3);
  --lift:0 30px 60px -30px rgba(10,23,48,.55);
  --radius:14px;
  color-scheme:light;
  --nav-h:66px;
  --banner:url("assets/plano.webp");
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'IBM Plex Sans','Segoe UI',system-ui,-apple-system,sans-serif;
  font-size:17px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Bricolage Grotesque','IBM Plex Sans',system-ui,sans-serif;
  font-weight:800; letter-spacing:-.028em; line-height:1.07;
  text-wrap:balance; margin:0;
}
p{ margin:0; }
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; }

.wrap{ width:min(1120px, 100% - 40px); margin-inline:auto; }

.eyebrow{
  font-family:'IBM Plex Mono',ui-monospace,monospace;
  font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  color:var(--cyan);
}

/* ---------------- navegacion ---------------- */
.nav{
  position:fixed; inset:0 0 auto 0; z-index:50; height:var(--nav-h);
  display:flex; align-items:center;
  transition:background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom:1px solid transparent;
}
.nav.solid{
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter:saturate(160%) blur(12px);
  border-bottom-color:var(--line);
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand{ display:flex; align-items:center; gap:9px; text-decoration:none; }
.brand img{ width:28px; }
.brand span{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700;
  font-size:18px; letter-spacing:.18em; color:#fff;
}
.nav.solid .brand span{ color:var(--ink); }

.nav-links{ display:none; gap:26px; }
@media (min-width:960px){ .nav-links{ display:flex; } }
.nav-links a{
  text-decoration:none; font-size:15px; font-weight:500; color:rgba(255,255,255,.8);
  padding:6px 0; border-bottom:2px solid transparent; transition:color .2s, border-color .2s;
}
.nav-links a:hover{ color:#fff; border-bottom-color:var(--cyan); }
.nav.solid .nav-links a{ color:var(--muted); }
.nav.solid .nav-links a:hover{ color:var(--ink); }

/* ---------------- botones ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 22px; border-radius:999px; text-decoration:none;
  font-weight:600; font-size:16px; border:1px solid transparent; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn-wa{ background:var(--wa); color:#04240f; box-shadow:0 10px 26px -12px rgba(32,194,92,.9); }
.btn-wa:hover{ transform:translateY(-2px); box-shadow:0 16px 34px -12px rgba(32,194,92,.95); }
.btn-ghost{ border-color:rgba(255,255,255,.3); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,.1); transform:translateY(-2px); }
.btn-solid{ background:var(--accent); color:#fff; }
.btn-solid:hover{ transform:translateY(-2px); box-shadow:0 16px 34px -14px var(--accent); }
.btn-sm{ padding:9px 18px; font-size:14.5px; }
.btn:focus-visible{ outline:3px solid var(--cyan); outline-offset:3px; }

/* ---------------- hero ---------------- */
.hero{
  position:relative; overflow:hidden; color:#fff; text-align:center;
  min-height:min(96vh, 900px);
  display:flex; flex-direction:column; justify-content:center;
  padding:calc(var(--nav-h) + 32px) 0 0;
  background-color:var(--band-a);
  background-image:
    linear-gradient(180deg, rgba(5,10,22,.08) 0%, rgba(5,10,22,.22) 46%, rgba(5,10,22,.62) 78%, rgba(5,10,22,.9) 100%),
    url("assets/fondo-hero.webp");
  background-size:auto, cover;
  background-position:center, center 38%;
  background-repeat:no-repeat;
}

/* el ala de cristal: unico elemento visual del hero.
   Viene sobre negro puro y se compone por suma, asi el negro desaparece
   y el vidrio conserva su brillo original sobre cualquier fondo oscuro. */
.orbe{
  width:min(178px, 34vw, 21vh); margin:0 auto 22px;
  mix-blend-mode:screen;
}
@media (min-width:900px){ .orbe{ width:min(205px, 17vw, 22vh); margin-bottom:26px; } }
/* pantallas muy bajas: comprimir todo el bloque, no solo el ala */
@media (min-width:900px) and (max-height:770px){
  .hero{ padding-top:calc(var(--nav-h) + 14px); }
  .hero h1{ font-size:clamp(25px, 2.8vw, 34px); margin-top:12px; }
  .hero .lead{ font-size:15.5px; margin-top:13px; }
  .hero .actions{ margin-top:20px; margin-bottom:22px; }
  .orbe{ width:min(130px, 12vw, 17vh); margin-bottom:14px; }
  .hero-sectores a, .hero-sectores span.sec{ padding:17px 24px; }
}
/* portatiles bajos: achicar el ala para que los botones no queden fuera de vista */
@media (min-width:900px) and (max-height:860px){
  .orbe{ width:min(158px, 14vw, 20vh); margin-bottom:18px; }
  .hero{ padding-top:calc(var(--nav-h) + 18px); }
  .hero h1{ margin-top:18px; }
}

.hero .eyebrow{ color:#6fd8ec; letter-spacing:.2em; }
.hero h1{
  font-size:clamp(30px, 3.9vw, 51px); margin:22px auto 0;
  max-width:18ch; line-height:1.12; letter-spacing:-.024em;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(96deg, #6fd8ec, #74a6ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero .lead{
  margin:22px auto 0; max-width:52ch; font-size:clamp(16.5px,1.8vw,19px);
  line-height:1.55; color:var(--on-band);
}
.hero .lead strong{ color:#fff; font-weight:600; }
.hero .actions{
  display:flex; flex-wrap:wrap; gap:13px; margin-top:32px; margin-bottom:36px;
  justify-content:center;
}

/* franja de sectores al pie del hero, con enlace a cada caso */
.hero-sectores{
  margin-top:auto; border-top:1px solid rgba(255,255,255,.13);
  display:grid; grid-template-columns:1fr; gap:0;
}
@media (min-width:760px){ .hero-sectores{ grid-template-columns:repeat(3,1fr); } }
.hero-sectores a,
.hero-sectores span.sec{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:24px 28px; text-decoration:none; color:#dbe7fb;
  border-bottom:1px solid rgba(255,255,255,.09);
  transition:background .18s ease;
}
@media (min-width:760px){
  .hero-sectores a, .hero-sectores span.sec{ border-bottom:0; border-right:1px solid rgba(255,255,255,.09); }
  .hero-sectores > *:last-child{ border-right:0; }
}
.hero-sectores a:hover{ background:rgba(255,255,255,.06); }
.hero-sectores .nom{ font-size:15.5px; font-weight:600; }
.hero-sectores .ref{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.05em;
  color:#8fa9d4; display:flex; align-items:center; gap:7px;
}
.hero-sectores .ref svg{
  width:13px; height:13px; fill:none; stroke:#6fd8ec; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round; transition:transform .18s ease;
}
.hero-sectores a:hover .ref svg{ transform:translate(2px,-2px); }
@media (prefers-reduced-motion: reduce){
  .hero-sectores a, .hero-sectores .ref svg{ transition:none; }
}

/* ---------------- secciones ---------------- */
section{ padding:74px 0; }
.sec-head{ margin-bottom:38px; max-width:60ch; }
.sec-head h2{ font-size:clamp(27px, 3.5vw, 40px); margin-top:12px; }
.sec-head p{ margin-top:13px; color:var(--muted); }

/* servicios */
.svcs{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:640px){ .svcs{ grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .svcs{ grid-template-columns:repeat(3,1fr); } }
.svc{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 22px 24px; box-shadow:var(--shadow);
  transition:transform .2s ease, border-color .2s ease;
}
.svc:hover{ transform:translateY(-3px);
  border-color:color-mix(in srgb, var(--accent) 42%, var(--line)); }
.svc img{ width:64px; height:64px; margin:-6px 0 4px -6px; }
.svc h3{ font-size:18px; margin-bottom:5px; }
.svc p{ color:var(--muted); font-size:15px; line-height:1.45; }

/* proyectos: filas alternadas, no una grilla de tarjetas */
.work{
  display:grid; gap:26px; grid-template-columns:1fr; align-items:center;
  padding:34px 0; border-top:1px solid var(--line);
}
@media (min-width:860px){
  .work{ grid-template-columns:1.15fr .85fr; gap:52px; padding:44px 0; }
  .work.flip .shot{ order:2; }
}
.work .tag{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--cyan);
}
.work h3{ font-size:25px; margin:9px 0 10px; }
.work p{ color:var(--muted); font-size:16px; max-width:46ch; }
.work .meta{
  display:flex; flex-wrap:wrap; gap:8px; margin-top:16px;
}
.work .meta span{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.06em;
  color:var(--ink-2); background:color-mix(in srgb, var(--accent) 8%, transparent);
  border:1px solid var(--line); border-radius:999px; padding:5px 11px;
}
.browser-lite{
  border-radius:12px; overflow:hidden; border:1px solid var(--line);
  box-shadow:var(--lift); background:var(--card);
}
.browser-lite .bar{
  display:flex; align-items:center; gap:6px; padding:10px 13px;
  background:color-mix(in srgb, var(--ink) 6%, var(--card));
  border-bottom:1px solid var(--line);
}
.browser-lite .bar i{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.pair{ display:flex; gap:16px; justify-content:center; }
.pair .phone{
  padding:8px; border-radius:30px; background:#080e1c; width:min(180px,42vw);
  border:1px solid rgba(255,255,255,.14); box-shadow:var(--lift);
}
.pair .phone img{ border-radius:23px; }
.pair .phone:first-child{ transform:rotate(-3deg) translateY(8px); }
.pair .phone:last-child{ transform:rotate(3deg); }

/* proceso */
.proceso{ background:color-mix(in srgb, var(--accent) 5%, var(--paper)); }
.proceso .cols{ display:grid; gap:24px; grid-template-columns:1fr; align-items:center; }
@media (min-width:900px){ .proceso .cols{ grid-template-columns:.9fr 1fr; gap:56px; } }
.proceso .aside img{ width:min(250px,64%); margin:0 auto; }
@media (min-width:900px){ .proceso .aside img{ width:100%; max-width:300px; margin:0; } }

.flow{ list-style:none; margin:0; padding:0; display:grid; }
.flow li{ display:grid; grid-template-columns:40px 1fr; gap:14px; padding-bottom:14px; position:relative; }
.flow li:last-child{ padding-bottom:0; }
.flow li::after{
  content:''; position:absolute; left:19px; top:43px; bottom:1px; width:2px;
  background:linear-gradient(180deg, var(--c), transparent); opacity:.5; border-radius:2px;
}
.flow li:last-child::after{ display:none; }
.flow li:nth-child(1){ --c:var(--accent); }
.flow li:nth-child(2){ --c:color-mix(in oklab, var(--accent) 75%, var(--cyan)); }
.flow li:nth-child(3){ --c:color-mix(in oklab, var(--accent) 50%, var(--cyan)); }
.flow li:nth-child(4){ --c:color-mix(in oklab, var(--accent) 25%, var(--cyan)); }
.flow li:nth-child(5){ --c:var(--cyan); }
.flow .dot{
  width:40px; height:40px; border-radius:50%; display:grid; place-items:center;
  background:var(--paper); border:2px solid var(--c); color:var(--c);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--c) 12%, transparent);
  position:relative; z-index:1;
}
.flow .dot svg{ width:19px; height:19px; fill:none; stroke:currentColor;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.flow .n{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;
  letter-spacing:.16em; color:var(--c);
}
.flow h3{ font-size:17px; margin:2px 0 3px; }
.flow p{ color:var(--muted); font-size:14.5px; line-height:1.4; max-width:48ch; }

/* cierre */
.close{
  color:#fff; padding:64px 0 68px; position:relative; overflow:hidden;
  background-color:var(--band-a);
  background-image:
    linear-gradient(80deg, rgba(7,14,32,.97) 0%, rgba(7,14,32,.9) 36%, rgba(7,14,32,.5) 66%, rgba(7,14,32,.22) 100%),
    var(--banner);
  background-size:auto, 132%;
  background-position:center, 64% 38%;
  background-repeat:no-repeat;
}
.close .eyebrow{ color:#6fd8ec; }
.close h2{ font-size:clamp(28px, 3.8vw, 42px); max-width:16ch; margin-top:14px; }
.close p{ margin-top:16px; color:var(--on-band); max-width:48ch; }
.close .actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.close .lines{
  display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:24px;
  font-family:'IBM Plex Mono',monospace; font-size:14px; color:#9fbaea;
}
.close .lines a{ text-decoration:none; border-bottom:1px solid rgba(159,186,234,.4); padding-bottom:2px; }
.close .lines a:hover{ color:#fff; border-color:#6fd8ec; }

/* pie */
.foot{ background:var(--paper); border-top:1px solid var(--line); padding:38px 0 30px; }
.foot .cols{ display:grid; gap:26px; grid-template-columns:1fr; }
@media (min-width:760px){ .foot .cols{ grid-template-columns:1.4fr 1fr 1fr; gap:40px; } }
.foot .brand span{ color:var(--ink); }
.foot p{ color:var(--muted); font-size:14.5px; margin-top:12px; max-width:34ch; }
.foot h4{ font-size:12px; font-family:'IBM Plex Mono',monospace; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.foot ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.foot ul a{ text-decoration:none; font-size:15px; color:var(--ink-2); }
.foot ul a:hover{ color:var(--accent); }
.foot .base{
  margin-top:32px; padding-top:18px; border-top:1px solid var(--line);
  display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:space-between;
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--muted);
}

/* aparicion al hacer scroll */
.rv{ transition:opacity .6s ease, transform .6s ease; }
.js-rv .rv{ opacity:0; transform:translateY(14px); }
.js-rv .rv.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .rv{ opacity:1 !important; transform:none !important; transition:none; }
  .btn,.svc{ transition:none; }
  .pair .phone{ transform:none !important; }
}

/* ============================================================
   Componentes de sitio (no de landing)
   ============================================================ */

/* --- franja de sectores --- */
.sectores{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width:640px){ .sectores{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .sectores{ grid-template-columns:repeat(4,1fr); } }
.sector{
  border:1px solid var(--line); border-radius:var(--radius); padding:20px 20px 22px;
  background:var(--card); box-shadow:var(--shadow);
}
.sector .ico{
  width:38px; height:38px; border-radius:10px; display:grid; place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, transparent);
  color:var(--accent); margin-bottom:14px;
}
.sector .ico svg{ width:20px; height:20px; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.sector h3{ font-size:17px; margin-bottom:5px; }
.sector p{ color:var(--muted); font-size:14.5px; line-height:1.45; }
.sector .ref{
  display:block; margin-top:10px; font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:.05em; color:var(--cyan);
}

/* --- comparativa --- */
.vs{ display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:820px){ .vs{ grid-template-columns:1fr 1fr; gap:22px; } }
.vs-col{ border-radius:var(--radius); padding:26px 26px 28px; border:1px solid var(--line); }
.vs-col.mala{ background:color-mix(in srgb, var(--ink) 4%, var(--paper)); }
.vs-col.buena{
  background:var(--card); box-shadow:var(--lift);
  border-color:color-mix(in srgb, var(--accent) 35%, var(--line));
}
.vs-col h3{ font-size:19px; margin-bottom:4px; }
.vs-col .sub{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--muted); margin-bottom:18px;
}
.vs-col.buena .sub{ color:var(--cyan); }
.vs-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.vs-col li{ display:grid; grid-template-columns:20px 1fr; gap:11px; font-size:15px; line-height:1.45; }
.vs-col.mala li{ color:var(--muted); }
.vs-col.buena li{ color:var(--ink-2); }
.vs-col li svg{ width:18px; height:18px; margin-top:3px; fill:none; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round; }
.vs-col.mala li svg{ stroke:#c2536b; }
.vs-col.buena li svg{ stroke:var(--cyan); }

/* --- tarjetas de caso --- */
.casos{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:820px){ .casos{ grid-template-columns:repeat(3,1fr); } }
.caso{
  display:flex; flex-direction:column; text-decoration:none;
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:var(--card); box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.caso:hover{ transform:translateY(-4px); box-shadow:var(--lift);
  border-color:color-mix(in srgb, var(--accent) 40%, var(--line)); }
.caso .thumb{ aspect-ratio:16/10; overflow:hidden; background:var(--paper); }
.caso .thumb img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.caso .body{ padding:18px 20px 22px; display:flex; flex-direction:column; flex:1; }
.caso .tag{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--cyan);
}
.caso h3{ font-size:19px; margin:8px 0 7px; }
.caso p{ color:var(--muted); font-size:14.5px; line-height:1.45; flex:1; }
.caso .go{
  margin-top:14px; font-size:14.5px; font-weight:600; color:var(--accent);
  display:flex; align-items:center; gap:7px;
}
.caso:hover .go svg{ transform:translateX(3px); }
.caso .go svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }

/* --- bloque de precio / cotizacion --- */
.precio{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:820px){ .precio{ grid-template-columns:1fr 1fr; gap:24px; } }
.precio-card{
  border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  background:var(--card); box-shadow:var(--shadow);
}
.precio-card .kicker{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.13em;
  text-transform:uppercase; color:var(--cyan);
}
.precio-card .cifra{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800; letter-spacing:-.03em;
  font-size:34px; margin:10px 0 4px; color:var(--ink);
}
.precio-card .cifra small{ font-size:15px; font-weight:600; color:var(--muted); letter-spacing:0; }
.precio-card > p{ color:var(--muted); font-size:15px; line-height:1.5; }
.precio-card ul{ list-style:none; margin:16px 0 0; padding:0; display:grid; gap:9px; }
.precio-card li{ display:grid; grid-template-columns:18px 1fr; gap:10px;
  font-size:14.5px; color:var(--ink-2); line-height:1.42; }
.precio-card li svg{ width:16px; height:16px; margin-top:3px; fill:none; stroke:var(--cyan);
  stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }

/* --- aviso de dato pendiente (borrar al completar) --- */
.pendiente{
  background:repeating-linear-gradient(45deg, color-mix(in srgb,#e0a13a 16%,transparent),
    color-mix(in srgb,#e0a13a 16%,transparent) 10px, transparent 10px, transparent 20px);
  border:1px dashed #c9902f; border-radius:8px; padding:2px 8px;
  font-family:'IBM Plex Mono',monospace; font-size:.82em; color:#8a6318;
}

/* --- cabecera interior --- */
.page-head{
  color:#fff; padding:calc(var(--nav-h) + 46px) 0 52px;
  background-color:var(--band-a);
  background-image:
    radial-gradient(60% 100% at 78% 50%, rgba(35,150,190,.22) 0%, rgba(35,150,190,0) 64%),
    linear-gradient(100deg, rgba(7,14,32,.92) 0%, rgba(7,14,32,.66) 42%, rgba(7,14,32,.15) 76%, rgba(7,14,32,0) 100%),
    var(--banner);
  background-size:auto, auto, cover; background-position:center, center, 72% center;
  background-repeat:no-repeat;
}
.page-head .eyebrow{ color:#6fd8ec; }
.page-head h1{ font-size:clamp(32px, 4.4vw, 50px); max-width:18ch; margin-top:14px; }
.page-head p{ margin-top:16px; color:var(--on-band); max-width:56ch; font-size:18px; }
.crumbs{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:#9fbaea; margin-bottom:18px;
}
.crumbs a{ text-decoration:none; border-bottom:1px solid rgba(159,186,234,.4); }
.crumbs a:hover{ color:#fff; }

/* --- cuerpo de caso --- */
.caso-grid{ display:grid; gap:36px; grid-template-columns:1fr; }
@media (min-width:940px){ .caso-grid{ grid-template-columns:1fr 300px; gap:56px; align-items:start; } }
.caso-body h2{ font-size:26px; margin:34px 0 12px; }
.caso-body h2:first-child{ margin-top:0; }
.caso-body p{ color:var(--ink-2); margin-bottom:14px; }
.caso-body ul{ color:var(--ink-2); padding-left:20px; margin:0 0 16px; display:grid; gap:8px; }
.caso-body figure{ margin:26px 0; }
.caso-body figcaption{ color:var(--muted); font-size:13.5px; margin-top:10px; }
.ficha{
  border:1px solid var(--line); border-radius:var(--radius); padding:22px;
  background:var(--card); box-shadow:var(--shadow); position:sticky; top:calc(var(--nav-h) + 20px);
}
.ficha h3{ font-size:12px; font-family:'IBM Plex Mono',monospace; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.ficha dl{ margin:0; display:grid; gap:14px; }
.ficha dt{ font-size:12.5px; color:var(--muted); font-family:'IBM Plex Mono',monospace;
  letter-spacing:.05em; }
.ficha dd{ margin:3px 0 0; font-size:15px; color:var(--ink); font-weight:500; }
.ficha .btn{ width:100%; justify-content:center; margin-top:20px; }

/* ============================================================
   Navegacion: enlace activo y menu de celular
   ============================================================ */
.nav-links a.activa{ color:#fff; border-bottom-color:var(--cyan); }
.nav.solid .nav-links a.activa{ color:var(--ink); border-bottom-color:var(--accent); }
.nav-right{ display:flex; align-items:center; gap:12px; }

.burger{
  display:grid; place-content:center; gap:5px; width:42px; height:38px;
  background:none; border:1px solid rgba(255,255,255,.3); border-radius:9px;
  cursor:pointer; padding:0;
}
.nav.solid .burger{ border-color:var(--line); }
.burger span{
  display:block; width:18px; height:2px; border-radius:2px; background:#fff;
  transition:transform .22s ease, opacity .22s ease;
}
.nav.solid .burger span{ background:var(--ink); }
@media (min-width:960px){ .burger{ display:none; } }
@media (max-width:520px){ .nav-cta{ display:none; } }

body.menu-abierto .burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.menu-abierto .burger span:nth-child(2){ opacity:0; }
body.menu-abierto .burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:959px){
  .nav-links{
    display:flex; position:fixed; inset:var(--nav-h) 0 auto 0;
    flex-direction:column; gap:0; padding:8px 20px 20px;
    background:var(--paper); border-bottom:1px solid var(--line);
    box-shadow:var(--lift);
    transform:translateY(-12px); opacity:0; pointer-events:none;
    transition:transform .22s ease, opacity .22s ease;
  }
  .nav-links a{
    color:var(--ink) !important; font-size:17px; padding:14px 0;
    border-bottom:1px solid var(--line);
  }
  .nav-links a:last-child{ border-bottom:0; }
  body.menu-abierto .nav-links{ transform:none; opacity:1; pointer-events:auto; }
  body.menu-abierto{ overflow:hidden; }
}
@media (prefers-reduced-motion: reduce){
  .nav-links, .burger span{ transition:none; }
}

/* ============================================================
   Servicios en detalle
   ============================================================ */
.servicio{
  display:grid; gap:26px; grid-template-columns:1fr;
  padding:38px 0; border-top:1px solid var(--line);
}
@media (min-width:880px){ .servicio{ grid-template-columns:280px 1fr; gap:48px; } }
.servicio .cara{ display:flex; gap:16px; align-items:flex-start; }
.servicio .cara img{ width:64px; height:64px; flex:none; margin-top:-6px; }
.servicio h2{ font-size:23px; margin-bottom:6px; }
.servicio .resumen{ color:var(--muted); font-size:15px; line-height:1.45; }
.servicio .detalle{ display:grid; gap:22px; grid-template-columns:1fr; }
@media (min-width:620px){ .servicio .detalle{ grid-template-columns:1fr 1fr; } }
.servicio h3{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
  margin-bottom:11px;
}
.servicio ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
.servicio li{ display:grid; grid-template-columns:18px 1fr; gap:10px;
  font-size:15px; color:var(--ink-2); line-height:1.42; }
.servicio li svg{ width:16px; height:16px; margin-top:3px; fill:none; stroke-width:2.2;
  stroke-linecap:round; stroke-linejoin:round; }
.servicio .incluye li svg{ stroke:var(--cyan); }
.servicio .fuera li{ color:var(--muted); }
.servicio .fuera li svg{ stroke:#c2536b; }
.servicio .plazo{
  margin-top:18px; padding:12px 16px; border-radius:10px;
  background:color-mix(in srgb, var(--accent) 7%, transparent);
  border:1px solid var(--line); font-size:14.5px; color:var(--ink-2);
}
.servicio .plazo b{ color:var(--ink); }

/* ============================================================
   Proceso en detalle
   ============================================================ */
.etapa{
  display:grid; gap:24px; grid-template-columns:1fr;
  padding:40px 0; border-top:1px solid var(--line);
}
@media (min-width:880px){ .etapa{ grid-template-columns:auto 1fr; gap:44px; } }
.etapa .marca{ display:flex; align-items:center; gap:16px; }
@media (min-width:880px){ .etapa .marca{ flex-direction:column; align-items:flex-start; width:150px; } }
.etapa .bola{
  width:56px; height:56px; border-radius:50%; display:grid; place-items:center;
  border:2px solid var(--c); color:var(--c); flex:none;
  box-shadow:0 0 0 6px color-mix(in srgb, var(--c) 10%, transparent);
}
.etapa .bola svg{ width:25px; height:25px; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.etapa .num{
  font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600;
  letter-spacing:.16em; color:var(--c);
}
.etapa:nth-of-type(1){ --c:var(--accent); }
.etapa:nth-of-type(2){ --c:color-mix(in oklab, var(--accent) 75%, var(--cyan)); }
.etapa:nth-of-type(3){ --c:color-mix(in oklab, var(--accent) 50%, var(--cyan)); }
.etapa:nth-of-type(4){ --c:color-mix(in oklab, var(--accent) 25%, var(--cyan)); }
.etapa:nth-of-type(5){ --c:var(--cyan); }
.etapa h2{ font-size:24px; margin-bottom:10px; }
.etapa > div > p{ color:var(--ink-2); max-width:56ch; margin-bottom:16px; }
.etapa .dos{ display:grid; gap:20px; grid-template-columns:1fr; margin-top:18px; }
@media (min-width:620px){ .etapa .dos{ grid-template-columns:1fr 1fr; } }
.etapa .caja{
  border:1px solid var(--line); border-radius:11px; padding:16px 18px;
  background:var(--card);
}
.etapa .caja h3{
  font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:9px;
}
.etapa .caja p{ font-size:14.5px; color:var(--ink-2); line-height:1.45; }

/* ============================================================
   Equipo
   ============================================================ */
.equipo{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:700px){ .equipo{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .equipo{ grid-template-columns:repeat(3,1fr); } }
.persona{
  border:1px solid var(--line); border-radius:var(--radius); padding:24px;
  background:var(--card); box-shadow:var(--shadow);
}
.persona .foto{
  width:72px; height:72px; border-radius:50%; margin-bottom:16px;
  background:linear-gradient(135deg, var(--accent), var(--cyan));
  display:grid; place-items:center; color:#fff;
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:26px;
}
.persona h3{ font-size:19px; margin-bottom:3px; }
.persona .rol{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:.08em;
  color:var(--cyan); margin-bottom:12px;
}
.persona p{ color:var(--muted); font-size:15px; line-height:1.5; }

/* ============================================================
   Preguntas frecuentes
   ============================================================ */
.faq{ display:grid; gap:0; }
.faq details{
  border-top:1px solid var(--line); padding:4px 0;
}
.faq details:last-child{ border-bottom:1px solid var(--line); }
.faq summary{
  cursor:pointer; list-style:none; padding:18px 40px 18px 0; position:relative;
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:18px;
  letter-spacing:-.015em; color:var(--ink);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:''; position:absolute; right:8px; top:50%; width:11px; height:11px;
  border-right:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:translateY(-70%) rotate(45deg); transition:transform .2s ease;
}
.faq details[open] summary::after{ transform:translateY(-30%) rotate(-135deg); }
.faq summary:focus-visible{ outline:3px solid var(--cyan); outline-offset:3px; border-radius:6px; }
.faq .resp{ padding:0 40px 20px 0; color:var(--ink-2); font-size:16px; line-height:1.6; max-width:70ch; }
.faq .resp p + p{ margin-top:12px; }
@media (prefers-reduced-motion: reduce){ .faq summary::after{ transition:none; } }

/* ============================================================
   Formulario de contacto
   ============================================================ */
.contacto-grid{ display:grid; gap:34px; grid-template-columns:1fr; }
@media (min-width:900px){ .contacto-grid{ grid-template-columns:1.05fr .95fr; gap:56px; align-items:start; } }
.form-v2{ display:grid; gap:16px; }
.campo label{
  display:block; font-family:'IBM Plex Mono',monospace; font-size:11.5px;
  font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin-bottom:7px;
}
.campo input, .campo textarea{
  width:100%; padding:13px 15px; border-radius:10px; background:var(--card);
  border:1px solid var(--line); color:var(--ink); font:inherit; font-size:16px;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.campo textarea{ resize:vertical; min-height:130px; }
.campo input:focus, .campo textarea:focus{
  outline:none; border-color:var(--accent);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.campo input::placeholder, .campo textarea::placeholder{ color:var(--muted); opacity:.75; }
.form-v2 button{ justify-self:start; }
.form-v2 button[disabled]{ opacity:.6; cursor:progress; }
.aviso{
  border-radius:10px; padding:13px 16px; font-size:15px; line-height:1.45;
  display:none;
}
.aviso.ok{ display:block; background:color-mix(in srgb, var(--cyan) 14%, transparent);
  border:1px solid var(--cyan); color:var(--ink); }
.aviso.error{ display:block; background:color-mix(in srgb, #c2536b 12%, transparent);
  border:1px solid #c2536b; color:var(--ink); }

.datos{ display:grid; gap:14px; }
.dato{
  display:flex; gap:14px; align-items:flex-start; padding:18px 20px;
  border:1px solid var(--line); border-radius:var(--radius); background:var(--card);
  text-decoration:none; box-shadow:var(--shadow);
  transition:transform .18s ease, border-color .18s ease;
}
a.dato:hover{ transform:translateY(-2px);
  border-color:color-mix(in srgb, var(--accent) 40%, var(--line)); }
.dato .ic{
  width:38px; height:38px; border-radius:10px; flex:none; display:grid; place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, transparent); color:var(--accent);
}
.dato .ic svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round; }
.dato h3{ font-size:16px; margin-bottom:3px; }
.dato p{ color:var(--muted); font-size:14.5px; line-height:1.4; }

/* ============================================================
   Portada: secciones con texturas distintas
   ============================================================ */

/* --- sectores como indice editorial, no como tarjetas --- */
.indice{ border-top:1px solid var(--line); }
.indice .fila{
  display:grid; grid-template-columns:1fr; gap:6px;
  padding:26px 4px; border-bottom:1px solid var(--line);
  position:relative; transition:background .2s ease, padding-left .2s ease;
}
@media (min-width:820px){
  .indice .fila{ grid-template-columns:210px 1fr 190px; gap:34px; align-items:baseline; padding:30px 4px; }
}
.indice .fila:hover{
  background:color-mix(in srgb, var(--accent) 5%, transparent);
  padding-left:14px;
}
.indice .nombre{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800;
  font-size:clamp(22px,2.4vw,29px); letter-spacing:-.025em; color:var(--ink);
  display:flex; align-items:center; gap:12px;
}
.indice .nombre svg{
  width:22px; height:22px; flex:none; fill:none; stroke:var(--accent);
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.indice .que{ color:var(--muted); font-size:15.5px; line-height:1.5; max-width:52ch; }
.indice .quien{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; letter-spacing:.05em;
  color:var(--cyan); display:flex; align-items:center; gap:8px;
}
@media (min-width:820px){ .indice .quien{ justify-content:flex-end; } }
@media (prefers-reduced-motion: reduce){ .indice .fila{ transition:none; } }

/* --- casos con jerarquia: uno grande, dos secundarios --- */
.destacado{
  display:grid; grid-template-columns:1fr; gap:28px; align-items:center;
  margin-bottom:22px;
}
@media (min-width:900px){ .destacado{ grid-template-columns:1.35fr 1fr; gap:46px; } }
.destacado .marco{
  border-radius:13px; overflow:hidden; border:1px solid var(--line);
  box-shadow:var(--lift); background:var(--card);
}
.destacado .barra{
  display:flex; align-items:center; gap:6px; padding:10px 13px;
  background:color-mix(in srgb, var(--ink) 6%, var(--card));
  border-bottom:1px solid var(--line);
}
.destacado .barra i{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.destacado .rotulo{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--cyan);
}
.destacado h3{ font-size:clamp(24px,2.8vw,32px); margin:10px 0 12px; }
.destacado p{ color:var(--muted); font-size:16.5px; line-height:1.55; max-width:44ch; }
.destacado .ir{
  margin-top:20px; display:inline-flex; align-items:center; gap:9px;
  font-weight:600; font-size:16px; color:var(--accent); text-decoration:none;
}
.destacado .ir svg{ width:16px; height:16px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
.destacado .ir:hover svg{ transform:translateX(4px); }

.menores{ display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:760px){ .menores{ grid-template-columns:1fr 1fr; } }
.menor{
  display:grid; grid-template-columns:120px 1fr; gap:20px; align-items:center;
  padding:20px; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--card); text-decoration:none; box-shadow:var(--shadow);
  transition:transform .2s ease, border-color .2s ease;
}
.menor:hover{ transform:translateY(-3px);
  border-color:color-mix(in srgb, var(--accent) 42%, var(--line)); }
.menor .mini{
  border-radius:9px; overflow:hidden; border:1px solid var(--line); background:var(--paper);
  aspect-ratio:4/3;
}
.menor .mini img{ width:100%; height:100%; display:block; object-fit:cover; object-position:top center; }
.menor .rotulo{
  font-family:'IBM Plex Mono',monospace; font-size:10.5px; font-weight:600;
  letter-spacing:.13em; text-transform:uppercase; color:var(--cyan);
}
.menor h3{ font-size:18px; margin:6px 0 5px; }
.menor p{ color:var(--muted); font-size:14px; line-height:1.42; }
@media (max-width:400px){ .menor{ grid-template-columns:1fr; } .menor .mini{ max-width:150px; } }

/* --- banda oscura de cotizacion, para romper el medio de la pagina --- */
.banda{
  color:#fff; padding:66px 0 70px; position:relative; overflow:hidden;
  background-color:var(--band-a);
  background-image:
    radial-gradient(50% 90% at 22% 50%, rgba(35,150,190,.20) 0%, rgba(35,150,190,0) 66%),
    linear-gradient(260deg, rgba(7,14,32,.94) 0%, rgba(7,14,32,.7) 40%, rgba(7,14,32,.15) 78%, rgba(7,14,32,0) 100%),
    var(--banner);
  background-size:auto, auto, cover;
  background-position:center, center, 28% center;
  background-repeat:no-repeat;
}
.banda .eyebrow{ color:#6fd8ec; }
.banda h2{ font-size:clamp(27px,3.5vw,40px); margin-top:12px; }
.banda .intro{ margin-top:13px; color:var(--on-band); max-width:58ch; }
.banda .cajas{ display:grid; gap:20px; grid-template-columns:1fr; margin-top:38px; }
@media (min-width:820px){ .banda .cajas{ grid-template-columns:1fr 1fr; gap:24px; } }
.caja-precio{
  border:1px solid rgba(255,255,255,.16); border-radius:var(--radius);
  background:rgba(255,255,255,.045); padding:28px;
  backdrop-filter:blur(6px);
}
.caja-precio .kicker{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.13em;
  text-transform:uppercase; color:#6fd8ec;
}
.caja-precio .cifra{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800; letter-spacing:-.03em;
  font-size:34px; margin:12px 0 6px; color:#fff;
}
.caja-precio .cifra small{ font-size:15px; font-weight:600; color:#9fbaea; letter-spacing:0; }
.caja-precio > p{ color:var(--on-band); font-size:15px; line-height:1.5; }
.caja-precio ul{ list-style:none; margin:18px 0 0; padding:0; display:grid; gap:10px; }
.caja-precio li{ display:grid; grid-template-columns:18px 1fr; gap:10px;
  font-size:14.5px; color:#cfdcf3; line-height:1.42; }
.caja-precio li svg{ width:16px; height:16px; margin-top:3px; fill:none; stroke:#6fd8ec;
  stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.banda .nota{ margin-top:26px; color:#9fbaea; font-size:15px; max-width:64ch; }
.banda .nota a{ color:#8fc4ff; }

/* ============================================================
   Paginas interiores: franjas alternadas y resumenes
   ============================================================ */

/* --- franja de ancho completo, para alternar fondo entre bloques --- */
.franja{ }
.franja.tinta{ background:color-mix(in srgb, var(--accent) 4.5%, var(--paper)); }
.franja .servicio,
.franja .etapa{ border-top:0; padding:46px 0; }
.franja:first-of-type .servicio,
.franja:first-of-type .etapa{ padding-top:8px; }

/* --- indice-resumen con plazos --- */
.resumen{ border-top:1px solid var(--line); margin-top:6px; }
.resumen a{
  display:grid; grid-template-columns:1fr; gap:4px;
  padding:15px 4px; border-bottom:1px solid var(--line);
  text-decoration:none; transition:background .18s ease, padding-left .18s ease;
}
@media (min-width:660px){
  .resumen a{ grid-template-columns:1fr auto; gap:24px; align-items:baseline; }
}
.resumen a:hover{
  background:color-mix(in srgb, var(--accent) 6%, transparent); padding-left:12px;
}
.resumen .qu{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:18px;
  letter-spacing:-.015em; color:var(--ink); display:flex; align-items:center; gap:10px;
}
.resumen .qu img{ width:30px; height:30px; }
.resumen .cu{
  font-family:'IBM Plex Mono',monospace; font-size:13px; color:var(--muted);
}
.resumen .cu b{ color:var(--cyan); font-weight:600; }
@media (prefers-reduced-motion: reduce){ .resumen a{ transition:none; } }

/* --- declaracion: cita destacada sobre fondo claro --- */
.cita{
  border-left:4px solid var(--cyan); border-radius:0 var(--radius) var(--radius) 0;
  background:color-mix(in srgb, var(--accent) 6%, var(--paper));
  padding:32px 34px 34px; max-width:70ch;
}
.cita .eyebrow{ color:var(--cyan); margin-bottom:14px; display:block; }
.cita p{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700;
  font-size:clamp(20px,2.4vw,27px); line-height:1.3; letter-spacing:-.02em;
  color:var(--ink); text-wrap:balance;
}
.cita .firma{
  margin-top:18px; font-family:'IBM Plex Sans',sans-serif; font-weight:400;
  font-size:15.5px; letter-spacing:0; color:var(--muted); line-height:1.5;
}

/* --- declaracion sobre banda oscura --- */
.declara{ max-width:60ch; }
.declara p{
  font-family:'Bricolage Grotesque',sans-serif; font-weight:700;
  font-size:clamp(21px,2.6vw,30px); line-height:1.28; letter-spacing:-.02em;
  color:#fff; text-wrap:balance;
}
.declara .firma{
  margin-top:20px; font-family:'IBM Plex Mono',monospace; font-size:13px;
  letter-spacing:.06em; color:#9fbaea;
}

/* --- equipo en filas, no en tarjetas --- */
.gente{ border-top:1px solid var(--line); }
.gente .quien{
  display:grid; grid-template-columns:1fr; gap:14px;
  padding:26px 4px; border-bottom:1px solid var(--line); align-items:center;
}
@media (min-width:760px){
  .gente .quien{ grid-template-columns:72px 230px 1fr; gap:26px; }
}
.gente .cara{
  width:64px; height:64px; border-radius:50%; display:grid; place-items:center;
  background:linear-gradient(135deg, var(--accent), var(--cyan)); color:#fff;
  font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:23px;
}
.gente h3{ font-size:21px; margin-bottom:4px; }
.gente .rol{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; letter-spacing:.06em;
  color:var(--cyan);
}
.gente p.bio{ color:var(--muted); font-size:15.5px; line-height:1.5; max-width:56ch; }
.resumen .paso{
  font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600;
  letter-spacing:.1em; color:var(--cyan); min-width:26px;
}
.indice .quien a{ color:inherit; text-decoration:none; border-bottom:1px solid transparent; }
.indice .quien a:hover{ border-bottom-color:currentColor; }

/* ============================================================
   Paginas de caso
   ============================================================ */

/* --- franja de datos clave, bajo la cabecera --- */
.caso-datos{
  margin-top:34px; padding-top:22px; border-top:1px solid rgba(255,255,255,.14);
  display:flex; flex-wrap:wrap; gap:20px 44px; align-items:flex-end;
}
.caso-datos .dd{ display:grid; gap:5px; }
.caso-datos dt{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.15em;
  text-transform:uppercase; color:#6f8ec4;
}
.caso-datos dd{ margin:0; font-size:16px; font-weight:600; color:#fff; }
.caso-datos .btn{ margin-left:auto; }
@media (max-width:760px){ .caso-datos .btn{ margin-left:0; flex-basis:100%; } }

/* --- figura ancha, no encajonada --- */
.figura-ancha{ margin:0; }
.figura-ancha .marco{
  border-radius:14px; overflow:hidden; border:1px solid var(--line);
  box-shadow:var(--lift); background:var(--card);
}
.figura-ancha .barra{
  display:flex; align-items:center; gap:6px; padding:11px 14px;
  background:color-mix(in srgb, var(--ink) 6%, var(--card));
  border-bottom:1px solid var(--line);
}
.figura-ancha .barra i{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.figura-ancha .barra .u{
  margin-left:10px; height:18px; flex:1; max-width:240px; border-radius:999px;
  background:var(--paper); border:1px solid var(--line);
}
.figura-ancha img{ width:100%; }
.figura-ancha figcaption{
  margin-top:14px; color:var(--muted); font-size:14.5px; max-width:70ch; line-height:1.5;
}
.figura-fonos{ display:flex; gap:22px; justify-content:center; padding:14px 0; }
.figura-fonos .fono{
  padding:8px; border-radius:30px; background:#080e1c; width:min(210px,40vw);
  border:1px solid rgba(255,255,255,.14); box-shadow:var(--lift);
}
.figura-fonos .fono img{ border-radius:23px; }

/* --- cuerpo del caso: una sola columna, ancho de lectura --- */
.caso-texto{ max-width:68ch; }
.caso-texto h2{ font-size:clamp(23px,2.6vw,29px); margin:44px 0 14px; }
.caso-texto h2:first-child{ margin-top:0; }
.caso-texto p{ color:var(--ink-2); margin-bottom:15px; font-size:17px; line-height:1.65; }
.caso-texto .lista{ list-style:none; margin:4px 0 18px; padding:0; display:grid; gap:11px; }
.caso-texto .lista li{
  display:grid; grid-template-columns:20px 1fr; gap:12px;
  font-size:16.5px; color:var(--ink-2); line-height:1.5;
}
.caso-texto .lista li svg{
  width:17px; height:17px; margin-top:5px; fill:none; stroke:var(--cyan);
  stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;
}

/* --- bloque de resultado --- */
.resultado{ background:color-mix(in srgb, var(--accent) 5%, var(--paper)); }
.resultado .cols{ display:grid; gap:28px; grid-template-columns:1fr; }
@media (min-width:860px){ .resultado .cols{ grid-template-columns:280px 1fr; gap:52px; } }
.resultado h2{ font-size:clamp(24px,2.8vw,32px); }
.resultado .intro{ color:var(--muted); margin-top:12px; font-size:15.5px; line-height:1.5; }
.resultado ul{ list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.resultado li{
  display:grid; grid-template-columns:26px 1fr; gap:14px;
  padding-bottom:16px; border-bottom:1px solid var(--line);
}
.resultado li:last-child{ border-bottom:0; padding-bottom:0; }
.resultado li svg{
  width:22px; height:22px; margin-top:2px; fill:none; stroke:var(--cyan);
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}
.resultado li b{ display:block; font-family:'Bricolage Grotesque',sans-serif;
  font-weight:700; font-size:17px; color:var(--ink); margin-bottom:3px; letter-spacing:-.01em; }
.resultado li span{ color:var(--muted); font-size:15px; line-height:1.5; }

/* --- navegacion al siguiente caso --- */
.siguiente{
  display:grid; grid-template-columns:1fr; gap:20px; align-items:center;
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:var(--card); text-decoration:none; box-shadow:var(--shadow);
  transition:transform .2s ease, border-color .2s ease;
}
@media (min-width:700px){ .siguiente{ grid-template-columns:1fr 300px; } }
.siguiente:hover{ transform:translateY(-3px);
  border-color:color-mix(in srgb, var(--accent) 42%, var(--line)); }
.siguiente .txt{ padding:26px 28px; }
.siguiente .rot{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--muted);
}
.siguiente h3{ font-size:23px; margin:9px 0 7px; }
.siguiente p{ color:var(--muted); font-size:15px; line-height:1.45; max-width:44ch; }
.siguiente .ir{
  margin-top:14px; display:inline-flex; align-items:center; gap:8px;
  color:var(--accent); font-weight:600; font-size:15.5px;
}
.siguiente .ir svg{ width:15px; height:15px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
.siguiente:hover .ir svg{ transform:translateX(4px); }
.siguiente .img{ height:100%; min-height:170px; overflow:hidden; background:var(--paper); }
.siguiente .img img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
@media (max-width:699px){ .siguiente .img{ order:-1; min-height:150px; max-height:190px; } }
@media (prefers-reduced-motion: reduce){ .siguiente, .siguiente .ir svg{ transition:none; } }
