/* ============================================================
   ECOVACIADOS — GLOBAL STYLESHEET v2.0 (Fixed)
   Palette: #45D498 | #1F2937 | #111827 | #F8FAF9 | #E8F7F1
   Font: Poppins 900 (headings) / 500 (body)
   ============================================================ */

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #45D498;
  --green-dark: #2db87a;
  --green-vivid: #25D366;
  --green-xl:   #E8F7F1;
  --dark:       #1F2937;
  --darker:     #111827;
  --bg1:        #F8FAF9;
  --bg2:        #F3F6F4;
  --bg3:        #EEF2F6;
  --text:       #111827;
  --muted:      #6B7280;
  --white:      #ffffff;
  --shadow:     0 4px 24px rgba(69,212,152,.18);
  --shadow-lg:  0 8px 48px rgba(31,41,55,.14);
  --radius:     14px;
  --radius-lg:  22px;
  --transition: .35s cubic-bezier(.4,0,.2,1);

  /* Fixed bar heights — drives all layout offsets */
  --nav-h:     72px;
  --urgency-h: 42px;
  --header-total: calc(var(--nav-h) + var(--urgency-h));
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  /* Push content below both fixed bars */
  padding-top: var(--header-total);
}

/* Override scroll padding for anchor links */
:target { scroll-margin-top: calc(var(--header-total) + 20px); }

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 900; line-height: 1.15; color: var(--darker); }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
p  { color: var(--muted); font-size: 1rem; line-height: 1.75; }

.highlight { color: var(--green); }

.section-label {
  display: inline-block;
  background: var(--green-xl);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .32rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1.5px solid rgba(69,212,152,.35);
}

/* ── Layout ────────────────────────────────────────────── */
.container     { width: min(1180px, 92vw); margin-inline: auto; }
.section       { padding: 90px 0; }
.section-sm    { padding: 60px 0; }
.text-center   { text-align: center; }
.flex-center   { display: flex; align-items: center; justify-content: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--green-vivid);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(69,212,152,.5);
}
.btn-dark {
  background: var(--darker);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--darker);
}
.btn-wa-hero {
  background: #25D366;
  color: #fff;
  border: 2px solid #25D366;
  display: inline-flex;
  align-items: center;
}
.btn-wa-hero:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
}
.btn-white {
  background: var(--white);
  color: var(--darker);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.btn-white:hover {
  background: var(--green);
  color: var(--darker);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }


/* ═══════════════════════════════════════════════════════
   FIXED HEADER STACK
   Layer 1: #navbar     — top: 0,              height: 72px
   Layer 2: .urgency-bar — top: var(--nav-h), height: 42px
═══════════════════════════════════════════════════════ */

/* ── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
  /* Always white — text is always dark, always legible */
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}

/* Default: always dark text — navbar sits over white body padding */
#navbar .nav-logo-text          { color: var(--darker); }
#navbar .nav-logo-text span     { color: var(--green-vivid); }
#navbar .nav-links a            { color: var(--darker); }
#navbar .nav-links a:hover      { color: var(--green); }
#navbar .nav-links a::after     { background: var(--green); }
#navbar .nav-phone-link         { color: var(--darker); }
#navbar .nav-phone-link:hover   { color: var(--green); }
#navbar .lang-toggle            { background: var(--bg2); border: 1px solid #dde3df; }
#navbar .lang-btn               { color: var(--muted); }
#navbar .lang-btn.active        { background: var(--green); color: var(--darker); }
#navbar .hamburger span         { background: var(--darker); }

/* Scrolled: white background → dark text */
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.06);
}
#navbar.scrolled .nav-logo-text          { color: var(--darker); }
#navbar.scrolled .nav-logo-text span     { color: var(--green); }
#navbar.scrolled .nav-links a            { color: var(--darker); }
#navbar.scrolled .nav-links a:hover      { color: var(--green); }
#navbar.scrolled .nav-phone-link         { color: var(--darker); }
#navbar.scrolled .nav-phone-link:hover   { color: var(--green); }
#navbar.scrolled .lang-toggle            { background: var(--bg2); border-color: transparent; }
#navbar.scrolled .lang-btn               { color: var(--muted); }
#navbar.scrolled .hamburger span         { background: var(--darker); }

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .28rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  transition: color .3s;
  line-height: 1;
}
.nav-logo-text span { transition: color .3s; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-weight: 600;
  font-size: .875rem;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  transition: width .28s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav CTA group */
.nav-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  border-radius: 50px;
  padding: 3px;
  gap: 1px;
  transition: background .3s, border-color .3s;
}
.lang-btn {
  padding: .25rem .65rem;
  border-radius: 50px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: var(--transition);
  line-height: 1.4;
}
.lang-btn.active { background: var(--green); color: var(--darker); }

