/* iQuality · Catálogo (página y menú desplegable) y versión móvil centrada. */

/* ---------- Catálogo: página de marcas ---------- */
main .catalog-brand-grid{grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:14px}
main .catalog-brand-card{align-items:center;justify-content:space-between;gap:10px;min-height:0;padding:14px 14px 16px;border-radius:18px;text-align:center;box-shadow:0 10px 24px -20px rgba(16,24,39,.45)}
main .catalog-brand-identity{width:100%;height:84px;border:1px solid #edf0f3;border-radius:12px;background:#fff}
main .catalog-brand-identity img{width:auto;height:auto;max-width:80%;max-height:54px}
main .catalog-brand-card>strong{font-size:1rem;line-height:1.25;color:#101827}
main .catalog-brand-card>span:last-child{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;background:#fff3ea;font-size:.78rem;font-weight:800;color:#b3470f;transition:background-color .25s,color .25s}
main .catalog-brand-card:hover>span:last-child,main .catalog-brand-card:focus-visible>span:last-child{background:var(--primary-color,#f26a21);color:#101827}
main .catalog-intro{padding-bottom:44px}

/* ---------- Catálogo: menú desplegable del encabezado (escritorio) ---------- */
@media (min-width:851px){
  .site-nav .catalog-nav-menu{min-width:0;width:min(520px,92vw);padding:12px;gap:8px;max-height:none;overflow:visible;border-radius:16px}
  .nav-dropdown:is(:hover,:focus-within,.open)>.catalog-nav-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
}
.site-nav .catalog-nav-menu a{flex-direction:column;justify-content:center;gap:6px;min-height:0;padding:10px 6px 9px;border:1px solid #edf0f3;border-radius:12px;background:#fff;color:#101827;font-size:.76rem;font-weight:800;line-height:1.2;text-align:center;white-space:normal;transform:none}
.site-nav .catalog-nav-menu a:hover,.site-nav .catalog-nav-menu a:focus-visible,.site-nav .catalog-nav-menu a:active{background:#fff7f0;border-color:var(--primary-color,#f26a21);color:#101827;transform:translateY(-2px);box-shadow:0 12px 20px -14px rgba(242,106,33,.7)}
.site-nav .catalog-nav-logo,.site-nav .catalog-nav-initial{width:72px;height:34px;flex:0 0 auto;border-radius:6px;object-fit:contain}
.site-nav .catalog-nav-initial{font-size:1.2rem}

/* ---------- Móvil: menú ---------- */
@media (max-width:850px){
  .site-nav a,.nav-dropdown>a{text-align:center}
  .nav-dropdown{justify-content:center}
  .nav-dropdown>a{flex:1 1 auto}
  .site-nav .nav-dropdown.open>.catalog-nav-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:0 0 100%;max-height:none;overflow:visible;padding:10px 0 14px}
  .site-nav .nav-dropdown.open>.nav-dropdown-menu:not(.catalog-nav-menu){padding:4px 0 10px;text-align:center}
}

/* ---------- Móvil: página centrada ---------- */
@media (max-width:960px){
  main .pt-copy,main .pt-copy>*{text-align:center}
  main .pt-actions,main .pt-quick,main .pt-proof{justify-content:center}
  main .pt h1,main .pt-lead{margin-inline:auto}
}
@media (max-width:700px){
  main .section-heading,main .home-slider-heading{flex-direction:column;align-items:center;gap:14px;text-align:center}
  main .section-heading>div,main .home-slider-heading>div{display:flex;flex-direction:column;align-items:center}
  main .section-heading :is(h2,p,.eyebrow),main .home-slider-heading h2{margin-inline:auto;text-align:center;justify-content:center}
  main .text-link{align-self:center}
  main .home-slider-controls{justify-content:center}

  main .benefit{flex-direction:column;align-items:center;text-align:center}
  main .benefit :is(strong,small){text-align:center}
  main .service-process-step{align-items:center;text-align:center}
  main .service-process-step .step-ico{margin-inline:auto}
  main .service-process-step :is(h3,p){text-align:center;margin-inline:auto}
  main .service-process :is(h2,p,.eyebrow){text-align:center;margin-inline:auto;justify-content:center}
  main .request-options article{align-items:center;text-align:center}
  main .request-options article :is(h2,p,.eyebrow){text-align:center;margin-inline:auto;justify-content:center}
  main .request-options .btn{align-self:center}
  main .stat,main .reason,main .testimonial-card,main .highlight-grid>*,main .project-info{text-align:center;align-items:center}
  main :is(.about-section,.stats-section,.reasons-section,.testimonials-section,.cta-section,.banner-section,.brands-section,.contact-section,.faq-section,.highlights-section,.projects-section) :is(h2,.eyebrow,.lead){text-align:center;margin-inline:auto;justify-content:center}
  main :is(.about-section,.cta-section,.banner-section,.contact-section,.brands-section) p{text-align:center;margin-inline:auto}
  main :is(.about-section,.cta-section,.banner-section) :is(.button-row,.check-list,.feature-list){justify-content:center}
  main .cta-section .btn,main .banner-section .btn{margin-inline:auto}
  main :is(.faq-section,.about-copy,.visit-quote-section,.contact-section,.cta-section,.banner-section,.brands-section){text-align:center}
  main :is(.faq-list,.contact-section form,.contact-form){text-align:left}
  main .contact-section form :is(button[type=submit],.btn){display:flex;margin-inline:auto}
  main section.faq-section .container>.reveal:not(.faq-list){text-align:center}
  main .faq-section :is(.eyebrow,.text-link,p){margin-inline:auto}
  main .about-copy .btn{margin-inline:auto}
  main .about-copy .check-list{width:max-content;max-width:100%;margin-inline:auto}
  .site-footer .footer-grid,.site-footer .footer-grid>div,.site-footer .footer-bottom{text-align:center;justify-items:center}
  .site-footer .footer-grid{grid-template-columns:1fr}
  .site-footer .footer-link-columns,.site-footer .footer-social-list,.site-footer .footer-bottom{justify-content:center}
  main .logo-motion-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
  main .logo-motion-inner>div{display:flex;flex-direction:column;align-items:center}
  main .logo-motion :is(h2,p,.eyebrow){text-align:center;margin-inline:auto;justify-content:center}
  main .logo-motion-image{margin-inline:auto}
  main .catalog-intro,main .catalog-intro :is(h1,p,.eyebrow){text-align:center;margin-inline:auto;justify-content:center}

  main .catalog-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  main .catalog-brand-card{padding:10px 10px 12px;gap:8px;border-radius:16px}
  main .catalog-brand-identity{height:68px}
  main .catalog-brand-identity img{max-height:44px;max-width:78%}
  main .catalog-brand-card>strong{font-size:.9rem}
  main .catalog-brand-card>span:last-child{padding:6px 11px;font-size:.72rem}
  main .catalog-brand-heading{display:flex;flex-direction:column;align-items:center;text-align:center}
}
