/* Cero Scroll Horizontal Global */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}
*, *::before, *::after {
  box-sizing: border-box;
}
/* Use the template's framed media, image zoom, title colour and elevation. */
.service-card.service-item{padding:12px;border:1px solid #e5e9df;border-radius:10px;box-shadow:0 5px 22px #15201808}.service-card .service-img{border-radius:7px}.service-card .service-img>img{border-radius:7px}.service-card .service-content{padding:20px 5px 5px}.service-card:hover .service-title{color:#456d29}.service-card:hover .service-img>img{transform:scale(1.065)}.service-card .service-button{border-radius:5px;font-size:12px}.service-card:hover{box-shadow:0 12px 30px #15201812}.resource-band>.container{display:block}.resource-title{display:flex;justify-content:space-between;align-items:center;gap:25px}.resource-title h2{font-size:30px;line-height:1.2;margin-bottom:0}.resource-title .text-action{flex-shrink:0}.resource-status{font-size:12px;line-height:1.7;color:#5f6c58;margin:15px 0 25px}.home-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.home-blog-card.blog-item{margin:0;display:flex;flex-direction:column;padding:14px;border:1px solid #e1e7d9;border-radius:9px;background:#fff;box-shadow:0 3px 16px #15201806;color:#576350;transition:transform .3s,box-shadow .3s}.home-blog-card .blog-item-img{border-radius:6px;overflow:hidden}.home-blog-card .blog-item-img img{width:100%;height:165px;object-fit:cover;border-radius:6px;transition:transform .65s}.home-blog-card:hover .blog-item-img img{transform:scale(1.075)}.home-blog-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #15201812;color:#576350}.home-blog-card .blog-item-info{padding:18px 3px 3px;display:flex;flex:1;flex-direction:column}.guide-category{font-size:9px;letter-spacing:1.4px;font-weight:650;color:#456c2d;margin-bottom:10px}.home-blog-card h3{font-size:20px;line-height:1.25;font-weight:700;letter-spacing:-.3px;margin-bottom:12px;transition:color .2s}.home-blog-card:hover h3{color:#456c2d}.home-blog-card p{font-size:12px;line-height:1.75;margin:0 0 20px}.guide-link{font-size:12px;font-weight:650;display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #e2e7dc;padding-top:14px;margin-top:auto;color:#385c28;min-height:44px}.guide-link .icon{width:19px;height:19px}.topic-card.blog-item{padding:14px;margin:0;box-shadow:0 4px 18px #15201807;border:1px solid #e0e6d9;border-radius:9px;transition:transform .3s,box-shadow .3s}.topic-card.blog-item:hover{transform:translateY(-4px);box-shadow:0 12px 28px #15201812}.topic-card .blog-item-img{padding:0;flex:none;border-radius:6px;overflow:hidden}.topic-card .blog-item-img img{width:100%;height:155px;object-fit:cover;transition:transform .65s;border-radius:6px}.topic-card.blog-item:hover .blog-item-img img{transform:scale(1.075)}.topic-card .blog-item-info{padding:18px 3px 3px}.topic-card .blog-item-info h2{font-size:20px;margin-bottom:12px}.topic-card .topic-service{border-top:1px solid #e1e7da;padding-top:14px;display:flex;align-items:center;gap:10px;justify-content:space-between;min-height:44px}.reviews-section{padding:36px 0;background:#fff}.reviews-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:23px}.reviews-heading h2{font-size:30px;letter-spacing:-.7px;line-height:1.2;font-weight:750}.google-source{display:flex;align-items:center;gap:10px;border:1px solid #dce3d5;border-radius:6px;padding:12px 16px;flex-shrink:0;font-size:12px;font-weight:600;color:#3e4b3b;background:#fff}.google-source img{width:26px;height:26px;object-fit:contain}.reviews-pending{display:grid;grid-template-columns:1.6fr 1fr;gap:45px;border:1px solid #dde4d7;border-radius:9px;padding:27px;background:#fafbf8}.review-stars{font-size:24px;letter-spacing:3px;color:#687963;line-height:1;margin-bottom:15px}.reviews-pending>div>strong{display:block;font-size:15px;line-height:1.55;font-weight:650;color:#2d412d;margin-bottom:11px}.reviews-pending p{font-size:12px;line-height:1.8;color:#626e5c;margin:0}.review-status{border-left:1px solid #dde4d6;padding-left:30px;align-self:center}.review-status>span{font-size:9px;font-weight:650;letter-spacing:1.3px;color:#63775b;display:block;margin-bottom:10px}.review-status>strong{font-size:16px!important}.review-status>p{font-size:11px}
@media(max-width:1199px){.service-card .service-content{padding:21px 9px 9px}.home-blog-card .blog-item-img img{height:155px}.topic-card .blog-item-img img{height:175px}}
@media(max-width:767px){.service-card.service-item{padding:8px}.service-card .service-content{padding:15px 3px 3px}.service-card .service-img>img{height:125px}.service-card .service-title{font-size:16px}.service-card .service-button{font-size:11px;min-height:44px;padding:10px}.resource-title{flex-direction:column;align-items:flex-start;gap:12px}.resource-title h2{font-size:27px}.resource-title .text-action{min-height:35px}.resource-status{font-size:11px;margin:10px 0 19px}.home-blog-grid{grid-template-columns:1fr;gap:17px}.home-blog-card.blog-item{display:grid;grid-template-columns:105px 1fr;gap:16px;padding:10px}.home-blog-card .blog-item-img img{height:100%;min-height:170px;max-height:220px}.home-blog-card .blog-item-info{padding:5px 3px 2px}.home-blog-card h3{font-size:18px;margin-bottom:9px}.home-blog-card p{font-size:11px;line-height:1.7;margin-bottom:13px}.guide-category{font-size:8px;margin-bottom:8px}.guide-link{font-size:11px;padding-top:10px;min-height:39px}.topic-card.blog-item{grid-template-columns:105px 1fr;gap:16px;padding:10px}.topic-card .blog-item-img img{height:100%;min-height:185px;border-radius:5px}.topic-card .blog-item-info{padding:5px 4px 3px}.topic-card .blog-item-info h2{font-size:18px}.topic-card .topic-service{font-size:10px;min-height:40px}.reviews-section{padding-block:30px}.reviews-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:20px}.reviews-heading h2{font-size:27px}.google-source{font-size:11px;padding:9px 12px}.google-source img{width:23px;height:23px}.reviews-pending{grid-template-columns:1fr;gap:22px;padding:22px}.review-status{padding:18px 0 0;border-left:0;border-top:1px solid #dde4d6}.review-stars{font-size:22px}.reviews-pending>div>strong{font-size:14px}.reviews-pending p{font-size:11px}.review-status>strong{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.home-blog-card,.home-blog-card .blog-item-img img,.topic-card.blog-item,.topic-card .blog-item-img img{transition:none}.home-blog-card:hover,.topic-card.blog-item:hover{transform:none}}

/* Real Google Testimonials */
.reviews-section { padding: 65px 0; background: #ffffff; }
.google-source { display: flex; align-items: center; gap: 12px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 18px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.google-source svg { flex-shrink: 0; }
.google-source-info strong { display: block; font-size: 13px; font-weight: 800; color: #0f172a; line-height: 1.3; }
.stars-gold { color: #fbbc04; font-size: 14px; letter-spacing: 1px; }
.stars-gold span { color: #64748b; font-size: 12px; font-weight: 700; margin-left: 4px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.review-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(0,0,0,0.03); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); border-color: #84cc16; }
.review-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #1e293b, #0f172a); color: #a3e635; font-weight: 900; font-size: 17px; display: grid; place-items: center; flex-shrink: 0; }
.reviewer-loc { display: block; font-size: 11px; color: #64748b; font-weight: 600; margin-top: 2px; }
.review-stars-gold { color: #fbbc04; font-size: 16px; letter-spacing: 1.5px; margin-left: auto; }
.review-text { font-size: 13px; line-height: 1.75; color: #334155; margin-bottom: 16px; flex: 1; }
.review-date { font-size: 11px; color: #475569; font-weight: 600; }
@media (max-width: 991px) { .reviews-grid { grid-template-columns: 1fr; gap: 16px; } }


/* ==========================================================================
   DYNAMIC MOTION & BESPOKE TEMPLATE UPGRADES (MENU, SERVICES, STATS, REVIEWS)
   ========================================================================== */

/* ==========================================================================
   DEFINITIVE HEADER, LOGO STRETCH, NAV MOTION & MOBILE DRAWER (NO CLIPPING)
   ========================================================================== */

/* 1. Logo Dimensions & Proportional Stretch */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img,
.index-evolution .brand img,
.header .brand img,
.nav-row .brand img {
  width: 250px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 600 / 181;
  object-fit: contain !important;
  display: block;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Header & Sticky Scroll Dynamics */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid #f1f5f9;
}
.header.header-sticky {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.header.header-sticky .nav-row {
  height: 74px;
}
.header.header-sticky .brand img {
  width: 215px !important;
}

/* 3. Navigation Links & Clean Animated Underline (Neutralize all legacy 20px ticks) */
.nav-row nav a::before,
.nav-row nav a::after,
.header nav a::before,
.header nav a::after,
#navigation a::before {
  content: none !important;
  display: none !important;
}

.header #navigation {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header #navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: #1e293b !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.header #navigation a::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  bottom: 2px !important;
  left: 14px !important;
  right: 14px !important;
  height: 3px !important;
  width: auto !important;
  background: #80cc28 !important;
  border-radius: 3px !important;
  transform: scaleX(0) !important;
  transform-origin: center !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease !important;
}
.header #navigation a:hover {
  color: #4d7c0f !important;
  background: rgba(128, 204, 40, 0.06);
}
.header #navigation a:hover::after,
.header #navigation a.active::after {
  transform: scaleX(1) !important;
}
.header #navigation a.active {
  color: #4d7c0f !important;
  font-weight: 750 !important;
}

/* Nav CTA Button Motion */
.header .nav-cta .theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #80cc28;
  color: #0f172a;
  font-size: 13px;
  font-weight: 750;
  padding: 12px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}
.header .nav-cta .theme-btn:hover {
  transform: translateY(-2px);
  background: #8cdc2c;
  box-shadow: 0 8px 22px rgba(128, 204, 40, 0.35);
  color: #0f172a;
}
.header .nav-cta .theme-btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.header .nav-cta .theme-btn:hover .icon {
  transform: translateX(4px);
}

/* 4. Mobile Hamburger Button & Animated X */
.menu-toggle {
  display: none;
}
@media (max-width: 991px) {
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-left: auto;
  }
  .menu-toggle:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
  }
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile Dropdown Drawer */
  .header #navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 20px 20px;
    border-bottom: 3px solid #80cc28;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    z-index: 999;
  }
  .header #navigation.open {
    display: flex !important;
    animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .header #navigation a {
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    border-bottom: 1px solid #f1f5f9;
    justify-content: flex-start;
  }
  .header #navigation a::after {
    display: none !important;
  }
  .header #navigation a.active {
    background: #f0fdf4;
    color: #4d7c0f !important;
    border-left: 4px solid #80cc28;
  }

  .nav-row {
    height: 76px;
    gap: 16px;
  }
  .brand img,
  .index-evolution .brand img,
  .header .brand img,
  .nav-row .brand img {
    width: 220px !important;
  }
}

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .brand img,
  .index-evolution .brand img,
  .header .brand img,
  .nav-row .brand img {
    width: 195px !important;
  }
  .header .nav-cta {
    display: none; /* Emphasize mobile toggle and direct sticky call */
  }
  .header #navigation {
    padding: 12px 16px 18px;
  }
}