/* Phone link in nav */
.nav-phone-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  font-size: .875rem;
  transition: color .2s;
  white-space: nowrap;
}
.nav-phone-link svg { flex-shrink: 0; }

/* Hamburger — hidden on desktop, shown on mobile */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: .5rem;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  transition: var(--transition);
  margin: 0 auto;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Urgency Bar ───────────────────────────────────────── */
.urgency-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  height: var(--urgency-h);
  z-index: 999;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: .875rem;
  color: var(--darker);
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
}
.urgency-bar a {
  color: var(--darker);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 900;
  margin-left: .2em;
}
.urgency-bar a:hover { opacity: .75; }

/* ── Mobile Menu (fullscreen overlay) ─────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .97);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--green); }


/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - var(--header-total));
  background: linear-gradient(135deg, var(--darker) 0%, #0d1b2a 55%, #0a2418 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 70px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 72% 40%, rgba(69,212,152,.11) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(69,212,152,.07) 0%, transparent 45%);
  pointer-events: none;
}

/* Subtle grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero text column */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--green);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .42rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.12;
}
.hero > .container > .hero-grid > .hero-text > p {
  color: rgba(255,255,255,.68);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 490px;
  line-height: 1.7;
}

/* Texto descriptivo hero */
.hero-desc {
  font-family: 'Montserrat', sans-serif !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.75) !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: .6rem !important;
  margin-bottom: 1.4rem !important;
}

/* Works for the p inside hero-text regardless of selector */
.hero-text p {
  color: rgba(255,255,255,.68);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 490px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat .number {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.hero-stat .label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
}

/* Hero visual column */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
  FIX: FURGONETA.png has transparent background.
  We display it WITHOUT a wrapper card — transparent areas
  blend seamlessly with the dark hero gradient for a
  floating, premium look.
*/
/* ── Hero van wrapper ──────────────────────────────────── */
.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  animation: vanDriveIn 1.1s cubic-bezier(0.22, 1.4, 0.36, 1) 0.35s both;
  will-change: transform;
}

/* Drive-in keyframes: slides in from right with a tiny overshoot */
@keyframes vanDriveIn {
  0% {
    transform: translateX(90px) translateY(12px) scale(0.96);
    opacity: 0;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,.45)) blur(3px);
  }
  70% {
    filter: drop-shadow(0 20px 50px rgba(0,0,0,.45)) blur(0px);
  }
  100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,.45));
  }
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.45));
}

/* Glow verde debajo de la furgoneta — pulsante */
.hero-visual::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 80%;
  height: 55px;
  background: radial-gradient(ellipse at center,
    rgba(69,212,152,.38) 0%,
    rgba(69,212,152,.12) 50%,
    transparent 75%);
  border-radius: 50%;
  filter: blur(12px);
  animation: groundGlow 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes groundGlow {
  0%, 100% { opacity: .65; transform: scaleX(1); }
  50%       { opacity: 1;   transform: scaleX(1.1); }
}

