/* casos cortos: mismas tres secciones en todos (Framing the problem, Working through it, Outcomes) */
:root{ --W:clamp(1100px, calc(100vw - 200px), 1240px); --tw:760px; }
.sw{ max-width:var(--W); margin:0 auto; padding:0 28px; box-sizing:border-box; }
@media (max-width:600px){ .sw{ padding:0 16px; } }

/* hero */
.s-hero{ padding:40px 0 0; }
.s-hero .s-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.s-hero h1{ font-size:clamp(30px,3.3vw,46px); line-height:1.12; max-width:1000px; margin:18px 0 18px; text-wrap:balance; }
.s-hero .lede{ font-size:clamp(17px,1.4vw,19px); line-height:1.6; color:var(--text-muted); max-width:64ch; margin:0; }
.s-hero .lede strong{ color:var(--text); }
.s-hero .meta-strip{ margin-top:30px; font-size:15.5px; padding:14px 0; }
.s-hero .meta-strip .item{ padding:0 22px; } .s-hero .meta-strip .item:first-child{ padding-left:0; }
@media (max-width:760px){ .s-hero .meta-strip .item{ padding:0; } }

/* los tres pasos, como indice del caso */
.steps{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; margin:34px 0 0; padding:0; list-style:none; border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.steps li{ border-right:1px solid var(--border); }
.steps li:last-child{ border-right:0; }
.steps a{ display:block; padding:16px 22px; text-decoration:none; color:var(--text); height:100%; box-sizing:border-box; transition:background .2s ease; }
.steps a:hover{ background:var(--fucsia-soft); }
.steps .n{ display:block; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--fucsia-strong); font-weight:600; }
.steps .t{ display:block; font-family:var(--display); font-weight:600; font-size:18px; margin-top:4px; }
.steps .d{ display:block; font-size:14.5px; line-height:1.5; color:var(--text-muted); margin-top:4px; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr; } .steps li{ border-right:0; border-bottom:1px solid var(--border); } .steps li:last-child{ border-bottom:0; } }

/* secciones */
.ssec{ padding:88px 0 0; scroll-margin-top:90px; border-top:0; }
.s-hero{ border-top:0; }
.ssec .eyebrow{ margin:0; }
.ssec h2{ font-family:var(--display); font-size:clamp(26px,3vw,38px); line-height:1.15; margin:12px 0 18px; max-width:var(--tw); text-wrap:balance; }
.ssec p{ font-size:16.5px; line-height:1.75; color:var(--text-muted); margin:0 0 15px; max-width:var(--tw); }
.ssec p strong{ color:var(--text); font-weight:600; }

/* 01: los tres problemas */
.probs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:30px 0 0; padding:0; list-style:none; counter-reset:p; }
.probs li{ counter-increment:p; background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:22px 22px 20px; }
.probs li::before{ content:counter(p); display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--fucsia-soft); color:var(--fucsia-strong); font-weight:700; font-size:14px; margin-bottom:12px; }
.probs h3{ font-family:var(--display); font-size:18px; line-height:1.3; margin:0 0 8px; color:var(--text); }
.probs p{ font-size:15px; line-height:1.6; margin:0; }
@media (max-width:860px){ .probs{ grid-template-columns:1fr; } }

/* 02: un bloque por problema, texto y pantalla */
.wt{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:56px; align-items:center; padding:44px 0; border-top:1px solid var(--border); }
.wt:first-of-type{ margin-top:30px; }
.wt--phone{ grid-template-columns:minmax(0,1fr) 280px; max-width:940px; gap:72px; }
.wt .num{ font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--fucsia-strong); font-weight:600; }
.wt h3{ font-family:var(--display); font-size:clamp(20px,2vw,24px); line-height:1.3; margin:8px 0 12px; color:var(--text); }
.wt p{ font-size:16px; line-height:1.7; }
.wt .how{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.wt .how span{ font-size:13px; line-height:1; padding:7px 11px; border-radius:999px; border:1px solid var(--border); color:var(--text-muted); }
.wt .how span:first-child{ border:0; padding-left:0; color:var(--text-faint); }
.wt figure{ margin:0; }
.wt img, .wt video{ width:100%; height:auto; display:block; border-radius:14px; box-shadow:0 18px 44px rgba(0,0,0,.18); }
.wt--phone video, .wt--phone img{ border-radius:22px; border:1px solid var(--border); }
.wt figcaption{ margin-top:12px; font-size:14px; color:var(--text-faint); text-align:center; text-wrap:pretty; }
@media (max-width:860px){ .wt, .wt--phone{ grid-template-columns:1fr; gap:26px; } .wt--phone figure{ max-width:300px; margin:0 auto; } }

/* 03: resultados, alineados con los problemas */
.outs{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:30px 0 0; padding:0; list-style:none; }
.outs li{ border-top:2px solid var(--result); padding:18px 0 0; }
.outs .k{ font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-faint); font-weight:600; }
.outs b{ display:block; font-family:var(--display); font-size:clamp(24px,2.4vw,30px); line-height:1.15; color:var(--result); margin:8px 0 8px; letter-spacing:-.01em; }
.outs p{ font-size:15px; line-height:1.6; margin:0; }
@media (max-width:860px){ .outs{ grid-template-columns:1fr; } }
.ssec .after{ margin-top:34px; }