/* 5. Services One Enhanced Layout & Micro-interactions */
.service-card.service-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.service-card.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  border-color: #84cc16;
}
.service-card .service-img {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-card .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-img img {
  transform: scale(1.08);
}

/* Sleek Pill Badge (No round green circle) */
.service-pill-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #a3e635;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 2;
  transition: background 0.25s ease, color 0.25s ease;
}
.service-pill-tag .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.service-card:hover .service-pill-tag {
  background: #80cc28;
  color: #0f172a;
}

.service-card .service-content {
  padding: 20px 6px 6px;
}
.service-card .service-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
.service-card:hover .service-title {
  color: #4d7c0f;
}
.service-card .service-text {
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 18px;
  display: block;
}
.service-card .service-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 750;
  padding: 11px 16px;
  border-radius: 7px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.service-card .service-button .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}
.service-card:hover .service-button {
  background: #80cc28;
  color: #0f172a;
  border-color: #80cc28;
}
.service-card:hover .service-button .icon {
  transform: translateX(5px);
}

/* 6. Stats Counter Area ('Eso que se carga de los happy') */
.stats-counter-area {
  background: #0f172a;
  padding: 55px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.stats-counter-area::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(128, 204, 40, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 22px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  border-color: #80cc28;
  background: rgba(30, 41, 59, 0.95);
}
.stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(128, 204, 40, 0.15);
  border: 1px solid rgba(128, 204, 40, 0.3);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #a3e635;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}
.stat-icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}
.stat-item:hover .stat-icon {
  transform: scale(1.08);
  background: #80cc28;
  color: #0f172a;
}
.stat-info {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-size: 32px;
  font-weight: 850;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.6px;
  font-family: var(--heading-font);
}
.stat-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .stat-item {
    padding: 18px 20px;
  }
  .stat-number {
    font-size: 28px;
  }
}


