/* QUEPPA V5 · Identidad corporativa y carrusel de clientes. */
:root {
  --navy: #0B1018;
  --deep: #0B1018;
  --gold: #eeb42e;
  --muted: #64707b;
  --pale: #f5f6f6;
  --line: #dfe5e8;
}

body { color: #303a43; }
h1, h2, h3, h4, .brand-name, .service-card h3 { color: inherit; }
h2 span, .values-heading h3 span { color: #687781; }
.topbar, .footer, .contact, .security, .mission-card { background: #0B1018; }
.topbar { color: #d8dee4; }
.site-header { background: #fff; box-shadow: 0 4px 21px #0b10180d; }
.site-nav a:hover, .footer a:hover, .eyebrow, .about-content .eyebrow { color: #ad7d11; }
.btn-gold, .part-body a, .purpose-icon { background: #eeb42e; color: #0B1018; }
.btn-gold:hover, .part-body a:hover { background: #ffca4f; color: #0B1018; }
.btn-about, .card-link { background: #0B1018; border-color: #0B1018; color: #fff; }
.btn-about:hover, .card-link:hover { background: #29333f; }
.topbar-divider { border-color: #59606a; }
.hero, .hero-layout { min-height: 660px; }
.hero-shade { background: linear-gradient(90deg, #0B1018f7 0%, #0B1018ed 35%, #0B1018a3 67%, #0B10182e 100%); }
.hero-copy { max-width: 980px; }
.hero h1 { color: #fff; font-size: clamp(2.65rem, 5vw, 5.25rem); letter-spacing: -.052em; max-width: 980px; }
.hero h1 em { color: #eeb42e; }
.hero-description { max-width: 645px; font-size: 1.1rem; }
.hero-side { color: #f2f5f6; }
.about-sectors { background: #f4f5f5; border-color: #e3e5e6; }
.about-sector-grid>span { border-color: #e4e5e7; color: #0B1018; }
.about-sector-grid i, .line-icon, .value-card>i { color: #ba871c; }
.about-sectors-label, .service-arrow, .service-card h3, .steps h3 { color: #0B1018; }
.about-values>div { border-top-color: #eeb42e; }
.mission-card .purpose-label { color: #eeb42e; }
.vision-card { background: #f7f8f8; color: #0B1018; }
.vision-card .purpose-icon { background: #f5e4b9; color: #0B1018; }
.value-card { background: #fafafa; border-top-color: #eeb42e; }
.technical-story, .brands, .solutions, .catalog, .approach { background: #f5f6f6; }
.technical-showcase figure { background: #0B1018; }
.photo-band { background: #0B1018; }
.photo-band-img { opacity: .30; }
.photo-band-shade { background: linear-gradient(90deg, #0B1018ed, #0B101889); }
.contact em { color: #eeb42e; }
.contact-form { color: #0B1018; }
.contact-form input:not([type=checkbox]), .contact-form select, .contact-form textarea { color: #0B1018; }
.location-panel { background: #1a202a; border-color: #3a414b; }
.brand-token.logo-on-dark { background: #1c2430; border-color: #1c2430; }
.brand-token.logo-on-dark:hover { background: #2b3746; }
.brand-token:hover { border-color: #eeb42e; }
.whatsapp-float { box-shadow: 0 7px 27px #0b101838; }

/* El archivo enviado incluye un símbolo ancho y un subtítulo: nunca se recorta. */
.brand .brand-logo { display: block; width: clamp(190px, 16vw, 234px); height: auto; max-height: 85px; object-fit: contain; }
.brand-footer { display: inline-flex; width: fit-content; background: #fff; border-radius: 4px; padding: 11px 15px; }
.brand-footer .brand-logo { width: 240px; max-height: none; }
.footer-brand p { max-width: 355px; }

/* Pantalla de bienvenida breve; no bloquea la web si no hay JavaScript. */
.page-loader { position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; place-items: center; transition: opacity .55s ease, visibility .55s ease; }
.page-loader.is-complete { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { width: min(510px, 88vw); text-align: center; }
.loader-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.loader-track { margin: 30px auto 0; width: min(190px, 55%); height: 3px; overflow: hidden; background: #e7e8e9; border-radius: 5px; }
.loader-track::after { content: ""; display: block; height: 100%; width: 42%; background: #eeb42e; border-radius: 5px; animation: loading-travel 1.1s ease-in-out infinite alternate; }
@keyframes loading-travel { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* Carrusel sólo de logotipos, independiente de la sección de marcas. */
.clients { background: #fff; border-top: 1px solid #e6e8e9; border-bottom: 1px solid #e6e8e9; }
.clients-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 32px; }
.clients-head h2 { max-width: 875px; margin: 0; }
.clients-head .eyebrow { margin-bottom: 15px; }
.clients-controls { display: flex; gap: 10px; flex-shrink: 0; }
.clients-arrow { display: inline-grid; place-items: center; width: 47px; height: 47px; border: 1px solid #dae0e3; background: #fff; color: #0B1018; border-radius: 50%; transition: background .2s, border-color .2s; }
.clients-arrow:hover, .clients-arrow:focus-visible { background: #eeb42e; border-color: #eeb42e; }
.clients-rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 17px) / 6); gap: 17px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 2px 22px; }
.clients-rail::-webkit-scrollbar { display: none; }
.client-card { scroll-snap-align: start; height: 145px; background: #fff; border: 1px solid #e2e5e7; border-radius: 5px; box-shadow: 0 8px 24px #0b101807; display: grid; place-items: center; padding: 20px 22px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.client-card:hover { transform: translateY(-4px); border-color: #eeb42e; box-shadow: 0 15px 26px #0b101817; }
.client-card-dark { background: #0B1018; border-color: #0B1018; }
.client-card-dark:hover { background: #1c2633; }
.client-card img { width: 100%; height: 100%; max-height: 105px; object-fit: contain; }
.clients-progress { display: flex; align-items: center; gap: 10px; margin-top: 4px; color: #5f6972; font-size: .78rem; font-weight: 700; }
.clients-progress-bar { position: relative; flex: 1; max-width: 180px; background: #e6e8ea; height: 3px; border-radius: 3px; overflow: hidden; }
.clients-progress-bar span { display: block; width: 16.6667%; height: 100%; background: #eeb42e; transition: transform .3s ease; }

@media (max-width: 1170px) {
  .site-nav { gap: 13px; font-size: .75rem; }
  .brand .brand-logo { width: 185px; }
  .clients-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; }
}
@media (max-width: 980px) {
  .header-inner { min-height: 79px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 13px 27px 25px; flex-direction: column; align-items: stretch; box-shadow: 0 18px 30px #0b101822; gap: 0; font-size: .87rem; }
  .site-nav.open { display: flex; }
  .site-nav>a:not(.btn) { padding: 12px 0; }
  .clients-rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
}
@media (max-width: 700px) {
  .clients-head { align-items: flex-end; gap: 12px; }
  .clients-head h2 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
  .clients-arrow { width: 40px; height: 40px; }
  .clients-rail { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .client-card { height: 120px; padding: 16px; }
  .hero-shade { background: linear-gradient(90deg, #0B1018f5, #0B1018bd); }
  .hero h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
}
@media (max-width: 440px) {
  .brand .brand-logo { width: 183px; }
  .clients-head { align-items: flex-start; }
  .clients-controls { margin-top: 44px; }
  .clients-rail { grid-auto-columns: calc((100% - 11px) / 2); gap: 11px; }
  .client-card { height: 107px; padding: 11px; }
  .footer-brand .brand-logo { width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-track::after { animation: none; transform: translateX(95%); }
  .clients-rail { scroll-behavior: auto; }
  .page-loader { transition: none; }
}
