:root{--navy:#062b63;--navy2:#031b3e;--red:#e30613;--white:#fff;--light:#f4f7fb;--line:#dfe7f0;--text:#172033;--shadow:0 12px 30px rgba(6,43,99,.13)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--light);overflow-x:hidden}a{text-decoration:none;color:inherit}img,iframe,video{max-width:100%}.container{max-width:1200px;margin:0 auto;padding:34px 18px}.alert-red{border-left:6px solid var(--red)}.alert-blue{border-left:6px solid var(--navy)}
.contact-strip{background:var(--navy2);color:#fff;display:flex;justify-content:flex-end;gap:26px;padding:9px 5%;font-weight:800;font-size:15px}.contact-strip a{color:#fff}.nav-bar{height:86px;background:linear-gradient(90deg,var(--navy2),var(--navy));display:flex;align-items:center;justify-content:center;padding:0 5%;position:sticky;top:0;z-index:100;box-shadow:0 7px 20px rgba(0,0,0,.24)}.brand{position:absolute;left:5%;top:8px;width:145px;height:145px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);overflow:hidden}.brand img{width:100%;height:100%;object-fit:cover}.nav-links{display:flex;align-items:center;gap:0}.nav-links a{color:#fff;font-weight:900;text-transform:uppercase;padding:34px 22px;height:86px;display:flex;align-items:center}.nav-links a:hover,.nav-links .nav-red{background:var(--red)}.menu-toggle{display:none;background:var(--red);color:#fff;border:0;border-radius:10px;padding:10px 14px;font-size:25px;box-shadow:none;width:auto}
.btn,button,a.btn{border:0;border-radius:10px;padding:12px 20px;background:var(--red);color:#fff;font-weight:900;cursor:pointer;display:inline-block;box-shadow:0 5px 16px rgba(227,6,19,.25);transition:.2s;text-align:center}.btn:hover,button:hover{transform:translateY(-1px);filter:brightness(1.06)}.btn.secondary{background:var(--navy);box-shadow:0 5px 16px rgba(6,43,99,.25)}.btn.success{background:#0a8f45}.btn.danger{background:#b90f15}.btn.outline-blue{background:#fff;color:var(--navy);border:2px solid var(--navy);box-shadow:none}.btn.outline{background:transparent;border:2px solid #fff}
.hero-new{min-height:520px;background:linear-gradient(90deg,rgba(255,255,255,.98) 0 38%,rgba(255,255,255,.6) 49%,rgba(6,43,99,.36) 68%,rgba(3,27,62,.98) 100%),url('../images/hero-elcerrajero-cr.jpg') center/cover no-repeat;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:72px 7% 48px;position:relative}.hero-new:before{content:"";position:absolute;left:47%;top:0;height:100%;width:28px;background:var(--red);transform:skewX(-28deg);box-shadow:18px 0 0 var(--navy)}.hero-copy{max-width:560px;position:relative;z-index:2}.hero-copy span{color:var(--red);font-size:22px;font-weight:900;text-transform:uppercase}.hero-copy h1{font-size:58px;line-height:.95;margin:8px 0 18px;text-transform:uppercase;color:var(--navy);letter-spacing:-1px}.hero-copy h1 b{color:var(--red)}.hero-copy p{font-size:19px;line-height:1.45;margin-bottom:22px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-badges{position:relative;z-index:2;color:#fff;max-width:310px;font-weight:900;text-transform:uppercase}.hero-badges div{display:flex;gap:12px;align-items:center;margin:18px 0;font-size:18px;text-shadow:0 2px 8px #000}
.service-ribbon{max-width:1180px;margin:-42px auto 16px;background:#fff;border-radius:14px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(5,1fr);position:relative;z-index:5;overflow:hidden}.service-ribbon div{padding:24px 18px;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:900;color:var(--navy);text-transform:uppercase;text-align:center;border-right:1px solid var(--line)}.service-ribbon span{background:var(--navy);color:#fff;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;flex:0 0 auto}.service-ribbon div:last-child{border-right:0}
.section-title{font-size:34px;text-align:center;color:var(--navy);text-transform:uppercase;margin:0 0 26px;font-weight:900}.section-title span,.home-panel h2:after{color:var(--red)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}.card,.home-panel,.why-panel,.cart-panel,.cart-summary{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:var(--shadow);transition:.2s}.card:hover,.mini-card:hover{transform:translateY(-3px)}.service-card{text-align:center;border-top:5px solid var(--navy)}.service-card:nth-child(even){border-top-color:var(--red)}.service-icon{font-size:42px;margin-bottom:10px}.service-card h3{color:var(--navy);text-transform:uppercase}.home-grid{display:grid;grid-template-columns:1.1fr .7fr;gap:18px;align-items:stretch}.home-panel h2,.why-panel h2{margin:0 0 16px;color:var(--navy);text-transform:uppercase;border-bottom:3px solid var(--red);display:inline-block;padding-bottom:6px}.mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mini-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 10px;text-align:center;box-shadow:0 6px 18px rgba(0,0,0,.07);color:var(--navy)}.mini-card span{font-size:44px;display:block}.mini-card strong{display:block;text-transform:uppercase}.mini-card small{display:inline-block;margin-top:9px;background:var(--red);color:#fff;border-radius:7px;padding:7px 9px;font-weight:800}.brand-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.brand-grid span{background:#fff;border:1px solid var(--line);border-radius:10px;min-height:58px;display:flex;align-items:center;justify-content:center;font-weight:900;color:var(--navy);box-shadow:0 4px 12px rgba(0,0,0,.06)}.why-panel{background:linear-gradient(135deg,var(--navy),var(--navy2));color:#fff}.why-panel h2{color:#fff}.why-panel p{font-weight:700}.info-strip{max-width:1200px;margin:0 auto 26px;background:#fff;border-radius:14px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.info-strip div{padding:22px;display:grid;grid-template-columns:44px 1fr;gap:0 12px;border-right:1px solid var(--line)}.info-strip span{grid-row:span 2;font-size:36px;color:var(--navy)}.info-strip b{color:var(--navy);text-transform:uppercase}.info-strip small{display:block;color:#4b5563;line-height:1.45}
.product-img{width:100%;height:180px;object-fit:cover;border-radius:9px;background:#eef3f8;border:1px solid var(--line)}.filters{background:#fff;border-left:6px solid var(--red);border-radius:12px;padding:18px;margin-bottom:22px;display:flex;gap:12px;flex-wrap:wrap;box-shadow:var(--shadow)}input,textarea,select{width:100%;padding:12px;border:1px solid #c8d3df;border-radius:9px;margin:7px 0;font-size:15px}.filters input,.filters select{max-width:300px}.table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.table th{background:var(--navy);color:#fff;text-transform:uppercase;font-size:13px}.table th,.table td{padding:13px;border-bottom:1px solid #e3e9ef;text-align:left}.badge{display:inline-block;padding:7px 12px;border-radius:999px;font-weight:800;background:#e5e7eb}.badge.pendiente{background:#fff3cd;color:#856404}.badge.entregado,.badge.completado{background:#d4edda;color:#155724}.badge.cancelado{background:#f8d7da;color:#721c24}
.footer{background:linear-gradient(90deg,var(--navy2),var(--navy));color:#fff;padding:35px 5% 18px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:24px;max-width:1180px;margin:0 auto}.footer-logo{width:120px;height:120px;border-radius:50%;object-fit:cover;background:#fff}.footer h3{text-transform:uppercase;margin-top:0}.footer a{display:block;margin:7px 0;color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.25);margin-top:22px;padding-top:14px;text-align:center;font-size:14px}.whatsapp-float{position:fixed;right:18px;bottom:18px;background:#25d366;color:white;width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:30px;z-index:999;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:1000;align-items:center;justify-content:center}.modal:target{display:flex}.modal-content{background:#fff;border-top:7px solid var(--red);border-radius:14px;padding:24px;width:min(430px,92vw);position:relative;box-shadow:0 15px 40px rgba(0,0,0,.35)}.close{position:absolute;top:10px;right:15px;font-size:26px;color:#111}
.cart-layout{display:grid;grid-template-columns:1fr 360px;gap:22px;align-items:start}.cart-panel{overflow:hidden}.cart-header{background:linear-gradient(90deg,var(--navy2),var(--navy));color:#fff;padding:18px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.cart-header h2{margin:0;font-size:22px}.cart-list{padding:0;margin:0;list-style:none}.cart-item{display:grid;grid-template-columns:90px 1fr 120px 120px 120px;gap:14px;align-items:center;padding:16px 20px;border-bottom:1px solid #e5edf5}.cart-item img{width:90px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #dbeafe;background:#f4f7fb}.cart-product-title{font-weight:900;color:var(--navy);margin-bottom:5px}.cart-product-desc{font-size:13px;color:#64748b}.qty-control{display:flex;align-items:center;gap:6px}.qty-control input{max-width:72px;text-align:center;margin:0}.cart-price,.cart-subtotal{font-weight:900}.cart-actions{padding:16px 20px;display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;background:#f8fbff}.cart-summary{position:sticky;top:110px;overflow:hidden;padding:0}.cart-summary-title{background:linear-gradient(135deg,var(--red),#b90f15);color:#fff;padding:18px 20px;font-weight:900;text-transform:uppercase}.summary-body{padding:20px}.summary-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e5edf5;font-weight:700}.summary-total{font-size:24px;color:var(--navy);font-weight:900}.cart-empty{text-align:center;padding:50px 20px}.cart-empty-icon{font-size:70px;margin-bottom:12px}.checkout-success{max-width:760px;margin:30px auto;background:#fff;border-radius:22px;padding:28px;box-shadow:var(--shadow);border-top:8px solid #0a8f45;text-align:center}.checkout-success h1{color:var(--navy);margin-top:0}
@media(max-width:1100px){.brand{position:static;width:82px;height:82px}.nav-bar{height:auto;justify-content:space-between;padding:8px 18px}.nav-links a{height:auto;padding:20px 13px}.hero-copy h1{font-size:45px}.service-ribbon{grid-template-columns:repeat(2,1fr);margin:0 18px 16px}.home-grid{grid-template-columns:1fr}.info-strip{grid-template-columns:repeat(2,1fr);margin-left:18px;margin-right:18px}.mini-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.contact-strip{justify-content:center;text-align:center;gap:10px;font-size:13px}.menu-toggle{display:block}.nav-links{display:none;position:absolute;top:98px;left:0;right:0;background:var(--navy2);flex-direction:column;box-shadow:0 12px 25px rgba(0,0,0,.25)}.nav-links.open{display:flex}.nav-links a{width:100%;justify-content:center;border-top:1px solid rgba(255,255,255,.14)}.hero-new{min-height:auto;padding:38px 18px;text-align:center;background:linear-gradient(rgba(255,255,255,.92),rgba(255,255,255,.92)),url('../images/hero-elcerrajero-cr.jpg') center/cover no-repeat}.hero-new:before,.hero-badges{display:none}.hero-copy h1{font-size:34px}.hero-actions{justify-content:center}.service-ribbon{grid-template-columns:1fr}.service-ribbon div{justify-content:flex-start}.brand-grid{grid-template-columns:repeat(2,1fr)}.info-strip{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;text-align:center}.footer a{display:inline-block;margin:6px 8px}.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.cart-item{grid-template-columns:80px 1fr}.cart-price,.cart-subtotal,.qty-control{grid-column:2}.table{display:block;overflow-x:auto;white-space:nowrap}.modal-content{max-height:90vh;overflow:auto}}
@media(max-width:520px){.container{padding-left:12px;padding-right:12px}.hero-copy h1{font-size:28px}.hero-copy p{font-size:16px}.btn,button,a.btn{width:100%;margin-top:4px}.mini-grid{grid-template-columns:1fr}.brand-grid{grid-template-columns:1fr}.cart-item{grid-template-columns:1fr;text-align:center}.cart-item img{margin:0 auto;width:120px;height:90px}.cart-price,.cart-subtotal,.qty-control{grid-column:auto;justify-content:center}.cart-actions{flex-direction:column}.whatsapp-float{width:54px;height:54px;font-size:26px;right:14px;bottom:14px}input,select,textarea{font-size:16px}}
/* Compatibilidad con páginas internas antiguas */
.hero{position:relative;background:linear-gradient(90deg,rgba(6,43,99,.92),rgba(3,27,62,.78)),url('../images/hero-elcerrajero-cr.jpg') center/cover no-repeat;color:#fff;min-height:280px;display:flex;align-items:center;padding:45px 7%;overflow:hidden}.hero-content{max-width:720px}.hero-kicker{color:#fff;font-weight:900;text-transform:uppercase;margin-bottom:10px}.hero h1{font-size:42px;line-height:1.05;margin:0 0 14px;text-transform:uppercase}.hero p{font-size:18px;line-height:1.45}.side-services{display:none}
@media(max-width:780px){.hero{text-align:center;padding:34px 18px}.hero h1{font-size:30px}}


/* === FIX 2026-06-20: banner real + logo controlado === */
.site-header{position:sticky;top:0;z-index:1000;background:var(--navy2)}
.contact-strip{min-height:38px;align-items:center}
.nav-bar{height:74px;min-height:74px;position:relative;top:auto;}
.brand{position:absolute;left:5%;top:8px;width:112px;height:112px;border-radius:50%;padding:6px;background:#fff;z-index:1002;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.18)}
.brand img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%;display:block!important;max-width:100%!important;max-height:100%!important}
.nav-links a{height:74px;padding:26px 22px}
.hero-banner-main{position:relative;background:#f4f7fb;margin:0;line-height:normal;overflow:hidden;border-bottom:5px solid var(--navy)}
.hero-banner-main img{display:block;width:100%;height:auto;max-height:calc(100vh - 112px);object-fit:contain;object-position:center top;background:#fff}
.hero-floating-actions{position:relative;left:auto;bottom:auto;display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;line-height:1.2;z-index:5;padding:18px 16px 20px;background:linear-gradient(180deg,#ffffff 0%,#f3f6fb 100%);box-shadow:0 -4px 16px rgba(0,0,0,.06) inset}
.hero-floating-actions .btn{min-width:150px;padding:15px 24px;font-size:16px;border-radius:12px}
.service-ribbon{margin:22px auto 16px}
@media(max-width:1100px){.brand{position:static;width:82px;height:82px;padding:4px}.nav-bar{height:auto;min-height:82px}.nav-links a{height:auto}.hero-banner-main img{max-height:none}.hero-floating-actions{justify-content:center;padding:16px 12px;line-height:1.2}.service-ribbon{margin:14px 18px 16px}}
@media(max-width:780px){.site-header{position:sticky}.nav-links{top:98px}.hero-floating-actions .btn{width:auto;min-width:140px}.hero-banner-main img{width:100%;height:auto;object-fit:contain}.service-ribbon div{justify-content:center}.contact-strip span{display:none}}
@media(max-width:520px){.hero-floating-actions .btn{width:100%;max-width:280px}.hero-floating-actions{display:grid;grid-template-columns:1fr;place-items:center}.contact-strip{font-size:12px}.brand{width:72px;height:72px}.nav-bar{min-height:78px}}

/* === UPDATE 2026-06-20: logos de marcas === */
.brand-logo-grid{
  grid-template-columns:repeat(5,minmax(92px,1fr));
  gap:12px;
}
.brand-logo-grid span{
  min-height:72px;
  padding:8px;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.brand-logo-grid span:hover{
  transform:translateY(-3px);
  border-color:#cfd9e6;
  box-shadow:0 10px 24px rgba(0,43,99,.12);
}
.brand-logo-grid img{
  display:block;
  width:100%;
  max-width:145px;
  height:54px;
  object-fit:contain;
  margin:auto;
}
@media(max-width:780px){
  .brand-logo-grid{grid-template-columns:repeat(3,1fr)}
  .brand-logo-grid span{min-height:68px}
}
@media(max-width:520px){
  .brand-logo-grid{grid-template-columns:repeat(2,1fr)}
  .brand-logo-grid img{height:50px}
}

/* Logos reales de marcas - actualización */
.brands-panel{overflow:hidden}
.brand-logo-grid{
  grid-template-columns:repeat(auto-fit,minmax(96px,1fr));
  gap:12px;
}
.brand-logo-grid span{
  min-height:82px;
  padding:10px;
  border-radius:14px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  border:1px solid #e5edf6;
  box-shadow:0 8px 18px rgba(0,31,84,.08);
}
.brand-logo-grid span:hover{
  transform:translateY(-3px);
  border-color:#d90000;
  box-shadow:0 12px 26px rgba(0,31,84,.14);
}
.brand-logo-grid img{
  width:100%;
  max-width:92px;
  height:54px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.12));
}
@media(max-width:780px){
  .brand-logo-grid{grid-template-columns:repeat(3,1fr)}
  .brand-logo-grid span{min-height:74px;padding:8px}
  .brand-logo-grid img{height:48px;max-width:86px}
}
@media(max-width:520px){
  .brand-logo-grid{grid-template-columns:repeat(2,1fr)}
}


/* === UPDATE: marcas tipo slider bajo el menú + logos con fondo transparente === */
.brands-marquee{
  background:#fff;
  border-bottom:1px solid #e5edf5;
  box-shadow:0 8px 22px rgba(0,43,99,.08);
  padding:14px 0 16px;
  overflow:hidden;
}
.brands-marquee-title{
  max-width:1200px;
  margin:0 auto 10px;
  padding:0 18px;
  color:var(--navy);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.4px;
  font-size:18px;
  position:relative;
}
.brands-marquee-title:after{
  content:"";
  display:block;
  width:86px;
  height:3px;
  background:var(--red);
  border-radius:999px;
  margin-top:5px;
}
.brands-marquee-window{
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.brands-marquee-track{
  display:flex;
  align-items:center;
  gap:14px;
  width:max-content;
  animation:elcBrandSlide 48s linear infinite;
  padding:2px 14px;
}
.brands-marquee:hover .brands-marquee-track{animation-play-state:paused;}
.brand-slide{
  flex:0 0 auto;
  width:118px;
  height:72px;
  border-radius:16px;
  background:rgba(255,255,255,.86);
  border:1px solid #e4ebf5;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 7px 18px rgba(0,43,99,.08);
  transition:.2s ease;
}
.brand-slide:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 24px rgba(0,43,99,.14);
  border-color:rgba(227,6,19,.35);
}
.brand-slide img{
  width:92px;
  height:58px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.10));
}
@keyframes elcBrandSlide{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
.admin-brand-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:14px;
}
.admin-brand-card{
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:15px;
  padding:14px;
  display:grid;
  place-items:center;
  gap:8px;
  box-shadow:0 8px 20px rgba(0,56,111,.08);
}
.admin-brand-card img{width:96px;height:60px;object-fit:contain;}
.admin-brand-card label{font-weight:900;color:#00386f;text-align:center;display:flex;gap:7px;align-items:center;justify-content:center;}
@media(max-width:780px){
  .brands-marquee{padding-top:10px}
  .brands-marquee-title{font-size:15px;text-align:center}
  .brands-marquee-title:after{margin-left:auto;margin-right:auto}
  .brand-slide{width:98px;height:62px;border-radius:13px}
  .brand-slide img{width:78px;height:48px}
  .brands-marquee-track{gap:10px;animation-duration:38s}
}
@media(max-width:520px){
  .brand-slide{width:88px;height:58px}
  .brand-slide img{width:72px;height:44px}
}

/* === FIX 2026-06-21: servicios en slider sin cortes === */
.services-slider{
  max-width:1180px;
  margin:22px auto 18px;
  padding:0 54px;
  position:relative;
  z-index:6;
}
.services-window{
  overflow:hidden;
  background:#fff;
  border:1px solid #e5edf5;
  border-radius:16px;
  box-shadow:0 10px 28px rgba(0,43,99,.12);
}
.services-track{
  display:flex;
  gap:0;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.services-track::-webkit-scrollbar{display:none}
.service-slide{
  flex:0 0 245px;
  min-height:116px;
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
  color:var(--navy);
  text-transform:uppercase;
  font-weight:900;
  border-right:1px solid #dbe5f0;
  scroll-snap-align:start;
}
.service-slide span{
  width:54px;
  height:54px;
  border-radius:999px;
  flex:0 0 54px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:#fff;
  font-size:26px;
  box-shadow:0 8px 18px rgba(0,43,99,.18);
}
.service-slide strong{
  display:block;
  font-size:16px;
  line-height:1.25;
}
.services-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:var(--navy);
  color:#fff;
  font-size:32px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,43,99,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  padding-bottom:4px;
}
.services-arrow:hover{background:var(--red)}
.services-prev{left:0}
.services-next{right:0}
.admin-service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
}
.admin-service-card{
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:15px;
  padding:16px;
  display:grid;
  grid-template-columns:54px 1fr;
  align-items:center;
  gap:12px;
  box-shadow:0 8px 20px rgba(0,56,111,.08);
}
.admin-service-card span{
  width:48px;
  height:48px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:25px;
}
.admin-service-card label{font-weight:900;color:#00386f;line-height:1.25;}
@media(max-width:1100px){
  .services-slider{margin:14px 18px 16px;padding:0 48px;}
  .service-slide{flex-basis:235px;}
}
@media(max-width:780px){
  .services-slider{padding:0 42px;margin:14px 12px 16px;}
  .service-slide{flex-basis:230px;min-height:104px;padding:16px;}
  .service-slide span{width:48px;height:48px;flex-basis:48px;font-size:23px;}
  .service-slide strong{font-size:14px;}
  .services-arrow{width:36px;height:36px;font-size:28px;}
}
@media(max-width:520px){
  .services-slider{padding:0;margin:12px 12px 16px;}
  .services-arrow{display:none;}
  .services-window{border-radius:14px;}
  .service-slide{flex-basis:82vw;justify-content:flex-start;text-align:left;}
}

/* === FIX 2026-06-21: servicios como antes, pero acoplados a pantalla === */
.service-ribbon-fit{
  max-width:1180px !important;
  width:calc(100% - 36px) !important;
  margin:22px auto 18px !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(165px,1fr)) !important;
  background:#fff !important;
  border:1px solid #e5edf5 !important;
  border-radius:16px !important;
  box-shadow:0 10px 28px rgba(0,43,99,.12) !important;
  overflow:hidden !important;
  position:relative !important;
  z-index:6 !important;
}
.service-ribbon-fit .service-ribbon-item{
  min-width:0 !important;
  min-height:112px !important;
  padding:18px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:13px !important;
  border-right:1px solid #dbe5f0 !important;
  border-bottom:1px solid #dbe5f0 !important;
  color:var(--navy) !important;
  text-align:center !important;
  text-transform:uppercase !important;
  font-weight:900 !important;
}
.service-ribbon-fit .service-ribbon-item:nth-child(6n){border-right:0 !important;}
.service-ribbon-fit .service-ribbon-item span{
  width:54px !important;
  height:54px !important;
  border-radius:999px !important;
  flex:0 0 54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:var(--navy) !important;
  color:#fff !important;
  font-size:26px !important;
  box-shadow:0 8px 18px rgba(0,43,99,.18) !important;
}
.service-ribbon-fit .service-ribbon-item strong{
  display:block !important;
  font-size:15px !important;
  line-height:1.25 !important;
  overflow-wrap:anywhere !important;
}
@media(max-width:1100px){
  .service-ribbon-fit{width:calc(100% - 24px) !important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr)) !important;margin:16px auto 18px !important;}
  .service-ribbon-fit .service-ribbon-item:nth-child(6n){border-right:1px solid #dbe5f0 !important;}
}
@media(max-width:780px){
  .service-ribbon-fit{grid-template-columns:repeat(2,1fr) !important;border-radius:14px !important;}
  .service-ribbon-fit .service-ribbon-item{min-height:96px !important;padding:15px 10px !important;gap:10px !important;}
  .service-ribbon-fit .service-ribbon-item span{width:46px !important;height:46px !important;flex-basis:46px !important;font-size:22px !important;}
  .service-ribbon-fit .service-ribbon-item strong{font-size:13px !important;}
}
@media(max-width:430px){
  .service-ribbon-fit{grid-template-columns:1fr !important;width:calc(100% - 20px) !important;}
  .service-ribbon-fit .service-ribbon-item{justify-content:flex-start !important;text-align:left !important;padding:14px 18px !important;}
}

/* === FIX FINAL 2026-06-21: servicios icono arriba/texto abajo sin cortar + sin aviso público === */
.service-ribbon-fit{
  max-width:1180px !important;
  width:calc(100% - 48px) !important;
  margin:24px auto 22px !important;
  display:grid !important;
  grid-template-columns:repeat(7,minmax(0,1fr)) !important;
  background:#fff !important;
  border:1px solid #e3ebf5 !important;
  border-radius:18px !important;
  box-shadow:0 12px 30px rgba(0,43,99,.12) !important;
  overflow:hidden !important;
}
.service-ribbon-fit .service-ribbon-item{
  min-width:0 !important;
  min-height:176px !important;
  padding:30px 12px 26px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:18px !important;
  border-right:1px solid #dbe5f0 !important;
  border-bottom:0 !important;
  text-align:center !important;
}
.service-ribbon-fit .service-ribbon-item:last-child{border-right:0 !important;}
.service-ribbon-fit .service-ribbon-item:nth-child(6n){border-right:1px solid #dbe5f0 !important;}
.service-ribbon-fit .service-ribbon-item span{
  width:64px !important;
  height:64px !important;
  flex:0 0 64px !important;
  border-radius:50% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:var(--navy) !important;
  color:#fff !important;
  font-size:28px !important;
  line-height:1 !important;
  box-shadow:0 8px 20px rgba(0,43,99,.18) !important;
}
.service-ribbon-fit .service-ribbon-item strong{
  display:block !important;
  width:100% !important;
  max-width:145px !important;
  margin:0 auto !important;
  color:var(--navy) !important;
  font-size:clamp(12px, .92vw, 16px) !important;
  line-height:1.22 !important;
  letter-spacing:.1px !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  hyphens:none !important;
}
@media(max-width:1180px){
  .service-ribbon-fit{width:calc(100% - 28px) !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
  .service-ribbon-fit .service-ribbon-item{min-height:150px !important;padding:24px 12px 22px !important;}
  .service-ribbon-fit .service-ribbon-item:nth-child(4n){border-right:0 !important;}
  .service-ribbon-fit .service-ribbon-item:nth-child(n+5){border-top:1px solid #dbe5f0 !important;}
}
@media(max-width:780px){
  .service-ribbon-fit{grid-template-columns:repeat(2,minmax(0,1fr)) !important;width:calc(100% - 22px) !important;}
  .service-ribbon-fit .service-ribbon-item{min-height:140px !important;padding:22px 10px 20px !important;}
  .service-ribbon-fit .service-ribbon-item:nth-child(2n){border-right:0 !important;}
  .service-ribbon-fit .service-ribbon-item:nth-child(n+3){border-top:1px solid #dbe5f0 !important;}
  .service-ribbon-fit .service-ribbon-item span{width:56px !important;height:56px !important;flex-basis:56px !important;font-size:25px !important;}
  .service-ribbon-fit .service-ribbon-item strong{font-size:14px !important;max-width:160px !important;}
}
@media(max-width:430px){
  .service-ribbon-fit{grid-template-columns:1fr !important;}
  .service-ribbon-fit .service-ribbon-item{min-height:126px !important;}
  .service-ribbon-fit .service-ribbon-item{border-right:0 !important;border-top:1px solid #dbe5f0 !important;}
  .service-ribbon-fit .service-ribbon-item:first-child{border-top:0 !important;}
}