/* Floating info badges */
.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: .8rem 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: .82rem;
  color: var(--darker);
  animation: float 3.2s ease-in-out infinite;
  max-width: 200px;
  z-index: 2;
}
.hero-badge-float .icon {
  width: 34px; height: 34px;
  background: var(--green-xl);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.hero-badge-float .badge-label { font-size: .72rem; color: var(--muted); font-weight: 500; margin-bottom: 1px; }
.hero-badge-float .badge-value { font-size: .85rem; font-weight: 700; color: var(--darker); }

/* Badges above and below the van, not overlapping it */
.hero-badge-float.b1 {
  bottom: 0;
  left: 20px;
  animation-delay: 0s;
}
.hero-badge-float.b2 {
  top: 0;
  right: 20px;
  animation-delay: 1.1s;
}



/* ═══════════════════════════════════════════════════════
   FLOATING CTA (bottom-right, always visible)
═══════════════════════════════════════════════════════ */
.float-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 997;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  align-items: flex-end;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .875rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
  color: var(--white);
  text-decoration: none;
}
.float-btn:hover {
  transform: scale(1.05) translateX(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.float-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.float-btn-wa  { background: #25D366; }
.float-btn-tel { background: var(--darker); }


/* ═══════════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--bg1);
  padding: 1.6rem 0;
  border-bottom: 1px solid #e2e8e4;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: nowrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .875rem;
  color: var(--dark);
  white-space: nowrap;
}
.trust-item svg {
  color: var(--green);
  width: 18px; height: 18px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
.services-section { background: var(--white); }

/* ── Acordeón servicios ── */
.srv-accordion { display: flex; flex-direction: row; gap: 1rem; max-width: 1100px; margin: 2rem auto 0; align-items: flex-start; }
.srv-cat { flex: 1; min-width: 0; }

.srv-cat { border: 1.5px solid #e5e7eb; border-radius: 14px; overflow: hidden; }

/* ── Tarjetas de categoría (reemplaza acordeón) ─────────── */
.srv-cards {
  display: flex; flex-direction: row; gap: 1.2rem;
  max-width: 1100px; margin: 2rem auto 0;
  width: 100%; box-sizing: border-box;
}
.srv-card {
  flex: 1; min-width: 0; border-radius: 16px; overflow: hidden;
  border: 1.5px solid #e5e7eb; text-decoration: none; color: var(--darker);
  display: flex; flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  border-left: 4px solid var(--green);
}
.srv-card:nth-child(2) { border-left-color: var(--green-vivid); }
.srv-card:nth-child(3) { border-left-color: #45D498cc; }
.srv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.srv-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.srv-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.srv-card:hover .srv-card-img { transform: scale(1.05); }
.srv-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, transparent 100%);
  color: #fff; font-family: Poppins, sans-serif; font-weight: 900;
  font-size: 1.4rem; padding: .8rem 1rem;
}
.srv-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem; background: #fff; font-size: .9rem;
  font-weight: 600; color: var(--darker); gap: .5rem;
}
.srv-card-footer svg { flex-shrink: 0; color: var(--green-vivid); }

/* ── Páginas de categoría (vaciados / limpiezas / mudanzas) ── */
.cat-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.cat-srv-card {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid #e5e7eb; text-decoration: none; color: var(--darker);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.cat-srv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.cat-srv-img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.cat-srv-card:hover .cat-srv-img { transform: scale(1.04); }
.cat-srv-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.cat-srv-title { font-size: 1.05rem; font-weight: 800; color: var(--darker); }
.cat-srv-desc { font-size: .88rem; color: #6B7280; line-height: 1.55; flex: 1; }
.cat-srv-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .88rem; font-weight: 700; color: var(--green-vivid);
  margin-top: .4rem;
}
@media (max-width: 768px) {
  .srv-cards { flex-direction: column; width: 100%; max-width: 100%; overflow: hidden; }
  .srv-card { width: 100%; min-width: 0; }
  .srv-card-img-wrap { height: 200px; }
}

.srv-cat-btn {
  width: 100%; display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.2rem; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 1.05rem; font-weight: 700; color: var(--darker);
  transition: background .2s;
}
.srv-cat-btn:hover { background: #f6fdf9; }
.srv-cat-btn[aria-expanded="true"] { background: #f0fbf5; color: var(--green-dark); }
.srv-cat-btn[aria-expanded="true"] .srv-chevron { transform: rotate(180deg); }
.srv-cat-icon { font-size: 1.3rem; flex-shrink: 0; }
.srv-cat-title { flex: 1; }
.srv-cat[id] { border-left: 4px solid var(--green); animation: mobileVanFloat 3.6s ease-in-out infinite; }
.srv-cat[id]:nth-child(2) { animation-delay: -.9s; border-left-color: var(--green-vivid); }
.srv-cat[id]:nth-child(3) { animation-delay: -1.8s; }
.srv-chevron { flex-shrink: 0; color: var(--green-vivid); transition: transform .25s; }

.srv-cat-panel { border-top: 1.5px solid #e5e7eb; overflow: hidden; max-height: 1200px; transition: max-height .45s ease; }

.srv-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .9rem 1.2rem; text-decoration: none; color: var(--darker);
  border-bottom: 1px solid #f0f0f0; transition: background .15s;
}
.srv-item:last-child { border-bottom: none; }
.srv-item:hover { background: #f6fdf9; }
.srv-item-icon { font-size: 1.4rem; flex-shrink: 0; }
.srv-item > div { flex: 1; }
.srv-item-img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.srv-item-title { font-weight: 700; font-size: .95rem; color: var(--green-dark); }
.srv-item-desc { font-size: .8rem; color: var(--muted); margin-top: .15rem; line-height: 1.4; }
.srv-item > svg { color: var(--green); flex-shrink: 0; }
.services-header  { text-align: center; margin-bottom: 3.5rem; }
.services-header p { max-width: 540px; margin: .7rem auto 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.4rem;
}
/* Fila 1: 3 tarjetas grandes (span 4 cada una) */
.services-grid > article:nth-child(-n+3) { grid-column: span 4; }
/* Fila 2: 4 tarjetas pequeñas (span 3 cada una) */
.services-grid > article:nth-child(n+4) { grid-column: span 3; font-size: .92em; }
.services-grid > article:nth-child(n+4) .service-card-img { max-height: 160px; }
.services-grid > article:nth-child(n+4) h3 { font-size: 1rem; }
.services-grid > article:nth-child(n+4) p { font-size: .82rem; }

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid #e8ede9;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(31,41,55,.12);
  border-color: var(--green);
}
.service-card.featured {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg2);
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
  display: block;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-badge {
  position: absolute;
  top: .55rem; left: .55rem;
  background: var(--green);
  color: var(--darker);
  font-size: .58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .18rem .55rem;
  border-radius: 50px;
}

.service-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.service-card-body p  { font-size: .88rem; flex: 1; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--green-dark);
  font-weight: 700;
  font-size: .875rem;
  margin-top: 1.1rem;
  transition: gap .2s;
}
.service-card-link:hover { gap: .7rem; }


/* ═══════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--darker), #0d1b2a);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(69,212,152,.09) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; padding: 2.5rem 1rem; border-bottom: 3px solid var(--green); }
.stat-item:nth-child(even) { border-bottom-color: var(--green-vivid); }
.stat-icon { font-size: 1.6rem; margin-bottom: .65rem; }
.stat-number {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.58);
  margin-top: .5rem;
}


/* ═══════════════════════════════════════════════════════
   WHY US
═══════════════════════════════════════════════════════ */
.why-section { background: var(--bg1); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.why-img img {
  width: 100%; height: 480px;
  object-fit: cover;
  display: block;
}
.why-badge-float {
  position: absolute;
  bottom: 1.8rem; right: -1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  text-align: center;
  min-width: 130px;
}
.why-badge-float .num { font-size: 2rem; font-weight: 900; color: var(--green); line-height: 1; }
.why-badge-float .txt { font-size: .76rem; color: var(--muted); margin-top: .2rem; }

.why-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.why-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid #e8ede9;
  border-left: 4px solid var(--green);
  transition: border-color .25s, box-shadow .25s;
}
.why-item:nth-child(even) { border-left-color: var(--green-vivid); }
.why-item:hover {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(69,212,152,.12);
}
.why-icon {
  width: 42px; height: 42px;
  background: var(--green-xl);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.why-item h4 { font-size: .97rem; margin-bottom: .15rem; }
.why-item p  { font-size: .86rem; }


/* ═══════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════ */
.process-section { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}
/* Connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 31px; left: calc(12.5% + 32px);
  width: calc(75% - 64px);
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  z-index: 0;
  border-radius: 2px;
}

.process-step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 62px; height: 62px;
  background: var(--green-vivid);
  color: var(--darker);
  font-weight: 900;
  font-size: 1.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 18px rgba(69,212,152,.38);
}
.process-step h4 { margin-bottom: .35rem; font-size: .97rem; }
.process-step p  { font-size: .86rem; }


/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════ */
.testimonials-section { background: var(--bg2); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  border: 1.5px solid #e5eae6;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31,41,55,.1);
}
.stars { color: #FBBF24; font-size: .95rem; margin-bottom: .9rem; letter-spacing: 1px; }
.testimonial-card > p {
  font-size: .91rem;
  color: var(--darker);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.reviewer { display: flex; align-items: center; gap: .75rem; }
.reviewer-avatar {
  width: 42px; height: 42px;
  background: var(--green-xl);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--green-dark);
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: .92rem; }
.reviewer-city { font-size: .78rem; color: var(--muted); }

.google-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: 2.5rem;
  padding: .9rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid #e5eae6;
  font-weight: 700;
  font-size: .88rem;
  max-width: 260px;
  margin-inline: auto;
}
.google-star { color: #FBBF24; }


/* ═══════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════ */
.faq-section { background: var(--bg1); }

.faq-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}
.faq-list { display: flex; flex-direction: column; gap: .65rem; }

.faq-item {
  background: var(--white);
  border: 1.5px solid #e5eae6;
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:nth-child(even) { border-left-color: var(--green-vivid); }
.faq-item.open { border-color: var(--green); }
.faq-item:nth-child(even).open { border-color: var(--green-vivid); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .92rem;
  color: var(--darker);
  gap: 1rem;
  text-align: left;
}
.faq-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--bg2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--green-dark);
  font-weight: 400;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--green);
  color: var(--darker);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s ease, padding .28s;
  padding: 0 1.2rem;
}
.faq-item.open .faq-answer {
  max-height: 280px;
  padding-bottom: 1.1rem;
}
.faq-answer p { font-size: .9rem; }

.faq-cta-box {
  background: linear-gradient(145deg, var(--darker), #0d1e2f);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: var(--white);
  text-align: center;
  position: sticky;
  top: calc(var(--header-total) + 20px);
}
.faq-cta-box h3 { color: var(--white); margin-bottom: .7rem; font-size: 1.3rem; }
.faq-cta-box p  { color: rgba(255,255,255,.65); margin-bottom: 1.4rem; font-size: .9rem; }
.faq-cta-btns { display: flex; flex-direction: column; gap: .65rem; }


/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact-section { background: var(--bg2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: .9rem; }
.contact-info > p { margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}
.contact-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: var(--green-xl);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-item h4 { font-size: .82rem; color: var(--muted); font-weight: 500; margin-bottom: .15rem; }
.contact-item a, .contact-item p { font-weight: 700; font-size: .97rem; color: var(--darker); }
.contact-item a:hover { color: var(--green); }

.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 8px 40px rgba(31,41,55,.08);
  border: 1.5px solid #e5eae6;
}
.form-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 1.4rem; color: var(--darker); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: .9rem;
}
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--darker);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #d4dbd6;
  border-radius: 10px;
  padding: .75rem .95rem;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--darker);
  background: var(--bg1);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(69,212,152,.14);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 105px; }
