/* =====================================================================
   V4.9 | PÁGINAS DE PRODUCTOS Y CONTENIDO SEO
   Modificar aquí estilos de páginas internas sin alterar la portada.
   Todas las medidas tienen adaptación responsiva.
   ===================================================================== */
.product-breadcrumb {background:#f1f6f7;border-bottom:1px solid #dce6e8;padding:12px 0;font-size:14px;color:#586d75}
.product-breadcrumb a {color:#073746;text-decoration:underline;text-underline-offset:3px}
.product-hero {background:linear-gradient(125deg,#073746,#102830);color:white;padding:65px 0 70px}
.product-hero-grid {display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}
.product-hero .eyebrow {color:#ffb17a}
.product-hero h1 {font-size:clamp(38px,4.5vw,64px);line-height:1.08;letter-spacing:-.035em;margin:0 0 22px}
.product-hero p:not(.eyebrow) {font-size:19px;line-height:1.6;color:#e2ebed}
.product-hero img {display:block;width:100%;aspect-ratio:1.38;object-fit:cover;border-radius:15px}
.product-content {padding:65px 0 80px}
.product-content h2 {font-size:clamp(26px,2.7vw,38px);line-height:1.2;margin:0 0 16px;color:#102830}
.product-content h3 {font-size:23px;margin:0 0 12px;color:#102830}
.product-content p {color:#526b73}
.product-feature-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:30px 0}
.product-feature {border:1px solid #dce7e9;border-top:3px solid #f36b21;border-radius:12px;background:#f6fafb;padding:24px}
.product-feature p {font-size:16px;margin-bottom:0}
.product-faq {max-width:850px;margin:55px 0 45px}
.product-faq details {border-bottom:1px solid #dce7e9;padding:18px 0}
.product-faq summary {font-weight:800;cursor:pointer}
.product-faq details p {margin:12px 0 4px}
.product-cta {padding:32px;border-radius:15px;background:#edf5f7;border-left:5px solid #f36b21}
.product-cta p {margin:0 0 16px}
.seo-categorias-nota {margin:36px 0 0;padding:27px 30px;background:#edf5f7;border:1px solid #d9e8eb;border-radius:14px}
.seo-categorias-nota h3 {font-size:24px;line-height:1.2;margin:0 0 10px}
.seo-categorias-nota p {margin:0;color:#586d75}
@media(max-width:850px) {.product-hero-grid {grid-template-columns:1fr;gap:28px}.product-hero {padding:42px 0}.product-hero img {max-height:340px}.product-feature-grid{grid-template-columns:1fr}}
@media(max-width:500px){.product-hero h1{font-size:36px}.product-hero p:not(.eyebrow){font-size:17px}.product-cta{padding:22px}.seo-categorias-nota{padding:20px}}


/* ==========================================================================
   V4.9.1 — SUBMENÚ ACCESIBLE DE PRODUCTOS
   Edita las etiquetas y enlaces en los <details class="nav-productos"> del
   encabezado de cada página. Los estilos se concentran en este archivo.
   El control <summary> funciona con teclado sin requerir JavaScript.
   ========================================================================== */
.main-nav .nav-productos { position:relative; flex:0 0 auto; font-size:16.5px; font-weight:700; }
.main-nav .nav-productos > summary { display:list-item; cursor:pointer; list-style:none; white-space:nowrap; padding:9px 1px; }
.main-nav .nav-productos > summary::-webkit-details-marker { display:none; }
.main-nav .nav-productos > summary::after { content:'⌄'; margin-left:7px; color:var(--orange); font-size:1.15em; }
.main-nav .nav-productos > summary:hover, .main-nav .nav-productos[open] > summary { color:var(--orange); }
.main-nav .nav-productos > summary:focus-visible { outline:3px solid var(--orange); outline-offset:3px; border-radius:3px; }
.main-nav .nav-productos-panel { position:absolute; top:calc(100% + 6px); left:-16px; z-index:85; width:268px; padding:9px; border:1px solid #d9e6e9; border-radius:12px; box-shadow:0 14px 35px #07374625; background:#fff; display:grid; gap:2px; }
.main-nav .nav-productos-panel a { display:block; padding:10px 12px; font-size:14px; font-weight:700; color:#102830; white-space:normal; border-radius:7px; }
.main-nav .nav-productos-panel a:hover, .main-nav .nav-productos-panel a:focus-visible { background:#edf5f7; color:#c85315; }
@media(max-width:1180px) {
  .main-nav .nav-productos { width:100%; font-size:14px; border-top:1px solid #e6edef; }
  .main-nav .nav-productos > summary { padding:11px 7px; }
  .main-nav .nav-productos-panel { position:static; width:100%; border:0; box-shadow:none; border-radius:0; padding:2px 0 10px 13px; }
  .main-nav .nav-productos-panel a { font-size:14px; padding:10px 12px; border:0; }
}


/* ==========================================================================
   V4.9.2 — TARJETAS DEL CATÁLOGO INTERACTIVAS
   --------------------------------------------------------------------------
   Se aplica únicamente a las tarjetas del catálogo en la portada.
   - La fotografía y el título son enlaces a la página de producto.
   - La máscara azul petróleo + etiqueta señalan que se puede abrir.
   - El efecto también aparece al navegar con teclado (focus-visible).
   - En móviles no se depende de hover; la foto y título siguen siendo links.
   - Se respetan las preferencias de accesibilidad para reducir movimiento.

   PERSONALIZACIÓN RÁPIDA:
   --catalogo-zoom: aumento de la foto al pasar el mouse (ej.: 1.035).
   --catalogo-mascara: intensidad del degradado oscuro.
   Cambiar el texto "Ver producto" en index.html, clase
   product-card-overlay-label.
   ========================================================================== */
.products-section {
  --catalogo-zoom: 1.045;
  --catalogo-mascara: rgba(7, 55, 70, .74);
}
.product-grid .product-card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-grid .product-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: #e5edef;
}
.product-grid .product-card-media img {
  display: block;
  width: 100%;
  transition: transform .35s ease;
}
.product-grid .product-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  background: linear-gradient(0deg, var(--catalogo-mascara), rgba(7,55,70,.04) 68%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.product-grid .product-card-overlay-label {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .015em;
  border-bottom: 2px solid #F36B21;
  padding-bottom: 5px;
}
.product-grid .product-card-title-link {
  color: #102830;
  text-decoration: none;
  transition: color .2s ease;
}
.product-grid .product-card-title-link:hover,
.product-grid .product-card-title-link:focus-visible {
  color: #c95116;
}
.product-grid .product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (hover:hover) and (pointer:fine) {
  .product-grid .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(7,55,70,.18);
    border-color: #b5cdd3;
  }
  .product-grid .product-card:hover .product-card-media img {
    transform: scale(var(--catalogo-zoom));
  }
  .product-grid .product-card:hover .product-card-overlay { opacity: 1; }
}
.product-grid .product-card:focus-within {
  border-color: #F36B21;
  box-shadow: 0 0 0 2px rgba(243,107,33,.2), 0 14px 32px rgba(7,55,70,.13);
}
.product-grid .product-card-media:focus-visible .product-card-overlay { opacity: 1; }
.product-grid .product-card-media:focus-visible img { transform: scale(var(--catalogo-zoom)); }
@media (prefers-reduced-motion: reduce) {
  .product-grid .product-card,
  .product-grid .product-card-media img,
  .product-grid .product-card-overlay,
  .product-grid .product-card-title-link {
    transition: none !important;
  }
  .product-grid .product-card:hover,
  .product-grid .product-card:hover .product-card-media img,
  .product-grid .product-card-media:focus-visible img { transform: none; }
}

/* ==========================================================================
   V4.9.3 - PÁGINAS DE CATEGORÍA: GALERÍA Y COPY COMERCIAL
   Editar aquí el diseño de hero, carrusel y bloques informativos.
   Colores tomados de la identidad corporativa: azul petróleo y naranja.
   ========================================================================== */
.product-hero {padding:72px 0 68px;background:linear-gradient(120deg,#073746,#102830);color:#fff}
.product-hero-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);gap:clamp(30px,5vw,75px);align-items:center}
.product-hero-copy h1 {font-size:clamp(35px,3.7vw,62px);line-height:1.09;letter-spacing:-.04em;margin:0 0 24px}
.product-hero-copy>p:not(.eyebrow) {color:#e0ebed;font-size:clamp(17px,1.5vw,20px);line-height:1.65}
.product-hero-actions {display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin:26px 0 15px}
.product-secondary-link {color:#fff;border-bottom:2px solid #f36b21;font-weight:700;font-size:15px}
.product-hero-copy .product-disclaimer {font-size:13px!important;color:#b9ced3!important;margin-top:12px}
.product-gallery {min-width:0;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 22px 65px #0003;color:#142f38}
.product-gallery-viewport {position:relative;aspect-ratio: 16/10;overflow:hidden;background:#e4ecee}
.product-gallery-slide {position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;margin:0;transition:opacity .38s ease}
.product-gallery-slide.is-active {opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.product-gallery-slide img {width:100%;height:100%;display:block;object-fit:cover}
.product-gallery-slide figcaption {position:absolute;bottom:0;left:0;right:0;padding:27px 20px 15px;color:#fff;font-size:16px;font-weight:800;background:linear-gradient(0deg,rgba(7,55,70,.92),transparent)}
.product-gallery-controls {display:flex;justify-content:space-between;align-items:center;padding:11px 18px;gap:8px}
.product-gallery-controls>button {cursor:pointer;border:1px solid #cfdee1;background:#fff;color:#073746;border-radius:9px;width:40px;height:40px;font-size:22px}
.product-gallery-dots {display:flex;gap:8px;align-items:center}
.product-gallery-dots button {cursor:pointer;border:0;background:#cad8dd;width:9px;height:9px;border-radius:12px;padding:0}
.product-gallery-dots button[aria-current=true] {background:#f36b21;width:27px}
.product-gallery-note {font-size:12px;color:#60747b;margin:0;padding:0 18px 15px}
.product-intro {padding:65px 0 45px;background:#f1f6f7}
.product-intro-grid {display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.product-intro h2 {font-size:clamp(29px,2.9vw,43px);line-height:1.16;margin:0}
.product-intro-grid>p {font-size:17px;color:#465f67;line-height:1.75}
.product-content {padding:70px 0 90px}
.product-content h2 {font-size:clamp(28px,2.7vw,42px);line-height:1.16}
.product-detail-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:34px 0 55px}
.product-detail-card {background:#f2f7f8;border:1px solid #dce9ec;border-top:4px solid #f36b21;border-radius:13px;padding:26px}
.product-detail-number {font-weight:900;color:#dd6422;font-size:16px}
.product-detail-card h3 {font-size:23px;line-height:1.22;margin:15px 0}
.product-detail-card p {font-size:16px;color:#4c626a;line-height:1.65;margin:0}
.product-two-cols {display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-bottom:60px}
.product-two-cols>div {padding:30px;border:1px solid #dbe8ea;border-radius:15px}
.product-two-cols h2 {font-size:27px;margin:0 0 17px}
.product-two-cols p,.product-two-cols li {color:#526970;font-size:16px}
.product-two-cols li {margin-bottom:10px}
.product-specs {background:#edf5f6}
.product-specs-link {display:inline-block;color:#b84b12;font-weight:800;margin-top:12px;text-decoration:underline;text-underline-offset:4px}
.product-faq {margin:32px 0 50px}
.product-faq details {border-bottom:1px solid #d8e5e8;padding:16px 4px}
.product-faq summary {cursor:pointer;font-weight:800}
.product-faq details p {color:#526970}
.product-cta {background:#073746;color:#fff;border-radius:16px;padding:clamp(25px,4vw,48px)}
.product-cta h2 {margin-top:0}.product-cta p {max-width:790px;color:#d9e7e9}
@media(max-width:940px){.product-hero-grid,.product-intro-grid {grid-template-columns:1fr}.product-gallery {max-width:750px}.product-detail-grid {grid-template-columns:1fr 1fr}}
@media(max-width:650px){.product-hero {padding:46px 0}.product-detail-grid,.product-two-cols {grid-template-columns:1fr}.product-detail-grid {gap:15px;margin-bottom:35px}.product-content {padding:45px 0 60px}.product-intro {padding:45px 0 30px}.product-two-cols>div {padding:23px}.product-gallery-viewport {aspect-ratio:4/3}.product-hero-actions .btn {width:100%}}
@media(prefers-reduced-motion:reduce){.product-gallery-slide{transition:none}}


/* ==========================================================================
   V4.9.5 | HERO RESTAURADO + GALERÍA EN "SOLUCIONES DE..."
   --------------------------------------------------------------------------
   El hero superior vuelve a contener una sola fotografía principal.
   El carrusel de imágenes se encuentra en la sección product-intro,
   DESPUÉS de los dos párrafos informativos.

   CAMBIOS FRECUENTES:
   - Fotografía principal: <img class="product-hero-image"> en cada index.html.
   - Fotografías del carrusel: <figure data-gallery-slide> en cada index.html.
   - Textos adicionales: .product-intro-text en cada index.html.
   - Formato de imagen: preferible WEBP, con nombre descriptivo y alt útil.
   ========================================================================== */
.product-hero-image {display:block;width:100%;height:auto;aspect-ratio:1.38;object-fit:cover;border-radius:15px;box-shadow:0 20px 45px rgba(0,0,0,.18)}
.product-intro {padding:clamp(52px,5vw,78px) 0 72px}
.product-intro-grid {grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);align-items:start;gap:clamp(28px,5vw,74px)}
.product-intro-grid > div:first-child {min-width:0}
.product-intro-grid .eyebrow {margin-bottom:16px}
.product-intro h2 {font-size:clamp(32px,3.15vw,48px);line-height:1.13;letter-spacing:-.04em}
.product-intro-text p {font-size:17px;line-height:1.8;color:#465f67;margin:0 0 18px}
.product-showcase {margin-top:42px;padding:24px;border:1px solid #d8e6ea;border-radius:20px;background:#fff;box-shadow:0 18px 45px rgba(7,55,70,.07)}
.product-showcase-heading {display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:18px}
.product-showcase-heading h3 {color:#102830;font-size:clamp(22px,2.1vw,30px);line-height:1.2;margin:0}
.product-showcase-heading p {color:#586d75;font-size:14px;max-width:360px;margin:0}
.product-showcase .product-gallery {max-width:none;box-shadow:none;border:1px solid #e0e9eb;border-radius:15px}
.product-showcase .product-gallery-viewport {aspect-ratio:16/7;min-height:310px}
.product-showcase .product-gallery-slide img {object-position:center 50%;object-fit:contain;background:#edf3f4}
.product-showcase .product-gallery-slide figcaption {font-size:17px;padding:30px 22px 18px}
@media (max-width:940px) {.product-intro-grid{grid-template-columns:1fr;gap:12px}.product-showcase-heading{display:block}.product-showcase-heading p{margin-top:8px}.product-hero-image{max-height:340px}}
@media (max-width:650px) {.product-intro{padding:44px 0 52px}.product-showcase{padding:12px;margin-top:25px;border-radius:14px}.product-showcase .product-gallery-viewport{aspect-ratio:4/3;min-height:230px}.product-intro-text p{font-size:16px;line-height:1.7}}


/* ============================================================================
   V4.9.6 | COMPOSICIÓN EDITORIAL + CARRUSEL DE PRODUCTOS INDIVIDUALES
   ----------------------------------------------------------------------------
   1. El hero superior NO se modifica: sigue con el logotipo y foto originales.
   2. Los títulos y DOS párrafos se colocan en columnas en la sección Soluciones.
   3. Las cuatro tarjetas se muestran debajo, a todo el ancho del contenedor.
   4. Para modificar el tamaño de tarjetas, editar --tarjetas-por-fila.
   5. Las imágenes de las tarjetas son fotografías ilustrativas recortadas,
      por lo que deben sustituirse por fotos definitivas de cada SKU cuando
      el cliente proporcione el catálogo y muestras de producto.
   ============================================================================ */
.product-intro {padding:clamp(48px,5vw,78px) 0 85px;background:linear-gradient(180deg,#f1f6f7,#fff 68%)}
.product-intro-editorial {display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);align-items:start;gap:clamp(26px,5vw,70px);margin-bottom:42px}
.product-intro-titulos {min-width:0}
.product-intro-titulos .eyebrow {font-size:14px;margin:0 0 18px;letter-spacing:.17em}
.product-intro-titulos h2 {max-width:600px;font-size:clamp(34px,3.2vw,49px);letter-spacing:-.04em;line-height:1.12;margin:0;color:#102830}
.product-intro-editorial .product-intro-text {padding-left:clamp(0px,2vw,28px);border-left:2px solid #d2e2e6}
.product-intro-editorial .product-intro-text p {font-size:17px;line-height:1.75;color:#385762;margin:0 0 15px}
.producto-vitrina {min-width:0}
.producto-vitrina-cabecera {display:flex;gap:25px;align-items:end;justify-content:space-between;margin-bottom:22px}
.producto-vitrina-cabecera .eyebrow {font-size:12px;margin:0 0 7px}
.producto-vitrina-cabecera h3 {font-size:clamp(23px,2.3vw,32px);line-height:1.2;color:#102830;margin:0}
.producto-vitrina-cabecera > p {color:#526970;font-size:14px;line-height:1.6;max-width:410px;margin:0}
.producto-carrusel {--tarjetas-por-fila:4;--producto-espacio:16px;position:relative;min-width:0;padding:0 0 36px}
.producto-carrusel-ventana {overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-inline:contain;border-radius:17px}
.producto-carrusel-ventana::-webkit-scrollbar {display:none}
.producto-carrusel-pista {display:flex;align-items:stretch;gap:var(--producto-espacio)}
.producto-muestra {scroll-snap-align:start;flex:0 0 calc((100% - (var(--tarjetas-por-fila) - 1)*var(--producto-espacio))/var(--tarjetas-por-fila));min-width:0;overflow:hidden;border:1px solid #d7e4e7;border-radius:16px;background:#fff;box-shadow:0 7px 18px #07374609;display:flex;flex-direction:column}
.producto-muestra-imagen {background:#eaf1f3;overflow:hidden;aspect-ratio:1.18}
.producto-muestra img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.producto-muestra:hover img {transform:scale(1.045)}
.producto-muestra-info {display:flex;flex-direction:column;flex:1;padding:0 0 13px}
.producto-muestra h4 {background:#073746;color:#fff;margin:0;font-size:16px;line-height:1.25;text-align:center;min-height:66px;padding:12px 11px;display:flex;align-items:center;justify-content:center}
.producto-muestra p {color:#50666f;font-size:14px;line-height:1.5;padding:13px 15px 2px;margin:0}
.producto-flecha {position:absolute;top:34%;z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid #d0e0e4;background:#fff;color:#073746;font-size:25px;font-weight:800;box-shadow:0 7px 20px #0737461f;cursor:pointer;display:grid;place-items:center}
.producto-flecha:hover {background:#073746;color:#fff}
.producto-flecha:disabled {opacity:.35;cursor:default;background:#fff;color:#60747b}
.producto-flecha-anterior {left:-20px}.producto-flecha-siguiente {right:-20px}
.producto-carrusel-paginacion {position:absolute;bottom:5px;left:0;right:0;display:flex;justify-content:center;gap:9px;align-items:center}
.producto-carrusel-paginacion button {width:10px;height:10px;border:0;border-radius:30px;background:#c1cdd0;padding:0;cursor:pointer}
.producto-carrusel-paginacion button[aria-current=true] {width:26px;background:#f36b21}
.producto-vitrina-pie {text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px;margin-top:7px}
.producto-vitrina-pie p {font-size:15px;color:#465d64;margin:0}
.producto-vitrina-pie .btn {background:#073746;min-width:260px}
.producto-vitrina-pie .btn:hover {background:#0b5161}
@media(max-width:1020px) {.producto-carrusel{--tarjetas-por-fila:2}.producto-vitrina-cabecera{align-items:start}}
@media(max-width:700px) {
 .product-intro {padding:45px 0 55px}
 .product-intro-editorial {grid-template-columns:1fr;gap:18px;margin-bottom:28px}
 .product-intro-editorial .product-intro-text {border-left:none;padding-left:0}
 .product-intro-titulos h2 {font-size:clamp(30px,8vw,42px)}
 .producto-vitrina-cabecera {display:block}
 .producto-vitrina-cabecera>p{margin-top:8px}
 .producto-carrusel {--tarjetas-por-fila:1;padding:0 18px 36px}
 .producto-flecha-anterior {left:-5px}.producto-flecha-siguiente{right:-5px}
 .producto-muestra h4 {min-height:55px}
 .producto-muestra-imagen {aspect-ratio:1.6}
 .producto-vitrina-pie .btn {width:100%;min-width:0}
}
@media(prefers-reduced-motion:reduce){.producto-muestra img{transition:none}.producto-muestra:hover img{transform:none}.producto-carrusel-ventana{scroll-behavior:auto}}


/* ==========================================================================
   V4.9.7 | CONTRASTE DEL BLOQUE FINAL DE COTIZACIÓN
   --------------------------------------------------------------------------
   PROBLEMA: La regla general .product-content h2 asigna texto oscuro.
   Al usar fondo azul petróleo en .product-cta, el título no contrastaba.

   SOLUCIÓN: selector más específico SOLO para este bloque.
   Se aplica a las seis páginas de categorías, sin alterar otros títulos.
   Para cambiar el color del título modifica #FFFFFF.
   ========================================================================== */
.product-content .product-cta h2 {
  color: #FFFFFF;
}

.product-content .product-cta p {
  color: #E4EFF2;
}

/* Garantiza legibilidad al navegar con teclado sobre el botón. */
.product-content .product-cta .btn:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 4px;
}

/* ==========================================================================
   V4.9.8 | FORMULARIO DE COTIZACIÓN EN PÁGINAS INTERIORES
   --------------------------------------------------------------------------
   Se reutiliza el formulario WhatsApp, sin navegar a la portada.
   Ajusta aquí la separación superior e inferior del bloque, si lo deseas.
   ========================================================================== */
.quote-interna { margin-top: 42px; scroll-margin-top: 110px; }
.quote-interna .wa-quote-heading { max-width: 930px; }
.quote-interna .wa-quote-heading h2 { color: #073746; }
.quote-interna .wa-quote-heading h2 span { color: #168755; }
@media (max-width: 760px) {
  .quote-interna { margin-top: 20px; scroll-margin-top: 95px; }
}