/* lo que dijo el equipo */
.voices{ display:flex; flex-wrap:wrap; gap:12px; margin:26px 0 0; padding:0; list-style:none; }
.voices li{ background:var(--fucsia-soft); border-radius:18px 18px 18px 4px; padding:12px 16px; font-size:15px; line-height:1.45; color:var(--text); max-width:360px; }
.voices + .src{ font-size:13.5px; color:var(--text-faint); margin-top:10px; }

/* caso largo */
.full{ margin-top:72px; }
.full a{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; text-decoration:none; color:var(--text); background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:28px 32px; transition:border-color .2s ease; }
.full a:hover{ border-color:var(--fucsia); }
.full .e{ font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--fucsia-strong); font-weight:600; }
.full .t{ display:block; font-family:var(--display); font-size:clamp(22px,2.4vw,28px); font-weight:600; margin:6px 0 6px; }
.full .s{ display:block; font-size:15.5px; line-height:1.55; color:var(--text-muted); max-width:62ch; }
.full svg{ width:28px; height:28px; color:var(--fucsia-strong); transition:transform .3s ease; }
.full a:hover svg{ transform:translateX(6px); }
@media (max-width:600px){ .full a{ grid-template-columns:1fr; padding:22px; } }

/* cierre: firma, caso siguiente y pie (copiado de los casos largos) */
.iam{ padding:64px 0 0; }
.iam .in{ display:flex; align-items:center; gap:22px; max-width:calc(var(--tw) + 56px); box-sizing:border-box; }
.iam img{ width:72px; height:72px; border-radius:50%; object-fit:cover; flex:none; }
.iam p{ margin:0; font-size:16px; line-height:1.65; color:var(--text-muted); }
.iam p strong{ color:var(--text); font-weight:600; }
.iam p a{ color:var(--fucsia-strong); white-space:nowrap; }
@media (max-width:600px){ .iam .in{ align-items:flex-start; } .iam img{ width:56px; height:56px; } }
.next{ padding:56px 0 0; }
.next a{ display:grid; grid-template-columns:1fr minmax(0,300px); gap:40px; align-items:center; text-decoration:none; color:var(--text);
         border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:30px 0; }
.next .e{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); }
.next .t{ display:flex; align-items:center; gap:14px; font-family:var(--display); font-weight:600; font-size:clamp(30px,3.6vw,46px); line-height:1; margin:12px 0 12px; letter-spacing:-.02em; }
.next .t svg{ width:.55em; height:.55em; color:var(--fucsia-strong); transform:translateY(.05em); transition:transform .35s ease; }
.next a:hover .t svg{ transform:translate(12px,.05em); }
.next .s{ font-size:16px; line-height:1.55; color:var(--text-muted); max-width:44ch; }
.next a{ grid-template-columns:1fr minmax(0,420px); }
.next .v{ position:relative; border-radius:16px; overflow:hidden; aspect-ratio:3/2; background:var(--surface); }
.next .v img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:760px){ .next a{ grid-template-columns:1fr; } .next .v{ max-width:460px; } }
@media (max-width:760px){ .next a{ grid-template-columns:1fr; gap:26px; } }

.bye{ margin-top:100px; background:var(--text); color:#161616; border-radius:28px 28px 0 0; padding:34px 0 22px; overflow:hidden; border-top:0; }
.bye .row{ display:flex; justify-content:space-between; align-items:center; gap:14px 40px; flex-wrap:wrap; }
.bye .mail{ font-family:var(--display); font-weight:600; font-size:17px; color:#161616; text-decoration:none; border-bottom:2px solid var(--fucsia); padding-bottom:1px; transition:color .2s, border-color .2s; }
.bye .mail:hover{ color:#b85a94; border-color:#b85a94; }
.bye .links{ display:flex; gap:24px; flex-wrap:wrap; font-size:15px; }
.bye .links a{ color:#161616; font-weight:600; text-decoration:none; } .bye .links a:hover{ text-decoration:underline; }
.bye .foot{ display:flex; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin-top:22px; padding-top:16px; border-top:1px solid rgba(22,22,22,.18); font-size:13.5px; color:rgba(22,22,22,.8); }
.bye .foot a{ color:#161616; font-weight:600; }
.bye .foot a.pl{ color:#b85a94; } .bye .foot a.pl:hover{ text-decoration:underline; }
.bye .foot .heart{ width:13px; height:13px; vertical-align:-1px; color:#b85a94; }
@media (max-width:760px){ .bye{ border-radius:24px 24px 0 0; padding-top:28px; } }

/* firma: quien soy */
.iam .in{ background:var(--fucsia-soft); border:1px solid rgba(217,124,181,.35); border-radius:20px; padding:22px 28px; }
.jw{ max-width:var(--W); margin:0 auto; padding:0 28px; box-sizing:border-box; }
@media (max-width:600px){ .jw{ padding:0 16px; } }

/* lo que se sumo despues (Bicho): partes de la operacion */
.ops{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:30px 0 0; padding:0; list-style:none; }
.ops li{ background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:16px 18px; }
.ops b{ display:block; font-family:var(--display); font-size:17px; color:var(--text); margin-bottom:4px; }
.ops span{ display:block; font-size:14.5px; line-height:1.5; color:var(--text-muted); }
@media (max-width:960px){ .ops{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px){ .ops{ grid-template-columns:1fr; } }
.wt--text{ grid-template-columns:minmax(0,var(--tw)); }