.form-note { font-size: .78rem; color: var(--muted); margin: .75rem 0; }
.form-submit { width: 100%; padding: .95rem; font-size: .97rem; font-weight: 800; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success h3 { color: var(--darker); margin: .5rem 0; }


/* ═══════════════════════════════════════════════════════
   MAP
═══════════════════════════════════════════════════════ */
.map-section { background: var(--white); }
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; display: block; }


/* ═══════════════════════════════════════════════════════
   CITIES SEO
═══════════════════════════════════════════════════════ */
.cities-section { background: var(--bg2); }
.cities-header  { text-align: center; margin-bottom: 2.5rem; }

.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem 1rem;
  background: var(--white);
  border: 1.5px solid #dce3de;
  border-radius: 50px;
  font-weight: 600;
  font-size: .85rem;
  color: var(--dark);
  transition: var(--transition);
}
.city-pill:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}


/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--darker);
  color: var(--white);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.65);
  font-size: .86rem;
  margin-bottom: .55rem;
}
.footer-contact-item a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-contact-item a:hover { color: var(--green); }

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .86rem; transition: color .2s; }
.footer-links a:hover { color: var(--green); }

.footer-bottom {
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.35); font-size: .8rem; transition: color .2s; }
.footer-legal a:hover { color: var(--green); }