/* ==========================================================================
   MOBILE UX POLISH & Z-INDEX HIERARCHY FOR FLOATING ELEMENTS & MODALS
   ========================================================================== */

/* Floating Buttons */
.float-btn,
#scroll-top {
  z-index: 1050 !important;
}

/* WhatsApp Modal: strictly above sticky header (1000) and cookie banner (70) */
.wa-chat-box {
  z-index: 2000 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35) !important;
}

#legal-dialog {
  z-index: 2100 !important;
}

@media (max-width: 767px) {
  .wa-chat-box {
    position: fixed !important;
    top: 85px !important;
    bottom: calc(var(--cookie-height, 0px) + 20px) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    max-height: calc(100dvh - var(--cookie-height, 0px) - 105px) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
  .wa-chat-header {
    border-radius: 13px 13px 0 0 !important;
    padding: 12px 14px !important;
  }
  .wa-close {
    width: 38px !important;
    height: 38px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
  }
}

/* ==========================================================================
   REGLA DE ORO GLOBAL: TODAS LAS TARJETAS 100% CLICABLES SIN ZONAS MUERTAS
   ========================================================================== */
.service-card,
.service-item,
.topic-card,
.blog-post-card,
.home-blog-card,
.hub-card,
.case-item,
.topic-item {
  cursor: pointer !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.service-card:hover,
.service-item:hover,
.topic-card:hover,
.blog-post-card:hover,
.home-blog-card:hover,
.hub-card:hover {
  transform: translateY(-3px) !important;
}

.service-card *,
.service-item *,
.topic-card *,
.blog-post-card *,
.home-blog-card *,
.hub-card * {
  pointer-events: none !important;
}


/* === SECCIONES DE COBERTURA Y ZONAS LOCALES === */
/* ==========================================================================
   ESTILOS MAESTROS DE ZONAS Y MALLA 25 MUNICIPIOS (LOCAL SEO)
   ========================================================================== */
.coverage-zones-section {
  padding: 65px 0;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.zones-grid-mesh {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.86rem;
  color: #1e293b;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  cursor: pointer;
}

.zone-badge:hover {
  background: #fefce8;
  border-color: #65a30d;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(202, 138, 4, 0.15);
}

.zone-badge.active-current {
  background: #84cc16;
  border-color: #65a30d;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(202, 138, 4, 0.3);
}

.zone-badge.active-current .badge-pop {
  color: #fef08a;
}

.badge-pop {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}

.zone-badge.satellite-link {
  background: #ffffff;
  border-style: dashed;
}

.local-context-box {
  background: #f8fafc;
  border-left: 4px solid #84cc16;
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0 32px 0;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.local-context-box strong {
  color: #0f172a;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.local-context-box p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}


/* ==========================================================================
   BOTON FLOTANTE SUBIR AL INICIO (REGLA 8.8 ANTI BLANCO-SOBRE-BLANCO)
   ========================================================================== */
.floating-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #84cc16 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99999;
  transition: all 0.25s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-back-to-top:hover {
  background: #65a30d !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.6);
}
@media (max-width: 768px) {
  .floating-back-to-top {
    bottom: 80px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   DROPDOWN NAVEGACION ZONAS 24H (HEADER DESKTOP & MOBILE)
   ========================================================================== */
.header .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.header .nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px;
  cursor: pointer;
}
.header .nav-dropdown-toggle .nav-caret {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
}
.header .nav-dropdown:hover .nav-dropdown-toggle .nav-caret,
.header .nav-dropdown:focus-within .nav-dropdown-toggle .nav-caret {
  transform: rotate(180deg);
}
.header .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 310px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.15);
  padding: 10px 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.header .nav-dropdown:hover .nav-dropdown-menu,
.header .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.header .nav-dropdown-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 6px 12px 4px 12px;
}
.header .nav-dropdown-menu a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.header .nav-dropdown-menu a::after {
  display: none !important;
}
.header .nav-dropdown-menu a:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
.header .nav-dropdown-menu a .pop {
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
}
.header .nav-dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 0;
}
.header .nav-dropdown-all {
  font-weight: 750 !important;
  color: #16a34a !important;
  background: #fefce8 !important;
}
.header .nav-dropdown-all:hover {
  background: #fef08a !important;
  color: #166534 !important;
}

@media (max-width: 991px) {
  .header .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .header .nav-dropdown-menu {
    position: static;
    transform: none !important;
    width: 100%;
    box-shadow: none;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 4px;
    padding: 6px;
  }
}

/* ==========================================================================
   TARJETAS DESTACADAS DE LOCALIDADES (10 MONEY PAGES ZONAS)
   ========================================================================== */
.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 36px;
}
.locality-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  cursor: pointer;
}
.locality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  border-color: #166534;
}
.locality-card-media {
  position: relative;
  height: 180px;
  background: #0f172a;
  overflow: hidden;
}
.locality-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.locality-card:hover .locality-card-img {
  transform: scale(1.06);
}
.locality-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
  pointer-events: none;
}
.locality-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.locality-card-pop {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #84cc16;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(202, 138, 4, 0.4);
}
.locality-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.locality-card-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.locality-card-arrival {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 750;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: fit-content;
}
.locality-card-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 16px 0;
}
.locality-card-features {
  list-style: none;
  padding: 12px 0 0 0;
  margin: 0 0 16px 0;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12.5px;
  color: #334155;
}
.locality-card-features li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.locality-card-features li svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
  flex-shrink: 0;
}
.locality-card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 750;
  color: #166534;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  transition: color 0.2s ease, transform 0.2s ease;
}
.locality-card:hover .locality-card-cta {
  color: #166534;
}
.locality-card:hover .locality-card-cta svg {
  transform: translateX(4px);
}
.locality-card-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

