/* CARQUBIT V61 — ajuste responsive conservador. No modifica paneles ni datos. */
html{width:100%;max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
img,svg,video{max-width:100%}
/* Un solo espacio para el encabezado fijo; el slider no añade una segunda franja. */
body:has(> #slider-section),body:has(> .hero-slider){padding-top:var(--header-height,80px)!important}
body > #slider-section.hero-slider,body > .hero-slider{padding-top:0!important;margin-top:0!important}
body > #slider-section .slide-track{height:100%}
/* Formularios sin desbordamiento horizontal. */
#contacto-form{width:100%!important;max-width:100%!important;margin-inline:auto!important}
#contacto-form .contact-wrapper{width:min(100%,780px)!important;margin-inline:auto!important}
#contacto-form .contact-form,#contacto-form .contact-form>*{max-width:100%!important;min-width:0}
#contacto-form .contact-form input,#contacto-form .contact-form select,#contacto-form .contact-form textarea{width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important}
@media(max-width:767px){
 body:has(> #slider-section),body:has(> .hero-slider){padding-top:72px!important}
 body > #slider-section.hero-slider,body > .hero-slider{padding-top:0!important;margin-top:0!important}
 #contacto-form{padding:20px 12px 38px!important}
 #contacto-form .contact-wrapper{width:100%!important;max-width:100%!important;margin:0 auto!important;padding:26px 17px 30px!important;border-radius:19px!important}
 #contacto-form .contact-wrapper h1{font-size:clamp(25px,7vw,34px)!important;line-height:1.2!important;overflow-wrap:anywhere}
 #contacto-form .contact-wrapper>p{font-size:15px!important;line-height:1.65!important}
 #contacto-form .contact-form label{font-size:14px!important}
 #contacto-form .contact-form input,#contacto-form .contact-form select,#contacto-form .contact-form textarea{font-size:16px!important}
 /* Dos tarjetas por fila sin estrechar el formulario ni el texto principal. */
 .seo-category-grid,.industry-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .seo-category-grid>* , .industry-grid>*{min-width:0!important;width:auto!important;margin:0!important}
 .seo-category-grid a,.industry-grid a,.catalog-card{overflow-wrap:anywhere}
 .seo-category-grid a,.industry-grid>*{padding:17px 13px!important}
 .seo-category-grid h3,.industry-grid h3{font-size:14px!important;line-height:1.35!important}
 .seo-category-grid p,.industry-grid p{font-size:12px!important;line-height:1.5!important}
 .cqcat-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .cqcat-card{min-width:0!important;padding:20px 14px!important;min-height:0!important;overflow-wrap:anywhere}
 .cqcat-card h3{font-size:15px!important;line-height:1.35!important}
 .cqcat-card p{font-size:12px!important;line-height:1.55!important}
}
@media(max-width:360px){.seo-category-grid,.industry-grid,.cqcat-cards{gap:9px!important}.cqcat-card{padding:16px 11px!important}}
@media(prefers-reduced-motion:reduce){.cqcat-card,.seo-category-grid a,.industry-grid>*{animation:none!important;transition:none!important}}

/* CARQUBIT V62: anchura móvil real, legibilidad y encabezado uniforme. */
html,body{min-width:0!important;max-width:100%!important}
.cq-call-now{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;white-space:nowrap}
.cq-call-now .fa-phone{font-size:.95em}
@media(max-width:767px){
  /* Nunca reducir el ancho de la página a una franja por una cuadrícula mal aplicada. */
  body,main,section,.container,.catalog-section,.catalog-section .container,.seo-categories .container,.industry-section .container{min-width:0!important;max-width:100%!important}
  .catalog-section .container,.seo-categories .container,.industry-section .container{width:100%!important;padding-left:16px!important;padding-right:16px!important;margin-inline:auto!important}
  .catalog-section h2,.seo-categories h2,.industry-section h2{max-width:100%!important;width:auto!important;font-size:clamp(24px,6.4vw,32px)!important;line-height:1.2!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
  .catalog-section .catalog-lead,.seo-categories .seo-categories-lead,.industry-section .industry-lead{max-width:100%!important;width:auto!important;font-size:14px!important;line-height:1.55!important;margin-inline:auto!important}
  .catalog-section .catalog-grid{display:grid!important;width:100%!important;max-width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-inline:auto!important}
  .catalog-section .catalog-grid>.catalog-card{width:100%!important;max-width:100%!important;min-width:0!important;padding:17px 12px!important;margin:0!important;overflow:hidden!important}
  .catalog-section .catalog-card h3{font-size:14px!important;line-height:1.35!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important}
  .catalog-section .catalog-card p{font-size:12px!important;line-height:1.5!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important}
  .catalog-section .catalog-card i{font-size:20px!important}
  .seo-category-grid,.industry-grid{width:100%!important;max-width:100%!important}
  .seo-category-grid>a,.industry-grid>.industry-item{min-width:0!important;max-width:100%!important}
  .seo-category-grid h3,.industry-grid h3{word-break:normal!important;overflow-wrap:break-word!important;hyphens:none!important}
  .cq-call-now{min-height:40px!important;padding:10px 14px!important;gap:7px!important}
  .cq-call-now span{font-size:11px!important}
}
@media(max-width:380px){.catalog-section .catalog-grid{gap:9px!important}.catalog-section .catalog-grid>.catalog-card{padding:14px 10px!important}.catalog-section .catalog-card h3{font-size:13px!important}}

/* V63 — Corrección estructural: la SECCIÓN nunca debe ser una cuadrícula. */
@media(max-width:767px){
  #catalogo-tecnologia.cq-tech-catalog,#catalogo-refacciones.cq-auto-catalog,
  section.catalog-section.cq-tech-catalog,section.catalog-section.cq-auto-catalog{
    display:block!important;width:100%!important;max-width:100%!important;
    padding:48px 0 52px!important;margin:0!important;min-width:0!important;
  }
  #catalogo-tecnologia>.container,#catalogo-refacciones>.container{
    display:block!important;width:100%!important;max-width:100%!important;
    padding:0 18px!important;margin:0 auto!important;min-width:0!important;
  }
  #catalogo-tecnologia .corporate-eyebrow,#catalogo-refacciones .corporate-eyebrow{
    display:block!important;width:100%!important;text-align:center!important;margin:0 auto 12px!important;
  }
  #catalogo-tecnologia h2,#catalogo-refacciones h2{
    display:block!important;width:100%!important;max-width:100%!important;
    font-size:clamp(24px,6.2vw,32px)!important;line-height:1.22!important;
    text-align:center!important;letter-spacing:-.025em!important;margin:0 auto 14px!important;
  }
  #catalogo-tecnologia .catalog-lead,#catalogo-refacciones .catalog-lead{
    display:block!important;width:100%!important;max-width:100%!important;
    font-size:14px!important;line-height:1.65!important;text-align:center!important;
    margin:0 auto 24px!important;
  }
  #catalogo-tecnologia .catalog-grid,#catalogo-refacciones .catalog-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;width:100%!important;margin:0 auto!important;
  }
  #catalogo-tecnologia .catalog-card,#catalogo-refacciones .catalog-card{
    display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;
    padding:16px 13px!important;border-radius:15px!important;
  }
  #catalogo-tecnologia .catalog-card h3,#catalogo-refacciones .catalog-card h3{
    font-size:14px!important;line-height:1.4!important;word-break:normal!important;
    overflow-wrap:break-word!important;hyphens:none!important;
  }
  #catalogo-tecnologia .catalog-card p,#catalogo-refacciones .catalog-card p{
    font-size:12px!important;line-height:1.55!important;word-break:normal!important;
    overflow-wrap:break-word!important;hyphens:none!important;
  }
  .header-actions .header-contact-icon{min-width:32px;min-height:32px}
}
@media(max-width:370px){
 #catalogo-tecnologia .catalog-grid,#catalogo-refacciones .catalog-grid{gap:9px!important}
 #catalogo-tecnologia .catalog-card,#catalogo-refacciones .catalog-card{padding:14px 10px!important}
 #catalogo-tecnologia .catalog-card h3,#catalogo-refacciones .catalog-card h3{font-size:13px!important}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .catalog-card,.cqcat-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
 .catalog-card:hover,.cqcat-card:hover{transform:translateY(-4px)}
}