/* ═══════════════════════════════════════════════════════
   INNER PAGE HEADER
═══════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--darker), #0d2018);
  padding: 70px 0 65px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(69,212,152,.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .section-label { margin-bottom: .75rem; }
.page-header h1 { color: var(--white); margin-bottom: .75rem; }
.page-header p { color: rgba(255,255,255,.68); max-width: 570px; font-size: 1.02rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  margin-bottom: 1.3rem;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: rgba(255,255,255,.25); }


/* ═══════════════════════════════════════════════════════
   SERVICE CONTENT (inner pages)
═══════════════════════════════════════════════════════ */
.service-content { background: var(--white); }
.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-content p { margin-bottom: .9rem; }

.service-list { margin: 1.4rem 0; display: flex; flex-direction: column; gap: .6rem; }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  color: var(--dark);
}
.service-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--green);
  color: var(--darker);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-img-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.service-img-gallery img { border-radius: var(--radius); height: 200px; width: 100%; object-fit: cover; display: block; }
.service-img-gallery .main-img { grid-column: 1 / -1; height: 260px; }


/* ═══════════════════════════════════════════════════════
   CITY PAGE
═══════════════════════════════════════════════════════ */
.city-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.city-service-card {
  background: var(--white);
  border: 1.5px solid #dce3de;
  border-radius: var(--radius);
  padding: 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.city-service-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.city-service-icon {
  font-size: 1.6rem;
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: var(--green-xl);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.city-service-card h4 { margin-bottom: .18rem; font-size: .93rem; }
.city-service-card p  { font-size: .82rem; }


/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(1.35); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.from-left  { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.scale      { transform: scale(.95); }
.reveal.visible    { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Hero entry animations */
.hero-text-anim .hero-badge   { animation: slideDown .65s ease both .15s; }
.hero-text-anim h1            { animation: fadeInUp  .65s ease both .3s; }
.hero-text-anim .hero-text p  { animation: fadeInUp  .65s ease both .45s; }
.hero-text-anim .hero-btns    { animation: fadeInUp  .65s ease both .58s; }
.hero-text-anim .hero-stats   { animation: fadeInUp  .65s ease both .72s; }
.hero-visual                  { animation: fadeInRight .75s ease both .45s; }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* ── 1100px: reduce nav gaps, hide phone in nav ── */
@media (max-width: 1100px) {
  .nav-links { gap: 1.2rem; }
  .nav-phone-link { display: none; } /* already in floating btn */
}

/* ── 1024px: tablet — stack layouts ── */
@media (max-width: 1024px) {
  .hero-grid  { grid-template-columns: 1fr; }
  .hero-visual { display: none; } /* hidden on tablet, shown again on mobile below */
  .hero { min-height: auto; padding: 50px 0 60px; text-align: center; }
  .hero-text p { max-width: 100%; }
  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }

  .why-grid   { grid-template-columns: 1fr; }
  .why-img    { display: none; }

  .contact-grid   { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .process-steps  { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-cta-box { position: static; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  /* Services: 2 cols on tablet, reset 6-col span */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .services-grid > article        { grid-column: span 1 !important; }
  .services-grid > article:nth-last-child(2) { grid-column: span 1 !important; }
  .services-grid > article:nth-last-child(1) { grid-column: span 1 !important; }

  .service-content-grid { grid-template-columns: 1fr; }
}

/* ── Mobile visual block — hidden on desktop ── */
.hero-mobile-visual { display: none; }
.hero-ver-servicios-wrap { display: none; }

/* ── Hero mini-form: layout siempre correcto cuando es visible ── */
.hero-mini-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .55rem;
  width: 100%;
}
.hero-mini-row { display: flex; gap: .5rem; width: 100%; }
.hero-mini-row .hero-mini-input { flex: 1; min-width: 0; }
.hero-mini-form > .hero-mini-input,
.hero-mini-form > .hero-mini-select,
.hero-mini-form > .hero-mini-textarea,
.hero-mini-form > .hero-mini-submit {
  display: block;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

/* ── 768px: móvil ── */
@media (max-width: 768px) {
  .srv-accordion { flex-direction: column; max-width: 100%; }
  .srv-cat { flex: none; width: 100%; }

  :root {
    --nav-h:     64px;
    --urgency-h: 38px;
    --header-total: calc(var(--nav-h) + var(--urgency-h));
  }

  /* Navbar móvil */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-cta .btn { display: none; }
  .urgency-bar { font-size: .58rem; padding: 0 .5rem; white-space: nowrap; text-align: center; overflow: hidden; }

  /* ── HERO ── */
  .hero h1 { font-size: clamp(1.25rem, 6.5vw, 1.75rem); line-height: 1.1; overflow-wrap: break-word; }
  .hero { padding: 36px 0 40px; text-align: center; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-text  { padding-bottom: 0; }
  .hero-text p { font-size: .97rem; margin-bottom: 0; }
  .hero-btns  { justify-content: center; gap: .75rem; }
  .hero-stats { justify-content: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; margin-top: 1.5rem; }
  .hero-stat .number { font-size: 1.6rem; }

  /* Ocultar hero-visual original en móvil */
  .hero-visual { display: none !important; }

  /* ── Bloque móvil: badge arriba, furgo, badge abajo ── */
  .hero-mobile-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    margin: .4rem 0 .5rem;
    width: 100%;
  }
  .hero-mobile-van {
    width: 100%;
    max-width: 290px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
    animation: mobileVanFloat 3.6s ease-in-out infinite;
  }
  @keyframes mobileVanFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
  }
  @keyframes bounce-btn {
    0%, 100% { transform: translateY(0); }
    40%       { transform: translateY(-7px); }
    60%       { transform: translateY(-3px); }
  }
  .services-header h2 { font-size: 1.35rem; white-space: nowrap; }
  .services-header { margin-bottom: 1rem; }
  .hero-ver-servicios-wrap { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
  .hero-ver-servicios-wrap .btn { animation: mobileVanFloat 3.6s ease-in-out infinite; }

  .hero-mini-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    width: 100%;
    max-width: 360px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 14px;
    padding: 1rem;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
  }
  .hero-mini-input {
    width: 100%;
    padding: .65rem .85rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: .9rem;
    outline: none;
    box-sizing: border-box;
  }
  .hero-mini-input::placeholder { color: rgba(255,255,255,.55); }
  .hero-mini-select { appearance: none; cursor: pointer; }
  .hero-mini-select option { color: #111; background: #fff; }
  .hero-mini-textarea { resize: none; font-family: inherit; line-height: 1.4; }
  .hero-mini-row { display: flex; gap: .5rem; width: 100%; }
  .hero-mini-row .hero-mini-input { flex: 1; min-width: 0; }
  .hero-mini-form > .hero-mini-input,
  .hero-mini-form > .hero-mini-select,
  .hero-mini-form > .hero-mini-textarea,
  .hero-mini-form > .hero-mini-submit { width: 100% !important; min-width: 0; box-sizing: border-box; }
  .hero-mini-submit { width: 100%; justify-content: center; font-size: .88rem; padding: .7rem 1rem; }
  .hero-mobile-btns { display: flex; gap: .6rem; width: 100%; }
  .hero-mobile-btns .btn { flex: 1; justify-content: center; font-size: .85rem; padding: .65rem .5rem; }

  .hero-mobile-badge {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    border-radius: 99px;
    padding: .22rem .55rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    white-space: nowrap;
  }
  .hm-icon  { font-size: .75rem; flex-shrink: 0; }
  .hm-label { display: none; }
  .hm-value { font-size: .62rem; font-weight: 700; color: var(--darker); line-height: 1; }

  /* ── Services: 1 columna en móvil, reset grid 6-col ── */
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  .services-grid > article        { grid-column: 1 / -1 !important; }
  .services-grid > article:nth-last-child(2) { grid-column: 1 / -1 !important; }
  .services-grid > article:nth-last-child(1) { grid-column: 1 / -1 !important; }

  /* Imágenes de servicio — altura consistente en móvil */
  .service-card-img { height: 180px; }
  .service-card-img img { height: 100%; width: 100%; object-fit: cover; }

  /* Stats */
  .stats-grid  { grid-template-columns: repeat(2,1fr); }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Formulario */
  .form-grid   { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal  { flex-wrap: wrap; justify-content: center; }

  /* Trust */
  .trust-items { gap: 1rem; }

  /* Floating CTA: solo icono */
  .float-btn span { display: none; }
  .float-btn { width: 52px; height: 52px; border-radius: 50%; padding: 0; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Mapa menos alto */
  .map-wrapper { height: 280px; }

  /* Process 2 cols */
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ── 480px: teléfonos pequeños ── */
@media (max-width: 480px) {
  :root { --urgency-h: 0px; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .process-steps  { grid-template-columns: 1fr; }
  .trust-bar { display: none; }
  .urgency-bar { display: none !important; }
  .contact-items { display: none !important; }
  .hero-sub { font-size: .78rem !important; line-height: 1.35 !important; }
  .hero-badge { font-size: .58rem !important; padding: .28rem .7rem !important; gap: .35rem !important; margin-bottom: .8rem !important; }
  .hero-badge .dot { width: 5px !important; height: 5px !important; }
  .hero-stats { display: flex !important; flex-direction: row !important; justify-content: center !important; gap: 1.2rem !important; flex-wrap: nowrap !important; }
  .hero-stat .number { font-size: 1.4rem !important; }
  .hero-stat .label { font-size: .62rem !important; }
  .hero-btns      { flex-direction: row; flex-wrap: wrap; gap: .5rem; justify-content: center; width: 100%; }
  .hero-btns .btn { width: auto; flex: 1 1 auto; justify-content: center; padding: .55rem .8rem; font-size: .78rem; min-height: auto; }
  .hero-img-wrapper img { width: 100%; }
  /* Dots carrusel servicios */
  .services-dots { display: flex; justify-content: center; gap: .45rem; margin-bottom: .9rem; }
  .sdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.15); transition: background .25s, transform .25s; }
  .sdot.active { background: var(--green); transform: scale(1.3); }

  /* Servicios: carrusel horizontal deslizable */
  .services-section { position: relative; }
  .services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .75rem !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }
  .services-grid > article {
    grid-column: unset !important;
    flex: unset !important;
    max-width: unset !important;
    font-size: .9em !important;
  }
  .services-grid > article .service-card-img { max-height: 110px !important; overflow: hidden !important; }
  .services-grid > article .service-card-img img { height: 110px !important; object-fit: cover !important; width: 100% !important; }
  .services-grid > article h3 { font-size: .85rem !important; }
  .services-grid > article p { font-size: .75rem !important; }
  .services-grid > article:nth-child(n+4) { font-size: .9em !important; }
  .services-grid > article:nth-child(n+4) .service-card-img { max-height: 110px !important; }
  .services-grid > article:nth-child(n+4) h3 { font-size: .85rem !important; }
  .services-grid > article:nth-child(n+4) p { font-size: .75rem !important; }

  .contact-form-box { padding: .9rem !important; border-radius: 16px !important; max-width: 88vw !important; margin-inline: auto !important; overflow: hidden !important; }
  .form-title { font-size: .78rem !important; margin-bottom: .55rem !important; }
  .form-group { gap: .15rem !important; }
  .form-group label { font-size: .58rem !important; }
  .form-group input, .form-group select { padding: .22rem .4rem !important; font-size: .63rem !important; border-radius: 6px !important; min-height: unset !important; height: 30px !important; }
  .form-group textarea { padding: .22rem .4rem !important; font-size: .63rem !important; min-height: 36px !important; border-radius: 6px !important; }
  .form-submit { font-size: .72rem !important; padding: .45rem .8rem !important; }
  .contact-form-box .form-privacy { font-size: .6rem !important; margin: .4rem 0 !important; line-height: 1.3 !important; }
  .form-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: .35rem !important; margin-bottom: .35rem !important; }
  .contact-form-box * { box-sizing: border-box !important; max-width: 100% !important; }
  #contacto { overflow-x: hidden !important; }
  .form-submit { font-size: .78rem !important; padding: .55rem 1rem !important; width: 100% !important; }
  #contacto .btn-primary[href*="wa.me"] { font-size: .7rem !important; padding: .38rem .8rem !important; width: auto !important; box-sizing: border-box !important; display: inline-flex !important; }
  /* Stats más compactos */
  .hero-stat .number { font-size: 1.4rem; }
  .hero-stat .label  { font-size: .72rem; }
}

/* ── Desktop form section ─────────────────────────────── */
.desktop-form-section {
  background: var(--bg1);
  padding: 3rem 0;
  border-bottom: 1px solid #e2e8e4;
}
.desktop-form-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.desktop-form-text h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: .3rem;
  color: var(--darker);
}
.desktop-form-text p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
}
.desktop-mini-form { width: 100%; }
.desktop-form-row {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.desktop-form-input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: .9rem;
  font-family: inherit;
  background: #fff;
  color: var(--darker);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.desktop-form-input:focus { border-color: var(--green); }
.desktop-form-btn {
  width: 100%;
  justify-content: center;
  padding: .85rem 1.5rem;
  font-size: .95rem;
  margin-top: .2rem;
}
@media (max-width: 768px) {
  .desktop-form-section { display: none; }
}
