/* V49 — integra material real de JV Rimex sin alterar la identidad visual existente. */
.real-work{background:#fff;color:var(--ed-ink);padding:110px 0 96px}
.real-work-head{display:grid;grid-template-columns:.72fr 1.3fr;gap:11%;align-items:start;margin-bottom:48px}
.real-work-head h2,.process-showcase h2{font-size:clamp(38px,4.5vw,62px);font-weight:500;letter-spacing:-.05em;line-height:1.04}
.real-work-head p{max-width:480px;color:var(--ed-muted);font-size:16px;line-height:1.72;margin-top:18px}
.real-work-head .ed-link{margin-top:24px}
.real-media-grid{display:grid;grid-template-columns:1.45fr .72fr .72fr;gap:14px;align-items:stretch}
.real-media{position:relative;overflow:hidden;background:#e9edf2;min-height:280px;border-radius:4px}
.real-media:first-child{min-height:530px;grid-row:span 2}
.real-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.2,.7,.2,1),filter .4s}
.real-media:hover img{transform:scale(1.025)}
.real-media figcaption{position:absolute;left:18px;right:18px;bottom:16px;margin:0;color:#fff;font-size:11px;letter-spacing:.06em;text-transform:uppercase;z-index:2}
.real-media:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(5,13,31,.82));pointer-events:none}
.real-media figcaption{position:absolute}
.process-showcase{background:var(--navy-950);color:#fff;padding:96px 0}
.process-head{display:grid;grid-template-columns:1.05fr .95fr;gap:12%;align-items:end;margin-bottom:44px}
.process-head .ed-label{color:#9ba8ba;margin-bottom:18px}.process-head p{color:#aeb8c8;font-size:16px;line-height:1.72;max-width:440px}
.process-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}
.process-card{position:relative;overflow:hidden;background:#111a2c;border:1px solid rgba(255,255,255,.09);border-radius:4px;min-height:520px}
.process-card.small{min-height:520px}
.process-card video{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.78) contrast(1.04) brightness(.82)}
.process-card:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(5,13,31,.88));pointer-events:none}
.process-card .media-label{position:absolute;left:20px;right:20px;bottom:18px;z-index:2;display:flex;justify-content:space-between;gap:16px;align-items:flex-end}
.process-card .media-label strong{font-size:16px;font-weight:500}.process-card .media-label span{font-size:10px;letter-spacing:.11em;color:#b6c0cf;text-transform:uppercase}
.home-final-cta{background:#fff;color:var(--ed-ink);padding:80px 0 92px;border-top:1px solid var(--ed-line)}
.home-final-cta .wrap{display:grid;grid-template-columns:1fr 1fr;gap:11%;align-items:center}.home-final-cta h2{font-size:clamp(32px,3.5vw,48px);font-weight:500;letter-spacing:-.045em;line-height:1.08}.home-final-cta p{font-size:15px;line-height:1.7;color:var(--ed-muted);margin-bottom:24px;max-width:470px}

/* Catálogo con fotografía real: mismo lenguaje, sin aspecto de álbum de WhatsApp. */
.catalog-results .product-media{padding:0;aspect-ratio:4/3;overflow:hidden;background:#e9edf2}
.catalog-results .product-media img{width:100%;height:100%;object-fit:cover;max-height:none;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.catalog-results .product-card:hover .product-media img{transform:scale(1.018)}
.catalog-results .product-cat{background:rgba(5,13,31,.82);color:#fff;border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(8px);padding:5px 8px;border-radius:2px}
.pd-media{background:#eef1f5}.pd-media img{width:100%;height:100%;object-fit:cover;max-height:none}

/* Servicios: los videos reales se presentan como documentación de proceso, no como contenido social. */
.service-media-proof{padding:80px 0 92px;border-top:1px solid var(--ed-line)}
.service-media-head{display:grid;grid-template-columns:.72fr 1.3fr;gap:11%;margin-bottom:38px;align-items:end}.service-media-head h2{font-size:clamp(34px,4vw,54px);font-weight:500;letter-spacing:-.045em;line-height:1.08}.service-media-head p{color:var(--ed-muted);font-size:15px;line-height:1.72;max-width:490px}
.service-video-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.service-video-card{position:relative;overflow:hidden;aspect-ratio:4/5;background:var(--navy-950);border-radius:4px}.service-video-card video{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.8) contrast(1.03) brightness(.86)}.service-video-card:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(5,13,31,.9));pointer-events:none}.service-video-card figcaption{position:absolute;left:18px;right:18px;bottom:16px;color:#fff;margin:0;z-index:2}.service-video-card figcaption span{display:block;color:#bdc6d3;font-size:10px;text-transform:uppercase;letter-spacing:.11em;margin-bottom:5px}.service-video-card figcaption strong{font-size:15px;font-weight:500}

@media(max-width:1080px){.real-media-grid{grid-template-columns:1.25fr 1fr}.real-media:first-child{grid-row:span 2}.real-media-grid .real-media:nth-child(4){grid-column:2}.process-grid{grid-template-columns:1fr 1fr}.service-video-grid{gap:12px}}
@media(max-width:700px){.real-work{padding:68px 0 58px}.real-work-head,.process-head,.service-media-head{grid-template-columns:1fr;gap:24px;margin-bottom:28px}.real-work-head h2,.process-showcase h2{font-size:38px}.real-media-grid{grid-template-columns:1fr 1fr;gap:10px}.real-media{min-height:190px}.real-media:first-child{grid-column:1/-1;grid-row:auto;min-height:320px}.real-media-grid .real-media:nth-child(4){grid-column:auto}.process-showcase{padding:64px 0}.process-grid{grid-template-columns:1fr;gap:12px}.process-card,.process-card.small{min-height:500px}.process-card.small{min-height:390px}.home-final-cta{padding:58px 0 66px}.home-final-cta .wrap{grid-template-columns:1fr;gap:24px}.service-media-proof{padding:54px 0 62px}.service-video-grid{grid-template-columns:1fr;gap:12px}.service-video-card{aspect-ratio:4/5;max-height:560px}.catalog-results .product-media{aspect-ratio:1}.catalog-results .product-media img{object-fit:cover}}
@media(prefers-reduced-motion:reduce){.real-media img{transition:none}.process-card video,.service-video-card video{animation:none}}

/* V50 — catálogo limpio: sin franjas grises, sin overlays y con fotografía real ordenada como producto. */
.catalog-results .product-grid{
  gap:46px 28px;
  align-items:start;
}
.catalog-results .product-card{
  display:flex;
  flex-direction:column;
  border:0!important;
  background:#fff!important;
  border-radius:0!important;
  overflow:visible!important;
  box-shadow:none!important;
  transform:none!important;
}
.catalog-results .product-cat{
  position:static!important;
  display:block;
  margin:0 0 11px;
  padding:0!important;
  background:transparent!important;
  color:#69748b!important;
  border:0!important;
  border-radius:0!important;
  backdrop-filter:none!important;
  font-size:11px!important;
  font-weight:400!important;
  line-height:1.25;
  letter-spacing:0;
  text-transform:none;
  max-width:none!important;
  overflow:visible!important;
  white-space:normal!important;
}
.catalog-results .product-media{
  width:100%;
  aspect-ratio:4/3!important;
  display:block!important;
  position:relative;
  padding:0!important;
  margin:0;
  overflow:hidden;
  border:0!important;
  border-radius:4px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.catalog-results .product-media::before,
.catalog-results .product-media::after{display:none!important;content:none!important}
.catalog-results .product-media img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  object-position:center!important;
  display:block;
  filter:saturate(.82) contrast(1.035) brightness(1.015);
  transform:none!important;
  transition:filter .25s ease!important;
}
.catalog-results .product-card:hover .product-media img{
  transform:none!important;
  filter:saturate(.9) contrast(1.04) brightness(1.02);
}
.catalog-results .product-info{
  padding:16px 0 0!important;
  display:flex;
  min-height:128px;
  flex-direction:column;
}
.catalog-results .product-info h3{
  margin:0!important;
  color:var(--navy-950);
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.25!important;
  letter-spacing:-.018em!important;
}
.catalog-results .product-spec{
  margin:7px 0 0!important;
  min-height:30px;
  color:#6e7890!important;
  font-size:11.5px!important;
  line-height:1.45!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.catalog-results .product-actions{
  margin-top:auto!important;
  padding-top:19px;
  min-height:46px;
}
.catalog-results .product-link{
  font-size:12px!important;
  font-weight:400!important;
  color:var(--navy-950)!important;
}
.catalog-results .plus-btn{
  width:34px!important;
  height:34px!important;
  border-radius:3px!important;
  background:var(--navy-950)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.catalog-results .plus-btn:hover{background:var(--orange)!important;transform:none!important}
.catalog-results .card-qty{height:34px;border-radius:3px}
.catalog-results .card-qty button{height:34px}
.pd-media{background:#fff!important}
.pd-media img{object-fit:contain!important;padding:24px!important;filter:saturate(.86) contrast(1.025)}

@media(max-width:1000px){
  .catalog-results .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 22px}
}
@media(max-width:700px){
  .catalog-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 14px}
  .catalog-results .product-cat{font-size:9.5px!important;margin-bottom:8px}
  .catalog-results .product-info{padding-top:12px!important;min-height:122px}
  .catalog-results .product-info h3{font-size:14px!important}
  .catalog-results .product-spec{font-size:10.5px!important;min-height:30px}
  .catalog-results .product-actions{padding-top:15px}
  .catalog-results .product-media{aspect-ratio:1!important}
}
@media(max-width:410px){
  .catalog-results .product-grid{grid-template-columns:1fr;gap:34px}
  .catalog-results .product-media{aspect-ratio:4/3!important}
  .catalog-results .product-info{min-height:112px}
}


/* V51 cleaner product catalog */
.catalog-results .product-grid{gap:42px 24px!important}
.catalog-results .product-card{border:0!important;border-radius:0!important;background:#fff!important;overflow:visible!important}
.catalog-results .product-media{padding:0!important;aspect-ratio:4/3!important;overflow:hidden!important;background:#f3f5f7!important;border-radius:4px!important;border:1px solid #edf1f5!important}
.catalog-results .product-media img{width:100%!important;height:100%!important;object-fit:contain!important;max-width:none!important;max-height:none!important;padding:18px!important;transform:none!important}
.catalog-results .product-card:hover .product-media img{transform:none!important}
.catalog-results .product-cat{position:static!important;display:block!important;background:none!important;border:0!important;color:#8b97ac!important;padding:0!important;margin:0 0 10px!important;font-size:12px!important;letter-spacing:-.01em!important;backdrop-filter:none!important}
.catalog-results .product-info{padding:18px 0 0!important;min-height:0!important}
.catalog-results .product-info h3{font-size:16px!important;line-height:1.25!important;margin:0 0 8px!important;font-weight:500!important;color:var(--navy-950)!important}
.catalog-results .product-spec{font-size:13px!important;line-height:1.45!important;color:#7e8aa0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:block!important;min-height:auto!important}
.catalog-results .product-actions{padding-top:14px!important;margin-top:0!important;min-height:0!important}
.catalog-results .product-link{font-size:13px!important;font-weight:400!important;color:var(--navy-950)!important}
.catalog-results .plus-btn{width:36px!important;height:36px!important;border-radius:3px!important;background:var(--navy-950)!important}
.pd-media{background:#f5f7f9!important}.pd-media img{object-fit:contain!important;padding:24px!important}
@media(max-width:1000px){.catalog-results .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:36px 20px!important}}
@media(max-width:700px){.catalog-results .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:34px 14px!important}.catalog-results .product-media{aspect-ratio:1!important}.catalog-results .product-cat{font-size:10px!important}.catalog-results .product-info h3{font-size:14px!important}.catalog-results .product-spec{font-size:11px!important}}
@media(max-width:410px){.catalog-results .product-grid{grid-template-columns:1fr!important}.catalog-results .product-media{aspect-ratio:4/3!important}}


/* V64 — video cards del inicio: neutraliza estilos antiguos de .process-card */
.process-showcase .process-card{
  padding:0!important;
  border-radius:4px!important;
  box-shadow:none!important;
  background:#111a2c!important;
  display:block!important;
}
.process-showcase .process-card video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.process-showcase .process-card .media-label{
  margin:0!important;
  padding:0!important;
  color:#fff;
}
.process-showcase .process-card .media-label strong{
  color:#fff;
  opacity:1;
}

/* V64 — acciones del hero */
.home-cover-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:32px}
.home-cover-actions .ed-button{margin:0}
.wa-direct-button{background:#fff!important;color:#071329!important;border-color:#fff!important}
.wa-direct-button:hover{background:#f2f5f8!important;color:#071329!important}
.wa-direct-button img{width:18px;height:18px;object-fit:contain;margin-right:9px;display:block}
@media(max-width:700px){
  .home-cover-actions{align-items:stretch;flex-direction:column;max-width:290px;margin-top:26px}
  .home-cover-actions .ed-button{justify-content:center;width:100%}
}

/* V65 — WhatsApp visible, verde y sin imagen externa */
.wa-direct-button{
  background:#25D366!important;
  color:#fff!important;
  border-color:#25D366!important;
  gap:10px!important;
}
.wa-direct-button:hover{
  background:#1fb85a!important;
  color:#fff!important;
  border-color:#1fb85a!important;
}
.wa-direct-button .wa-inline-icon{
  width:19px!important;
  height:19px!important;
  flex:0 0 19px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.65!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
/* Evita que cualquier PNG de WhatsApp del hero se renderice fuera de escala */
.home-cover-actions .wa-direct-button img{display:none!important}

/* V65 — sección de video: título más corto y material más visible */
.service-media-head h2{max-width:560px}
.service-video-card video{
  filter:saturate(.92) contrast(1.06) brightness(1.05)!important;
  object-position:center center!important;
}
.service-video-card:after{
  inset:68% 0 0!important;
  background:linear-gradient(transparent,rgba(5,13,31,.72))!important;
}
@media(max-width:700px){
  .service-media-head h2{font-size:36px!important;line-height:1.06!important}
  .service-video-card{aspect-ratio:16/11!important;max-height:none!important}
  .service-video-card video{object-position:center 45%!important}
}


/* V66 — icono de WhatsApp corregido */
.wa-direct-button .wa-inline-icon{display:none!important}
.wa-direct-button .wa-inline-icon-img{width:18px;height:18px;display:block;object-fit:contain;flex:0 0 18px}
.home-cover-actions .wa-direct-button img.wa-inline-icon-img{display:block!important}
.wa-btn img{width:20px;height:20px;display:block;object-fit:contain;filter:none!important}

/* V69 — catálogo informativo: stock + WhatsApp fijo, sin carrito/cotización */
.header-wa-btn{
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 15px;
  border-radius:4px;
  background:#25D366;
  border:1px solid #25D366;
  color:#fff;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  transition:background .2s,border-color .2s;
}
.header-wa-btn:hover{background:#1fb85a;border-color:#1fb85a;color:#fff}
.header-wa-btn img{width:17px;height:17px;display:block;object-fit:contain}
.stock-badge,.pd-stock{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#218a4a;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}
.stock-dot{width:7px;height:7px;border-radius:50%;background:#25D366;box-shadow:0 0 0 3px rgba(37,211,102,.12);flex:0 0 auto}
.pd-stock{margin-top:22px;font-size:14px}
@media(max-width:700px){
  .header-wa-btn{height:38px;padding:0 10px;font-size:12px;gap:7px}
  .header-wa-btn img{width:16px;height:16px}
  .catalog-results .stock-badge{font-size:10px;gap:5px}
  .catalog-results .stock-dot{width:6px;height:6px}
}


/* V72 — language switch and made-to-order catalog */
.lang-switch{display:inline-flex;align-items:center;gap:2px;height:36px;padding:3px;border:1px solid rgba(255,255,255,.22);border-radius:4px;font-size:10px;font-weight:600;letter-spacing:.08em;line-height:1}
.lang-switch a,.lang-switch span{display:grid;place-items:center;min-width:27px;height:28px;padding:0 6px;border-radius:2px;color:rgba(255,255,255,.72)}
.lang-switch a:hover{color:#fff;background:rgba(255,255,255,.08)}
.lang-switch .active{background:#fff;color:#071329}
.lang-switch-mobile{display:none}
.capability-label{font-size:10px;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;color:#8a95a8;text-align:right}
.pd-status{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#68758a}
.catalog-results .product-actions{align-items:flex-end}
.catalog-results .product-link{flex:0 0 auto}
@media(max-width:1080px){
  .header-actions>.lang-switch{display:none}
  .lang-switch-mobile{display:inline-flex!important;margin-top:24px;align-self:flex-start}
  .mmenu .lang-switch-mobile a,.mmenu .lang-switch-mobile span{font-size:11px!important;padding:0 7px!important}
}
@media(max-width:700px){
  .capability-label{font-size:8px;max-width:92px}
}