/* V64: encabezado móvil premium CARQUBIT. Solo apariencia; conserva funciones existentes. */
@media(max-width:992px){
 :root{--header-height:64px!important}
 .main-header{position:sticky!important;top:0!important;z-index:1100!important;background:rgba(10,32,55,.92)!important;-webkit-backdrop-filter:blur(16px) saturate(135%);backdrop-filter:blur(16px) saturate(135%);border-bottom:1px solid rgba(255,255,255,.12)!important;box-shadow:0 6px 20px rgba(5,20,40,.12)!important}
 .main-header .header-inner,.main-header.is-scrolled .header-inner{min-height:64px!important;height:64px!important;padding:0 14px!important;gap:8px!important}
 .main-header .header-logo-img{width:clamp(168px,28vw,205px)!important;max-height:40px!important;height:auto!important;object-fit:contain!important}
 .main-header .menu-toggle{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:10px!important;background:rgba(255,255,255,.055)!important;color:#fff!important;font-size:20px!important;padding:0!important}
 .main-header .header-quote{height:36px!important;min-height:36px!important;padding:0 11px!important;font-size:10px!important;box-shadow:0 3px 12px rgba(239,81,35,.15)!important}
 .main-header .header-actions{gap:0!important;margin-left:auto!important}
 .mobile-nav{position:fixed!important;top:64px!important;bottom:0!important;left:0!important;width:100%!important;height:calc(100dvh - 64px)!important;min-height:0!important;padding:12px 22px 32px!important;background:rgba(10,32,55,.97)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);align-items:center!important;justify-content:center!important;z-index:1099!important;overflow-y:auto!important;overscroll-behavior:contain}
 .mobile-nav ul{width:min(100%,480px)!important;max-width:480px!important;margin:0 auto!important;padding:0!important}
 .mobile-nav ul li{margin:0!important;border-bottom:1px solid rgba(225,236,249,.12)!important}
 .mobile-nav ul li a:not(.mobile-quote){display:block!important;padding:16px 10px!important;font-size:clamp(17px,4.3vw,21px)!important;line-height:1.35!important;font-weight:600!important;letter-spacing:.01em!important;text-align:center!important}
 .mobile-nav ul li:last-child{border:0!important;padding-top:20px!important}
 .mobile-nav .mobile-quote{display:inline-flex!important;justify-content:center!important;max-width:100%!important;font-size:15px!important;padding:13px 20px!important}
}
@media(max-width:620px){
 .main-header .header-inner,.main-header.is-scrolled .header-inner{min-height:60px!important;height:60px!important;padding:0 12px!important;gap:7px!important}
 .main-header .header-logo-img{width:clamp(148px,37vw,190px)!important;max-height:37px!important}
 .main-header .header-quote{height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:10px!important}
 .main-header .menu-toggle{width:34px!important;height:34px!important;min-width:34px!important;font-size:19px!important}
 .mobile-nav{top:60px!important;height:calc(100dvh - 60px)!important}
}
@media(max-width:390px){.main-header .header-logo-img{width:clamp(125px,34vw,150px)!important}.main-header .header-quote{padding:0 8px!important;font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.mobile-nav,.main-header{transition:none!important}}

/* V65 — acabado uniforme y translúcido del encabezado público. */
:root{--cq65-header-normal:74px;--cq65-header-compact:62px}
.main-header{
 background:rgba(12,35,59,.87)!important;
 -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
 backdrop-filter:blur(18px) saturate(135%)!important;
 border-bottom:1px solid rgba(255,255,255,.11)!important;
 box-shadow:0 6px 20px rgba(4,18,35,.13)!important;
 transition:background .28s ease,box-shadow .28s ease!important;
}
.main-header.is-scrolled{
 background:rgba(10,31,53,.82)!important;
 -webkit-backdrop-filter:blur(20px) saturate(145%)!important;
 backdrop-filter:blur(20px) saturate(145%)!important;
 box-shadow:0 5px 18px rgba(4,18,35,.16)!important;
}
@media(min-width:993px){
 .main-header .header-inner{min-height:74px!important;height:74px!important}
 .main-header.is-scrolled .header-inner{min-height:62px!important;height:62px!important}
 .main-header .header-logo-img{max-height:43px!important;width:auto!important}
 .main-header.is-scrolled .header-logo-img{max-height:39px!important}
}
@media(max-width:992px){
 .main-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important}
 .main-header,.main-header.is-scrolled{background:rgba(11,34,57,.87)!important}
 .main-header .header-inner,.main-header.is-scrolled .header-inner{height:62px!important;min-height:62px!important}
 .mobile-nav{top:62px!important;height:calc(100dvh - 62px)!important}
 .main-header .header-logo-img{max-height:39px!important}
}
@media(max-width:620px){
 .main-header .header-inner,.main-header.is-scrolled .header-inner{height:58px!important;min-height:58px!important}
 .mobile-nav{top:58px!important;height:calc(100dvh - 58px)!important}
 .main-header .header-logo-img{max-height:36px!important}
}
@media(prefers-reduced-motion:reduce){.main-header,.main-header .header-inner{transition:none!important}}