/* Complementary Satellite Mesh */
.satellite-mesh-container {
  margin-top: 40px;
  padding: 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}
.satellite-mesh-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.satellite-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.satellite-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.satellite-chip:hover {
  background: #fefce8;
  border-color: #65a30d;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}
.satellite-chip .pop {
  font-size: 11px;
  font-weight: 750;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   MODAL COMPACTO DE CAPTACION PARA ZONAS SIN WEB PROPIA (REGLA 18)
   ========================================================================== */
.quick-zone-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.quick-zone-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.quick-zone-modal-card {
  background: #ffffff;
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 26px 28px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
}
.quick-zone-modal-overlay.active .quick-zone-modal-card {
  transform: translateY(0) scale(1);
}
.quick-zone-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  color: #475569;
  font-size: 16px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.quick-zone-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.quick-zone-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  color: #166534;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.quick-zone-modal-title {
  font-size: 1.32rem;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 6px 0;
  line-height: 1.25;
}
.quick-zone-modal-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 14px 0;
}
.quick-zone-modal-services-links {
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.5;
}
.quick-zone-modal-services-links a {
  color: #166534;
  font-weight: 700;
  text-decoration: underline;
  margin: 0 3px;
}
.quick-zone-modal-services-links a:hover {
  color: #166534;
}
.quick-zone-form-field {
  margin-bottom: 12px;
}
.quick-zone-form-field label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: #1e293b;
  margin-bottom: 4px;
}
.quick-zone-form-field input,
.quick-zone-form-field select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: 13.5px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quick-zone-form-field input:focus,
.quick-zone-form-field select:focus {
  border-color: #166534;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}
.quick-zone-form-field input[readonly] {
  background: #f8fafc;
  font-weight: 700;
  color: #166534;
  border-color: #e2e8f0;
}
.quick-zone-modal-btn {
  width: 100%;
  background: #84cc16;
  color: #ffffff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.quick-zone-modal-btn:hover {
  background: #65a30d;
  transform: translateY(-1px);
}
.quick-zone-modal-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.quick-zone-modal-status {
  margin-top: 10px;
  font-size: 12.5px;
  text-align: center;
  display: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 650;
}

/* Satellite button chips */
button.satellite-chip {
  cursor: pointer;
  font-family: inherit;
  border: 1px solid #cbd5e1;
}
button.satellite-chip:hover {
  background: #fefce8;
  border-color: #65a30d;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

/* A11Y HIGH CONTRAST OVERRIDES */
.locality-card-cta, .locality-card-cta span { color: #1e3a8a !important; font-weight: 750; }
.review-date { color: #1e293b !important; font-weight: 600; }

/* GLOBAL FOOTER A11Y HIGH CONTRAST */
.footer {
  background: #0f172a !important;
  color: #f8fafc !important;
  padding: 60px 0 30px 0;
}
.footer h3 {
  color: #f8fafc !important;
}
.footer-identity {
  color: #94a3b8 !important;
}
.footer a {
  color: #cbd5e1 !important;
}
.footer a:hover {
  color: #ffffff !important;
}
.footer-bottom {
  border-top: 1px solid #1e293b !important;
  margin-top: 40px;
  padding-top: 20px;
  color: #94a3b8 !important;
}
.footer-bottom p {
  color: #94a3b8 !important;
}
.footer-socials a {
  color: #cbd5e1 !important;
}
.footer-socials a:hover {
  color: #ffffff !important;
}

/* ZONE BADGE HIGH CONTRAST */
.zone-badge.active-current {
  background: #1e3a8a !important;
  border-color: #1e3a8a !important;
  color: #ffffff !important;
}

/* FOOTER BRAND & LINKS HIGH CONTRAST */
.footer .brand-text strong {
  color: #ffffff !important;
}
.footer .brand-text small {
  color: #cbd5e1 !important;
}
.footer h3 {
  color: #ffffff !important;
}
.footer .footer-links li a,
.footer .footer-links li button,
.footer .footer-links li button.inline-link {
  color: #cbd5e1 !important;
  font-size: 14px;
}
.footer .footer-links li a:hover,
.footer .footer-links li button:hover {
  color: #ffffff !important;
}

/* Definitive Footer Logo Sizing */
.footer .brand img,
.footer-brand img,
.footer-identity img,
.network-footer .footer-identity img {
  width: 220px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 600 / 181;
  object-fit: contain !important;
  display: block;
  margin-bottom: 14px;
}


/* ==========================================================================
   DEFINITIVE MOBILE COMPRESSION & PALETTE HARMONIZATION (ZERO SEO LOSS)
   ========================================================================== */

/* 1. Neutralize duplicate scroll-top completely */
#scroll-top {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 2. Unified Floating Buttons Structure */
.floating-back-to-top {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #84cc16 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  transition: all 0.25s ease !important;
}
.floating-back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.floating-back-to-top:hover {
  background: #65a30d !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.5) !important;
}

.wa-floating-btn,
.float-btn.float-whatsapp,
.wa-float-btn,

.wa-floating-btn:hover,
.float-btn.float-whatsapp:hover,
.wa-float-btn:hover,
#wa-toggle:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55) !important;
}

/* 3. Mobile Swipe Hint Indicator */
.mobile-swipe-hint {
  display: none;
}
@media (max-width: 768px) {
  .mobile-swipe-hint {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #4d7c0f !important;
    background: #ecfccb !important;
    border: 1px solid #bef264 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
  }
}

/* 4. Responsive Mobile Drawer: Collapsed Zonas Accordion */
@media (max-width: 991px) {
  .header #navigation.open {
    max-height: calc(100dvh - 75px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 18px 24px !important;
  }
  .header .nav-dropdown {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .header .nav-dropdown-toggle {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 0 !important;
  }
  .header .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    padding: 0 6px !important;
    margin: 4px 0 8px 0 !important;
    transition: max-height 0.3s ease, opacity 0.25s ease !important;
  }
  .header .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 240px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .header .nav-dropdown-menu a {
    padding: 7px 10px !important;
    font-size: 13px !important;
  }
}

/* 5. Mobile Vertical Scroll Compression (Index & Sections) */
@media (max-width: 768px) {
  /* Tighter section spacing */
  .py-100 {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .service-area,
  .coverage-zones-section,
  .conversion-strip,
  .stats-counter-area,
  .reviews-section,
  .quote-area,
  .faq-area {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .site-heading {
    margin-bottom: 18px !important;
  }
  .site-title {
    font-size: 24px !important;
    line-height: 1.22 !important;
  }
  .site-title-tagline {
    font-size: 10px !important;
    padding: 3px 8px !important;
    margin-bottom: 4px !important;
  }
  .heading-divider {
    margin: 8px auto !important;
  }

  /* Compact Hero Dock */
  .hero-service-dock {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 8px !important;
  }
  .hero-service-dock a {
    padding: 8px 10px !important;
    font-size: 12px !important;
    min-height: 44px !important;
  }
  .hero-service-dock a .dock-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* 1 SERVICIO POR LÍNEA EN MÓVIL (MÁXIMA IMPORTANCIA Y LEGIBILIDAD) */
  .service-area .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 0 !important;
  }
  .service-area .row > div,
  .service-area .col-md-6,
  .service-area .col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
  .service-item.service-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .service-item.service-card .service-img {
    width: 86px !important;
    min-width: 86px !important;
    height: 86px !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .service-item.service-card .service-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .service-item.service-card .service-pill-tag {
    display: none !important;
  }
  .service-item.service-card .service-content {
    padding: 0 !important;
    flex: 1 !important;
    min-width: 0 !important;
  }
  .service-item.service-card .service-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 3px !important;
    line-height: 1.25 !important;
  }
  .service-item.service-card .service-text {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    color: #475569 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 4px !important;
  }
  .service-item.service-card .service-arrow {
    display: inline-flex !important;
  }
  .service-item.service-card .service-button {
    font-size: 11px !important;
    font-weight: 650 !important;
    padding: 4px 10px !important;
    color: #15803d !important;
  }

  /* ZONAS DE COBERTURA: VERTICAL NATURAL, CERO SCROLL HORIZONTAL */
  .locality-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: visible !important;
  }
  .locality-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  .locality-card-media {
    height: 130px !important;
  }
  .locality-card-body {
    padding: 12px 14px !important;
  }
  .locality-card-title {
    font-size: 16px !important;
  }
  .locality-card-urgency {
    font-size: 12px !important;
  }

  /* OPINIONES: VERTICAL NATURAL, CERO SCROLL HORIZONTAL */
  .reviews-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: visible !important;
  }
  .reviews-grid .review-card {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 14px 16px !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  .reviews-grid .review-text {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 8px !important;
  }

  /* Compact Metrics Grid */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .stat-item {
    padding: 10px 8px !important;
    border-radius: 10px !important;
  }
  .stat-number {
    font-size: 19px !important;
  }
  .stat-label {
    font-size: 11px !important;
  }
  .stat-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Satellite Towns Mesh Compact Badges */
  .satellite-mesh-container {
    padding: 16px 14px !important;
    margin-top: 24px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .satellite-mesh-container .locality-badge,
  .satellite-mesh-container .zone-badge {
    padding: 4px 8px !important;
    font-size: 11px !important;
  }
}

/* ==============================================================================
   MASTER SYSTEM: CABECERA, MENÚ, BOTONES FLOTANTES Y FORMULARIO UNIVERSAL
   ============================================================================== */

/* 1. CABECERA Y MENÚ IDÉNTICOS EN TODAS LAS PÁGINAS */
.header {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  padding: 8px 0 !important;
}
.header .container {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}
.header .nav-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  min-height: 60px !important;
}
.header .brand img {
  height: 56px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}
.header nav#navigation {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.header nav#navigation > a,
.header .nav-dropdown-toggle {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  text-decoration: none !important;
  padding: 8px 6px !important;
  transition: color 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1 !important;
}
.header nav#navigation > a:hover,
.header .nav-dropdown-toggle:hover {
  color: #84cc16 !important;
}
.header .nav-dropdown {
  position: relative !important;
}
.header .nav-dropdown-menu {
  display: none;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
  min-width: 270px !important;
  padding: 10px 0 !important;
  z-index: 1050 !important;
}
.header .nav-dropdown:hover .nav-dropdown-menu,
.header .nav-dropdown:focus-within .nav-dropdown-menu {
  display: block !important;
}
.header .nav-dropdown-header {
  padding: 6px 16px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
}
.header .nav-dropdown-menu a {
  display: block !important;
  padding: 7px 16px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.header .nav-dropdown-menu a:hover {
  background: #f8fafc !important;
  color: #84cc16 !important;
}
.header .nav-dropdown-divider {
  height: 1px !important;
  background: #e2e8f0 !important;
  margin: 6px 0 !important;
}
.header .nav-dropdown-all {
  font-weight: 700 !important;
  color: #84cc16 !important;
}
.header .nav-cta .theme-btn {
  background: #84cc16 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 3px 10px rgba(132, 204, 22, 0.3) !important;
  transition: background 0.2s, transform 0.2s !important;
  white-space: nowrap !important;
}
.header .nav-cta .theme-btn:hover {
  background: #65a30d !important;
  transform: translateY(-1px) !important;
}

/* RESPONSIVE HEADER MÓVIL (<= 991px) */
@media (max-width: 991px) {
  .header {
    padding: 6px 0 !important;
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
  .header .nav-row {
    min-height: 68px !important;
    height: 68px !important;
  }
  .header .brand img {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    max-width: 210px !important;
  }
  .header .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
    width: 40px !important;
    height: 40px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    cursor: pointer !important;
  }
  .header .menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #0f172a !important;
    border-radius: 2px !important;
  }
  .header nav#navigation {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - 65px) !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 20px !important;
    gap: 10px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12) !important;
    border-top: 1px solid #e2e8f0 !important;
  }
  .header nav#navigation.open {
    display: flex !important;
  }
  .header .nav-dropdown {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .header .nav-dropdown-toggle {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .header .nav-dropdown-menu {
    display: none !important;
    position: static !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-top: 6px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    width: 100% !important;
  }
  .header .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
  }
  .header .nav-cta {
    display: none !important;
  }
}

/* 2. BOTONES FLOTANTES UNIVERSALES (WHATSAPP + SUBIR ARRIBA) */




.floating-back-to-top {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #84cc16 !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
}
.floating-back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.floating-back-to-top:hover {
  background: #65a30d !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.45) !important;
}

@media (max-width: 768px) {
  
  
  .floating-back-to-top {
    bottom: 18px !important;
    right: 16px !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* 3. FORMULARIO ESTÁNDAR DE CAPTACIÓN (ORDEN PERFECTO, CERO DESCUADRES) */
#lead-form.standard-lead-form {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 28px !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}
#lead-form .form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 16px !important;
}
#lead-form .form-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
#lead-form .form-field.full {
  grid-column: 1 / -1 !important;
}
#lead-form .form-field label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin: 0 !important;
}
#lead-form .form-field input,
#lead-form .form-field select,
#lead-form .form-field textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  outline: none !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
}
#lead-form .form-field input:focus,
#lead-form .form-field select:focus,
#lead-form .form-field textarea:focus {
  border-color: #84cc16 !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.2) !important;
}
#lead-form .form-field textarea {
  resize: vertical !important;
  min-height: 80px !important;
}
#lead-form .form-privacy {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 16px 0 !important;
  font-size: 13px !important;
  color: #475569 !important;
}
#lead-form .form-privacy input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #84cc16 !important;
  margin-top: 2px !important;
  cursor: pointer !important;
}
#lead-form .btn-submit-lead {
  width: 100% !important;
  padding: 14px 20px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: #84cc16 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(132, 204, 22, 0.4) !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
