/*
Theme Name: Grupo Naferd Imagen Aprobada
Theme URI: https://gruponaferd.com/
Author: Grupo Naferd
Description: Página corporativa fiel al prototipo aprobado, con contacto y enlaces de marcas.
Version: 2.7
Requires PHP: 7.4
Text Domain: naferd
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;font-family:Arial,Helvetica,sans-serif;color:#071a35}img{max-width:100%;display:block}a{color:inherit}.site{width:100%;max-width:1800px;margin:auto}.top{height:auto;min-height:72px;padding:7px 3.4%;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff}.logo{width:min(470px,47vw);height:auto}.nav{display:flex;align-items:center;gap:26px}.btn{border:0;background:#0874d9;color:#fff;border-radius:13px;padding:12px 18px;text-decoration:none;font-weight:700;white-space:nowrap;cursor:pointer;font-size:16px}.lang{display:flex;border:1px solid #0874d9;border-radius:22px;overflow:hidden}.lang button{padding:10px 17px;border:0;background:white;color:#006bd1;font-weight:700;cursor:pointer}.lang button.active{background:#0075d9;color:#fff}.hero-img{width:100%;height:auto}.divisions{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:7px 1% 0}.divisions img{width:100%;border-radius:18px}.brands{padding:6px 2.2% 12px}.brands-title{width:375px;max-width:100%;height:auto}.brand-row{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));align-items:center}.brand-row a{border-right:1px solid #b4cbe8;display:flex;align-items:center;justify-content:center;min-height:82px;padding:3px;transition:transform .2s}.brand-row a:hover{transform:translateY(-3px)}.brand-row a:last-child{border:0}.brand-row img{width:100%;height:auto;object-fit:contain}.distribution{position:relative}.distribution>img{width:100%}.contact-page{max-width:960px;margin:35px auto;padding:20px}.contact-page h1{font-size:36px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.contact-grid label{display:block;margin:12px 0;font-weight:700}.contact-grid input,.contact-grid textarea{display:block;width:100%;border:1px solid #c9d5e6;border-radius:9px;padding:12px;font:inherit;margin-top:7px}.contact-grid textarea{min-height:130px}.notice{padding:15px;border-radius:8px;background:#e9f8ed}.foot{padding:25px;text-align:center;font-size:13px;color:#50617c}.mobile-dist{display:none}.en-copy{display:none}.is-en .en-copy{display:block}.is-en .es-copy{display:none}.en-explanation{background:#062456;color:white;padding:16px 4%;font-weight:700}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:800px){.top{min-height:65px;padding:8px 12px;gap:6px}.logo{width:min(48vw,320px)}.nav{gap:7px}.btn{font-size:12px;padding:10px 9px}.lang button{font-size:12px;padding:9px}.divisions{grid-template-columns:1fr;gap:8px}.brands{padding:8px}.brand-row{grid-template-columns:repeat(3,1fr)}.brand-row a{min-height:70px;border-bottom:1px solid #dce6f2}.distribution>img{display:none}.mobile-dist{display:block}.mobile-dist img{width:100%}.mobile-dist .map{width:min(90%,500px);margin:auto}.contact-grid{grid-template-columns:1fr}.contact-page{margin:10px auto;padding:18px}.contact-page h1{font-size:28px}}@media(max-width:390px){.logo{width:43vw}.btn{font-size:11px}.lang button{padding:7px}}

/* v1.4: prevent enlargement beyond source artwork; keep all crops proportional. */
.site{max-width:1536px}.hero-img,.distribution>img{height:auto;object-fit:contain}.divisions img{height:auto;aspect-ratio:auto}.logo{height:auto;object-fit:contain}.brand-row img{max-height:90px;object-fit:contain}
@media(min-width:1537px){body{background:#f4f7fb}.site{background:white;box-shadow:0 0 24px #dce3ed}}

/* v1.5: centered, equal-sized brand cards; no stretched artwork */
.brand-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;align-items:stretch;justify-items:stretch;padding:16px 0 12px}
.brand-row .brand-card{min-width:0;min-height:116px;padding:18px 12px;border:1px solid #e4ebf4;border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;background:#fff;overflow:hidden}
.brand-row .brand-card:last-child{border:1px solid #e4ebf4}
.brand-row .brand-card img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:76px!important;object-fit:contain;object-position:center;margin:auto}
.brand-wordmark{display:block;font-weight:800;color:#14385c;font-size:clamp(13px,1.5vw,20px);line-height:1.2;overflow-wrap:anywhere}
.brand-card:focus-visible{outline:3px solid #0874d9;outline-offset:2px}
@media(max-width:900px){.brand-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.brand-row .brand-card{min-height:100px;padding:12px 8px}}
@media(max-width:540px){.brand-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.brand-row .brand-card{min-height:92px}.brand-row .brand-card img{max-height:62px!important}}

/* v1.6: logos are isolated from screenshot (no blue external-link icons); strict centering */
.brand-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px 0}
.brand-row .brand-card{height:132px;min-height:132px;overflow:visible;padding:24px;display:grid;place-items:center;border:1px solid #e1e8f2}
.brand-row .brand-card img{width:100%!important;height:76px!important;max-width:200px!important;max-height:76px!important;object-fit:contain!important;object-position:50% 50%!important;margin:0 auto!important}
@media(max-width:900px){.brand-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.brand-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.brand-row .brand-card{height:104px;min-height:104px;padding:12px}.brand-row .brand-card img{height:60px!important;max-height:60px!important}}

/* v1.7: 11 brands in one single line on desktop, no cropping */
@media (min-width: 1050px) {
 .brands{padding-left:1.4%;padding-right:1.4%}
 .brand-row{display:grid!important;grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:5px!important;padding:12px 0!important}
 .brand-row .brand-card{height:72px!important;min-height:72px!important;min-width:0!important;padding:8px 3px!important;border-radius:6px!important;overflow:visible!important}
 .brand-row .brand-card img{display:block!important;width:100%!important;height:48px!important;max-width:100%!important;max-height:48px!important;object-fit:contain!important;object-position:center center!important;margin:auto!important}
}
@media (min-width: 700px) and (max-width: 1049px){.brand-row{grid-template-columns:repeat(6,minmax(0,1fr))!important}}
@media (max-width: 699px){.brand-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width: 420px){.brand-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v1.9: no image clipping; uniform optical alignment. */
.brand-row .brand-card{overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important}
.brand-row .brand-card img{object-fit:contain!important;object-position:center!important;max-height:52px!important;height:auto!important;width:auto!important;max-width:96%!important}

/* v2.0: authentic user-supplied Chauvet DJ and Studiologic artwork, normalized with padding */
.brand-row .brand-card img{max-width:100%!important;max-height:58px!important;object-fit:contain!important;object-position:center!important}
@media(min-width:1050px){.brand-row .brand-card img{width:100%!important;height:54px!important;max-height:54px!important}}

/* v2.3: exact same centered artwork box for all brands; no distortion or cropping */
.brand-row .brand-card{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;min-width:0!important}
.brand-row .brand-card img{display:block!important;width:100%!important;height:60px!important;max-width:100%!important;max-height:60px!important;object-fit:contain!important;object-position:50% 50%!important;margin:0 auto!important;flex:none!important}
@media(min-width:1050px){.brand-row .brand-card{height:90px!important;min-height:90px!important;padding:8px 5px!important}}
@media(max-width:560px){.brand-row .brand-card img{height:58px!important;max-height:58px!important}}

/* v2.4: fixed optical alignment, source-authentic artwork; consistent boxes */
.brand-row .brand-card{display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:9px 5px!important;box-sizing:border-box!important}
.brand-row .brand-card img{display:block!important;width:100%!important;height:64px!important;max-width:100%!important;max-height:64px!important;object-fit:contain!important;object-position:center!important;margin:auto!important;flex:0 1 auto!important}
@media(max-width:560px){.brand-row .brand-card img{height:58px!important;max-height:58px!important}}

/* v2.5: ajuste óptico puntual; sin alterar los logotipos originales */
.brand-row .brand-card:nth-child(7) img{transform:scale(.82)!important;transform-origin:center center!important}
.brand-row .brand-card:nth-child(10) img{transform:translateY(-5px)!important}
@media(max-width:699px){.brand-row .brand-card:nth-child(10) img{transform:translateY(-4px)!important}}
