/* ==========================================================================
   producto.css — Ficha de producto (plantilla única de Figma)
   ========================================================================== */

/* ---- hero ---- */
.p-hero{padding:calc(var(--hdr-h) + 20px) 0 0}
.p-hero .container{display:flex;flex-direction:column;gap:24px}
.p-hero__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:end}
.p-hero__tx{display:flex;flex-direction:column;gap:18px}
.p-hero__h1{font-size:clamp(42px,11.5vw,56px);line-height:.98;letter-spacing:-.03em}
.p-hero__lead{font-size:17px;line-height:1.45;color:var(--ink-2);max-width:620px}
.p-hero__act{display:flex;flex-direction:column;gap:12px}
.p-hero__act .btn{width:100%}
.p-hero__note{font-size:11.5px;line-height:1.6;color:var(--ink-4);padding-top:4px}
.p-hero__media{position:relative;height:clamp(260px,72vw,420px);border-radius:var(--r-lg);border:1px solid var(--line)}
.p-hero__media img{width:100%;height:100%;object-fit:cover}
.p-hero__media.tile img.render{object-fit:cover;object-position:50% 58%;mix-blend-mode:multiply}
.p-hero__media{overflow:hidden}
.p-hero__media>.chip{position:absolute;left:16px;top:16px;z-index:2}
.p-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.p-stat{display:flex;flex-direction:column;gap:6px;padding:16px 0 18px;border-top:1px solid var(--line)}
.p-stat .mono{font-size:10.5px;letter-spacing:.12em;color:var(--ink-4)}
.p-stat b{font-family:var(--f-disp);font-weight:600;font-size:21px;line-height:1.05;letter-spacing:-.03em;color:var(--navy)}
.p-stat small{font-size:13px;color:var(--ink-3);line-height:1.35}
@media (min-width:768px){
  .p-hero .container{gap:32px}
  .p-hero__h1{font-size:72px}.p-hero__lead{font-size:19px}
  .p-hero__act{flex-direction:row;flex-wrap:wrap;align-items:center}.p-hero__act .btn{width:auto}.p-hero__note{flex-basis:100%}
  .p-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px}.p-stat b{font-size:24px}
}
@media (min-width:1024px){
  .p-hero{padding-top:calc(var(--hdr-h) + 40px)}
  .p-hero .container{gap:40px}
  .p-hero__grid{grid-template-columns:minmax(0,845fr) minmax(0,411fr);gap:24px}
  .p-hero__act{flex-direction:column;align-items:stretch;flex-wrap:nowrap}.p-hero__act .btn{width:100%}
  .p-hero__h1{font-size:80px}.p-hero__lead{font-size:20px}
  .p-hero__media{height:clamp(440px,39vw,562px)}
  .p-hero__media>.chip{left:22px;top:22px}
  .p-stat b{font-size:28px}
}
@media (min-width:1280px){.p-hero__h1{font-size:88px}.p-hero__lead{font-size:22px;line-height:1.4}.p-stat b{font-size:34px}}

/* vista 360° (CX 104) */
.spin{cursor:grab;touch-action:pan-y;user-select:none}
.spin.is-drag{cursor:grabbing}
.spin img{object-fit:cover;pointer-events:none}
.spin__btns{position:absolute;right:16px;bottom:16px;z-index:2;display:flex;gap:8px}
.spin__cnt{position:absolute;left:16px;bottom:20px;z-index:2;font-size:12px;color:var(--ink-2);background:rgba(255,255,255,.8);padding:6px 10px;border-radius:8px;backdrop-filter:blur(6px)}
.spin::after{content:'';position:absolute;left:50%;bottom:24px;width:120px;height:3px;margin-left:-60px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(0,62,110,.35),transparent);opacity:0;transition:opacity .4s}
.spin.is-drag::after{opacity:1}

/* anchos (Labelmaster) */
.widths{display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:var(--r);background:var(--bg-2);border:1px solid var(--line)}
.widths .mono{font-size:11px;letter-spacing:.14em;color:var(--ink-4)}
.widths__d{font-size:15px;color:var(--ink-2)}
@media (min-width:768px){.widths{flex-direction:row;align-items:center;gap:24px}.widths__d{margin-left:8px}}