#lead-form .btn-submit-lead:hover {
  background: #65a30d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(132, 204, 22, 0.5) !important;
}

@media (max-width: 640px) {
  #lead-form.standard-lead-form {
    padding: 18px !important;
  }
  #lead-form .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}


/* ==============================================================
   4. BLINDAJE INMUTABLE: CABECERA, CHECKBOX Y BOTONES FLOTANTES
   ============================================================== */

/* Cabecera idéntica en TODAS las páginas (78px desktop / 58px mobile) */
header.header,
body header.header,
.index-evolution header.header {
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  padding: 0 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

header.header .container,
body header.header .container {
  max-width: 1280px !important;
  height: 78px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

header.header .nav-row,
body header.header .nav-row,
.index-evolution .nav-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 78px !important;
  min-height: 78px !important;
  max-height: 78px !important;
  padding: 0 !important;
}

header.header .brand,
body header.header .brand {
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
}

header.header .brand img,
body header.header .brand img,
.brand img,
.nav-row .brand img,
.index-evolution .brand img {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  width: auto !important;
  max-width: 195px !important;
  object-fit: contain !important;
}

/* Checkbox de privacidad: erradicar cuadro gigante de 45px/600px */
input[type="checkbox"],
#lead-form input[type="checkbox"],
.form-privacy input[type="checkbox"],
#lf-privacidad,
#lead-politica {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  margin: 2px 8px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  accent-color: #84cc16 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.form-privacy,
#lead-form .form-privacy {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 16px 0 !important;
}