/* V66: corregir franja causada por alturas distintas del encabezado fijo y el espacio reservado. */
:root{--header-height:74px!important}
html{scroll-padding-top:86px}
body{padding-top:74px!important}
.main-header,.main-header.is-scrolled{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1100!important;margin:0!important;padding:0!important;background:rgba(12,35,59,.89)!important;-webkit-backdrop-filter:blur(16px) saturate(130%)!important;backdrop-filter:blur(16px) saturate(130%)!important}
/* La barra conserva altura constante: al desplazarse ya no queda un hueco de 12 px. */
.main-header .header-inner,.main-header.is-scrolled .header-inner{height:74px!important;min-height:74px!important;max-height:74px!important}
body > #slider-section.hero-slider,body > .hero-slider{padding-top:0!important;margin-top:0!important}
body > main{margin-top:0!important}
@media(max-width:992px){
 :root{--header-height:62px!important}
 body{padding-top:62px!important}
 .main-header .header-inner,.main-header.is-scrolled .header-inner{height:62px!important;min-height:62px!important;max-height:62px!important}
 .mobile-nav{top:62px!important;height:calc(100dvh - 62px)!important}
 html{scroll-padding-top:72px}
}
@media(max-width:620px){
 :root{--header-height:58px!important}
 body{padding-top:58px!important}
 .main-header .header-inner,.main-header.is-scrolled .header-inner{height:58px!important;min-height:58px!important;max-height:58px!important}
 .mobile-nav{top:58px!important;height:calc(100dvh - 58px)!important}
 html{scroll-padding-top:68px}
}

