/*
 * Proquisa Framework V3 - Design System alignment
 * Basado en guía de diseño: colores, tipografía de sistema, radios, contenedores y componentes.
 */
:root{
  --pq-primary:#030213;
  --pq-primary-foreground:#FFFFFF;
  --pq-blue:#1A3A6B;
  --pq-blue2:#2979B8;
  --pq-dark:#0D2548;
  --pq-gold:#E8A020;
  --pq-gold-text:#4A2800;
  --pq-wa:#25D366;
  --pq-bg:#F4F7FB;
  --pq-card:#FFFFFF;
  --pq-muted:#ececf0;
  --pq-muted-text:#717182;
  --pq-text:#1A1A1A;
  --pq-text-2:#6B7280;
  --pq-border:#E5E7EB;
  --pq-input:#D1D5DB;
  --pq-input-bg:#F9FAFB;
  --pq-blue-soft:#E6EFF8;
  --pq-blue-border:#C8D8EC;
  --pq-blue-on-dark:#B8CCE8;
  --pq-radius-sm:6px;
  --pq-radius-md:8px;
  --pq-radius-lg:10px;
  --pq-radius-xl:14px;
  --pq-radius-2xl:16px;
  --pq-container:1440px;
  --pq-nav-container:1600px;
  --pq-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body .pq-container,
body .pcpv9-container,
body .pqnosv2-container,
body .pqpv1-container,
body .pq-contact-container{
  max-width:var(--pq-container)!important;
}
body .pq-section,
body .pcpv9-wrap,
body .pqnosv2-wrap,
body .pqpv1-wrap,
body .pq-contact-wrap{
  font-family:var(--pq-font)!important;
  color:var(--pq-text)!important;
}
body .pq-section h1, body .pq-section h2, body .pq-section h3,
body .pcpv9-wrap h1, body .pcpv9-wrap h2, body .pcpv9-wrap h3,
body .pqnosv2-wrap h1, body .pqnosv2-wrap h2, body .pqnosv2-wrap h3,
body .pqpv1-wrap h1, body .pqpv1-wrap h2, body .pqpv1-wrap h3,
body .pq-contact-wrap h1, body .pq-contact-wrap h2, body .pq-contact-wrap h3{
  font-family:var(--pq-font)!important;
  letter-spacing:-.025em!important;
  font-weight:650!important;
}
body .pq-section p,
body .pcpv9-wrap p,
body .pqnosv2-wrap p,
body .pqpv1-wrap p,
body .pq-contact-wrap p{
  font-family:var(--pq-font)!important;
  font-size:16px;
  line-height:1.65;
  color:var(--pq-text-2);
}
/* Pills / etiquetas */
body .pq-pill, body .pq-eyebrow,
body .pcpv9-pill,
body .pqnosv2-pill,
body .pqpv1-eyebrow,
body .pqpv1-section-head span,
body .pqpv1-cta span,
body .pq-section-label{
  border-radius:999px!important;
  font-family:var(--pq-font)!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:.08em!important;
}
/* Botones */
body .pq-btn,
body .pcpv9-btn,
body .pqpv1-btn,
body .pq-contact-wrap .pq-btn,
body .pq-btn-small,
body .pcpv9-product-btn,
body .pqpv1-side-wa,
body .pq-contact-list a{
  border-radius:var(--pq-radius-lg)!important;
  font-family:var(--pq-font)!important;
  font-weight:650!important;
}
body .pq-btn--gold,
body .pcpv9-btn-gold,
body .pcpv9-filters button{
  background:var(--pq-gold)!important;
  color:var(--pq-gold-text)!important;
}
body .pq-btn--outline,
body .pqpv1-btn-outline{
  border-color:rgba(255,255,255,.65)!important;
}
body .pqpv1-btn-wa,
body .pcpv9-btn-whatsapp,
body .pcpv9-help-card a,
body .pq-floating-wa{
  background:var(--pq-wa)!important;
  color:#fff!important;
}
/* Cards generales */
body .pq-product-card-v6,
body .pq-cat-card,
body .pq-brand-card-v6,
body .pcpv9-product-card,
body .pcpv9-side-box,
body .pcpv9-help-card,
body .pqpv1-gallery-card,
body .pqpv1-info-card,
body .pqpv1-content-card,
body .pqpv1-side-card,
body .pqpv1-related-card,
body .pq-info-panel,
body .pq-hours-panel,
body .pqnosv2-card,
body .pqnosv2-value-card,
body .pqnosv2-service-card{
  border-radius:var(--pq-radius-xl)!important;
  border-color:var(--pq-blue-border)!important;
}
/* Section backgrounds */
body .pq-section--soft,
body .pcpv9-main,
body .pqnosv2-section-soft,
body .pqpv1-detail-section{
  background:var(--pq-bg)!important;
}
/* HOME: mantener premium pero más cercano a guía */
body .pq-section{padding:68px 0!important;}
body .pq-section h2{font-size:clamp(28px,2.5vw,38px)!important;line-height:1.2!important;color:var(--pq-blue)!important;}
body .pq-hero-v6{min-height:520px!important;background-color:var(--pq-dark)!important;}
body .pq-hero-v6__grid{min-height:520px!important;}
body .pq-hero-v6 h1{font-size:clamp(34px,4.4vw,58px)!important;font-weight:700!important;line-height:1.08!important;}
body .pq-hero-v6 p{font-size:18px!important;color:#8BAFD4!important;}
body .pq-cat-grid{grid-template-columns:repeat(6,minmax(0,1fr));}
body .pq-cat-card{background:#fff!important;border-radius:var(--pq-radius-xl)!important;box-shadow:0 2px 10px rgba(13,37,72,.05)!important;}
body .pq-cat-card:hover{border-color:var(--pq-blue2)!important;box-shadow:0 10px 28px rgba(13,37,72,.10)!important;}
body .pq-cat-card__img{background:var(--pq-blue-soft);border-radius:999px;width:92px;height:92px;margin:0 auto 15px!important;padding:14px;}
body .pq-product-card-v6{min-height:500px!important;box-shadow:0 4px 18px rgba(13,37,72,.06)!important;}
body .pq-product-card-v6__image{background:#fff!important;height:245px!important;}
body .pq-product-card-v6 h3{font-size:16px!important;line-height:1.5!important;font-weight:650!important;color:var(--pq-primary)!important;}
body .pq-product-card-v6__brand{background:var(--pq-blue-soft)!important;color:var(--pq-blue)!important;font-weight:700!important;}
body .pq-btn-small--blue{background:var(--pq-blue)!important;border-radius:var(--pq-radius-lg)!important;}
body .pq-brand-card-v6{border-left:0!important;background:#fff!important;box-shadow:0 4px 18px rgba(13,37,72,.06)!important;}
body .pq-brand-card-v6 img{filter:grayscale(100%);transition:.2s ease;}
body .pq-brand-card-v6:hover img{filter:grayscale(0%);}
/* CATÁLOGO */
body .pcpv9-hero{min-height:560px!important;background-color:var(--pq-dark)!important;}
body .pcpv9-hero-inner{padding-top:90px!important;padding-bottom:90px!important;}
body .pcpv9-hero-copy{padding:64px 0!important;}
body .pcpv9-hero h1{font-size:clamp(36px,4.8vw,60px)!important;font-weight:700!important;line-height:1.08!important;}
body .pcpv9-hero p{font-size:18px!important;color:#dbeafa!important;}
body .pcpv9-filters{border-color:var(--pq-blue-border)!important;border-radius:var(--pq-radius-xl)!important;}
body .pcpv9-filters input,body .pcpv9-filters select{border-color:var(--pq-input)!important;background:var(--pq-input-bg)!important;border-radius:var(--pq-radius-lg)!important;}
body .pcpv9-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
body .pcpv9-product-img{height:270px!important;background:#fff!important;}
body .pcpv9-product-body h3{font-size:16px!important;line-height:1.5!important;font-weight:650!important;min-height:auto!important;}
body .pcpv9-product-brand{background:var(--pq-blue-soft)!important;color:var(--pq-blue)!important;font-weight:700!important;}
body .pcpv9-pagination{max-width:900px;margin-left:auto!important;margin-right:auto!important;}
/* PRODUCTO INDIVIDUAL */
body .pqpv1-hero{background:linear-gradient(135deg,#F4F7FB 0%,#FFFFFF 60%,#E6EFF8 100%)!important;padding:72px 0!important;}
body .pqpv1-hero-grid{grid-template-columns:minmax(0,1fr) minmax(380px,.9fr)!important;gap:34px!important;align-items:center!important;}
body .pqpv1-gallery-card{padding:28px!important;}
body .pqpv1-gallery-card:before{display:none!important;}
body .pqpv1-main-image{height:600px!important;border-radius:var(--pq-radius-xl)!important;}
body .pqpv1-product-photo{max-width:94%!important;max-height:94%!important;object-fit:contain!important;}
body .pqpv1-info-card{padding:42px!important;}
body .pqpv1-info-card h1{font-size:clamp(30px,3.2vw,48px)!important;font-weight:700!important;line-height:1.12!important;color:var(--pq-dark)!important;}
body .pqpv1-lead{font-size:17px!important;color:var(--pq-text-2)!important;}
body .pqpv1-meta-grid{gap:12px!important;}
body .pqpv1-pill{border-radius:var(--pq-radius-xl)!important;background:#fff!important;}
body .pqpv1-related{padding:72px 0!important;}
body .pqpv1-related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;}
body .pqpv1-related-card{overflow:hidden!important;min-height:470px!important;border-radius:var(--pq-radius-xl)!important;}
body .pqpv1-related-img{height:250px!important;background:#fff!important;}
body .pqpv1-related-photo{object-fit:contain!important;max-width:100%!important;max-height:100%!important;}
body .pqpv1-related-body h3{font-size:16px!important;line-height:1.5!important;font-weight:650!important;}
/* CONTACTO Y NOSOTROS */
body .pq-contact-hero-copy h1,
body .pqnosv2-hero h1{font-size:clamp(34px,4.4vw,58px)!important;font-weight:700!important;line-height:1.08!important;}
body .pq-info-panel h2,
body .pq-hours-panel h2,
body .pqnosv2-section-title{font-size:clamp(28px,2.6vw,40px)!important;font-weight:650!important;}
body .pqnosv2-hero{min-height:620px!important;}
body .pqnosv2-hero-inner{padding-top:88px!important;padding-bottom:88px!important;}
/* Responsive */
@media(max-width:1180px){
  body .pq-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  body .pq-products-grid-v6{grid-template-columns:repeat(3,minmax(0,1fr));}
  body .pqpv1-hero-grid{grid-template-columns:1fr!important;}
  body .pqpv1-main-image{height:520px!important;}
}
@media(max-width:980px){
  body .pcpv9-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body .pqpv1-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  body .pq-section{padding:48px 0!important;}
  body .pq-cat-grid,body .pq-products-grid-v6,body .pcpv9-grid,body .pqpv1-related-grid{grid-template-columns:1fr!important;}
  body .pcpv9-hero,body .pqnosv2-hero{min-height:560px!important;}
  body .pqpv1-main-image{height:360px!important;}
  body .pqpv1-info-card{padding:26px!important;}
}

/*
 * Proquisa Framework V4 - Ajustes puntuales solicitados
 * No modifica estructura; solo corrige legibilidad, tipografía, hero y lightbox.
 */
:root{--pq-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;}

/* Tipografía uniforme en Inicio y Contacto */
body .pq-hero-v6,
body .pq-hero-v6 *,
body .pq-contact-wrap,
body .pq-contact-wrap *,
body .pq-contact-hero-v8,
body .pq-contact-hero-v8 *{
  font-family:var(--pq-font)!important;
}
body .pq-hero-v6 h1,
body .pq-hero-v6 h2,
body .pq-hero-v6 h3,
body .pq-contact-hero-copy h1,
body .pq-info-panel h2,
body .pq-hours-panel h2{
  font-family:var(--pq-font)!important;
  font-weight:750!important;
  letter-spacing:-.035em!important;
}

/* INICIO: hero un poco más ancho/alto sin alterar contenido */
body .pq-hero-v6{
  min-height:640px!important;
  background-position:center center!important;
}
body .pq-hero-v6__grid{
  min-height:640px!important;
}
body .pq-hero-v6__content{
  max-width:820px!important;
}
body .pq-hero-v6 h1{
  font-size:clamp(40px,4.9vw,68px)!important;
  line-height:1.08!important;
}
body .pq-hero-v6 p{
  color:#dbeafa!important;
  font-weight:400!important;
}

/* NOSOTROS: mejorar lectura en hero/CTA y textos sobre fondo oscuro */
body .pqnosv2-hero:before{
  background:linear-gradient(90deg,rgba(13,37,72,.98) 0%,rgba(13,37,72,.94) 46%,rgba(13,37,72,.62) 78%,rgba(13,37,72,.50) 100%)!important;
}
body .pqnosv2-hero h1,
body .pqnosv2-final h2,
body .pqnosv2-band h2{
  color:#fff!important;
  text-shadow:0 3px 18px rgba(0,0,0,.28)!important;
}
body .pqnosv2-hero p,
body .pqnosv2-final p,
body .pqnosv2-band p{
  color:#f5f9ff!important;
  opacity:1!important;
  text-shadow:0 2px 12px rgba(0,0,0,.24)!important;
}
body .pqnosv2-final:before{
  background:linear-gradient(90deg,rgba(13,37,72,.98),rgba(13,37,72,.90),rgba(13,37,72,.62))!important;
}
body .pqnosv2-final .pqnosv2-pill,
body .pqnosv2-band .pqnosv2-pill{
  background:rgba(232,160,32,.18)!important;
  border:1px solid rgba(232,160,32,.55)!important;
  color:#ffd470!important;
}

/* NOSOTROS: galería más respirada e interactiva */
body .pqnosv2-gallery{
  padding-top:96px!important;
  padding-bottom:110px!important;
}
body .pqnosv2-gallery-grid{
  gap:34px!important;
  align-items:center!important;
}
body .pqnosv2-gallery-grid img{
  cursor:zoom-in!important;
  transition:transform .28s ease, box-shadow .28s ease, filter .28s ease!important;
  border:1px solid rgba(200,216,236,.75)!important;
}
body .pqnosv2-gallery-grid img:hover{
  transform:translateY(-8px) scale(1.015)!important;
  box-shadow:0 26px 70px rgba(13,37,72,.18)!important;
  filter:saturate(1.06) contrast(1.03)!important;
}
body .pqnosv2-gallery-grid img:nth-child(2){
  margin-top:0!important;
}

/* PRODUCTO: badge/etiqueta Proquisa visible y producto más contenido */
body .pqpv1-eyebrow,
body .pqpv1-section-head span,
body .pqpv1-cta span{
  color:var(--pq-blue)!important;
  background:#E6EFF8!important;
  border:1px solid #C8D8EC!important;
}
body .pqpv1-cta{background:var(--pq-blue)!important;}
body .pqpv1-cta span{
  background:rgba(232,160,32,.14)!important;
  color:#ffd470!important;
  border-color:rgba(232,160,32,.45)!important;
}
body .pqpv1-main-image{
  height:min(68vh,620px)!important;
  min-height:460px!important;
}
body .pqpv1-product-photo{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:28px!important;
}
body .pqpv1-related-card{
  overflow:visible!important;
}
body .pqpv1-related-img{
  overflow:hidden!important;
}
body .pqpv1-related-body{
  padding-bottom:30px!important;
}
body .pqpv1-related-body h3{
  display:block!important;
  overflow:visible!important;
  min-height:auto!important;
  max-height:none!important;
  color:var(--pq-dark)!important;
}

/* CONTACTO: conservar layout, corregir tipografía y legibilidad */
body .pq-contact-hero-copy h1{
  font-size:clamp(38px,4.4vw,64px)!important;
  line-height:1.12!important;
}
body .pq-contact-hero-copy p{
  color:#f2f7ff!important;
  opacity:1!important;
  font-size:18px!important;
  text-shadow:0 2px 12px rgba(0,0,0,.18)!important;
}
body .pq-contact-hero-v8:before{
  opacity:.28!important;
}
body .pq-info-panel p,
body .pq-hours-box{
  color:#475569!important;
  opacity:1!important;
}
body .pq-contact-list span,
body .pq-contact-list strong,
body .pq-hours-box strong,
body .pq-mini-cta{
  opacity:1!important;
}
body .pq-contact-list a{
  background:#F9FAFB!important;
  border-color:#D8E5F3!important;
}

/* Lightbox sencillo para imágenes de Nosotros */
.pq-lightbox-v4{
  position:fixed;
  inset:0;
  z-index:999999;
  background:rgba(3,2,19,.86);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}
.pq-lightbox-v4.is-open{opacity:1;pointer-events:auto;}
.pq-lightbox-v4 img{
  max-width:min(1100px,94vw);
  max-height:88vh;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 30px 90px rgba(0,0,0,.45);
  background:#fff;
}
.pq-lightbox-v4 button{
  position:absolute;
  top:22px;
  right:24px;
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}

@media(max-width:980px){
  body .pq-hero-v6,body .pq-hero-v6__grid{min-height:560px!important;}
  body .pqnosv2-gallery-grid{gap:20px!important;}
}
@media(max-width:640px){
  body .pq-hero-v6,body .pq-hero-v6__grid{min-height:540px!important;}
  body .pq-contact-hero-copy h1{font-size:36px!important;}
  body .pqnosv2-gallery{padding-top:58px!important;padding-bottom:68px!important;}
}

/* === V6.5 ajustes solicitados: búsqueda, teléfono, tarjetas sin logotipo y orden Nosotros === */
body .pq-header-v5__top-link--phone .pq-header-v5__top-icon{width:28px!important;height:28px!important;border-radius:999px!important;background:#2979B8!important;display:grid!important;place-items:center!important;box-shadow:0 8px 18px rgba(41,121,184,.25)!important;}
body .pq-header-v5__top-link--phone .pq-header-v5__top-icon svg{width:15px!important;height:15px!important;color:#fff!important;}
body .pq-header-v5__results{padding:10px!important;border-radius:16px!important;border:1px solid #d8e6f5!important;box-shadow:0 26px 70px rgba(13,37,72,.22)!important;}
body .pq-header-v5__result{grid-template-columns:48px minmax(0,1fr) 24px!important;gap:14px!important;align-items:center!important;padding:12px 14px!important;border-radius:12px!important;min-height:66px!important;}
body .pq-header-v5__result:hover{background:#F4F7FB!important;transform:translateX(2px)!important;}
body .pq-header-v5__result-img{width:48px!important;height:48px!important;border-radius:12px!important;background:#E6EFF8!important;flex:0 0 48px!important;}
body .pq-header-v5__result-img img{width:100%!important;height:100%!important;object-fit:contain!important;padding:4px!important;background:#fff!important;}
body .pq-header-v5__result-copy{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important;}
body .pq-header-v5__result-type{display:block!important;font-size:10px!important;line-height:1!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#6A8BAD!important;font-weight:900!important;margin:0!important;}
body .pq-header-v5__result-title{display:block!important;font-size:14px!important;line-height:1.28!important;font-weight:900!important;color:#071c37!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
body .pq-header-v5__result-go{font-size:24px!important;color:#2979B8!important;align-self:center!important;}

/* Quitar logotipo/ícono de marca en productos: Inicio, Catálogo y búsquedas por marca/categoría */
body .pq-product-card-v6__brand-logo-corner,
body .pcpv9-product-brand-corner,
body .pqpv1-cat-brand-corner{display:none!important;visibility:hidden!important;opacity:0!important;}

/* Nuevo acomodo visual para tarjetas de producto sin logotipo de marca */
body .pq-product-card-v6,
body .pcpv9-product-card,
body .pqpv1-cat-product{position:relative!important;overflow:hidden!important;border:1px solid #C8D8EC!important;border-radius:16px!important;background:#fff!important;box-shadow:0 14px 34px rgba(13,37,72,.045)!important;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;}
body .pq-product-card-v6:before,
body .pcpv9-product-card:before,
body .pqpv1-cat-product:before{content:""!important;position:absolute!important;inset:0 0 auto 0!important;height:5px!important;background:linear-gradient(90deg,#1A3A6B,#2979B8,#E8A020)!important;opacity:0!important;transition:.24s ease!important;z-index:2!important;}
body .pq-product-card-v6:hover,
body .pcpv9-product-card:hover,
body .pqpv1-cat-product:hover{transform:translateY(-6px)!important;border-color:#8fbde5!important;box-shadow:0 26px 62px rgba(13,37,72,.11)!important;}
body .pq-product-card-v6:hover:before,
body .pcpv9-product-card:hover:before,
body .pqpv1-cat-product:hover:before{opacity:1!important;}
body .pq-product-card-v6__image,
body .pcpv9-product-img,
body .pqpv1-cat-product-img{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)!important;border-bottom:1px solid #E5E7EB!important;}
body .pq-product-card-v6__image>img,
body .pcpv9-product-img>img,
body .pqpv1-cat-product-img>img{transition:transform .28s ease!important;filter:drop-shadow(0 8px 18px rgba(13,37,72,.055))!important;}
body .pq-product-card-v6:hover .pq-product-card-v6__image>img,
body .pcpv9-product-card:hover .pcpv9-product-img>img,
body .pqpv1-cat-product:hover .pqpv1-cat-product-img>img{transform:scale(1.045)!important;}

/* V6.7 - Remover logotipos de marca sobre tarjetas de producto */
body .pq-product-card-v6__brand-logo-corner,
body .pq-product-card-v6__brand--logo{display:none!important;visibility:hidden!important;opacity:0!important;}