.form-privacy label,
#lead-form .form-privacy label {
  margin: 0 !important;
  font-size: 13.5px !important;
  color: #475569 !important;
  cursor: pointer !important;
}

@media (max-width: 991px) {
  header.header,
  body header.header,
  .index-evolution header.header {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
  header.header .container,
  body header.header .container {
    height: 68px !important;
    padding: 0 16px !important;
  }
  header.header .nav-row,
  body header.header .nav-row,
  .index-evolution .nav-row {
    height: 68px !important;
    min-height: 68px !important;
    max-height: 68px !important;
  }
  header.header .brand,
  body header.header .brand {
    height: 52px !important;
  }
  header.header .brand img,
  body header.header .brand img,
  .brand img,
  .nav-row .brand img,
  .index-evolution .brand img {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    width: auto !important;
    max-width: 210px !important;
  }
}


/* ==============================================================
   5. PERFECCIÓN DROPDOWN ZONAS 24H (DESKTOP & MOBILE)
   ============================================================== */

/* Desktop: Posición exacta, puente hover invisible y apertura por click */
.header .nav-dropdown {
  position: relative !important;
}

.header .nav-dropdown-toggle {
  cursor: pointer !important;
}

.header .nav-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  margin-top: 4px !important;
  width: 320px !important;
  min-width: 300px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16) !important;
  padding: 8px !important;
  z-index: 10000 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s !important;
}