/* ---- recorrido (scrollytelling) ---- */
.rec__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
.rec__side{display:flex;flex-direction:column;gap:22px}
.rec__list{display:flex;flex-direction:column}
.rec__step{border-top:1px solid var(--line)}
.rec__step:last-child{border-bottom:1px solid var(--line)}
.rec__btn{width:100%;display:grid;grid-template-columns:48px 1fr;gap:0;align-items:baseline;text-align:left;padding:20px 0 12px}
.rec__btn .n{font-family:var(--f-mono);font-size:12px;color:var(--navy)}
.rec__t{font-weight:600;font-size:18px;line-height:1.35;color:var(--ink)}
.rec__d{padding:0 0 20px 48px}
.rec__d p{font-size:15px;line-height:1.55;color:var(--ink-3)}
.rec__simg{margin-top:14px;height:200px;border-radius:16px}
.rec__media{display:none}
.rec__prog{display:none;align-items:center;gap:12px}
.rec__prog i{position:relative;flex:1;height:3px;border-radius:999px;background:var(--line);overflow:hidden}
.rec__prog b{position:absolute;inset:0;background:var(--navy);transform-origin:0 50%;transform:scaleX(.333);transition:transform .6s var(--expo)}
.rec__prog .mono{font-size:12px;color:var(--ink-4)}
@media (min-width:768px){.rec__simg{height:280px}}
@media (min-width:1024px){
  .rec__grid{grid-template-columns:minmax(0,411fr) minmax(0,845fr);gap:24px;align-items:start}
  .rec__side{position:sticky;top:calc(var(--hdr-h) + 88px);gap:32px}
  .rec__step{transition:opacity .45s var(--ease)}
  .rec__step:not(.on){opacity:.5}
  .rec__step:not(.on):hover{opacity:.8}
  .rec__btn{padding:21px 0 20px;cursor:pointer}
  .rec__step.on .rec__btn{padding-bottom:8px}
  .rec__d{display:grid;grid-template-rows:0fr;padding:0 0 0 48px;transition:grid-template-rows .55s var(--expo),padding .55s var(--expo)}
  .rec__d>*{overflow:hidden;min-height:0}
  .rec__step.on .rec__d{grid-template-rows:1fr;padding-bottom:20px}
  .rec__simg{display:none}
  .rec__prog{display:flex}
  .rec__media{display:grid;grid-template-columns:1fr 1fr;gap:24px}
  .gsap-on .rec__side{position:static}
  .gsap-on .rec__grid{align-items:center}
  .rec__main{position:relative;grid-column:1 / -1;height:min(clamp(380px,39vw,560px),calc(100vh - 360px));min-height:320px;border-radius:24px;overflow:hidden;background:var(--dark)}
  .rec__img{position:absolute;inset:0;opacity:0;clip-path:inset(0 0 0 100%);transition:opacity .2s linear .5s,clip-path .9s var(--expo)}
  .rec__img.on{opacity:1;clip-path:inset(0 0 0 0);transition:opacity 0s,clip-path .9s var(--expo);z-index:1}
  .rec__img img{width:100%;height:100%;object-fit:cover;transform:scale(1.08);transition:transform 1.6s var(--expo)}
  .rec__img.on img{transform:scale(1)}
  .rec__img figcaption{position:absolute;left:24px;top:24px;font-size:11px;letter-spacing:.12em;background:var(--navy);color:#fff;padding:8px 12px;border-radius:8px}
  .rec__thumbs{display:contents}
  .rec__th{height:min(200px,20vh);min-height:120px;border-radius:16px;overflow:hidden;opacity:.7;background:var(--dark);transition:opacity .35s,transform .35s var(--ease)}
  .rec__th img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
  .rec__th:hover{opacity:1}.rec__th:hover img{transform:scale(1.04)}
  .rec__th.on{display:none}
}

/* ---- destacados ---- */
.dcards{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.dcard{padding:26px 24px;min-height:180px;display:flex;flex-direction:column;gap:12px;transition:transform .35s var(--ease-out),border-color .35s,box-shadow .35s}
.dcard:hover{transform:translateY(-8px);border-color:var(--navy);box-shadow:var(--shadow-h)}
.dcard .n{font-size:12px;color:var(--navy)}
.dcard h3{font-weight:600;font-size:18px;line-height:1.35;margin-top:2px}
.dcard p{font-size:14px;line-height:1.55;color:var(--ink-3)}
.dimgs{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.dimg{height:240px;border-radius:var(--r)}
.dimg img{width:100%;height:100%;object-fit:cover}
@media (min-width:640px){.dcards{grid-template-columns:repeat(2,minmax(0,1fr))}.dimgs{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.dcards--3{grid-template-columns:repeat(3,minmax(0,1fr))}.dcards{gap:20px}.dcard{min-height:220px;padding:27px 25px}.dimg{height:300px}.dimgs{gap:20px}.dimgs--3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1280px){.dcards--4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- tarjeta de software ---- */
.swcard{position:relative;display:flex;align-items:flex-end;min-height:440px;padding:28px 24px;border-radius:var(--r);background:#0B1322;color:#fff;overflow:hidden;isolation:isolate;transition:transform .35s var(--ease-out),box-shadow .35s}
.swcard:hover{transform:translateY(-6px);box-shadow:0 24px 48px rgba(6,26,51,.25)}
.swcard__img{position:absolute;inset:0;z-index:-1}
.swcard__img img{width:100%;height:100%;object-fit:cover;opacity:.45}
.swcard__img::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0B1322 30%,rgba(11,19,34,.2))}
.swcard__tx{display:flex;flex-direction:column;gap:14px;max-width:564px}
.swcard__t{font-size:28px;line-height:1.05;letter-spacing:-.03em;color:#fff}
.swcard__d{font-size:15px;line-height:1.55;color:var(--sky-3)}
@media (min-width:1024px){
  .swcard{min-height:480px;align-items:center;padding:64px}
  .swcard__img{left:auto;width:58%}
  .swcard__img img{opacity:1}
  .swcard__img::after{background:linear-gradient(90deg,#0B1322 0%,rgba(11,19,34,0) 60%)}
  .swcard__t{font-size:40px}.swcard__d{font-size:16px}
}

/* ---- configuraciones (CX 104) ---- */
.cfg{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
.cfg__side{display:flex;flex-direction:column;gap:20px}
.cfg__chips{gap:8px}
.cfg__card{padding:24px 20px;display:flex;flex-direction:column;gap:24px}
.cfg__top{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px}
.cfg__top h3{font-size:24px;letter-spacing:-.03em}
.cfg__top .mono{font-size:12px;color:var(--ink-3)}
.cfg__units{display:flex;align-items:flex-end;gap:4px;padding-bottom:6px}
.cfg__u{flex:1 1 0;min-width:0;max-width:76px;display:flex;align-items:flex-end;justify-content:center;height:70px;overflow:hidden;padding-bottom:8px;border-radius:10px;background:#1B4F80;color:#fff;font-family:var(--f-mono);font-size:10.5px;letter-spacing:.06em;transform-origin:50% 100%;animation:unitIn .6s var(--expo) both;animation-delay:calc(var(--i) * 40ms)}
.cfg__u--end{flex:1.6 1 0;max-width:99px;height:56px;padding:0 4px 8px;background:#E6EEF6;color:var(--navy);font-size:9px}
.cfg__u--l{background:var(--navy)}
.cfg__u--d{background:repeating-linear-gradient(135deg,#E6EEF6 0 6px,#D5E2EF 6px 12px);color:var(--navy);height:60px}
.cfg__u--f{background:#C47A16}
.cfg__u--x{background:#2B6CA6}
@keyframes unitIn{from{opacity:0;transform:scaleY(.4)}to{opacity:1;transform:none}}
.cfg__bar{display:block;height:6px;border-radius:999px;background:linear-gradient(90deg,#E6EEF6,var(--navy),#E6EEF6);margin-top:-12px}
.cfg__info{display:grid;grid-template-columns:1fr;gap:16px;margin:0}
.cfg__info div{display:flex;flex-direction:column;gap:4px}
.cfg__info dt{font-size:11px;color:var(--ink-4)}
.cfg__info dd{margin:0;font-weight:600;font-size:16px}
.cfg__info a{color:var(--navy)}
@media (min-width:768px){.cfg__info{grid-template-columns:repeat(3,1fr)}.cfg__u{height:84px}.cfg__u--end{height:70px;font-size:10.5px}.cfg__u--d{height:72px}.cfg__card{padding:32px}.cfg__top h3{font-size:28px}}
@media (min-width:1024px){.cfg{grid-template-columns:minmax(0,411fr) minmax(0,845fr);gap:24px;align-items:start}}

/* ---- descargas + servicio ---- */
.dls{display:grid;grid-template-columns:minmax(0,1fr);gap:48px}
.dls__dl,.dls__sv{display:flex;flex-direction:column;gap:20px}
.dl-list{display:flex;flex-direction:column;margin-top:8px}
.dl-list a{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);transition:padding .35s var(--ease),background .35s}
.dl-list a:first-child{border-top:1px solid var(--line)}
.dl-list a:hover{padding-left:10px;padding-right:10px;background:#fff}
.dl-list b{display:block;font-weight:600;font-size:16px;line-height:1.35}
.dl-list small{display:block;font-size:13px;color:var(--ink-3);margin-top:4px}
.dl-list .mono{font-size:12px;color:var(--ink-4)}
.dl-list .ic{color:var(--navy)}.dl-list .ic svg{width:16px;height:16px}
.scards{display:flex;flex-direction:column;gap:12px}
.scard{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px}
.scard b{display:block;font-weight:600;font-size:17px}
.scard small{display:block;font-size:14px;color:var(--ink-3);margin-top:4px;line-height:1.45}
.scard .ar{font-size:20px;color:var(--navy);transition:transform .35s var(--ease)}
.scard:hover .ar{transform:translateX(4px)}
@media (min-width:1024px){.dls{grid-template-columns:minmax(0,628fr) minmax(0,519fr);gap:133px}.scard{padding:26px 28px}.scard b{font-size:18px}}

/* ---- relacionados ---- */
.rcards{margin-top:28px}
.rcard{width:min(300px,80vw);display:flex;flex-direction:column}
.rcard__ph{display:block;height:200px}
.rcard__tx{display:flex;flex-direction:column;gap:6px;padding:20px 22px 22px}
.rcard__tx b{font-size:20px;letter-spacing:-.02em;line-height:1.2}
.rcard__tx small{font-size:14px;color:var(--ink-3);line-height:1.45}
@media (min-width:768px){.rcard{width:340px}}
@media (min-width:1024px){
  .rcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:var(--maxw);margin-left:auto;margin-right:auto;padding:4px var(--gx) 0;overflow:visible;cursor:auto}
  .rcard{width:auto}.rcard__ph{height:220px}.rcard__tx{padding:22px 24px 24px}.rcard__tx b{font-size:22px}
  .rcards__ctl{display:none}
}

/* ==========================================================================
   Ficha en desktop: medidas exactas de Figma (1440 px)
   ========================================================================== */
@media (min-width:1024px){
  .p-hero__tx{gap:21px}
  .p-hero__note{font-size:12px;line-height:16px;padding:0 22px 0 0;color:var(--ink-4)}
  .p-hero__media>.chip{left:32px;top:28px}
  .p-stat{padding:19px 0 0;gap:5px}
  .p-stats{padding-bottom:24px}
  .p-stat .mono{font-size:11px;line-height:15px}
  .p-stat b{line-height:35px;padding-bottom:1px}
  .subnav__links{height:auto;align-items:center}
  .subnav__links a{height:41px;padding:10px 0 12px}
  .subnav__links a::after{bottom:0}
  .rec__btn{column-gap:16px}
  .rec__d{padding-left:64px}
  .rec__main{height:min(560px,calc(100vh - 340px))}
  .rec__th{height:min(200px,24vh)}
  #destacados{padding:110px 0}
  #destacados .sec-head{gap:15px}
  .dcards.mt-l{margin-top:44px}
  .dcard{gap:13px}
  .dcard .n{line-height:16px;margin-bottom:1px}
  .dcard h3{margin-top:0;line-height:25px}
  .dcard p{line-height:22px}
  .dimgs.mt-m{margin-top:44px}
  #software{padding-top:48px}
  .swcard__tx{gap:15px}
  .swcard__t{line-height:1.03}
  .swcard__d{margin-top:1px;line-height:24px}
  .swcard .linkarrow{margin-top:9px}
  #descargas{padding:110px 0}
  .dls__dl{gap:27px}
  .dl-list{margin-top:1px}
  .dl-list a{padding:21px 0 20px}
  .dl-list b{line-height:22px}
  .dl-list small{line-height:18px}
  .scards{gap:20px}
  .scard b{line-height:25px}
  .scard small{margin-top:6px;line-height:19px}
  .rel .sec-head{margin-top:20px}
  .rcards{margin-top:12px}
  .rcard__tx{padding:22px 24px}
  .rcard__tx b{line-height:28px}
  .rcard__tx small{line-height:19px}
}
@media (min-width:1024px){
  .p-hero__media.photo>.chip{background:rgba(6,10,18,.45);border-color:rgba(255,255,255,.3);color:#fff;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
  .pal-a .rel .h3,.pal-a .rcard__tx b,.pal-a .cfg__top h3{color:var(--ink)}
  .pal-a .cfg__side .body{font-size:16px;line-height:24.8px}
}
@media (min-width:1280px){
  .pal-a .p-hero__h1{font-size:96px;line-height:94px}
  .p-hero__h1--80{font-size:80px}
  .cta--prod{padding-right:0;gap:0;justify-content:flex-start}
  .cta--prod.cta--gap{gap:40px}
  .cta--prod>div:first-child{max-width:none;flex:0 0 717px}
  .cta--prod p{line-height:26px;max-width:none}
  .cta--prod>div:first-child{padding-bottom:24px}
  .pal-a .cta--prod>div:first-child{padding-bottom:0}
  .pal-a .cta--prod p{white-space:nowrap}
}

/* Figma: cifras cortas en una sola línea */
@media (min-width:1024px){.p-stat b.nw{white-space:nowrap}}
@media (min-width:1024px){.rec__side .h2{margin-right:-24px}}
#destacados .sec-head{max-width:800px}
/* más de 3 pasos (Promatrix): miniaturas en una sola fila, como las 2 de Figma */
@media (min-width:1024px){.rec__media--many{grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:12px}.rec__media--many .rec__th{height:110px;min-height:0;border-radius:12px}}

/* ==========================================================================
   Ficha en móvil según Figma (sección "Movil" 390 px)
   ========================================================================== */
.rec__lbl{display:none}
@media (max-width:767px){
  /* cabecera: foto a sangre, texto blanco y botones abajo */
  .p-hero{padding-top:0}
  .p-hero .container{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0}
  .p-hero .crumb{grid-row:1;grid-column:1;z-index:1;padding:calc(var(--hdr-h) + 230px) var(--gx) 0;color:rgba(255,255,255,.72)}
  .p-hero .crumb a,.p-hero .crumb [aria-current]{color:rgba(255,255,255,.72)}
  .p-hero .crumb [aria-current]{display:none}.p-hero .crumb .sep:last-of-type{display:none}
  .p-hero__grid{grid-row:2;grid-column:1;z-index:1;padding:12px var(--gx) 28px;gap:22px}
  .p-hero__tx{gap:14px}
  .p-hero__media{grid-row:1 / 3;grid-column:1;height:auto;border:0;border-radius:0;background:#1b2a3d}
  .p-hero__media img{position:absolute;inset:0}
  .p-hero__media.tile img.render{mix-blend-mode:normal;object-position:50% 35%}
  .p-hero__media::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(10,26,48,.08) 0%,rgba(10,26,48,.25) 40%,rgba(10,26,48,.92) 100%)}
  .p-hero__media>.chip,.spin__btns,.spin__cnt{display:none}
  .p-hero__h1{color:#fff;font-size:44px}
  .p-hero__lead{color:rgba(255,255,255,.86);font-size:15px}
  .p-hero .tag{background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
  .p-hero .tag.tag-com{background:#D6E6F8;color:var(--navy)}
  .p-hero .tag.tag-pack{background:#F8E4CF;color:#8a4b12}
  .p-hero__act .btn-primary{background:#fff;color:var(--ink);border-color:#fff}
  .p-hero__act .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
  .p-hero__note{display:none}
  /* cifras: lista vertical con filete a la izquierda */
  .p-stats{grid-row:3;grid-column:1;margin:40px var(--gx) 0;grid-template-columns:minmax(0,1fr);gap:22px;padding-left:20px;border-left:2px solid var(--line)}
  .p-stat{border-top:0;padding:0;flex-direction:column-reverse;gap:4px}
  .p-stat b{font-size:36px;line-height:1.05}
  .p-stat .mono{font-size:9px}
  .widths{grid-row:4;grid-column:1;margin:24px var(--gx) 0}
  .subnav{display:none}
  /* recorrido: tarjetas deslizables */
  .rec__side{gap:18px}
  .rec__list{flex-direction:row;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-right:calc(var(--gx) * -1);padding-right:var(--gx);scrollbar-width:none}
  .rec__list::-webkit-scrollbar{display:none}
  .rec__step,.rec__step:last-child{flex:0 0 86%;border:0;scroll-snap-align:start;display:flex;flex-direction:column}
  .rec__d{display:contents}
  .rec__simg{order:1;margin:0;height:300px;position:relative;border-radius:20px}
  .rec__lbl{display:block;position:absolute;left:14px;top:14px;font-size:10px;letter-spacing:.12em;background:var(--navy);color:#fff;padding:7px 10px;border-radius:8px}
  .rec__btn{order:2;grid-template-columns:1fr;padding:14px 0 4px;pointer-events:none}
  .rec__btn .n{display:none}
  .rec__t{font-size:17px}
  .rec__d p{order:3;font-size:13px}
  .rec__prog{display:flex}
  /* destacados: acordeón */
  #destacados .dcards{gap:0;margin-top:20px}
  .dcard{display:grid;grid-template-columns:30px minmax(0,1fr) 20px;align-items:baseline;gap:0;min-height:0;padding:20px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none;box-shadow:none;cursor:pointer}
  .dcard:last-child{border-bottom:1px solid var(--line)}
  .dcard:hover{transform:none;box-shadow:none}
  .dcard h3{grid-column:2;font-size:17px;margin:0}
  .dcard::after{content:'+';grid-column:3;grid-row:1;justify-self:end;font-family:var(--f-mono);color:var(--navy);font-size:16px}
  .dcard.open::after{content:'×'}
  .dcard p{grid-column:2;display:none;margin-top:10px;font-size:15px}
  .dcard.open p{display:block}
  .dimgs{grid-template-columns:1fr 1fr;gap:10px}.dimg{height:150px}.dimgs--3 .dimg:nth-child(3){display:none}
  /* software */
  .swcard{min-height:0;padding:24px 22px}
  .swcard__t{font-size:22px}.swcard__d{font-size:13px}
}
@media (max-width:767px){.p-hero .crumb,.p-hero__grid{z-index:2}.p-stat small{display:none}.rec__list{flex-direction:column;overflow:visible;margin-right:0;padding-right:0;gap:22px}.rec__step,.rec__step:last-child{flex:none}}
@media (max-width:767px){.dl-list .mono{display:none}.dl-list a{grid-template-columns:1fr auto;gap:12px;padding:16px 0}.dl-list b{font-size:15px}.dl-list small{font-size:12px}.scard{padding:18px 20px}.scard b{font-size:16px}.scard small{font-size:13px}}

/* ==========================================================================
   Ficha en tablet según Figma (sección "Tablet" 834 px)
   ========================================================================== */
.rec__cap{display:none}
@media (min-width:768px) and (max-width:1023px){
  /* cabecera: banda azul con texto blanco, imagen montada y botones debajo */
  .p-hero{padding-top:0}
  .p-hero .container{display:flex;flex-direction:column;gap:0}
  .p-hero__grid{display:contents}
  .p-hero .crumb{position:relative;z-index:1;padding-top:calc(var(--hdr-h) + 18px);color:rgba(255,255,255,.7);border-image:conic-gradient(var(--navy) 0 0) fill 0//100vh 100vw 0 100vw}
  .p-hero .crumb a,.p-hero .crumb [aria-current]{color:rgba(255,255,255,.75)}
  .p-hero__tx{position:relative;z-index:1;padding:14px 0 150px;gap:14px;border-image:conic-gradient(var(--navy) 0 0) fill 0//0 100vw}
  .p-hero__h1{color:#fff;font-size:40px}
  .p-hero__lead{color:rgba(255,255,255,.86);font-size:15px;max-width:560px}
  .p-hero .tag{background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
  .p-hero .tag.tag-com{background:#D6E6F8;color:var(--navy)}.p-hero .tag.tag-pack{background:#F8E4CF;color:#8a4b12}
  .p-hero__media{position:relative;z-index:2;margin-top:-120px;height:360px}
  .p-hero__act{order:5;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}
  .p-hero__act .btn{width:auto}
  .p-hero__note{text-align:center;align-self:stretch}
  .p-stats{order:6;margin-top:28px;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;position:relative;padding-top:28px}
  .p-stats::before{content:'ESPECIFICACIONES';position:absolute;top:0;left:0;font-family:var(--f-mono);font-size:10px;letter-spacing:.14em;color:var(--navy)}
  .p-stat{flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px;padding:12px 0;border-top:0;border-bottom:3px solid var(--line);background:linear-gradient(var(--navy),var(--navy)) 0 100%/60% 3px no-repeat}
  .p-stat .mono{font-size:9px}
  .p-stat b{font-family:var(--f-body);font-size:16px;text-align:right;white-space:normal}
  .p-stat small{display:none}
  .widths{order:7;margin-top:20px}
  /* recorrido: pestañas y una imagen con leyenda */
  .rec__list{display:grid;grid-template-columns:repeat(var(--steps,3),minmax(0,1fr));gap:8px}
  .rec__step,.rec__step:last-child{border:0}
  .rec__btn{grid-template-columns:auto;justify-content:center;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;font-size:13px;cursor:pointer}
  .rec__btn .n{display:none}.rec__t{font-size:13px;text-align:center}
  .rec__step.on .rec__btn{background:var(--navy);border-color:var(--navy)}.rec__step.on .rec__t{color:#fff}
  .rec__d{display:none}
  .rec__media{display:block;margin-top:16px}
  .rec__main{position:relative;height:420px;border-radius:18px;overflow:hidden;background:var(--dark)}
  .rec__img{position:absolute;inset:0;opacity:0;transition:opacity .45s var(--ease)}
  .rec__img.on{opacity:1;z-index:1}
  .rec__img img{width:100%;height:100%;object-fit:cover}
  .rec__img figcaption{display:none}
  .rec__cap{display:flex;flex-direction:column;gap:6px;position:absolute;left:0;right:0;bottom:0;padding:24px;background:linear-gradient(180deg,rgba(10,26,48,0),rgba(10,26,48,.85));color:#fff}
  .rec__cap .mono{font-size:10px;color:var(--sky)}.rec__cap b{font-size:18px}.rec__cap p{font-size:13px;color:var(--sky-3)}
  .rec__thumbs,.rec__prog{display:none}
  /* destacados en filas */
  #destacados .dcards{grid-template-columns:minmax(0,1fr);gap:0;margin-top:24px}
  .dcard{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 0;min-height:0;padding:16px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none;box-shadow:none}
  .dcard:last-child{border-bottom:1px solid var(--line)}
  .dcard:hover{transform:none;box-shadow:none}
  .dcard .n{grid-row:1 / 3}.dcard h3{font-size:16px;margin:0}.dcard p{font-size:13px}
  .dimgs{grid-template-columns:1fr 1fr;gap:12px}.dimg{height:150px}.dimgs--3 .dimg:nth-child(3){display:none}
  /* software, descargas y servicio */
  .swcard{min-height:0;padding:26px 28px}.swcard__t{font-size:22px}.swcard__d{font-size:13px}
  .scards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .scard{padding:16px;align-items:flex-start}.scard b{font-size:14px}.scard small{font-size:12px}
  .dls{gap:32px}
}
@media (max-width:1023px){.subnav{display:none}}

/* Figma: fichas de catálogo con cabecera clara y recorrido vertical. */
@media (max-width:1023px){
  .product--catalog .p-hero{padding-top:0}
  .product--catalog .p-hero .container{display:flex;flex-direction:column;gap:16px;padding:0 var(--gx)}
  .product--catalog .p-hero__grid,.product--catalog .p-hero__tx{display:contents}
  .product--catalog .p-hero .crumb{order:0;padding:calc(var(--hdr-h) + 20px) 0 0;border-image:none;color:var(--ink-3)}
  .product--catalog .p-hero .crumb a,.product--catalog .p-hero .crumb [aria-current]{color:var(--ink-3)}
  .product--catalog .p-hero .tags{order:1}
  .product--catalog .p-hero .tag{background:var(--bg-2);color:var(--navy)}
  .product--catalog .p-hero .tag-com{background:#D6E6F8}
  .product--catalog .p-hero .tag-pack{background:#F8E4CF;color:#8a4b12}
  .product--catalog .p-hero__h1{order:2;color:var(--ink);font-size:44px}
  .product--catalog .p-hero__media{order:3;height:300px;width:100%;margin:0;border-radius:var(--r-lg);background:var(--bg-2)}
  .product--catalog .p-hero__media::after{display:none}
  .product--catalog .p-hero__media img{position:static;object-fit:cover;object-position:center}
  .product--catalog .p-hero__media>.chip{display:none}
  .product--catalog .p-hero__lead{order:4;color:var(--ink-2);font-size:15px}
  .product--catalog .p-hero__act{order:5;margin:0;align-items:stretch}
  .product--catalog .p-hero__act .btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
  .product--catalog .p-hero__act .btn-ghost{background:transparent;border-color:var(--line-2);color:var(--ink)}
  .product--catalog .p-hero__note{display:block;text-align:center;font-size:10px}
  .product--catalog .p-stats{order:6;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 0;padding:16px;gap:12px;border:0;background:var(--bg-2);border-radius:var(--r)}
  .product--catalog .p-stats::before{display:none}
  .product--catalog .p-stat{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;padding:16px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}
  .product--catalog .p-stat b{order:0;font-family:var(--f-body);font-size:21px;line-height:1.15;text-align:left;overflow-wrap:anywhere;white-space:normal}
  .product--catalog .p-stat small{display:block;order:1;font-size:13px;line-height:1.4}
  .product--catalog .p-stat .mono{order:2;font-size:9px}
  .product--catalog .widths{order:7}
  .product--catalog .rec__list{display:flex;flex-direction:column;gap:30px;margin:0;padding:0 0 0 18px;overflow:visible;border-left:1px solid var(--navy);scroll-snap-type:none}
  .product--catalog .rec__step{display:flex;flex-direction:column;flex:none;border:0;position:relative}
  .product--catalog .rec__step::before{content:'';position:absolute;left:-22px;top:8px;width:7px;height:7px;background:var(--navy);border-radius:50%}
  .product--catalog .rec__btn{order:0;display:block;padding:0;border:0;background:transparent!important;color:var(--ink);pointer-events:none}
  .product--catalog .rec__btn .n{display:block;text-align:left;font-size:10px;margin-bottom:8px}
  .product--catalog .rec__t{color:var(--ink)!important;text-align:left;font-size:18px}
  .product--catalog .rec__d{display:contents}
  .product--catalog .rec__d p{order:1;font-size:14px;margin-top:10px}
  .product--catalog .rec__simg{display:block;order:2;width:100%;height:240px;margin-top:16px;border-radius:16px}
  .product--catalog .rec__lbl,.product--catalog .rec__media,.product--catalog .rec__prog{display:none}
  .product--catalog #destacados .dcards{display:grid;grid-template-columns:1fr;gap:12px}
  .product--catalog .dcard{display:block;background:var(--navy);color:#fff;border:0;border-radius:14px;padding:20px;cursor:default}
  .product--catalog .dcard .n{color:var(--sky);display:block;margin-bottom:12px}
  .product--catalog .dcard h3{color:#fff;font-size:17px}
  .product--catalog .dcard p{display:block;color:var(--sky-3);margin-top:10px;font-size:14px}
  .product--catalog .dcard::after{display:none}
}
@media (min-width:768px) and (max-width:1023px){
  .product--catalog .p-hero__h1{font-size:54px}
  .product--catalog .p-hero__media{height:400px}
  .product--catalog .p-hero__act{flex-direction:row;align-items:center;flex-wrap:wrap}
  .product--catalog .p-hero__act .btn{width:auto}
  .product--catalog .p-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .product--catalog .p-stat b{font-size:20px}
  .product--catalog .rec__simg{height:260px}
  .product--catalog #destacados .dcards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
/* Figma: Labelmaster, Boardmaster y Suprasetter tienen cabecera azul. */
@media (max-width:767px){
  .product--technical .p-hero .container{display:flex;flex-direction:column;gap:0;padding:0 var(--gx)}
  .product--technical .p-hero__grid{display:contents}
  .product--technical .p-hero .crumb{padding:calc(var(--hdr-h) + 20px) 0 0;border-image:conic-gradient(var(--navy) 0 0) fill 0//100vh 100vw 0 100vw}
  .product--technical .p-hero__tx{padding:16px 0 32px;border-image:conic-gradient(var(--navy) 0 0) fill 0//0 100vw}
  .product--technical .p-hero__h1{font-size:36px}
  .product--technical .p-hero__media{height:280px;width:100%;border-radius:0 0 18px 18px;background:var(--bg-2)}
  .product--technical .p-hero__media::after{display:none}
  .product--technical .p-hero__media img{position:static;object-position:center}
  .product--technical .p-hero__act{order:5;margin-top:20px}
  .product--technical .p-hero__act .btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}
  .product--technical .p-hero__act .btn-ghost{color:var(--ink);border-color:var(--line-2)}
  .product--technical .p-hero__note{display:block;text-align:center;font-size:10px}
  .product--technical .p-stats{order:6;margin:32px 0 0;padding:24px 0 0;border:0;gap:0;position:relative}
  .product--technical .p-stats::before{content:'ESPECIFICACIONES';position:absolute;top:0;left:0;font-family:var(--f-mono);font-size:10px;letter-spacing:.14em;color:var(--navy)}
  .product--technical .p-stat{flex-direction:row;align-items:baseline;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:3px solid var(--line);background:linear-gradient(var(--navy),var(--navy)) 0 100%/65% 3px no-repeat}
  .product--technical .p-stat .mono{flex:0 0 40%;font-size:9px}
  .product--technical .p-stat b{font-family:var(--f-body);font-size:20px;text-align:right;white-space:normal}
  .product--technical .widths{order:7;margin:24px 0 0}
  .product--technical .rec__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:0}
  .product--technical .rec__step{border:0}
  .product--technical .rec__btn{display:block;flex:1;padding:10px 8px;border:1px solid var(--line);border-radius:10px;pointer-events:auto}
  .product--technical .rec__t{font-size:12px;text-align:center}
  .product--technical .rec__step.on .rec__btn{background:var(--navy)}
  .product--technical .rec__step.on .rec__t{color:#fff}
  .product--technical .rec__d,.product--technical .rec__prog,.product--technical .rec__thumbs{display:none}
  .product--technical .rec__media{display:block}
  .product--technical .rec__main{position:relative;height:350px;border-radius:18px;overflow:hidden}
  .product--technical .rec__img{position:absolute;inset:0;opacity:0}
  .product--technical .rec__img.on{opacity:1;z-index:1}
  .product--technical .rec__img img{width:100%;height:100%;object-fit:cover}
  .product--technical .rec__img figcaption{display:none}
  .product--technical .rec__cap{display:flex;flex-direction:column;gap:8px;position:absolute;left:0;right:0;bottom:0;padding:20px;color:#fff;background:linear-gradient(transparent,rgba(10,26,48,.9))}
  .product--technical .rec__cap .mono{font-size:10px}.product--technical .rec__cap b{font-size:18px}.product--technical .rec__cap p{font-size:13px}
  .product--technical .dcard{grid-template-columns:30px minmax(0,1fr);cursor:default}
  .product--technical .dcard p{display:block}.product--technical .dcard::after{display:none}
}
@media (min-width:1024px){
 .cta--prod{padding:56px;gap:32px;display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,300px)}
 .cta--prod>div:first-child{flex:auto;min-width:0;padding-bottom:0}
 .pal-a .cta--prod p{white-space:normal}
 .cta--prod .btns{flex-direction:column;align-items:stretch}
 .cta--prod .btn{width:100%}
}
@media (max-width:767px){
 body:not(.product--catalog):not(.product--technical) .p-hero__media::after{opacity:1;left:0;right:0;top:0;bottom:0;width:auto;height:auto;margin:0;border-radius:0;background:linear-gradient(180deg,rgba(6,26,51,.3),rgba(6,26,51,.62) 38%,rgba(6,26,51,.96) 100%)}
}