/* V67 — Encabezado público: compacto al desplazarse, sin franjas ni desplazamientos de contenido. */
:root{--cq-header-expanded:74px;--cq-header-shrunk:60px}
.main-header{transition:background .26s ease,box-shadow .26s ease,backdrop-filter .26s ease!important}
.main-header .header-inner{transition:height .26s ease,min-height .26s ease,max-height .26s ease,padding .26s ease!important}
.main-header .header-logo-img{transition:max-height .26s ease,width .26s ease!important}
@media(min-width:993px){
 .main-header:not(.is-scrolled) .header-inner{height:74px!important;min-height:74px!important;max-height:74px!important}
 .main-header.is-scrolled .header-inner{height:60px!important;min-height:60px!important;max-height:60px!important}
 .main-header.is-scrolled .header-logo-img{max-height:35px!important}
}
@media(min-width:621px) and (max-width:992px){
 .main-header:not(.is-scrolled) .header-inner{height:62px!important;min-height:62px!important;max-height:62px!important}
 .main-header.is-scrolled .header-inner{height:54px!important;min-height:54px!important;max-height:54px!important}
 .main-header.is-scrolled .header-logo-img{max-height:34px!important}
 .mobile-nav{top:62px!important;height:calc(100dvh - 62px)!important}
 .main-header.is-scrolled~.mobile-nav{top:54px!important;height:calc(100dvh - 54px)!important}
}
@media(max-width:620px){
 .main-header:not(.is-scrolled) .header-inner{height:58px!important;min-height:58px!important;max-height:58px!important}
 .main-header.is-scrolled .header-inner{height:50px!important;min-height:50px!important;max-height:50px!important}
 .main-header.is-scrolled .header-logo-img{max-height:32px!important}
 .mobile-nav{top:58px!important;height:calc(100dvh - 58px)!important}
 .main-header.is-scrolled~.mobile-nav{top:50px!important;height:calc(100dvh - 50px)!important}
}
/* El espacio reservado al encabezado mantiene la altura inicial: no genera franjas durante el scroll. */

/* V69: azul institucional sólido arriba, translúcido con scroll. */
body .main-header:not(.is-scrolled){background:#091d33!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body .main-header.is-scrolled{background:rgba(9,29,51,.84)!important;-webkit-backdrop-filter:blur(16px) saturate(130%)!important;backdrop-filter:blur(16px) saturate(130%)!important}