/* Puente invisible de 16px para evitar que el ratón caiga en vacío */
.header .nav-dropdown-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -16px !important;
  left: 0 !important;
  right: 0 !important;
  height: 16px !important;
  background: transparent !important;
  cursor: pointer !important;
}

/* Apertura por hover, por focus O por clase .is-open */
.header .nav-dropdown:hover .nav-dropdown-menu,
.header .nav-dropdown:focus-within .nav-dropdown-menu,
.header .nav-dropdown.is-open .nav-dropdown-menu {
  display: flex !important;
  flex-direction: column !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Animación y estado de la flecha */
.header .nav-dropdown:hover .nav-caret,
.header .nav-dropdown.is-open .nav-caret {
  transform: rotate(180deg) !important;
}

/* Móvil: acordeón fluido, sin scroll infinito y sin cerrar el menú */
@media (max-width: 991px) {
  .header .nav-dropdown {
    width: 100% !important;
  }
  .header .nav-dropdown-toggle {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }
  .header .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    width: 100% !important;
    padding: 0 4px !important;
    transition: max-height 0.25s ease, opacity 0.2s ease !important;
  }
  .header .nav-dropdown-menu::before {
    display: none !important;
  }
  .header .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 6px !important;
  }
}

/* Floating Buttons Always On Top & Cookie Banner Offset */

.floating-back-to-top {
  z-index: 100001 !important;
}
body.has-cookie-banner .floating-back-to-top {
  bottom: 85px !important;
}
@media (max-width: 768px) {
  body.has-cookie-banner .floating-back-to-top {
    bottom: 110px !important;
  }
}

/* ==========================================================================
   MOBILE VIEWPORT & BOOTSTRAP GUTTER RESET (ANTI-HORIZONTAL-OVERFLOW)
   ========================================================================== */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .container, .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .row.g-5, .row.g-4, .row.g-3, .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .row.g-5 > [class*="col-"],
  .row.g-4 > [class*="col-"],
  .row.g-3 > [class*="col-"],
  .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  section, div[id] {
    max-width: 100% !important;
    overflow-x: clip !important;
  }
}


/* ==========================================================================
   MASTER STICKY HEADER & FLOATING BUTTONS & MOBILE DROPDOWN (v4.8)
   ========================================================================== */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

.header,
body header.header,
.index-evolution header.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
  width: 100% !important;
}

/* Mobile Nav Dropdown */
@media (max-width: 991px) {
  .header .nav-dropdown {
    width: 100% !important;
    display: block !important;
  }
  .header .nav-dropdown-toggle {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }
  .header .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    border-radius: 8px !important;
    margin: 4px 0 8px 0 !important;
    width: 100% !important;
    padding: 6px !important;
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .header .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Floating WhatsApp Lead Trigger (Protocol 18) */
#wa-toggle,
.floating-wa-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 20px !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 100000 !important;
  transition: transform 0.25s ease, background-color 0.2s ease !important;
}
#wa-toggle:hover,
.floating-wa-btn:hover {
  background: #16a34a !important;
  transform: scale(1.08) !important;
}
#wa-toggle:active,
.floating-wa-btn:active {
  transform: scale(0.95) !important;
}

/* Floating Back to Top Button (Rule 8.8) */
#backToTopBtn,
.floating-back-to-top {
  position: fixed !important;
  bottom: 88px !important;
  right: 23px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
}
#backToTopBtn.visible,
.floating-back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
#backToTopBtn:hover,
.floating-back-to-top:hover {
  background: #84cc16 !important;
  transform: translateY(-2px) !important;
}

/* Cookie Banner offsets */
body.has-cookie-banner #wa-toggle,
body.has-cookie-banner .floating-wa-btn {
  bottom: 85px !important;
}
body.has-cookie-banner #backToTopBtn,
body.has-cookie-banner .floating-back-to-top {
  bottom: 148px !important;
}

