/* Páginas de servicio con la plantilla de las landings: ajustes propios */
.sl .sc4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:900px){.sl .sc4 .case{flex:0 0 min(70%,300px)}}
.sl .sc4 .case{grid-column:auto}
.sl .sc4 .case .ph{height:auto;aspect-ratio:9/16;background:var(--crema);border:0}
.sl .sc4 .case .ph video{width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.sl .steps.s3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:820px){.sl .steps.s3{grid-template-columns:1fr}}
.sl .sec-h{display:block}
.sl .sec-h .eyebrow{margin:0 0 14px}
.sl h2 em,.sl h2 span{white-space:normal}
.sl h2{text-wrap:balance}
.sl .strip{padding-block:0 var(--S)!important}

/* alineado como en las landings: la cabecera de "Lo que hacemos" a la derecha */
@media(min-width:901px){.sl #incluye .sec-h{text-align:right}}
.sl .sec-h .lead{max-width:56ch;text-wrap:balance}
.sl #incluye .sec-h{margin-bottom:clamp(40px,4vw,56px)}

/* Manuales de marca */
.sl .mans{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--g)}
.sl .mn{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:14px;width:100%;cursor:pointer;color:inherit}
.sl .mn:focus-visible{outline:2px solid var(--celeste-d,#4F8794);outline-offset:6px;border-radius:var(--r)}
.sl .mn-ph{display:block;border-radius:var(--r);overflow:hidden;aspect-ratio:4/5;background:var(--crema);transition:transform .4s var(--ease)}
.sl .mn:hover .mn-ph{transform:translateY(-4px)}
.sl .mn-ph img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.sl .mn-cap{display:flex;flex-direction:column;gap:2px}
.sl .mn-cap b{font-weight:400;font-size:clamp(20px,1.7vw,24px);font-family:var(--sans)}
.sl .mn-cap small{font-size:14px;color:var(--ink-2)}
.sl .mn .go{font-size:12px;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid currentColor;padding-bottom:2px;align-self:flex-start}
@media(max-width:900px){.sl .mans{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--M)*-1);padding-inline:var(--M);padding-bottom:8px;scrollbar-width:none}.sl .mans::-webkit-scrollbar{display:none}.sl .mans li{flex:0 0 min(70%,300px);scroll-snap-align:start}}
dialog.mm{border:0;padding:0;background:transparent;max-width:min(920px,94vw);width:100%;max-height:94vh;overflow:visible}
dialog.mm::backdrop{background:rgba(28,27,23,.72)}
.mm-in{background:var(--paper,#fdfdfd);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;max-height:92vh}
.mm-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px 14px 24px;border-bottom:1px solid rgba(69,69,53,.15)}
.mm-bar h3{margin:0;font-size:16px;font-weight:400}
.mm-x{all:unset;box-sizing:border-box;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;cursor:pointer;border:1px solid rgba(69,69,53,.25)}
.mm-x:hover{background:var(--crema)}.mm-x:focus-visible{outline:2px solid var(--celeste-d,#4F8794);outline-offset:2px}
.mm-scroll{overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.mm-scroll img{display:block;width:100%;height:auto}
.sl #proceso h2 em{white-space:nowrap;display:inline-block}
.sl #proceso .sec-h h2{white-space:normal;font-size:clamp(30px,3.7vw,52px)}
.sl .sc4,.sl .mans{scroll-padding-inline:var(--M)}

/* Cabecera como en las landings: título grande a la izquierda, texto y botones a la derecha, vídeos debajo */
@media(max-width:820px){.sl .hero.ha h1 em{padding-bottom:.08em}}

/* "Lo que hacemos": mismo bento que la landing de diseño web */
.sl .sbento{grid-auto-rows:clamp(210px,17.5vw,252px)}
.sl .sbento .bt1{grid-column:1/6;grid-row:1}
.sl .sbento .bt2{grid-column:6/9;grid-row:1}
.sl .sbento .bt3{grid-column:1/9;grid-row:2;background:var(--celeste);border-color:var(--celeste)}
.sl .sbento .bt3 p{color:var(--ink)}
.sl .sbento .btp{grid-column:9/13;grid-row:1/3;padding:0;border:0;background:#fff;border:1px solid rgba(69,69,53,.16);display:flex;flex-direction:column;justify-content:flex-start;gap:0}
.sl .btp .pair{display:grid;grid-template-columns:1.45fr 1fr;gap:6px;flex:0 0 38%;min-height:0}
.sl .btp .pair img{width:100%;height:100%;object-fit:cover;display:block}
.sl .btp .pair img:first-child{object-position:50% 50%}
.sl .btp .cc{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:clamp(14px,1.6vw,22px) clamp(18px,2vw,30px) clamp(18px,2vw,26px)}
.sl .btp .cc h3{font-size:clamp(24px,2.3vw,32px);line-height:1.08}
.sl .btp .cc h3 em{font-family:var(--sans);font-style:normal;font-weight:600;color:var(--celeste-d)}
.sl .btp .cc p{font-size:13.5px;line-height:1.45;color:var(--ink);max-width:34ch;margin:0}
.sl .btp .acts{display:flex;flex-direction:column;gap:8px;width:100%;max-width:300px;margin-top:6px}
.sl .btp .acts .btn{width:100%;justify-content:center}
@media(max-width:900px){.sl .sbento{grid-auto-rows:auto}.sl .sbento .bt1,.sl .sbento .bt2,.sl .sbento .bt3,.sl .sbento .btp{grid-column:1/-1;grid-row:auto}.sl .sbento .bt{min-height:170px}.sl .sbento .btp{aspect-ratio:auto!important;height:auto;overflow:hidden}.sl .btp .pair{flex:none;height:min(52vw,260px);border-radius:var(--r) var(--r) 0 0;overflow:hidden}.sl .btp .cc{padding-block:24px 28px}}

/* Hero: texto a la izquierda y dos vídeos de MISC. a la derecha */
.sl .sl-duo{display:flex;gap:clamp(12px,1.4vw,20px);align-items:flex-end;justify-content:flex-end;min-width:0}
.sl .sl-v{display:block;flex:0 0 auto;height:clamp(250px,27.5vw,396px);border-radius:var(--r);overflow:hidden;background:var(--crema);flex:0 1 auto;min-width:0}
.sl .sl-v.v2{height:clamp(300px,31vw,446px)}
.sl .sl-v video{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}

@media(max-width:820px){.sl .sl-duo{justify-content:flex-start}.sl .sl-v{height:clamp(220px,52vw,300px)}.sl .sl-v.v2{height:clamp(250px,62vw,340px)}}

/* Título del hero: más aire entre líneas para que "identidad" no choque con "Branding" */
.sl .hero h1{line-height:1.1}
.sl .hero h1 em{display:inline-block;padding-top:.04em;line-height:1.1}
/* Vídeos del hero más abajo, cerca de "Lo que hacemos" */
.sl .hero-row{align-items:end}
.sl .hero-text{align-self:center}
.sl .sl-duo{align-self:end;margin-bottom:calc(-1 * clamp(90px,11vw,160px))}
@media(min-width:821px){.sl .hero-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}

/* Escritorio: el reel sube y queda alineado con el título; el vídeo del proceso se mantiene abajo */
@media(min-width:821px){.sl .sl-duo{align-self:stretch}.sl .sl-v.v2{align-self:flex-start}}

/* Vídeo 3:4 dentro de tarjeta 9:16: entero, sobre su propia imagen desenfocada */
.sl .sc4 .case .ph.ph-blur{position:relative}
.sl .sc4 .case .ph.ph-blur::before{content:"";position:absolute;inset:-20px;background:var(--bg) center/cover;filter:blur(22px) brightness(.9)}
.sl .sc4 .case .ph.ph-blur video{position:relative;object-fit:contain;width:100%!important;height:100%!important;aspect-ratio:auto!important}
@media(min-width:901px){.sl #manuales .sec-h{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);column-gap:clamp(32px,5vw,80px);align-items:end;max-width:none}.sl #manuales .sec-h .lead{margin:0;justify-self:end;max-width:42ch;text-wrap:pretty}}
.sl .sc4 .case .ph.ph-blur img{position:relative;object-fit:contain;width:100%;height:100%}
@media(min-width:901px){.sl #espacios .sec-h{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);column-gap:clamp(32px,5vw,80px);align-items:end;max-width:none}.sl #espacios .sec-h .lead{margin:0;justify-self:end;max-width:42ch;text-wrap:pretty}}
.sl #espacios .sec-h .lead a{text-decoration:underline;text-underline-offset:3px}
.sl.pg-produccion .sc4 .case .ph{aspect-ratio:3/4}
@media(min-width:901px){.sl.pg-produccion .sc4{grid-template-columns:repeat(5,minmax(0,1fr))}.sl.pg-produccion .sc4 .case.wide{grid-column:span 2}.sl.pg-produccion .sc4 .case.wide .ph{aspect-ratio:1.55/1;height:auto}}
@media(max-width:900px){.sl.pg-produccion .sc4 .case.wide{flex:0 0 min(92%,520px)}.sl.pg-produccion .sc4 .case.wide .ph{aspect-ratio:3/2}}
.sl .sc4 .case .ph.slides{position:relative;overflow:hidden;background:var(--crema)}
.sl .sc4 .case .ph.slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:slfade calc(var(--n)*4.5s) infinite;animation-delay:calc(var(--k)*4.5s)}
@keyframes slfade{0%{opacity:0}4%{opacity:1}25%{opacity:1}29%{opacity:0}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.sl .sc4 .case .ph.slides img{animation:none}.sl .sc4 .case .ph.slides img:first-child{opacity:1}}
.sl.pg-produccion .sl-v{flex:0 0 auto;min-width:auto}
.sl.pg-produccion .sl-v.v1{height:clamp(140px,14vw,200px)}
.sl.pg-produccion .sl-v.v2{height:clamp(300px,29vw,420px)}
@media(max-width:820px){.sl.pg-produccion .sl-v.v1{height:clamp(100px,28vw,150px)}.sl.pg-produccion .sl-v.v2{height:clamp(230px,62vw,340px)}}
.sl .sc4 .case .ph.slides .sl-s{position:absolute;inset:0;opacity:0;animation:slfade calc(var(--n)*4s) infinite;animation-delay:calc(var(--k)*4s)}
.sl .sc4 .case .ph.slides .sl-s::before{content:"";position:absolute;inset:-20px;background:var(--bg) center/cover;filter:blur(22px) brightness(.9)}
.sl .sc4 .case .ph.slides .sl-s img{position:relative;width:100%;height:100%;object-fit:contain;animation:none;opacity:1}
@media(prefers-reduced-motion:reduce){.sl .sc4 .case .ph.slides .sl-s{animation:none}.sl .sc4 .case .ph.slides .sl-s:first-child{opacity:1}}
@keyframes slfade6{0%{opacity:0}3%{opacity:1}16%{opacity:1}20%{opacity:0}100%{opacity:0}}
.sl .sc4 .case .ph.slides.cont .sl-s{animation-name:slfade6}
.sl.pg-produccion .sl-v.v1,.sl.pg-produccion .sl-v.v2{height:clamp(300px,29vw,420px)}
.sl.pg-produccion .sl-duo{align-items:flex-start;margin-bottom:0;align-self:center}
@media(max-width:820px){.sl.pg-produccion .sl-v.v1,.sl.pg-produccion .sl-v.v2{height:clamp(230px,62vw,340px)}.sl.pg-produccion .sl-duo{align-self:auto}}
.sl.pg-produccion .hero h1 span{white-space:nowrap}
.sl.pg-produccion .hero h1{font-size:clamp(26px,7.4vw,40px)}
@media(min-width:821px){.sl.pg-produccion .hero h1{font-size:clamp(34px,3.5vw,50px)}}
.sl .sc4 .case .ph.slides.cont .sl-s::before{display:none}
.sl .sc4 .case .ph.slides.cont .sl-s img{object-fit:cover}
/* Renders de interiores */
.sl .sl-v img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}
.sl.pg-renders .sl-v{flex:0 0 auto;min-width:auto}
.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{height:clamp(150px,15.5vw,230px)}
.sl.pg-renders .sl-duo{align-items:flex-start;margin-bottom:0;align-self:center}
@media(max-width:820px){.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{height:clamp(110px,32vw,200px)}.sl.pg-renders .sl-duo{align-self:auto}}
.sl.pg-renders .hero h1 span{white-space:nowrap}
.sl.pg-renders .hero h1{font-size:clamp(26px,7.4vw,40px)}
@media(min-width:821px){.sl.pg-renders .hero h1{font-size:clamp(34px,3.5vw,50px)}}
.sl-price{display:flex;flex-direction:column;gap:2px;margin:0 0 24px;padding-left:14px;border-left:2px solid var(--celeste)}
.sl-price strong{font-weight:500;color:var(--ink)}.sl-price span{font-size:14px;color:var(--ink);opacity:.75}
.sl-case{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center}
.sl-case .ph.slides{position:relative;overflow:hidden;border-radius:var(--r);aspect-ratio:4/3;background:var(--crema)}
.sl-case .ph.slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;animation:slfade5 calc(var(--n)*4s) infinite;animation-delay:calc(var(--k)*4s)}
.sl-case .ph.slides img:first-child{opacity:1}
@keyframes slfade5{0%{opacity:0}3%{opacity:1}20%{opacity:1}24%{opacity:0}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.sl-case .ph.slides img{animation:none}}
.sl-case-t p{margin:0 0 20px;max-width:42ch;text-wrap:pretty}
.sl-case-t a,.sl-related a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:820px){.sl-case{grid-template-columns:1fr}}
.sl-related{display:flex;flex-wrap:wrap;gap:12px 28px;padding:0 0 clamp(32px,5vw,64px)}
.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{height:clamp(150px,16.5vw,240px)}
@media(max-width:820px){.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{height:clamp(110px,32vw,200px)}}
.sl-case{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
@media(max-width:820px){.sl-case{grid-template-columns:1fr}}
@media(min-width:981px){.sl.pg-renders .fq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sl-price{margin-top:16px}
@media(min-width:821px){.sl.pg-renders .sl-duo{flex-direction:column;align-items:flex-end;justify-content:center;gap:clamp(12px,1.4vw,20px)}.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{height:auto;width:clamp(260px,24vw,340px)}}
@media(min-width:821px){.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{align-self:flex-end}}
@media(min-width:821px){.sl.pg-renders .sl-v.v1,.sl.pg-renders .sl-v.v2{width:clamp(300px,29vw,420px)}}
/* Google Ads */
.sl.pg-ads .hero h1 span{white-space:nowrap}
.sl.pg-ads .hero h1{font-size:clamp(26px,7.4vw,40px)}
@media(min-width:821px){.sl.pg-ads .hero h1{font-size:clamp(34px,3.5vw,50px)}}
.sl-price strong{font-size:1.15em}
.ads-flow{align-self:center;min-width:0}
.ads-flow h2{margin:0 0 18px;font-family:var(--sans);font-weight:400;font-size:clamp(16px,1.4vw,19px);color:var(--ink)}
.ads-flow ol{list-style:none;margin:0;padding:0;display:grid;gap:12px;counter-reset:f}
.ads-flow li{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px;align-items:center;padding:16px 20px;border:1px solid rgba(46,46,38,.12);border-radius:22px;background:#fff;counter-increment:f}
.ads-flow li::before{content:counter(f);grid-row:1/3;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(126,176,187,.18);color:var(--celeste-d);font-family:var(--serif);font-style:italic;font-size:22px}
.ads-flow li strong{font-weight:500;color:var(--ink)}
.ads-flow li span{font-size:14px;color:var(--ink);opacity:.75}
.ads-flow li:last-child{background:var(--ink)}
.ads-flow li:last-child strong{color:#fff}.ads-flow li:last-child span{color:#fff;opacity:.8}
.ads-flow li:last-child::before{background:var(--celeste);color:#fff}
.ads-flow li:not(:last-child)::after{content:"";position:absolute;left:41px;bottom:-12px;width:1px;height:12px;background:rgba(46,46,38,.25)}
@media(min-width:901px){.sl.pg-ads .sbento .bt1{grid-column:1/5}.sl.pg-ads .sbento .bt2{grid-column:5/9}.sl.pg-ads #incluye .sec-h h2{font-size:clamp(28px,3.1vw,44px)}}
/* Google Ads: las tarjetas numeradas del hero aparecen una a una (misma mecánica que los iconos de las landings) */
.ads-flow ol.pre li{opacity:0;transform:translateY(14px)}
.ads-flow ol.pre.on li{opacity:1;transform:none;transition:opacity .45s cubic-bezier(.16,1,.3,1),transform .5s cubic-bezier(.16,1,.3,1);transition-delay:calc(var(--i)*260ms)}
@media(prefers-reduced-motion:reduce){.ads-flow ol.pre li{transform:none}.ads-flow ol.pre.on li{transition:opacity .3s ease-out!important;transition-delay:calc(var(--i)*260ms)!important}}
.sl.pg-ads .btp .pair{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);overflow:hidden}
.sl.pg-ads .btp .pair img{min-height:0;object-position:50% 0}
.sl.pg-ads .btp .pair img:first-child{object-position:50% 0}
/* Mantenimiento web */
@media(min-width:901px){.sl.pg-mant .sbento .bt1{grid-column:1/5}.sl.pg-mant .sbento .bt2{grid-column:5/9}.sl.pg-mant #incluye .sec-h h2{font-size:clamp(28px,3.1vw,44px)}}
.sl.pg-mant .hero h1{font-size:clamp(26px,7.4vw,40px)}.sl.pg-mant .hero h1 span{white-space:nowrap}
@media(min-width:821px){.sl.pg-mant .hero h1{font-size:clamp(34px,3.5vw,50px)}}
.sl.pg-mant .btp .pair{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr);overflow:hidden}
.sl.pg-mant .btp .pair img{min-height:0;object-position:50% 0}
.sl-case .ph.vid{position:relative;overflow:hidden;border-radius:var(--r);aspect-ratio:960/666;background:var(--crema)}
.sl-case .ph.vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.sl.pg-mant .sl-v.v1,.sl.pg-mant .sl-v.v2{height:clamp(150px,16.5vw,240px)}
@media(max-width:820px){.sl.pg-mant .sl-v.v1,.sl.pg-mant .sl-v.v2{height:clamp(110px,32vw,200px)}}
.sl-case{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
@media(max-width:820px){.sl-case{grid-template-columns:1fr}}
@media(min-width:981px){.sl.pg-mant .fq-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sl-price{margin-top:16px}
@media(min-width:821px){.sl.pg-mant .sl-duo{flex-direction:column;align-items:flex-end;justify-content:center;gap:clamp(12px,1.4vw,20px)}.sl.pg-mant .sl-v.v1,.sl.pg-mant .sl-v.v2{height:auto;width:clamp(260px,24vw,340px)}}
@media(min-width:821px){.sl.pg-mant .sl-v.v1,.sl.pg-mant .sl-v.v2{align-self:flex-end}}
@media(min-width:821px){.sl.pg-mant .sl-v.v1,.sl.pg-mant .sl-v.v2{width:clamp(300px,29vw,420px)}}
@media(max-width:560px){.sl.pg-ads .btp .pair,.sl.pg-mant .btp .pair{height:44vw}}
/* Mantenimiento: hero con una sola imagen grande, título en una línea, vídeos del portfolio sobre gris claro */
.sl.pg-mant .hero h1{font-size:clamp(26px,7.4vw,40px)}
@media(min-width:821px){.sl.pg-mant .hero h1{font-size:clamp(32px,3.3vw,48px)}.sl.pg-mant .sl-duo{align-self:center}.sl.pg-mant .sl-v.v1{width:clamp(340px,37vw,520px)}}
.sl.pg-mant .sl-case .ph.vid{background:#f5f5f2}
.sl.pg-mant .sl-case .ph.vid video{object-fit:cover;mix-blend-mode:multiply}
.sl-case.rev{margin-top:0}.sl-case2-h{margin-top:clamp(48px,6vw,88px)}
@media(min-width:821px){.sl-case.rev{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}.sl-case.rev .ph{order:2}.sl-case.rev .sl-case-t{order:1}}
@media(max-width:820px){.sl.pg-mant .sl-duo{width:100%}.sl.pg-mant .sl-v.v1{width:100%;height:auto}}
/* Mantenimiento: una sola imagen en el cuadro de contacto y casos reales lado a lado */
.sl.pg-mant .btp .pair.one{display:block;flex:0 0 38%}
.sl.pg-mant .btp .pair.one img{object-position:50% 50%}
@media(max-width:560px){.sl.pg-mant .btp .pair.one{height:50vw}}
.sl-sites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
.sl-site{background:#fff;border:1px solid rgba(69,69,53,.16);border-radius:var(--r);padding:clamp(12px,1.4vw,18px);display:flex;flex-direction:column}
.sl-site .ph{display:block;border-radius:calc(var(--r) - 8px);overflow:hidden;aspect-ratio:900/563;background:#f5f5f2;border:1px solid rgba(69,69,53,.1)}
.sl-site .ph img{width:100%;height:100%;object-fit:cover;display:block}
.sl-site h3{margin:20px 6px 8px;font-size:clamp(22px,2vw,28px)}
.sl-site p{margin:0 6px 16px;max-width:46ch;text-wrap:pretty}
.sl-site .lnk{margin:auto 6px 6px;align-self:flex-start;text-decoration:underline;text-underline-offset:3px}
.sl-site .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:820px){.sl-sites{grid-template-columns:1fr}}

/* ===== Igualar las páginas de servicio a las landings aprobadas (medidas de diseño web / SEO / tiendas) ===== */
body.sl[class*="pg-"] .hero{padding-block:clamp(44px,5.2vw,67px) clamp(56px,6vw,77px)}
body.sl[class*="pg-"] .hero h1{font-size:clamp(38px,4.3vw,64px);line-height:1.1}
body.sl[class*="pg-"] .hero h1 span{white-space:normal}
body.sl[class*="pg-"] .hero .lead{font-size:clamp(16px,1.25vw,19px);line-height:1.63;max-width:34ch;margin-bottom:0}
body.sl[class*="pg-"] #incluye .sec-h h2{font-size:clamp(34px,3.6vw,46px)}
body.sl[class*="pg-"] .sl-duo{margin-bottom:0}
/* sección previa a la tira "Hecho por Killa": mismo respiro que en las landings */
body.sl[class*="pg-"] main > section:has(+ .strip){padding-bottom:clamp(96px,10vw,128px)}
body.sl[class*="pg-"] main > .strip{padding-bottom:0}
/* bloque final de enlaces relacionados: más compacto */
body.sl[class*="pg-"] #relacionado{padding-top:0;padding-bottom:clamp(40px,5vw,64px)}
/* Mantenimiento: título en una línea y tarjetas con la misma escala que el resto */
body.sl.pg-mant .hero h1 span{white-space:nowrap}
body.sl.pg-mant .hero h1{font-size:clamp(28px,8.4vw,38px)}
@media(min-width:821px){body.sl.pg-mant .hero h1{font-size:clamp(34px,3.9vw,56px)}}
.sl-site h3{font-size:clamp(19px,1.7vw,21.8px);margin:20px 6px 8px}
.sl-site p{font-size:14.5px;line-height:1.65}

/* Hero a pantalla completa: no se asoma la siguiente sección y la imagen pesa lo mismo que el título */
@media(min-width:821px){
 body.sl[class*="pg-"] .hero{min-height:calc(100svh - 86px);display:flex;flex-direction:column;justify-content:center}
 body.sl[class*="pg-"] .hero-row{align-items:center}
 body.sl.pg-renders .sl-duo{align-items:center;justify-content:flex-end}
 body.sl.pg-renders .sl-v.v1{width:100%;max-width:none;height:auto;aspect-ratio:4/3;align-self:center}
 body.sl.pg-renders .hero-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
}
@media(min-width:821px) and (min-height:700px){
 body.sl[class*="pg-"] .sl-v.v1{height:clamp(300px,52vh,560px)}
 body.sl[class*="pg-"] .sl-v.v2{height:clamp(340px,60vh,640px)}
 body.sl.pg-renders .sl-v.v1{height:auto}
}

/* Vídeos del hero (Branding y Producción): proporción real, sin recortes ni deformación */
body.sl.pg-branding .sl-duo,body.sl.pg-produccion .sl-duo{align-items:center;justify-content:flex-end;flex-wrap:nowrap}
body.sl.pg-branding .sl-v,body.sl.pg-produccion .sl-v{flex:none;min-width:0;width:auto;max-width:100%}
body.sl.pg-branding .sl-v video,body.sl.pg-produccion .sl-v video{width:100%;height:100%;object-fit:contain}
@media(min-width:821px){
 body.sl.pg-branding .sl-v.v1{height:min(50vh,26vw)}
 body.sl.pg-branding .sl-v.v2{height:min(56vh,29vw)}
 body.sl.pg-produccion .sl-v.v1,body.sl.pg-produccion .sl-v.v2{height:min(46vh,24vw)}
}
@media(max-width:820px){
 body.sl.pg-branding .sl-duo,body.sl.pg-produccion .sl-duo{justify-content:center;align-items:flex-end}
 body.sl.pg-branding .sl-v.v1{height:52vw}
 body.sl.pg-branding .sl-v.v2{height:57vw}
 body.sl.pg-produccion .sl-v.v1,body.sl.pg-produccion .sl-v.v2{height:58vw}
}

/* Branding: un solo vídeo en el hero, más grande */
body.sl.pg-branding .sl-duo{justify-content:flex-end}
@media(min-width:821px){body.sl.pg-branding .sl-v.v1{height:min(60vh,34vw)}}
@media(max-width:820px){body.sl.pg-branding .sl-duo{justify-content:center}body.sl.pg-branding .sl-v.v1{height:min(84vw,420px)}}

/* Renders: en tablet y móvil la imagen interior usa todo el ancho útil */
@media(max-width:820px){body.sl.pg-renders .sl-duo{width:100%;justify-content:flex-start}body.sl.pg-renders .sl-v.v1{width:100%;max-width:560px;height:auto;aspect-ratio:4/3}}
