/* ========= MEGA AUTOPARTS — STYLES ========= */
:root{
  --ink: #0A1628;
  --navy: #002B5C;
  --navy-2: #042649;
  --navy-deep: #031227;
  --blue: #074DB1;
  --blue-bright: #0B61DB;
  --red: #E32920;
  --red-dark: #B81F18;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #F4F6FA;
  --bg-gray: #EDEFF3;
  --border: #E4E7EC;
  --text: #0A1628;
  --muted: #5A6578;
  --muted-2: #8A93A3;
  --whatsapp: #25D366;

  --container: 1320px;
  --radius: 6px;
  --radius-lg: 14px;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}

.container{max-width: var(--container); margin:0 auto; padding: 0 32px;}
@media (max-width: 640px){.container{padding:0 20px}}

/* ========= TYPE ========= */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-sans); font-weight:600;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before{
  content:""; width: 28px; height: 2px; background: var(--red); display:inline-block;
}
.eyebrow.light{color:#fff}
.eyebrow.light::before{background:#fff}
.eyebrow.muted{color: var(--blue)}
.eyebrow.muted::before{background: var(--blue)}

h1,h2,h3,h4{font-family: var(--font-sans); color: var(--ink); margin:0; letter-spacing:-0.02em; font-weight: 700}
h1{font-weight:800; font-size: clamp(44px, 6.2vw, 84px); line-height: 1; letter-spacing:-0.035em}
h2{font-weight:700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing:-0.025em}
h3{font-weight:600; font-size: 20px; line-height:1.25; letter-spacing:-0.015em}
p{margin:0}

/* ========= BUTTONS ========= */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary{background: var(--navy); color:#fff}
.btn-primary:hover{background: var(--ink); transform: translateY(-1px)}
.btn-red{background: var(--red); color:#fff}
.btn-red:hover{background: var(--red-dark); transform: translateY(-1px)}
.btn-outline{background: transparent; color: var(--ink); border: 1.5px solid var(--ink)}
.btn-outline:hover{background: var(--ink); color:#fff}
.btn-outline-light{background:transparent; color:#fff; border: 1.5px solid rgba(255,255,255,.6)}
.btn-outline-light:hover{background:#fff; color: var(--navy); border-color:#fff}
.btn-ghost{background:transparent; color: var(--ink)}
.btn-ghost:hover{background: var(--bg-alt)}
.btn-lg{padding: 18px 28px; font-size: 15px}
.btn-sm{padding: 10px 16px; font-size: 13px}
.btn .arrow{transition: transform .2s ease; display:inline-block}
.btn:hover .arrow{transform: translateX(3px)}

/* ========= TOP BAR ========= */
.topbar{
  background: var(--ink);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  height: 40px; gap: 24px;
}
.topbar .left{display:flex; gap:22px; align-items:center}
.topbar .right{display:flex; gap:18px; align-items:center}
.topbar .item{display:inline-flex; align-items:center; gap:8px}
.topbar .item svg{opacity:.7}
.topbar a:hover{color:#fff}
.topbar .social{display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; transition: background .15s}
.topbar .social:hover{background: rgba(255,255,255,.1); color:#fff}
@media (max-width: 860px){.topbar .middle{display:none}}
@media (max-width: 600px){.topbar .left .horario{display:none}}

/* ========= NAV ========= */
.nav{
  background: #fff;
  position: sticky; top: 0; z-index: 90;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s, background .2s;
}
.nav.scrolled{box-shadow: 0 10px 30px -15px rgba(10,22,40,.15)}
.nav .row{display:flex; align-items:center; gap: 40px; height: 78px}
.nav .logo{display:flex; align-items:center; gap:10px; flex-shrink:0}
.nav .logo img{height: 46px; width:auto}
.nav .menu{display:flex; align-items:center; gap: 4px; flex:1}
.nav .menu a, .nav .menu .has-mega{
  padding: 10px 14px; font-weight: 500; font-size: 14.5px; color: var(--ink);
  border-radius: 4px; display:inline-flex; align-items:center; gap:6px;
  transition: color .15s, background .15s; position: relative;
}
.nav .menu a:hover, .nav .menu .has-mega:hover{color: var(--red)}
.nav .cta{display:flex; align-items:center; gap:14px; flex-shrink:0}
.nav .phone{display:flex; align-items:center; gap:12px; padding-right: 4px}
.nav .phone .ring{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center;
  animation: ring 2s ease-in-out infinite;
}
@keyframes ring{
  0%,100%{transform: rotate(0)}
  3%{transform: rotate(-12deg)}
  6%{transform: rotate(12deg)}
  9%{transform: rotate(-8deg)}
  12%{transform: rotate(0)}
}
.nav .phone .t{font-size: 11px; color: var(--muted); line-height: 1; text-transform: uppercase; letter-spacing:.12em}
.nav .phone .n{font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); line-height: 1.1; margin-top:3px}
.nav .mobile-toggle{display:none; width:44px; height:44px; align-items:center; justify-content:center}
@media (max-width: 1080px){
  .nav .menu{display:none}
  .nav .mobile-toggle{display:inline-flex}
  .nav .phone .txt{display:none}
}

/* Mega menu */
.has-mega{cursor: pointer}
.mega{
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 30px 50px -30px rgba(10,22,40,.25);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  z-index: 100;
}
.mega.open{opacity:1; pointer-events:auto; transform: translateY(0)}
.mega .inner{display: grid; grid-template-columns: 1.2fr 2fr .8fr; gap: 40px; padding: 36px 0}
.mega h4{font-size: 13px; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); font-family: var(--font-sans); font-weight:600; margin-bottom: 14px}
.mega ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:2px}
.mega ul li a{display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border-radius:6px; font-size:14.5px; color: var(--ink); transition: background .15s}
.mega ul li a:hover{background: var(--bg-alt); color: var(--red)}
.mega ul li a svg{opacity: 0; transform: translateX(-4px); transition: all .15s}
.mega ul li a:hover svg{opacity:1; transform: translateX(0)}
.mega .grid{display:grid; grid-template-columns: repeat(2, 1fr); gap: 6px}
.mega .feature{
  background: var(--bg-alt); border-radius: 10px; padding: 18px;
  display:flex; flex-direction:column; justify-content:space-between;
  min-height: 180px; overflow:hidden; position:relative;
  background-image: linear-gradient(135deg, var(--navy), var(--ink));
  color: #fff;
}
.mega .feature .title{font-family: var(--font-display); font-weight:700; font-size: 22px; line-height: 1.1}
.mega .feature .sub{font-size: 13px; color: rgba(255,255,255,.75); margin-top: 6px}
.mega .feature .cta-link{font-size: 13px; font-weight:600; color: #fff; display:inline-flex; align-items:center; gap:6px; margin-top: 14px}
.mega .feature .cta-link:hover{color: #fff}
.mega .feature::after{
  content:""; position:absolute; right:-20px; bottom:-30px; width: 140px; height: 140px;
  background: var(--red); border-radius: 50%; opacity: .9;
}

/* ========= HERO ========= */
.hero{
  position: relative; overflow:hidden;
  background: linear-gradient(180deg, #F4F6FA 0%, #E8ECF2 100%);
  padding: 48px 0 0;
}
.hero.dark{
  background: linear-gradient(180deg, #0A1628 0%, #042649 100%);
  color:#fff;
}
.hero.dark h1, .hero.dark .hero-title{color:#fff}
.hero.dark .hero-title .accent{color: var(--red)}
.hero.dark .lead{color: rgba(255,255,255,.75)}
.hero.dark .badge{background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color:#fff}
.hero.dark .btn-outline{color:#fff; border-color: rgba(255,255,255,.6)}
.hero.dark .btn-outline:hover{background:#fff; color: var(--ink); border-color:#fff}
.hero.dark .bg-text{color: rgba(255,255,255,.05)}
.hero.dark .blueprint{background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
}
.hero.dark .switcher .chip{background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color:#fff}
.hero.dark .switcher .chip.active{background:#fff; color: var(--ink); border-color:#fff}
.hero.dark .marquee{background: rgba(0,0,0,.3); border-color: rgba(255,255,255,.1)}
.hero.dark .marquee .item{color:#fff}
.hero .inner{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  min-height: 640px; position: relative;
}
.hero .copy{position: relative; z-index: 3; padding: 40px 0 80px}
.hero .badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px -10px rgba(10,22,40,.15);
}
.hero .badge .dot{width:8px; height:8px; border-radius:50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2)}
.hero h1{margin-bottom: 22px}
.hero .hero-title{
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero .hero-title .accent{color: var(--red)}
.hero .lead{font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 32px; line-height: 1.6}
.hero .actions{display:flex; gap: 14px; flex-wrap:wrap; align-items:center}
.hero .trust{display:flex; gap: 34px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border)}
.hero .trust .t-item .n{font-family: var(--font-display); font-weight:700; font-size: 30px; color: var(--ink); line-height:1}
.hero .trust .t-item .l{font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing:.05em}

.hero .visual{
  position: relative; height: 600px;
  display:flex; align-items:center; justify-content:center;
}
.hero .visual .bg-text{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(140px, 18vw, 260px); line-height:1;
  color: rgba(0,43,92,.06); letter-spacing: -.04em;
  pointer-events:none; z-index: 1; user-select:none;
  white-space: nowrap;
}
.hero .visual .product-stage{
  position: relative; z-index: 2; width: 100%; height: 100%;
  display:flex; align-items:center; justify-content:center;
}
.hero .visual .product-img{
  width: 85%; max-width: 560px; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 40px 50px rgba(10,22,40,.35));
  transition: opacity .5s ease, transform .5s ease;
}
.hero .visual .red-square{
  position:absolute; width: 90px; height: 90px; background: var(--red);
  top: 18%; left: 8%; z-index: 1;
  animation: float 6s ease-in-out infinite;
}
.hero .visual .blueprint{
  position:absolute; inset: 0; z-index: 0; opacity:.4;
  background-image:
    linear-gradient(rgba(0,43,92,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,43,92,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
@keyframes float{
  0%,100%{transform: translateY(0)}
  50%{transform: translateY(-20px)}
}

.hero .switcher{
  position: relative; z-index: 3;
  display:flex; gap: 8px; padding: 16px 0 28px;
  overflow-x: auto; scrollbar-width: none;
}
.hero .switcher::-webkit-scrollbar{display:none}
.hero .switcher .chip{
  padding: 10px 18px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; font-size: 13px; font-weight:600; color: var(--ink);
  white-space: nowrap; transition: all .2s;
}
.hero .switcher .chip.active{background: var(--ink); color:#fff; border-color: var(--ink)}
.hero .switcher .chip:hover:not(.active){border-color: var(--ink)}

.hero .marquee{
  position: relative; z-index:3;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.5); backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero .marquee .track{
  display:flex; gap: 60px; padding: 22px 0;
  animation: marquee 40s linear infinite;
  white-space: nowrap; width: max-content;
}
.hero .marquee .item{
  display:inline-flex; align-items:center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink);
}
.hero .marquee .item .d{width: 6px; height: 6px; border-radius:50%; background: var(--red)}
@keyframes marquee{
  0%{transform: translateX(0)}
  100%{transform: translateX(-50%)}
}

@media (max-width: 960px){
  .hero .inner{grid-template-columns: 1fr; min-height: auto}
  .hero .visual{height: 400px; margin-bottom: 20px}
  .hero .copy{padding: 20px 0 40px}
  .hero .trust{gap: 20px; flex-wrap: wrap}
  .hero .trust .t-item .n{font-size: 24px}
}

/* ========= SECTION ========= */
.section{padding: 120px 0}
.section.tight{padding: 80px 0}
.section.alt{background: var(--bg-alt)}
.section.dark{background: var(--ink); color: #fff}
.section-head{max-width: 880px; margin-bottom: 64px}
.section-head .eyebrow{margin-bottom: 18px}
.section-head h2{margin-bottom: 18px}
.section-head .sub{font-size: 17px; color: var(--muted); max-width: 640px; line-height:1.6}
.section.dark .section-head .sub{color: rgba(255,255,255,.7)}
.section.dark h1, .section.dark h2, .section.dark h3{color: #fff}
@media (max-width: 700px){.section{padding: 72px 0} .section-head{margin-bottom: 40px}}

/* ========= SOBRE + FEATURES ========= */
.about{display:grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items:center}
.about .left h2{margin-bottom: 24px}
.about .left p{color: var(--muted); font-size: 16px; margin-bottom: 16px; line-height: 1.7}
.about .features{display:grid; grid-template-columns: repeat(2, 1fr); gap: 16px}
.feature-card{
  padding: 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all .25s;
  position: relative; overflow: hidden;
}
.feature-card:hover{
  border-color: var(--ink); transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(10,22,40,.2);
}
.feature-card .icon{
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--ink));
  color: #fff; display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.feature-card:hover .icon{background: linear-gradient(135deg, var(--red), var(--red-dark))}
.feature-card h3{font-size: 18px; margin-bottom: 8px}
.feature-card p{font-size: 14px; color: var(--muted); line-height:1.55}
.feature-card .num{
  position:absolute; top: 14px; right: 18px;
  font-family: var(--font-display); font-weight:700; font-size: 40px;
  color: var(--bg-gray); line-height:1;
}
@media (max-width: 900px){.about{grid-template-columns: 1fr; gap: 48px} .about .features{grid-template-columns:1fr}}

/* ========= STATS ========= */
.stats{
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
}
.stats::before{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.stats .container{position: relative}
.stats .grid{display:grid; grid-template-columns: repeat(4, 1fr); gap: 40px}
.stat{
  padding: 40px 0; border-right: 1px solid rgba(255,255,255,.1);
  padding-right: 24px;
}
.stat:last-child{border-right: 0}
.stat .n{font-family: var(--font-display); font-weight:700; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.03em; color:#fff; display:flex; align-items:baseline; gap:4px}
.stat .n .u{font-size: 40%; color: var(--red)}
.stat .l{font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; letter-spacing:.08em; text-transform:uppercase}
@media (max-width: 800px){.stats .grid{grid-template-columns: repeat(2, 1fr); gap: 20px} .stat{padding: 24px 0; border-right:0; border-bottom: 1px solid rgba(255,255,255,.1)}}

/* ========= BENEFICIOS ========= */
.beneficios{display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center}
.beneficios .photos{position:relative; height: 620px}
.beneficios .photos .p1{
  position:absolute; top: 0; left:0; width: 65%; height: 72%;
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 60px -30px rgba(10,22,40,.3);
}
.beneficios .photos .p2{
  position:absolute; bottom: 0; right: 0; width: 55%; height: 50%;
  background-size: cover; background-position: center;
  border-radius: var(--radius-lg);
  border: 6px solid #fff;
  box-shadow: 0 40px 60px -30px rgba(10,22,40,.3);
}
.beneficios .photos .accent-sq{
  position:absolute; width: 100px; height: 100px; background: var(--red);
  bottom: 36%; left: 48%; z-index: 2;
}
.beneficios .photos .badge-tag{
  position:absolute; top: 6%; right: 4%;
  background: #fff; padding: 14px 18px; border-radius: 12px;
  display:flex; align-items:center; gap: 10px;
  box-shadow: 0 20px 40px -15px rgba(10,22,40,.25); z-index: 3;
}
.beneficios .photos .badge-tag .num{font-family: var(--font-display); font-weight:700; font-size: 24px; color: var(--red)}
.beneficios .photos .badge-tag .txt{font-size: 11px; color: var(--muted); text-transform:uppercase; letter-spacing:.1em; line-height:1.3; max-width: 100px}

.beneficios h2{margin-bottom: 24px}
.beneficios .lead{color: var(--muted); font-size: 16px; margin-bottom: 32px; line-height:1.7}
.beneficios ul{list-style:none; padding:0; margin:0 0 36px; display:flex; flex-direction:column; gap: 20px}
.beneficios li{display:flex; gap: 16px; align-items:flex-start}
.beneficios li .check{
  flex-shrink:0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display:flex; align-items:center; justify-content:center;
  margin-top: 2px;
}
.beneficios li p{font-size: 15px; color: var(--text); line-height:1.6}
.beneficios li b{color: var(--ink); font-weight: 600}
@media (max-width: 900px){.beneficios{grid-template-columns: 1fr; gap: 40px} .beneficios .photos{height: 440px}}

/* ========= PRODUCTS ========= */
.products-head{display:flex; justify-content:space-between; align-items:flex-end; gap: 40px; margin-bottom: 48px}
.products-head .left{max-width: 640px}
.products-head .filters{display:flex; gap: 8px; flex-wrap:wrap}
.products-head .filter{padding: 10px 16px; background: #fff; border:1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight:500; color: var(--ink); transition: all .15s}
.products-head .filter.active, .products-head .filter:hover{background: var(--ink); color:#fff; border-color: var(--ink)}

.products-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.p-card{
  grid-column: span 4;
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  cursor: pointer; display:flex; flex-direction:column;
}
.p-card.featured{grid-column: span 6}
.p-card:hover{transform: translateY(-6px); box-shadow: 0 30px 50px -20px rgba(10,22,40,.2); border-color: transparent}
.p-card .img-wrap{
  position: relative; overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-alt);
}
.p-card.featured .img-wrap{aspect-ratio: 16/9}
.p-card .img-wrap img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.p-card:hover .img-wrap img{transform: scale(1.08)}
.p-card .red-sq{
  position:absolute; bottom: 16px; left: 16px; width: 52px; height: 52px; background: var(--red);
  transition: all .3s;
}
.p-card:hover .red-sq{width: 64px; height: 64px}
.p-card .overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.85) 100%);
  opacity: 0; transition: opacity .3s;
  display:flex; align-items:flex-end; padding: 20px;
  gap: 10px;
}
.p-card:hover .overlay{opacity: 1}
.p-card .overlay .btn{flex:1; justify-content:center; padding: 12px 18px; font-size: 13px}
.p-card .body{padding: 24px; display:flex; flex-direction:column; gap: 10px; flex:1}
.p-card .tag{font-size: 11px; font-weight:600; color: var(--red); letter-spacing:.1em; text-transform:uppercase}
.p-card h3{font-size: 22px}
.p-card p{font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1}
.p-card .cta{
  display:flex; align-items:center; justify-content:space-between;
  padding-top: 16px; margin-top: 8px; border-top: 1px solid var(--border);
}
.p-card .cta .arrow-circle{
  width: 36px; height: 36px; border-radius:50%; background: var(--bg-alt);
  display:flex; align-items:center; justify-content:center;
  transition: all .2s;
}
.p-card:hover .cta .arrow-circle{background: var(--red); color:#fff; transform: rotate(-45deg)}
.p-card .cta .label{font-weight:600; font-size: 14px; color: var(--ink)}

@media (max-width: 1000px){.p-card, .p-card.featured{grid-column: span 6}}
@media (max-width: 640px){.p-card, .p-card.featured{grid-column: span 12}}

/* ========= ALIADOS V2 ========= */
.aliados-v2{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-bottom: 56px;
}
.aliados-v2 .intro h2{font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing:-0.025em}
.ally-spotlight{
  position: relative; display:grid; grid-template-columns: 1fr 1.05fr;
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(10,22,40,.18);
  min-height: 360px;
}
.ally-spot-media{
  position: relative; background: linear-gradient(135deg, #F4F6FA, #E8ECF2);
  overflow: hidden;
}
.ally-spot-media img{
  width: 100%; height: 100%; object-fit: cover;
  animation: allyFade .5s ease;
}
@keyframes allyFade{
  from{opacity:0; transform: scale(1.05)}
  to{opacity:1; transform: scale(1)}
}
.ally-spot-badge{
  position: absolute; top: 18px; left: 18px;
  display:inline-flex; align-items:center; gap: 8px;
  background: rgba(10,22,40,.92); backdrop-filter: blur(6px);
  color: #fff; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; font-weight:600; letter-spacing:.05em;
}
.ally-spot-badge .dot{
  width: 8px; height: 8px; border-radius:50%; background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25);
}
.ally-spot-info{
  padding: 36px 32px; display:flex; flex-direction:column; justify-content:center;
}
.ally-spot-label{
  font-family: var(--font-mono); font-size: 11px; font-weight:600;
  letter-spacing: .18em; color: var(--red); margin-bottom: 14px;
}
.ally-spot-info h3{
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1;
  letter-spacing:-0.02em; margin-bottom: 16px;
  animation: allyFade .4s ease;
}
.ally-spot-info .addr{
  display:flex; gap: 10px; align-items:flex-start;
  color: var(--muted); font-size: 14px; line-height: 1.55;
  margin: 0 0 22px;
}
.ally-spot-info .addr svg{color: var(--red); margin-top: 2px}
.ally-spot-phone{
  display:inline-flex; align-items:center; gap: 14px;
  padding: 14px 18px; background: var(--bg-alt);
  border-radius: 12px; margin-bottom: 22px;
  transition: all .2s; align-self:flex-start;
}
.ally-spot-phone:hover{background: var(--ink); color: #fff}
.ally-spot-phone:hover em{color: rgba(255,255,255,.6)}
.ally-spot-phone .ico{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
.ally-spot-phone em{
  display:block; font-style: normal; font-size: 11px;
  color: var(--muted-2); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 2px;
}
.ally-spot-phone b{
  font-size: 18px; color: inherit; font-weight: 700;
  letter-spacing:-0.01em;
}
.ally-spot-dots{
  display:flex; gap: 8px; padding-top: 18px;
  border-top: 1px solid var(--border);
}
.ally-spot-dots .dot{
  width: 28px; height: 3px; border-radius: 999px;
  background: var(--border); border: none; padding: 0;
  cursor: pointer; transition: all .25s;
}
.ally-spot-dots .dot:hover{background: var(--muted-2)}
.ally-spot-dots .dot.active{background: var(--red); width: 44px}

/* All allies grid */
.aliados-grid-v2{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.ally-card{
  display:flex; align-items:center; gap: 14px;
  padding: 16px; background: #fff;
  border-radius: 14px; border: 1px solid var(--border);
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
}
.ally-card:hover, .ally-card.is-active{
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(10,22,40,.18);
}
.ally-card.is-active{border-color: var(--red)}
.ally-card-img{
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 10px; overflow: hidden;
  background: var(--bg-alt);
}
.ally-card-img img{width: 100%; height: 100%; object-fit: cover}
.ally-card-body{flex: 1; min-width: 0}
.ally-card-body h4{
  font-size: 14px; font-weight: 600; letter-spacing:-0.01em;
  margin: 0 0 4px; color: var(--ink);
}
.ally-card-body p{
  font-size: 12px; color: var(--muted); line-height: 1.4;
  margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ally-card-body .phone{
  display:inline-flex; align-items:center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--red);
}

@media (max-width: 1000px){
  .aliados-v2{grid-template-columns: 1fr; gap: 40px}
  .aliados-grid-v2{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 640px){
  .ally-spotlight{grid-template-columns: 1fr}
  .ally-spot-media{aspect-ratio: 16/10}
  .aliados-grid-v2{grid-template-columns: 1fr}
}
.products-v2{padding: 140px 0; background: var(--bg)}
.products-head-v2{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items:end; margin-bottom: 56px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.products-head-v2 .eyebrow{
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .12em; color: var(--red); font-weight:600;
}
.products-head-v2 h2{font-size: clamp(32px, 3.8vw, 56px); line-height: 1.02; letter-spacing:-0.025em}
.products-head-v2 .right p{color: var(--muted); font-size: 16px; line-height:1.65; margin: 0 0 24px; max-width: 460px}
.products-head-v2 .filters{display:flex; gap: 8px; flex-wrap:wrap}
.products-head-v2 .filter{
  padding: 10px 18px; background: transparent; border:1px solid var(--border);
  border-radius: 999px; font-size: 13px; font-weight:500; color: var(--ink);
  transition: all .2s; cursor:pointer;
}
.products-head-v2 .filter.active, .products-head-v2 .filter:hover{
  background: var(--ink); color:#fff; border-color: var(--ink);
}

/* Featured showcase */
.p-showcase{
  display:grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  background: var(--bg-alt); border-radius: 20px; overflow: hidden;
  margin-bottom: 64px; min-height: 400px;
  border: 1px solid var(--border);
}
.p-showcase-media{
  position:relative; overflow: hidden;
  background: linear-gradient(135deg, #E8ECF2, #F4F6FA);
}
.p-showcase-media img{
  width: 100%; height: 100%; object-fit: cover;
  animation: fadeSwap .5s ease;
}
@keyframes fadeSwap{from{opacity:0; transform: scale(1.04)} to{opacity:1; transform: scale(1)}}
.p-showcase-num{
  position:absolute; top: 28px; left: 28px;
  font-family: var(--font-mono); font-weight:600; font-size: 14px;
  color: var(--ink); background: #fff; padding: 8px 14px; border-radius: 999px;
  letter-spacing: .05em;
}
.p-showcase-num span{color: var(--muted-2); font-weight: 400}
.p-showcase-tag{
  position:absolute; top: 28px; right: 28px;
  background: var(--red); color: #fff;
  padding: 10px 16px; font-size: 12px; font-weight:600;
  letter-spacing: .08em; text-transform:uppercase;
  border-radius: 4px;
}
.p-showcase-info{
  padding: 56px 48px; display:flex; flex-direction:column;
  justify-content: center; background: #fff;
}
.eyebrow-red{
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; color: var(--red); font-weight:600;
  text-transform: uppercase; margin-bottom: 14px;
}
.p-showcase-title{
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1;
  letter-spacing:-0.025em; margin-bottom: 16px; font-weight: 700;
}
.p-showcase-info p{color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 32px}
.p-showcase-specs{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 20px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: 28px;
}
.p-showcase-specs > div{display:flex; flex-direction:column; gap: 6px}
.p-showcase-specs span{font-size: 11px; color: var(--muted-2); letter-spacing:.08em; text-transform:uppercase}
.p-showcase-specs b{font-size: 15px; color: var(--ink); font-weight: 600}
.p-showcase-actions{display:flex; gap: 16px; align-items:center; flex-wrap:wrap}
.btn-ghost{background:transparent; border:none; color: var(--ink); font-weight:600; font-size: 14px; padding: 10px 4px; cursor:pointer}
.btn-ghost:hover{color: var(--red)}

/* Uniform 3-col grid for rest */
.p-grid-v2{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 56px;
}
.p-item{
  position: relative; overflow: hidden;
  border-radius: 14px; background: #fff;
  border: 1px solid var(--border);
  transition: all .3s cubic-bezier(.2,.8,.2,1);
  cursor:pointer; display:flex; flex-direction:column;
}
.p-item:hover, .p-item.is-active{
  border-color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(10,22,40,.2);
  transform: translateY(-4px);
}
.p-item.is-active{
  border-color: var(--red);
  box-shadow: 0 20px 40px -20px rgba(227,41,32,.3);
}
.p-item-img{
  position:relative; overflow: hidden;
  aspect-ratio: 16/10; background: var(--bg-alt);
}
.p-item-img img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.p-item:hover .p-item-img img{transform: scale(1.06)}
.p-item-mark{
  position:absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--ink); background: rgba(255,255,255,.95);
  padding: 5px 10px; border-radius: 4px; letter-spacing: .05em;
}
.p-item.is-active .p-item-mark{background: var(--red); color: #fff}
.p-item-body{
  padding: 18px 20px; display:flex; align-items:center;
  justify-content: space-between; gap: 12px;
}
.p-item-body h4{font-size: 16px; font-weight:600; letter-spacing:-0.01em; color: var(--ink); margin:0}
.p-item-cta{
  display:flex; align-items:center; gap: 6px;
  font-size: 12px; font-weight:500; color: var(--muted);
  opacity: 0; transform: translateX(-6px); transition: all .2s;
  white-space: nowrap;
}
.p-item:hover .p-item-cta, .p-item.is-active .p-item-cta{opacity:1; transform: translateX(0)}
.p-item.is-active .p-item-cta{color: var(--red)}

/* Accordion toggle (mobile only) */
.p-item-toggle{
  display: none;
  width: 32px; height: 32px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--bg-alt); color: var(--ink);
  transition: transform .25s, background .2s;
  flex-shrink: 0;
}
.p-item.is-open .p-item-toggle{transform: rotate(180deg); background: var(--red); color: #fff}
.p-item-expand{display: none}

.p-footer{
  display:flex; justify-content:space-between; align-items:center;
  gap: 24px; padding: 32px 40px; background: var(--bg-alt);
  border-radius: 14px; border: 1px solid var(--border); flex-wrap:wrap;
}
.p-footer p{margin: 0; color: var(--ink); font-size: 16px; font-weight: 500}

@media (max-width: 1000px){
  .products-head-v2{grid-template-columns: 1fr; gap: 32px}
  .p-showcase{grid-template-columns: 1fr}
  .p-showcase-media{aspect-ratio: 16/10}
  .p-showcase-info{padding: 36px 28px}
  .p-grid-v2{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 640px){
  .p-grid-v2{grid-template-columns: 1fr}
  .p-showcase-specs{grid-template-columns: 1fr; gap: 14px}
  .p-footer{flex-direction: column; text-align:center; padding: 28px 20px}
}

/* ====== MOBILE: accordion behavior for catalog ====== */
@media (max-width: 720px){
  /* Hide desktop showcase — its details move inline into cards */
  .p-showcase{display: none}

  /* Slim, horizontal list cards */
  .products-v2{padding: 80px 0}
  .products-head-v2{margin-bottom: 32px; padding-bottom: 24px; gap: 20px}
  .p-grid-v2{gap: 10px; margin-bottom: 32px}
  .p-item{
    display: block;
    border-radius: 12px;
    overflow: hidden;
  }
  .p-item.is-open{border-color: var(--red); box-shadow: 0 20px 40px -20px rgba(227,41,32,.25)}

  /* Header row: thumb + title + toggle */
  .p-item > .p-item-img{
    float: left; width: 72px; height: 72px;
    aspect-ratio: 1; margin: 10px; margin-right: 14px;
    border-radius: 8px;
  }
  .p-item > .p-item-body{
    padding: 18px 14px 18px 0;
    min-height: 92px; align-items: center;
  }
  .p-item .p-item-mark{
    top: 4px; left: 4px; font-size: 9px; padding: 3px 6px;
  }
  .p-item-body h4{font-size: 15px}
  .p-item-cta{display: none !important}
  .p-item-toggle{display: flex; margin-right: 14px}

  /* Expanded panel */
  .p-item-expand{
    display: block;
    clear: both;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease, padding .25s ease;
    padding: 0 16px;
    background: var(--bg-alt);
  }
  .p-item.is-open .p-item-expand{
    max-height: 600px;
    padding: 18px 16px 20px;
    border-top: 1px solid var(--border);
  }
  .p-item-expand .desc{
    font-size: 14px; color: var(--muted);
    line-height: 1.55; margin: 0 0 16px;
  }
  .p-item-specs{
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 10px; padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
  }
  .p-item-specs > div{display: flex; flex-direction: column; gap: 4px}
  .p-item-specs span{
    font-size: 10px; color: var(--muted-2);
    letter-spacing: .06em; text-transform: uppercase;
  }
  .p-item-specs b{font-size: 13px; color: var(--ink); font-weight: 600}
  .p-item-actions{display: flex; gap: 10px; flex-wrap: wrap}
  .p-item-actions .btn{flex: 1; justify-content: center; min-width: 120px; font-size: 13px; padding: 12px 14px}

  /* Tighter section header copy */
  .products-head-v2 h2{font-size: 28px}
}

/* ========= STEPS ========= */
.steps{position:relative}
.steps-grid{
  display:grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  position: relative;
}
.steps-grid::before{
  content:""; position:absolute; top: 48px; left: 10%; right: 10%; height: 2px;
  background-image: linear-gradient(90deg, var(--border) 50%, transparent 0);
  background-size: 10px 2px; z-index: 0;
}
.step{
  position:relative; z-index:1;
  display:flex; flex-direction:column; gap: 16px; padding: 8px;
}
.step .num-wrap{
  width: 96px; height: 96px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size: 36px;
  color: var(--ink); position: relative;
  transition: all .3s;
}
.step:hover .num-wrap{background: var(--ink); color:#fff; border-color: var(--ink); transform: scale(1.05)}
.step .num-wrap::before{
  content:""; position:absolute; top:-4px; right: -4px; width: 20px; height: 20px;
  background: var(--red); border-radius:50%;
  font-family: var(--font-sans); font-size: 10px; font-weight:700;
  color:#fff; display:flex; align-items:center; justify-content:center;
}
.step h3{font-size: 18px; margin-top: 6px}
.step p{font-size: 14px; color: var(--muted); line-height:1.55}
@media (max-width: 900px){.steps-grid{grid-template-columns: repeat(2, 1fr); gap: 32px} .steps-grid::before{display:none}}
@media (max-width: 500px){
  .steps-grid{grid-template-columns: 1fr; gap: 28px}
  .step{align-items: center; text-align: center}
  .step h3{text-align: center}
}

/* ========= CTA BAND ========= */
.cta-band{
  background: var(--navy); color: #fff; position: relative; overflow: hidden;
  padding: 96px 0;
}
.cta-band::before{
  content:""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(227,41,32,.15), transparent 40%),
    radial-gradient(circle at 10% 100%, rgba(11,97,219,.3), transparent 50%);
}
.cta-band .shape{
  position:absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: linear-gradient(135deg, transparent 48%, rgba(227,41,32,.15) 50%, transparent 52%);
  transform: rotate(-20deg);
}
.cta-band .container{position:relative; display:flex; align-items:center; justify-content:space-between; gap: 40px; flex-wrap: wrap}
.cta-band .left{max-width: 700px}
.cta-band h2{color:#fff; margin-bottom: 14px}
.cta-band p{color: rgba(255,255,255,.8); font-size: 17px; line-height:1.6}
.cta-band .actions{display:flex; gap: 14px; flex-wrap:wrap}
.cta-band .btn-primary{background: var(--red)} 
.cta-band .btn-primary:hover{background: #fff; color: var(--navy)}
@media (max-width: 720px){
  .cta-band{padding: 64px 0}
  .cta-band h2{font-size: 28px; line-height: 1.15}
  .cta-band p{font-size: 15px}
  .cta-band .container{gap: 24px}
  .cta-band .actions{width: 100%; flex-direction: column; gap: 10px}
  .cta-band .actions .btn{width: 100%; justify-content: center}
}

/* ========= SUCURSALES ========= */
.sucursales{display:grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items:flex-start}
.sucursales .map-wrap{
  position:relative; aspect-ratio: 4/3;
  background: var(--bg-alt); border-radius: var(--radius-lg); overflow:hidden;
  border: 1px solid var(--border);
}
.sucursales .map-wrap svg{width:100%; height:100%; display:block}
.sucursales .map-wrap .pin{
  position:absolute; width: 28px; height: 28px; border-radius:50%;
  background: var(--red); display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:11px; font-weight:700;
  transform: translate(-50%, -100%); box-shadow: 0 8px 20px -5px rgba(227,41,32,.5);
  cursor:pointer;
}
.sucursales .map-wrap .pin::after{
  content:""; position:absolute; bottom: -4px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px; background: var(--red);
}
.sucursales .map-wrap .pin.active{background: var(--ink); transform: translate(-50%, -100%) scale(1.2)}
.sucursales .map-wrap .pin.active::after{background: var(--ink)}
.sucursales .branches{display:flex; flex-direction:column; gap: 10px; max-height: 480px; overflow-y: auto}
.branch{
  padding: 20px 22px; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; display:flex; gap: 16px; align-items:flex-start;
  cursor:pointer; transition: all .2s;
}
.branch:hover, .branch.active{border-color: var(--ink); transform: translateX(4px)}
.branch.active{background: var(--ink); color:#fff; border-color: var(--ink)}
.branch .num{
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size: 15px;
  color: var(--ink); flex-shrink:0;
}
.branch.active .num{background: var(--red); color:#fff}
.branch h3{font-size: 16px}
.branch .addr{font-size: 13px; color: var(--muted); margin-top: 4px}
.branch.active .addr{color: rgba(255,255,255,.7)}
.branch .meta{display:flex; gap: 18px; margin-top: 10px; font-size: 12px; color: var(--muted)}
.branch.active .meta{color: rgba(255,255,255,.7)}
.branch .meta span{display:inline-flex; align-items:center; gap: 6px}
@media (max-width: 900px){.sucursales{grid-template-columns: 1fr}}

/* ========= ALIADOS ========= */
.aliados{display:grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items:flex-start}
.aliados .intro h2{margin-bottom: 20px}
.aliados .intro p{color: var(--muted); font-size: 16px; line-height:1.7; margin-bottom: 32px}
.aliados-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px}
.ally{
  padding: 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all .25s;
}
.ally:hover{border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10,22,40,.18)}
.ally .logo{height: 64px; display:flex; align-items:center; margin-bottom: 20px}
.ally .logo img{max-height: 100%; max-width: 140px; object-fit: contain}
.ally h3{font-size: 16px; margin-bottom: 6px}
.ally .addr{font-size: 13px; color: var(--muted); line-height:1.5; margin-bottom: 14px; min-height: 40px}
.ally .phone{display:inline-flex; align-items:center; gap:8px; font-size: 14px; font-weight:600; color: var(--ink)}
.ally .phone svg{color: var(--red)}
.aliados .be-ally{
  background: var(--ink); color:#fff; border-radius: var(--radius-lg);
  padding: 40px; display:flex; flex-direction:column; justify-content:space-between;
  margin-top: 16px; grid-column: span 3;
  position: relative; overflow:hidden;
}
.aliados .be-ally h3{color:#fff; font-size: 28px; max-width: 520px; margin-bottom:16px}
.aliados .be-ally p{color: rgba(255,255,255,.7); max-width: 520px; font-size: 15px; line-height: 1.6; margin-bottom: 24px}
.aliados .be-ally::after{
  content:""; position:absolute; right: -20px; top: -20px; width: 160px; height: 160px;
  background: var(--red); border-radius: 50%;
}
@media (max-width: 900px){.aliados{grid-template-columns: 1fr} .aliados-grid{grid-template-columns: 1fr} .aliados .be-ally{grid-column: span 1}}

/* ========= TESTIMONIALS ========= */
.testimonials{background: var(--bg-alt); position: relative; overflow:hidden}
.testimonials::before{
  content:""; position:absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,43,92,.04) 2px, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(227,41,32,.04) 2px, transparent 2px);
  background-size: 80px 80px;
}
.testimonials .container{position: relative}
.testim-grid{
  display:grid; grid-template-columns: repeat(12, 1fr); gap: 20px;
}
.testim{
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; grid-column: span 4;
  display:flex; flex-direction:column; gap: 16px;
  border: 1px solid transparent; transition: all .25s;
}
.testim.feat{grid-column: span 8; background: var(--ink); color:#fff}
.testim:hover{border-color: var(--ink); transform: translateY(-4px)}
.testim .stars{color: #F7B500; display:flex; gap:2px; font-size: 18px}
.testim .quote{font-family: var(--font-display); font-weight:500; font-size: 18px; line-height: 1.45; color: var(--ink)}
.testim.feat .quote{color:#fff; font-size: 26px; line-height:1.3}
.testim .who{display:flex; align-items:center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border)}
.testim.feat .who{border-color: rgba(255,255,255,.15)}
.testim .who .av{width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt); display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-weight:700; color: var(--ink)}
.testim.feat .who .av{background: var(--red); color:#fff}
.testim .who .n{font-weight:600; font-size: 14px}
.testim .who .t{font-size: 12px; color: var(--muted)}
.testim.feat .who .t{color: rgba(255,255,255,.6)}
@media (max-width: 900px){.testim, .testim.feat{grid-column: span 12}}

/* ========= BLOG ========= */
.blog-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px}
.post{
  border-radius: var(--radius-lg); overflow:hidden; background: #fff;
  border: 1px solid var(--border); transition: all .25s;
  display:flex; flex-direction:column;
}
.post:hover{transform: translateY(-4px); box-shadow: 0 30px 50px -20px rgba(10,22,40,.15); border-color: transparent}
.post .thumb{position:relative; aspect-ratio: 16/10; overflow:hidden; background: var(--bg-alt)}
.post .thumb img{width:100%; height:100%; object-fit:cover; transition: transform .5s}
.post:hover .thumb img{transform: scale(1.06)}
.post .date{
  position:absolute; top: 16px; left: 16px;
  background: var(--red); color:#fff; padding: 8px 14px; border-radius: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  display:flex; flex-direction:column; align-items:center; line-height:1;
  min-width: 56px;
}
.post .date .d{font-family: var(--font-display); font-size: 20px}
.post .date .m{font-size: 10px; margin-top: 3px}
.post .body{padding: 24px; display:flex; flex-direction:column; gap: 10px; flex:1}
.post .cat{font-size: 11px; font-weight:700; color: var(--red); letter-spacing:.12em; text-transform:uppercase}
.post h3{font-size: 18px; line-height: 1.3}
.post p{font-size: 14px; color: var(--muted); line-height:1.55; flex:1}
.post .more{display:inline-flex; align-items:center; gap: 8px; font-size: 14px; font-weight:600; color: var(--ink); margin-top: 6px}
.post:hover .more{color: var(--red)}
@media (max-width: 900px){.blog-grid{grid-template-columns: 1fr}}

/* ========= BRANDS ========= */
.brands{padding: 80px 0}
.brands .head{display:flex; justify-content:space-between; align-items:flex-end; gap: 40px; margin-bottom: 48px}
.brands .head h2{font-size: clamp(28px, 3.2vw, 40px)}
.brands-track{
  display:grid; grid-template-columns: repeat(5, 1fr);
  gap: 40px; align-items: center;
  padding: 24px 0;
}
.brand-cell{
  display:flex; align-items:center; justify-content:center;
  filter: grayscale(1) opacity(.65); transition: filter .25s ease, transform .25s ease;
  min-height: 110px;
}
.brand-cell:hover{filter: grayscale(0) opacity(1); transform: scale(1.05)}
.brand-cell img{max-height: 140px; max-width: 260px; width: 100%; object-fit: contain}
@media (max-width: 800px){
  .brands-track{grid-template-columns: repeat(2, 1fr); gap: 40px}
  .brand-cell{min-height: 140px}
  .brand-cell img{max-height: 110px; max-width: 220px}
}

/* ========= FOOTER ========= */
.footer{background: var(--navy-deep); color: rgba(255,255,255,.7)}
.footer .top{padding: 80px 0 48px}
.footer .grid{display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px}
.footer .col h4{color:#fff; font-family: var(--font-sans); font-weight:600; font-size: 13px; letter-spacing:.14em; text-transform:uppercase; margin-bottom: 20px}
.footer .col .logo img{height: 46px; margin-bottom: 20px}
.footer .col ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap: 10px}
.footer .col ul a{font-size: 14px; transition: color .15s}
.footer .col ul a:hover{color:#fff}
.footer .contact{display:flex; flex-direction:column; gap: 14px; font-size: 14px}
.footer .contact .row{display:flex; gap: 12px; align-items:flex-start}
.footer .contact svg{flex-shrink:0; color: var(--red); margin-top:3px}
.footer .socials{display:flex; gap: 10px; margin-top: 16px}
.footer .socials a{
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center;
  transition: all .2s;
}
.footer .socials a:hover{background: var(--red); color:#fff}
.footer .hours{display:flex; flex-direction:column; gap:8px; font-size: 14px}
.footer .hours .h-row{display:flex; justify-content:space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08)}
.footer .hours .h-row b{color:#fff; font-weight:500}
.footer .bottom{
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; gap: 20px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer .bottom .links{display:flex; gap: 24px}
.footer .bottom .links a:hover{color:#fff}
@media (max-width: 900px){.footer .grid{grid-template-columns: 1fr 1fr; gap: 40px} .footer .bottom{flex-direction:column; align-items:flex-start}}
@media (max-width: 560px){.footer .grid{grid-template-columns: 1fr}}

/* ========= FLOATING ========= */
.whatsapp-float{
  position: fixed; bottom: 24px; left: 24px; z-index: 80;
}
.whatsapp-float .btn-wa{
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px -5px rgba(37,211,102,.5);
  position: relative;
  transition: transform .2s;
}
.whatsapp-float .btn-wa:hover{transform: scale(1.08)}
.whatsapp-float .btn-wa::before{
  content:""; position:absolute; inset: -6px;
  border-radius: 50%; border: 2px solid var(--whatsapp);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0%{opacity:1; transform: scale(1)}
  100%{opacity:0; transform: scale(1.4)}
}
.whatsapp-float .panel{
  position: absolute; bottom: 80px; left: 0;
  width: 340px; background: #fff; border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(10,22,40,.3);
  overflow: hidden; transform-origin: bottom left;
  transform: scale(.95); opacity: 0; pointer-events: none;
  transition: all .2s;
}
.whatsapp-float.open .panel{transform: scale(1); opacity: 1; pointer-events: auto}
.whatsapp-float .panel .head{background: var(--whatsapp); color:#fff; padding: 18px}
.whatsapp-float .panel .head h4{color:#fff; font-size: 16px; margin-bottom:4px; font-family: var(--font-sans); font-weight:600}
.whatsapp-float .panel .head p{font-size: 13px; opacity:.9}
.whatsapp-float .panel .body{padding: 18px; background: #ECE5DD;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath fill='%23d9d1c4' fill-opacity='.4' d='M0 0h30v30H0zm30 30h30v30H30z'/%3E%3C/svg%3E");
}
.whatsapp-float .bubble{
  background:#fff; padding: 14px; border-radius: 12px;
  border-top-left-radius: 4px; font-size: 14px; color: var(--ink);
  max-width: 85%;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.whatsapp-float .bubble .time{font-size: 11px; color: var(--muted); display:block; text-align:right; margin-top: 4px}
.whatsapp-float .panel .foot{padding: 14px 18px; background:#fff; border-top: 1px solid var(--border)}
.whatsapp-float .panel .foot a{
  width: 100%; display:flex; align-items:center; justify-content:center; gap: 10px;
  background: var(--whatsapp); color:#fff; padding: 12px; border-radius: 8px;
  font-weight:600; font-size: 14px;
}

.scroll-top{
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center;
  opacity: 0; pointer-events: none;
  transition: all .2s;
  box-shadow: 0 10px 30px -5px rgba(10,22,40,.4);
}
.scroll-top.show{opacity:1; pointer-events:auto}
.scroll-top:hover{background: var(--red); transform: translateY(-3px)}

/* ========= QUOTE MODAL ========= */
.modal-backdrop{
  position: fixed; inset: 0; background: rgba(10,22,40,.65);
  z-index: 200; display:flex; align-items:center; justify-content:center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
  backdrop-filter: blur(4px); padding: 20px;
}
.modal-backdrop.open{opacity:1; pointer-events: auto}
.modal{
  background: #fff; border-radius: 16px;
  width: 100%; max-width: 860px; max-height: 90vh; overflow: hidden;
  display:grid; grid-template-columns: 320px 1fr;
  transform: translateY(20px); transition: transform .3s;
  box-shadow: 0 40px 80px -20px rgba(10,22,40,.5);
}
.modal-backdrop.open .modal{transform: translateY(0)}
.modal .side{
  background: var(--ink); color:#fff; padding: 36px;
  display:flex; flex-direction:column; position: relative; overflow:hidden;
}
.modal .side::after{
  content:""; position:absolute; right:-40px; bottom:-40px; width: 160px; height: 160px;
  background: var(--red); border-radius:50%;
}
.modal .side .eyebrow{position:relative; z-index:1}
.modal .side h3{color:#fff; font-size: 28px; margin: 14px 0 16px; position:relative; z-index:1; line-height: 1.15}
.modal .side p{font-size: 14px; color: rgba(255,255,255,.7); line-height:1.6; margin-bottom: 24px; position:relative; z-index:1}
.modal .side .steps-dot{display:flex; flex-direction:column; gap: 10px; margin-top: auto; position:relative; z-index:1}
.modal .side .sd{display:flex; gap: 12px; align-items:center; font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s}
.modal .side .sd.active{color:#fff}
.modal .side .sd .d{width: 22px; height: 22px; border-radius:50%; border: 2px solid rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; font-size: 10px; font-weight:700}
.modal .side .sd.active .d{background: var(--red); border-color: var(--red); color:#fff}
.modal .side .sd.done .d{background: #22c55e; border-color: #22c55e; color:#fff}

.modal .main{padding: 36px; overflow-y: auto; display:flex; flex-direction:column}
.modal .main .progress{display:flex; gap: 6px; margin-bottom: 24px}
.modal .main .progress div{height: 4px; flex:1; background: var(--border); border-radius: 2px; transition: background .2s}
.modal .main .progress div.on{background: var(--red)}
.modal .main h4{font-family: var(--font-display); font-size: 24px; margin-bottom: 6px; color: var(--ink)}
.modal .main .sub{font-size: 14px; color: var(--muted); margin-bottom: 24px}
.modal .close{position:absolute; top:16px; right: 16px; width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.9); display:flex; align-items:center; justify-content:center; z-index: 10; transition: all .2s}
.modal .close:hover{background: var(--red); color:#fff; transform: rotate(90deg)}

.modal .field{display:flex; flex-direction:column; gap: 6px; margin-bottom: 16px}
.modal .field label{font-size: 13px; font-weight:500; color: var(--ink)}
.modal .field input, .modal .field select, .modal .field textarea{
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; background: #fff; transition: border .15s;
  font-size: 14.5px;
}
.modal .field input:focus, .modal .field select:focus, .modal .field textarea:focus{outline: none; border-color: var(--ink)}
.modal .row2{display:grid; grid-template-columns: 1fr 1fr; gap: 12px}
.modal .chips{display:flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px}
.modal .chip{
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s;
  background: #fff;
}
.modal .chip.selected{background: var(--ink); color:#fff; border-color: var(--ink)}
.modal .nav{display:flex; justify-content:space-between; gap: 12px; margin-top: auto; padding-top: 24px}
.modal .success{text-align:center; padding: 40px 20px}
.modal .success .check{
  width: 72px; height: 72px; border-radius:50%; background: #22c55e; color:#fff;
  display:flex; align-items:center; justify-content:center; margin: 0 auto 24px;
  animation: pop .4s ease-out;
}
@keyframes pop{0%{transform: scale(0)}60%{transform: scale(1.15)}100%{transform: scale(1)}}
.modal .success h4{font-size: 28px; margin-bottom: 12px}
.modal .success p{font-size: 15px; color: var(--muted); margin-bottom: 28px; max-width: 400px; margin-left:auto; margin-right:auto}

@media (max-width: 760px){.modal{grid-template-columns: 1fr; max-height: 95vh} .modal .side{padding: 24px; display: none} .modal .main{padding: 24px}}

/* ========= TWEAKS PANEL ========= */
.tweaks{
  position: fixed; bottom: 24px; right: 84px; z-index: 120;
  background: #fff; border-radius: 14px; box-shadow: 0 30px 50px -10px rgba(10,22,40,.3);
  padding: 20px; width: 280px;
  display:none;
}
.tweaks.open{display:block}
.tweaks h5{font-size: 13px; font-family: var(--font-sans); font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin-bottom: 14px; display:flex; justify-content:space-between; align-items:center}
.tweaks .group{margin-bottom: 16px}
.tweaks .group-label{font-size: 11px; font-weight:600; color: var(--muted); text-transform:uppercase; letter-spacing:.1em; margin-bottom: 8px}
.tweaks .options{display:flex; gap: 8px; flex-wrap: wrap}
.tweaks .swatch{
  width: 36px; height: 36px; border-radius: 8px; border: 2px solid var(--border); cursor: pointer;
  transition: all .15s;
}
.tweaks .swatch.active{border-color: var(--ink); transform: scale(1.1)}
.tweaks .opt{padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 12px; font-weight:500; cursor:pointer}
.tweaks .opt.active{background: var(--ink); color:#fff; border-color: var(--ink)}

/* ========= REVEAL ========= */
.reveal{opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease}
.reveal.in{opacity:1; transform: translateY(0)}
.reveal.d1{transition-delay: .08s}
.reveal.d2{transition-delay: .16s}
.reveal.d3{transition-delay: .24s}
.reveal.d4{transition-delay: .32s}


/* ============================================================
   MEJORAS 2026-08-24 — banner, diagramación y uso de imágenes
   (bloque aditivo; no altera la estructura original)
   ============================================================ */

/* ---------- 1. Fix de overflow horizontal (el nav se cortaba) ---------- */
html, body{overflow-x: clip}
@media (max-width: 1400px){
  .nav .phone{display: none}            /* el CTA "Cotizar" siempre visible */
}
@media (max-width: 1200px){
  .nav .menu{gap: 0}
  .nav .menu > a, .nav .menu .has-mega{padding: 10px 12px; font-size: 14px}
}

/* ---------- 2. Logo con presencia (Manual de Marca: imagotipo grande) ---------- */
.nav .row{height: 86px}
.nav .logo img{height: 58px; width: auto}
.footer .logo img{height: 56px; width: auto}
@media (max-width: 720px){
  .nav .row{height: 72px}
  .nav .logo img{height: 48px}
}

/* ---------- 3. BANNER: que quepa en una sola vista ---------- */
.hero{padding: 30px 0 0}
.hero .inner{min-height: min(540px, calc(100vh - 300px))}
.hero .copy{padding: 26px 0 40px}
.hero .hero-title{font-size: clamp(32px, 3.5vw, 50px)}
.hero .lead{font-size: 16.5px; margin-bottom: 26px}
.hero .visual{height: min(430px, calc(100vh - 370px)); min-height: 300px}
.hero .switcher{padding: 10px 0 18px}
.hero .marquee .track{padding: 15px 0}
.hero .marquee .item{font-size: 15.5px}

/* ---------- 4. USO DE IMÁGENES ---------- */
/* 4a. Corrección de sobreexposición (las fotos se veían lavadas) */
.p-item-img img,
.p-showcase-media img,
.ally-spot-media img,
.post .thumb img{
  filter: brightness(.95) contrast(1.06) saturate(1.05);
}
/* 4b. Hero: producto enmarcado con sombra rica en vez de foto suelta */
.hero .visual .product-img{
  border-radius: 18px;
  object-fit: cover;
  filter: brightness(.97) contrast(1.05) saturate(1.04);
  box-shadow: 0 40px 70px -28px rgba(0, 43, 92, .45), 0 4px 14px rgba(0, 43, 92, .12);
}
.hero .visual .product-stage::after{     /* pedestal de luz bajo el producto */
  content: ""; position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%);
  width: 58%; height: 24px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,43,92,.20) 0%, transparent 72%);
  z-index: -1;
}
/* 4c. Showcase: fondo más rico para que la foto no flote */
.p-showcase{min-height: 420px}
.p-showcase-media{background: linear-gradient(150deg, #E2E8F1 0%, #F4F6FA 100%)}
.p-showcase-media img{object-position: center 45%}

/* 4d. MARCAS: tarjetas blancas a color (antes: logos grises flotando) */
.brands-track{gap: 18px; padding: 8px 0}
.brand-cell{
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  min-height: 116px; padding: 20px 18px;
  filter: none; opacity: 1;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.brand-cell:hover{
  filter: none; transform: translateY(-4px);
  border-color: var(--navy); box-shadow: 0 20px 44px -20px rgba(0,43,92,.22);
}
.brand-cell img{max-height: 64px; max-width: 150px; width: auto; mix-blend-mode: multiply}
@media (max-width: 800px){
  .brands-track{grid-template-columns: repeat(2, 1fr); gap: 12px}
  .brand-cell{min-height: 96px; padding: 16px}
  .brand-cell img{max-height: 50px; max-width: 120px}
}

/* ---------- 5. DIAGRAMACIÓN: ritmo vertical más firme ---------- */
.section{padding: 96px 0}
.p-showcase{margin-bottom: 48px}
.feature-card{border-radius: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.feature-card:hover{transform: translateY(-4px); box-shadow: 0 22px 50px -22px rgba(0,43,92,.24); border-color: var(--navy)}
.p-item{border-radius: 14px; overflow: hidden}
.testim{border-radius: 14px}
.branch{border-radius: 12px}
.branch.active{border-left: 4px solid var(--red)}

/* ---------- 6. Acabados de calidad ---------- */
.btn{border-radius: 10px}
.btn-red{box-shadow: 0 10px 26px -12px rgba(227,41,32,.45)}
.btn-primary{box-shadow: 0 10px 26px -14px rgba(0,43,92,.5)}
.btn:focus-visible{outline: 3px solid rgba(0,43,92,.25); outline-offset: 2px}
::selection{background: rgba(0,43,92,.92); color: #fff}
::-webkit-scrollbar{width: 10px}
::-webkit-scrollbar-thumb{background: #C7CBDA; border-radius: 8px}
::-webkit-scrollbar-thumb:hover{background: var(--navy)}
::-webkit-scrollbar-track{background: transparent}

/* ---------- 7. MÓVIL: sin desperdicio de espacio ---------- */
@media (max-width: 720px){
  .section{padding: 56px 0}
  .hero .copy{padding: 16px 0 24px}
  .hero .visual{height: 280px; min-height: 240px}
  .hero .lead{font-size: 15px; margin-bottom: 20px}

  /* feature cards: fila icono + texto (antes: bloques altísimos) */
  .about .features{gap: 10px}
  .feature-card{
    display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px;
    align-items: start; padding: 14px 16px;
  }
  .feature-card .icon{grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 10px}
  .feature-card .icon svg{width: 18px; height: 18px}
  .feature-card h3{font-size: 15.5px; margin: 2px 0}
  .feature-card p{font-size: 13px; line-height: 1.45}
  .feature-card .num{display: none}

  /* pasos: misma lógica compacta */
  .steps-grid{gap: 10px}
  .step{display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: start; padding: 14px 16px}
  .step .num-wrap{grid-row: 1 / span 2; width: 40px; height: 40px; font-size: 13px; margin: 0;
    display: flex; align-items: center; justify-content: center}
  .step h3{font-size: 15.5px; margin: 0 0 2px}
  .step p{font-size: 13px; line-height: 1.45}

  /* stats más compactos */
  .stats .grid{gap: 8px 16px}
  .stat .n{font-size: 42px}
  .stat .l{margin-top: 6px; font-size: 11px}
}

/* ---------- 8. MÓVIL: hero más prolijo (botones alineados, titular ajustado) ---------- */
@media (max-width: 560px){
  .hero .badge{margin-bottom: 16px; font-size: 12px; padding: 7px 12px}
  .hero .hero-title{font-size: 29px; line-height: 1.06}
  .hero .lead{font-size: 14.5px; margin-bottom: 18px}
  /* ambos CTA a ancho completo: mismo peso visual y área de toque cómoda */
  .hero .actions{display: grid; grid-template-columns: 1fr; gap: 10px}
  .hero .actions .btn{width: 100%; justify-content: center; padding: 15px 20px; font-size: 14.5px}
  .hero .visual{height: 250px; min-height: 220px}
  .hero .switcher{padding: 8px 0 14px}
  .hero .switcher .chip{padding: 9px 15px; font-size: 12.5px}
}

/* ---------- 9. BARRA DE ACCIÓN MÓVIL (portada de la v. 3004) ---------- */
.mobile-bar{display: none}
@media (max-width: 720px){
  .mobile-bar{
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px -12px rgba(10,22,40,.25);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .mobile-bar a, .mobile-bar button{
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; padding: 9px 4px; border-radius: 10px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  }
  .mobile-bar .mb-quote{background: var(--red); color: #fff}
  .mobile-bar .mb-wa{background: #E9F9EF; color: #128C4B}
  .mobile-bar .mb-call{background: var(--bg-alt); color: var(--ink)}
  .mobile-bar svg{width: 18px; height: 18px}
  /* espacio para que la barra no tape contenido */
  .footer{padding-bottom: 76px}
  .whatsapp-float{bottom: 90px}
  .scroll-top{bottom: 90px}
}

/* ---------- 10. WORDMARK DE MARCA al pie (portado de la v. 3004) ---------- */
.mega-wordmark{
  overflow: hidden; pointer-events: none; user-select: none;
  padding: 34px 0 0; margin-bottom: -1.4vw;
}
.mega-wordmark .wm{
  font-family: var(--font-display);
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(58px, 12.2vw, 200px);
  line-height: .8; letter-spacing: -.02em;
  text-align: center; white-space: nowrap;
  color: var(--red);
}
.mega-wordmark .wm span{
  display: block; font-size: .33em; letter-spacing: .42em;
  color: rgba(255,255,255,.18); margin-top: 9px;
}
@media (max-width: 720px){
  .mega-wordmark{padding-top: 22px}
  .mega-wordmark .wm span{letter-spacing: .28em}
}

/* ---------- 11. FIX: texto decorativo del hero se salía de su columna
              (cruzaba por detrás del titular y ensuciaba la lectura) ---------- */
.hero .visual .bg-text{
  overflow: hidden;                      /* lo confina a la columna del producto */
  font-size: clamp(100px, 12.5vw, 190px);
  color: rgba(0,43,92,.045);
}

/* ---------- 12. Línea de síntomas del hero (StoryBrand: el problema del cliente) ---------- */
.hero .symptoms{
  font-size: 14.5px; line-height: 1.6; color: var(--muted-2);
  max-width: 500px; margin: -14px 0 26px;
}
.hero .symptoms b{color: var(--ink); font-weight: 600}
@media (max-width: 560px){
  .hero .symptoms{font-size: 13px; margin: -10px 0 20px}
}

/* ---------- 13. Hero: proporción de columnas y titular ajustados al copy nuevo ---------- */
.hero .inner{grid-template-columns: 1.25fr 1fr}
.hero .hero-title{font-size: clamp(30px, 2.9vw, 44px); line-height: 1.05}
.hero .lead{max-width: 540px}
@media (max-width: 900px){
  .hero .inner{grid-template-columns: 1fr}
}

/* ---------- 14. Titular en 3 líneas cortas: el término clave aislado en rojo ---------- */
.hero .hero-title{font-size: clamp(32px, 3.3vw, 50px); line-height: 1.02}
@media (max-width: 560px){.hero .hero-title{font-size: 30px}}

/* ---------- 15. Chips de categorías bajo el titular + logo más grande ---------- */
.nav .row{height: 96px}
.nav .logo img{height: 72px; width: auto}
.footer .logo img{height: 66px; width: auto}
@media (max-width: 720px){
  .nav .row{height: 76px}
  .nav .logo img{height: 56px}
}

/* el switcher ahora vive dentro de la columna de texto */
.hero .copy .switcher{
  padding: 0; margin: -6px 0 22px;
  gap: 9px; flex-wrap: wrap; overflow: visible;
}
.hero .copy .switcher .chip{
  padding: 9px 17px; font-size: 13px;
  box-shadow: 0 2px 8px rgba(0,43,92,.06);
}
@media (max-width: 560px){
  .hero .copy .switcher{gap: 7px; margin: -4px 0 18px}
  .hero .copy .switcher .chip{padding: 8px 14px; font-size: 12.5px}
}

/* ============================================================
   16. AZUL DE MARCA en lugar de casi-negro (#0A1628 -> #002B5C)
   ============================================================ */
:root{
  --ink: #002B5C;        /* titulares, topbar, stats, chips activos */
  --text: #37405A;       /* cuerpo: gris azulado, ya no negro */
}
.hero .hero-title{color: var(--navy)}
.stats{background: linear-gradient(160deg, #002B5C 0%, #001B3C 100%)}

/* ---------- 17. Iconos modernos: fondo suave, sin degradado oscuro ---------- */
.feature-card .icon{
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(0,43,92,.08);
  color: var(--navy);
  margin-bottom: 16px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.feature-card .icon svg{width: 21px; height: 21px}
.feature-card:hover .icon{
  background: var(--navy); color: #fff; transform: scale(1.06);
}

/* ---------- 18. Cards de la sección Sobre más compactas ---------- */
.about .features{gap: 12px}
.feature-card{padding: 22px 22px 20px; border-radius: 16px}
.feature-card h3{font-size: 16.5px; margin-bottom: 5px}
.feature-card p{font-size: 13.5px; line-height: 1.5}
.feature-card .num{font-size: 32px; top: 12px; right: 16px}
.about .left h2{margin-bottom: 20px}
.about .left p{font-size: 16.5px; margin-bottom: 0}

/* ============================================================
   19. SECCIÓN SOBRE: párrafo + 4 pilares centrados a todo el ancho
   ============================================================ */
.pillars-section{padding: 84px 0 90px}

.about-lead{
  max-width: 780px; margin: 0 auto 64px; text-align: center;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.5;
  color: var(--navy); font-weight: 500; letter-spacing: -.01em;
}

.pillars{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; align-items: start;
}
.pillar{
  text-align: center; padding: 8px 26px;
  position: relative;
}
/* separadores verticales sutiles entre pilares */
.pillar + .pillar::before{
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 1px; background: var(--border);
}
.pillar .p-ico{
  width: 58px; height: 58px; border-radius: 50%;
  margin: 0 auto 18px;
  background: rgba(0,43,92,.07); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.pillar .p-ico svg{width: 25px; height: 25px}
.pillar:hover .p-ico{background: var(--navy); color: #fff; transform: translateY(-3px)}
.pillar h3{
  font-size: 17px; font-weight: 600; color: var(--navy);
  margin-bottom: 7px; letter-spacing: -.01em;
}
.pillar p{
  margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted);
  max-width: 220px; margin-left: auto; margin-right: auto;
}

@media (max-width: 900px){
  .pillars{grid-template-columns: repeat(2, 1fr); gap: 40px 0}
  .pillar:nth-child(3)::before{display: none}   /* sin separador al inicio de fila */
}
@media (max-width: 560px){
  .pillars-section{padding: 56px 0 60px}
  .about-lead{margin-bottom: 42px; font-size: 18px}
  .pillars{gap: 30px 0}
  .pillar{padding: 6px 12px}
  .pillar .p-ico{width: 50px; height: 50px; margin-bottom: 14px}
  .pillar .p-ico svg{width: 22px; height: 22px}
  .pillar h3{font-size: 15.5px}
  .pillar p{font-size: 13px}
}

/* ============================================================
   20. FRANJA AZUL de pilares (reemplaza la franja de números)
   ============================================================ */
.pillars-section{
  background: linear-gradient(160deg, #002B5C 0%, #001B3C 100%);
  padding: 76px 0 78px;
  position: relative; overflow: hidden;
}
.pillars-section::before{          /* trama técnica sutil, vector */
  content: ""; position: absolute; inset: 0; opacity: .3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.pillars-section .container{position: relative; z-index: 1}

/* párrafo como declaración: mayúsculas, bold, blanco */
.about-lead{
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: clamp(16px, 1.7vw, 22px); line-height: 1.45;
  letter-spacing: .02em; max-width: 820px; margin: 0 auto 58px;
}

/* pilares sobre navy */
.pillar + .pillar::before{background: rgba(255,255,255,.16)}
.pillar .p-ico{
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}
.pillar:hover .p-ico{background: #fff; color: var(--navy); border-color: #fff}
.pillar h3{
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: 14.5px; letter-spacing: .07em; line-height: 1.3;
}
.pillar p{color: rgba(255,255,255,.62); font-size: 14px}

@media (max-width: 560px){
  .pillars-section{padding: 52px 0 56px}
  .about-lead{font-size: 15px; margin-bottom: 40px; letter-spacing: .01em}
  .pillar h3{font-size: 13px; letter-spacing: .05em}
  .pillar p{font-size: 12.5px}
}

/* ============================================================
   21. CATÁLOGO LIMPIO: 4 en 4, foto de producto recortada
   ============================================================ */
.pcards{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pcard{
  display: flex; flex-direction: column; text-align: left;
  background: linear-gradient(180deg, #FAFBFD 0%, #F1F3F8 100%);
  border: 1px solid var(--border); border-radius: 18px;
  padding: 0; overflow: hidden; cursor: pointer;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, border-color .2s ease;
}
.pcard:hover{
  transform: translateY(-5px); border-color: var(--navy);
  box-shadow: 0 26px 54px -26px rgba(0,43,92,.3);
}
.pcard-img{
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  padding: 22px 20px 10px;
}
.pcard-img img{
  max-height: 100%; max-width: 84%; width: auto; object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0,43,92,.18));
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.pcard:hover .pcard-img img{transform: scale(1.06) translateY(-3px)}
.pcard-body{
  padding: 14px 20px 20px; text-align: center;
  border-top: 1px solid rgba(0,43,92,.06);
}
.pcard-body h4{
  margin: 0 0 4px; font-size: 14.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: var(--navy);
}
.pcard-brand{
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600;
}
@media (max-width: 1024px){.pcards{grid-template-columns: repeat(3, 1fr)}}
@media (max-width: 720px){
  .pcards{grid-template-columns: repeat(2, 1fr); gap: 12px}
  .pcard-img{aspect-ratio: 1/1; padding: 16px 14px 8px}
  .pcard-body{padding: 12px 12px 16px}
  .pcard-body h4{font-size: 13px}
  .pcard-brand{font-size: 11px}
}

/* ---------- 22. FIX: la card del catálogo anima sola (antes quedaba invisible al filtrar) ---------- */
@keyframes pcardIn{
  from{opacity: 0; transform: translateY(14px)}
  to{opacity: 1; transform: none}
}
.pcard{animation: pcardIn .36s cubic-bezier(.22,.61,.36,1) both}
@media (prefers-reduced-motion: reduce){
  .pcard{animation: none}
}

/* ============================================================
   23. COTIZADOR: multiselección + buscadores dinámicos
   ============================================================ */

/* --- paso 1: chips de repuestos con check --- */
.qm-chips{display:flex; flex-wrap:wrap; gap:9px; margin:20px 0 14px}
.qm-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 16px 11px 13px; border-radius:10px;
  border:1.5px solid var(--border); background:#fff;
  font-size:14px; font-weight:600; color:var(--ink);
  transition:all .18s ease;
}
.qm-chip:hover{border-color:var(--navy)}
.qm-chip .tick{
  width:18px; height:18px; border-radius:5px; flex-shrink:0;
  border:1.5px solid var(--border); background:#fff; color:transparent;
  display:flex; align-items:center; justify-content:center;
  transition:all .18s ease;
}
.qm-chip .tick svg{width:11px; height:11px}
.qm-chip.on{border-color:var(--navy); background:rgba(0,43,92,.05)}
.qm-chip.on .tick{background:var(--navy); border-color:var(--navy); color:#fff}
.qm-count{font-size:13px; color:var(--muted-2); font-weight:600}
.qm-count.on{color:var(--navy)}

/* --- marcas más buscadas --- */
.qm-quick{margin:18px 0 16px}
.qm-quick > span{
  display:block; font-size:11px; font-weight:800; letter-spacing:.12em;
  text-transform:uppercase; color:var(--muted-2); margin-bottom:8px;
}
.qm-quick > div{display:flex; flex-wrap:wrap; gap:7px}
.qk{
  padding:8px 14px; border-radius:999px; border:1.5px solid var(--border);
  background:#fff; font-size:13px; font-weight:600; color:var(--ink); transition:all .18s;
}
.qk:hover{border-color:var(--navy)}
.qk.on{background:var(--navy); border-color:var(--navy); color:#fff}

/* --- grid de buscadores --- */
.qm-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:14px}

/* --- combo (input + lista filtrable) --- */
.combo{position:relative}
.combo label{
  display:block; font-size:12px; font-weight:700; color:var(--ink);
  margin-bottom:6px; letter-spacing:.01em;
}
.combo label em{color:var(--red); font-style:normal}
.combo-field{position:relative; display:flex; align-items:center}
.combo-field input{
  width:100%; padding:12px 40px 12px 14px; font:inherit; font-size:14.5px;
  border:1.5px solid var(--border); border-radius:10px; background:#fff; color:var(--ink);
  transition:border-color .15s, box-shadow .15s;
}
.combo-field input:focus{outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(0,43,92,.09)}
.combo-field input:disabled{background:var(--bg-alt); color:var(--muted-2); cursor:not-allowed}
.combo-sfx{
  position:absolute; right:38px; font-size:14px; font-weight:700;
  color:var(--muted-2); pointer-events:none;
}
.combo-ico{
  position:absolute; right:13px; width:16px; height:16px;
  color:var(--muted-2); pointer-events:none; display:flex;
}
.combo-ico svg{width:100%; height:100%}
.combo.is-ok .combo-field input{border-color:#16A34A; background:#F6FFFA}
.combo.is-ok .combo-ico{color:#16A34A}
.combo-list{
  position:absolute; z-index:20; left:0; right:0; top:calc(100% + 5px);
  background:#fff; border:1px solid var(--border); border-radius:12px;
  box-shadow:0 18px 40px -14px rgba(0,43,92,.28);
  max-height:212px; overflow-y:auto; padding:6px;
}
.combo-opt{
  display:block; width:100%; text-align:left;
  padding:10px 12px; border-radius:8px; font-size:14px; color:var(--ink);
  transition:background .12s;
}
.combo-opt:hover{background:var(--bg-alt)}
.combo-opt.on{background:rgba(0,43,92,.08); font-weight:700}
.combo-empty{padding:12px; font-size:13px; color:var(--muted-2)}

/* --- adjuntar foto --- */
.qm-foto{
  display:flex; align-items:center; gap:13px; cursor:pointer;
  border:1.5px dashed var(--border); border-radius:12px; padding:13px 15px;
  transition:border-color .18s, background .18s; margin-top:4px;
}
.qm-foto:hover{border-color:var(--navy); background:var(--bg-alt)}
.qm-foto input{display:none}
.qm-foto .ic{
  width:38px; height:38px; border-radius:9px; flex-shrink:0;
  background:rgba(0,43,92,.07); color:var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.qm-foto .ic svg{width:18px; height:18px}
.qm-foto img{width:38px; height:38px; border-radius:9px; object-fit:cover; flex-shrink:0}
.qm-foto span{display:flex; flex-direction:column; min-width:0}
.qm-foto b{font-size:13.5px; color:var(--ink); font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.qm-foto em{font-size:12px; color:var(--muted-2); font-style:normal}
.qm-foto.has{border-style:solid; border-color:#16A34A}

/* --- resumen antes de enviar --- */
.qm-resumen{
  background:var(--bg-alt); border-radius:12px; padding:14px 16px;
  margin:18px 0 18px; display:flex; flex-direction:column; gap:9px;
}
.qm-resumen > div{display:flex; flex-direction:column; gap:2px}
.qm-resumen span{font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--muted-2)}
.qm-resumen b{font-size:14px; color:var(--ink); font-weight:600}

.modal .field label em{color:var(--red); font-style:normal}
.modal .btn[disabled]{opacity:.42; pointer-events:none}

/* --- móvil: aprovechar el espacio --- */
@media (max-width: 720px){
  .modal.qm{grid-template-columns:1fr; max-height:92vh}
  .modal.qm .side{display:none}                  /* el panel lateral no aporta en móvil */
  .modal.qm .main{padding:22px 18px 20px}
  .modal.qm h4{font-size:19px}
  .modal.qm .sub{font-size:13px; margin-bottom:4px}
  .qm-chips{gap:7px; margin:15px 0 12px}
  .qm-chip{padding:9px 13px 9px 11px; font-size:13px}
  .qm-grid{grid-template-columns:1fr 1fr; gap:10px}
  .combo-field input{padding:11px 36px 11px 12px; font-size:14px}
  .combo label{font-size:11.5px; margin-bottom:4px}
  .qm-quick{margin:14px 0 12px}
  .qk{padding:7px 12px; font-size:12.5px}
  .qm-foto{padding:11px 12px}
  .modal.qm .nav{padding-top:14px}
}

/* ============================================================
   24. MARCAS: logos grandes, a color, sin recuadro
   ============================================================ */
.brands{padding: 70px 0 76px}
.brands-track{
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; align-items: center; padding: 0;
}
.brand-cell{
  background: transparent; border: 0; box-shadow: none;
  min-height: 0; padding: 6px;
  filter: none; opacity: 1;
}
.brand-cell:hover{
  background: transparent; border: 0; box-shadow: none;
  transform: scale(1.05);
}
.brand-cell img{
  max-height: 108px; max-width: 100%; width: auto;
  object-fit: contain; mix-blend-mode: multiply;
}
@media (max-width: 800px){
  .brands{padding: 52px 0 56px}
  .brands-track{grid-template-columns: repeat(3, 1fr); gap: 18px}
  .brand-cell{min-height: 0}
  .brand-cell img{max-height: 74px}
}

/* ============================================================
   25. SUCURSALES: 6 en dos columnas, sin scroll, mapa que cambia
   ============================================================ */
.suc-v3{padding: 80px 0}
.suc-head{
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; flex-wrap: wrap; margin-bottom: 30px;
}
.suc-head h2{font-size: clamp(26px, 3vw, 38px); margin-top: 14px}
.suc-head p{max-width: 380px; color: var(--muted); font-size: 15px; margin: 0}

.suc-wrap{display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; align-items: stretch}

.suc-list{
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 9px; align-content: start;         /* 6 items = 3 filas, sin scroll */
}
.suc-item{
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff;
  transition: all .18s ease;
}
.suc-item:hover{border-color: var(--navy)}
.suc-item .pin{
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: rgba(0,43,92,.07); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: all .18s ease;
}
.suc-item .txt{display: flex; flex-direction: column; gap: 2px; min-width: 0}
.suc-item b{font-size: 14.5px; color: var(--navy); font-weight: 700; line-height: 1.2}
.suc-item em{font-size: 12px; color: var(--muted); font-style: normal; line-height: 1.35}
.suc-item.on{background: var(--navy); border-color: var(--navy)}
.suc-item.on b{color: #fff}
.suc-item.on em{color: rgba(255,255,255,.68)}
.suc-item.on .pin{background: var(--red); color: #fff}

.suc-map{
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-alt);
  min-height: 340px; display: flex; flex-direction: column;
}
.suc-map iframe{flex: 1; width: 100%; border: 0; display: block; min-height: 268px}
.suc-map-bar{
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; background: #fff; border-top: 1px solid var(--border);
}
.suc-map-bar b{display: block; font-size: 14px; color: var(--navy); font-weight: 700}
.suc-map-bar span{font-size: 12px; color: var(--muted)}
.suc-map-bar .btn{flex-shrink: 0}

@media (max-width: 900px){
  .suc-v3{padding: 56px 0}
  .suc-wrap{grid-template-columns: 1fr; gap: 14px}
  .suc-map{min-height: 300px; order: -1}
  .suc-list{gap: 8px}
  .suc-item{padding: 11px 12px}
  .suc-item b{font-size: 13.5px}
  .suc-item em{font-size: 11.5px}
  .suc-map-bar{flex-direction: column; align-items: flex-start; gap: 10px}
  .suc-map-bar .btn{width: 100%; justify-content: center}
}

/* ============================================================
   26. TESTIMONIOS: fila de 4, mucho menos alto
   ============================================================ */
.testi-v3{padding: 74px 0}
.testi-head{margin-bottom: 30px}
.testi-head h2{font-size: clamp(24px, 2.8vw, 36px); margin-top: 14px}
.testi-row{display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px}
.tst{
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 11px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tst:hover{transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(0,43,92,.22)}
.tst .stars{display: flex; gap: 2px; color: #F7B500}
.tst .stars svg{width: 13px; height: 13px}
.tst .q{
  margin: 0; font-size: 14px; line-height: 1.55; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.tst .who{display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border)}
.tst .who .av{
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: rgba(0,43,92,.07); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.tst .who span{display: flex; flex-direction: column; min-width: 0}
.tst .who b{font-size: 13px; color: var(--navy); font-weight: 700}
.tst .who em{font-size: 11.5px; color: var(--muted); font-style: normal}
@media (max-width: 1024px){.testi-row{grid-template-columns: repeat(2, 1fr)}}
@media (max-width: 560px){
  .testi-v3{padding: 52px 0}
  .testi-row{grid-template-columns: 1fr; gap: 10px}
  .tst{padding: 16px}
  .tst .q{-webkit-line-clamp: 3; font-size: 13.5px}
}

/* ---------- 27. Móvil: testimonios en carrusel (1 card de alto en vez de 4) ---------- */
@media (max-width: 560px){
  .testi-row{
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 10px; padding: 2px 2px 12px; margin: 0 -22px; padding-left: 22px; padding-right: 22px;
    scrollbar-width: none;
  }
  .testi-row::-webkit-scrollbar{display: none}
  .tst{flex: 0 0 82%; scroll-snap-align: start}
  .tst .q{-webkit-line-clamp: 4}
}

/* ---------- 28. MARCAS: un solo titular en una línea + logos más grandes ---------- */
.brands{padding: 66px 0 74px}
.brands-title{
  text-align: center; margin: 0 auto 46px;
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.15;
  color: var(--navy); max-width: 900px;
}
.brands-track{gap: 20px}
.brand-cell img{max-height: 140px}
@media (max-width: 800px){
  .brands{padding: 48px 0 54px}
  .brands-title{margin-bottom: 32px; font-size: 22px}
  .brands-track{grid-template-columns: repeat(3, 1fr); gap: 14px}
  .brand-cell img{max-height: 84px}
}

/* ---------- 29. Mapa de sucursales: pin con el isotipo de la marca ---------- */
.suc-map-canvas{flex:1; width:100%; min-height:300px; background:var(--bg-alt)}
.suc-map .leaflet-container{font-family:var(--font-sans)}
.mega-pin{background:none !important; border:0 !important}
.mega-pin .mp-badge{
  position:absolute; top:0; left:0;
  width:40px; height:40px; border-radius:50%;
  background:#fff; border:2.5px solid var(--navy);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px -4px rgba(0,43,92,.45);
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.mega-pin .mp-badge img{width:23px; height:23px; display:block}
.mega-pin .mp-tip{
  position:absolute; top:37px; left:50%; transform:translateX(-50%);
  width:0; height:0; border-left:7px solid transparent; border-right:7px solid transparent;
  border-top:11px solid var(--navy); transition:border-top-color .2s ease;
}
.mega-pin.on .mp-badge{background:var(--red); border-color:var(--red); transform:scale(1.14)}
.mega-pin.on .mp-tip{border-top-color:var(--red)}
.suc-map .leaflet-popup-content-wrapper{border-radius:12px; box-shadow:0 16px 40px -14px rgba(0,43,92,.35)}
.suc-map .leaflet-popup-content{margin:12px 14px; font-size:13px; line-height:1.5; color:var(--text)}
.suc-map .leaflet-popup-content b{color:var(--navy); font-size:14px}
.suc-map .leaflet-popup-content a{color:var(--red); font-weight:700}
.suc-item .txt i{font-style:normal; font-size:11.5px; font-weight:700; color:var(--red); margin-top:1px}
.suc-item.on .txt i{color:#fff}
@media (max-width:900px){ .suc-map-canvas{min-height:260px} }

/* ---------- 30. Marcas y logo del footer más grandes ---------- */
.brands-track{gap: 12px}
.brand-cell{padding: 0}
.brand-cell img{max-height: 132px; max-width: 100%; width: auto}
/* TAMA solo existe a 100px: no lo forzamos para que no pixele */
.brand-cell:nth-child(4) img{max-height: 104px}

/* el logo del footer lo pisaba `.footer .col .logo img` (más específico) */
.footer .col .logo img{height: 86px; width: auto; margin-bottom: 22px}

@media (max-width: 800px){
  .brand-cell img{max-height: 88px}
  .brand-cell:nth-child(4) img{max-height: 80px}
  .footer .col .logo img{height: 68px}
}

/* ---------- 31. Marcas: tamaño calibrado por peso visual de cada logo ----------
   Los logos tienen proporciones muy distintas: normalizar por altura los
   desequilibra. Se ajusta cada uno para que "pesen" parejo en la fila.
   Orden: 1 Pro-Aire · 2 Radauto · 3 Supercool · 4 TAMA · 5 Peak            */
.brand-cell img{max-height: none; max-width: none}

/* Pro-Aire — muy horizontal (3.5:1): dominaba la fila, se reduce */
.brand-cell:nth-child(1) img{width: 198px; height: auto}

/* Radauto — se baja un poco */
.brand-cell:nth-child(2) img{height: 112px; width: auto}

/* Supercool — el óvalo se veía chico: crece */
.brand-cell:nth-child(3) img{height: 148px; width: auto}

/* TAMA — era el más chico; sube lo justo sin pixelar (solo existe a 100px) */
.brand-cell:nth-child(4) img{height: 112px; width: auto}

/* Peak — la montaña se veía enorme: se reduce */
.brand-cell:nth-child(5) img{height: 106px; width: auto}

@media (max-width: 800px){
  .brand-cell:nth-child(1) img{width: 132px}
  .brand-cell:nth-child(2) img{height: 74px}
  .brand-cell:nth-child(3) img{height: 96px}
  .brand-cell:nth-child(4) img{height: 74px}
  .brand-cell:nth-child(5) img{height: 70px}
}

/* anula el max-height previo que dejaba TAMA en 104px */
.brand-cell:nth-child(4) img{max-height: none; height: 116px}

/* ============================================================
   ★ AJUSTES SOLO MÓVIL  (el desktop NO se toca)
   Todo lo de aquí abajo vive dentro de media queries.
   Utilidades: .oculto-movil / .solo-movil
   ============================================================ */
.solo-movil{display: none}

@media (max-width: 720px){
  .oculto-movil{display: none !important}
  .solo-movil{display: block}

  /* --- HERO: fuera el párrafo (lo dicen ya los chips de categorías)
         y la foto sube para aprovechar el espacio --- */
  .hero .lead{display: none}
  .hero .badge{margin-bottom: 14px}
  .hero .copy{padding: 14px 0 18px}
  .hero .copy .switcher{margin: -2px 0 16px}
  .hero .actions{margin-bottom: 0}
  .hero .inner{gap: 18px; min-height: 0}
  .hero .visual{height: 300px; min-height: 280px; margin-top: 4px}
}

@media (max-width: 720px){
  /* --- los 4 chips de categoría en UNA SOLA LÍNEA --- */
  .hero .copy .switcher{
    flex-wrap: nowrap; gap: 6px;
    overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
    /* sangra a los bordes: si algún equipo angosto necesita deslizar, se siente natural */
    margin-left: -22px; margin-right: -22px;
    padding-left: 22px; padding-right: 22px;
  }
  .hero .copy .switcher::-webkit-scrollbar{display: none}
  .hero .switcher .chip{
    flex: 0 0 auto; padding: 8px 11px; font-size: 11.5px; letter-spacing: -.01em;
  }
}

@media (max-width: 720px){
  /* --- CATÁLOGO: un solo texto y directo a las fotos --- */
  .products-head-v2{margin-bottom: 16px; gap: 12px}
  .ph-movil{
    font-size: 23px; margin: 0 0 12px; line-height: 1.15; color: var(--navy);
  }
  .products-v2 .filters{margin-top: 0}
}

@media (max-width: 720px){
  /* ============ SUCURSALES en móvil ============
     Lista de nombres arriba (compacta) → mapa más pequeño abajo →
     el detalle (dirección, horario, cómo llegar) aparece al elegir. */
  .suc-v3{padding: 48px 0}
  .suc-head{margin-bottom: 18px; gap: 10px}
  .suc-head h2{font-size: 24px; margin-top: 10px}
  .suc-head p{font-size: 13.5px}

  .suc-wrap{display: flex; flex-direction: column; gap: 12px}
  .suc-list{order: 1; gap: 7px}          /* la lista, primero */
  .suc-map{order: 2; min-height: 0}      /* el mapa, después */

  /* tarjetas: solo el nombre; la dirección y el teléfono ya salen en el detalle */
  .suc-item{align-items: center; padding: 11px 12px; gap: 9px}
  .suc-item .pin{width: 24px; height: 24px; border-radius: 7px}
  .suc-item .pin svg{width: 12px; height: 12px}
  .suc-item b{font-size: 12.5px; line-height: 1.25}
  .suc-item em, .suc-item i{display: none}

  /* mapa más pequeño */
  .suc-map-canvas{min-height: 190px; height: 190px; flex: none}
  .suc-map-bar{padding: 11px 13px; gap: 9px}
  .suc-map-bar b{font-size: 13.5px}
  .suc-map-bar span{font-size: 11.5px; line-height: 1.4}

  /* ============ FOOTER más compacto ============ */
  .footer .top{padding: 34px 0 26px}
  .footer .grid{
    grid-template-columns: 1fr 1fr; gap: 26px 18px; padding-bottom: 26px;
  }
  .footer .col:first-child,
  .footer .col:last-child{grid-column: 1 / -1}   /* logo/contacto y newsletter a lo ancho */
  .footer .col .logo img{height: 56px; margin-bottom: 14px}
  .footer .contact{gap: 9px}
  .footer .contact .row{font-size: 13px; gap: 9px}
  .footer .socials{margin-top: 14px; gap: 8px}
  .footer .socials a{width: 34px; height: 34px}
  .footer h4{font-size: 11.5px; margin-bottom: 11px}
  .footer ul{gap: 8px}
  .footer ul a{font-size: 13px}
  .footer .hours{gap: 7px}
  .footer .h-row{font-size: 12.5px}
  .footer .bottom{padding: 16px 0; font-size: 11.5px; gap: 8px}
}
@media (max-width: 560px){
  /* mantiene las 2 columnas también en pantallas angostas (antes pasaba a 1) */
  .footer .grid{grid-template-columns: 1fr 1fr}
}

@media (max-width: 720px){
  /* FIX: el sangrado con márgenes negativos ensanchaba .copy y sacaba
     el botón y la foto fuera del contenedor. Los 4 chips caben, no hace falta. */
  .hero .copy .switcher{
    margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0;
    max-width: 100%;
  }
  .hero .copy, .hero .inner, .hero .visual{min-width: 0; max-width: 100%}
  .hero .actions .btn{max-width: 100%}
}

@media (max-width: 720px){
  /* los 4 chips visibles en una línea: hay que usar el selector específico
     (.hero .copy .switcher .chip) porque el genérico lo pisaba una regla previa */
  .hero .copy .switcher{gap: 5px}
  .hero .copy .switcher .chip{
    padding: 8px 9px; font-size: 10.8px; letter-spacing: -.015em; border-width: 1px;
  }
}

@media (max-width: 720px){
  /* último ajuste: con gap 4 y padding 7 los 4 chips caben en 350px */
  .hero .copy .switcher{gap: 4px}
  .hero .copy .switcher .chip{padding: 8px 7px; font-size: 10.6px}
}