@media (max-width: 768px) {
  #wa-toggle,
  .floating-wa-btn {
    bottom: 20px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
  #backToTopBtn,
  .floating-back-to-top {
    bottom: 78px !important;
    right: 19px !important;
    width: 44px !important;
    height: 44px !important;
  }
  body.has-cookie-banner #wa-toggle,
  body.has-cookie-banner .floating-wa-btn {
    bottom: 98px !important;
  }
  body.has-cookie-banner #backToTopBtn,
  body.has-cookie-banner .floating-back-to-top {
    bottom: 156px !important;
  }
}


/* ==========================================================================
   DEFINITIVE FLOATING CONTROLS: WHATSAPP LEAD + BACK TO TOP (v4.9.2)
   ========================================================================== */
#wa-toggle,
.floating-wa-btn {
  position: fixed !important;
  bottom: 38px !important;
  right: 24px !important;
  left: auto !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  transition: transform 0.2s ease, background-color 0.2s ease, bottom 0.25s ease !important;
}

#wa-toggle:hover,
.floating-wa-btn:hover {
  background: #16a34a !important;
  transform: scale(1.08) !important;
}

#backToTopBtn,
.floating-back-to-top {
  position: fixed !important;
  bottom: 104px !important;
  right: 27px !important;
  left: auto !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: 2px solid #84cc16 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.45) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, bottom 0.25s ease !important;
}

#backToTopBtn.visible,
.floating-back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#backToTopBtn:hover,
.floating-back-to-top:hover {
  background: #1e293b !important;
  border-color: #a3e635 !important;
  transform: translateY(-2px) !important;
}

#backToTopBtn svg,
.floating-back-to-top svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  pointer-events: none !important;
}

/* Offset when Cookie Banner is present */
body.has-cookie-banner #wa-toggle,
body.has-cookie-banner .floating-wa-btn {
  bottom: 96px !important;
}
body.has-cookie-banner #backToTopBtn,
body.has-cookie-banner .floating-back-to-top {
  bottom: 162px !important;
}

@media (max-width: 768px) {
  #wa-toggle,
  .floating-wa-btn {
    bottom: 34px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }
  #backToTopBtn,
  .floating-back-to-top {
    bottom: 94px !important;
    right: 23px !important;
    width: 44px !important;
    height: 44px !important;
  }
  body.has-cookie-banner #wa-toggle,
  body.has-cookie-banner .floating-wa-btn {
    bottom: 104px !important;
  }
  body.has-cookie-banner #backToTopBtn,
  body.has-cookie-banner .floating-back-to-top {
    bottom: 164px !important;
  }
}

/* ==========================================================================
   ELEGANT PROPORTIONED SERVICE BUTTONS (ANTI-UGLY GREEN BLOCK)
   ========================================================================== */
.service-card .service-arrow {
  margin-top: auto !important;
  padding-top: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.service-card .service-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  min-height: auto !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease !important;
}

.service-card .service-button svg,
.service-card .service-button .icon {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 2.5 !important;
  color: #16a34a !important;
  transition: transform 0.2s ease !important;
}

.service-card:hover .service-button {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25) !important;
}

.service-card:hover .service-button svg,
.service-card:hover .service-button .icon {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

@media (max-width: 768px) {
  .service-card .service-button {
    font-size: 11.5px !important;
    padding: 5px 12px !important;
    border-radius: 6px !important;
  }
}

/* Compositing hardware acceleration for hero image animation */
.hero-still .slide-photo img {
  will-change: transform;
  transform: translateZ(0);
}
@media (prefers-reduced-motion: reduce) {
  .hero-still .slide-photo img {
    animation: none !important;
  }
}

/* Sidebar & Blog Silo Heading Normalization (H3 hierarchy fix) */
.sidebar-card-title,
.sidebar-wa-title,
.sidebar h3,
.blog-silo-cta h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.3 !important;
}


/* ==========================================================================
   AEPD SLIM FLOATING COOKIE CARD (NON-BLOCKING / BOTTOM-LEFT AEPD COMPLIANT)
   ========================================================================== */
#cookie-banner.cookie-banner {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  right: auto !important;
  width: 380px !important;
  max-width: calc(100vw - 40px) !important;
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid #334155 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
  z-index: 9980 !important;
  margin: 0 !important;
}

#cookie-banner .cookie-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-width: 100% !important;
}

#cookie-banner .cookie-copy {
  max-width: 100% !important;
}

#cookie-banner .cookie-copy strong {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #f8fafc !important;
  margin-bottom: 4px !important;
}

#cookie-banner .cookie-copy p {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  color: #94a3b8 !important;
  margin: 0 !important;
}

#cookie-banner .cookie-actions {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

#cookie-banner .cookie-actions button {
  flex: 1 1 auto !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: 1px solid #475569 !important;
  background: #1e293b !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}

#cookie-banner .cookie-actions button:hover {
  filter: brightness(1.15) !important;
}

#cookie-banner .cookie-actions button[data-consent="all"] {
  border-color: #16a34a !important;
  background: #15803d !important;
  color: #ffffff !important;
}

#cookie-banner .cookie-actions button[data-consent="none"] {
  border-color: #64748b !important;
  background: #1e293b !important;
  color: #cbd5e1 !important;
}

#cookie-banner .cookie-actions button#configure-cookies {
  border-color: #475569 !important;
  background: #0f172a !important;
  color: #94a3b8 !important;
}

@media (max-width: 768px) {
  #cookie-banner.cookie-banner {
    bottom: 80px !important; /* Despeja barra móvil de llamadas */
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
  }
}
