/* ============================================================
   TDV Reforma
   estilos.css — mobile-first, hoja única para toda la web
   Base: 375px → 640px → 768px → 1024px → 1280px
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== TOKENS — Navy & Gold premium ===== */
:root {
  /* Azul navy profundo — fondos hero, footer, menú móvil, encabezados */
  --green:       #0C1B33;
  /* Navy medio — gradientes, variante oscura */
  --green-mid:   #15294D;
  /* Navy-azul apagado — acento secundario, tagline, checks */
  --green-light: #4B72A8;
  /* Oro suave cálido — acento h1, badge, texto en footer tag */
  --green-soft:  #F3D47A;
  /* Oro premium — CTAs, etiquetas, estados activos */
  --amber:       #C9973A;
  /* Oro profundo — hover */
  --amber-h:     #A97C2A;
  --green-wa:    #25d366;
  --green-wa-h:  #1ebe5b;
  --gray-bg:     #F5F3EF;   /* marfil cálido — secciones alt, sin el frío azulado */
  --gray-text:   #2D3748;   /* near-black más rico */
  --gray-light:  #E2DDD6;   /* borde cálido coherente con marfil */
  --white:       #ffffff;
  --dark:        #0C1B33;
  --gray:        #6B7280;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(12,27,51,.08);
  --shadow-md:   0 10px 40px rgba(12,27,51,.14);
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max:         1140px;
  --header-h:    64px;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;           /* mínimo 16px en toda la web */
  padding-bottom: 68px;      /* espacio barra sticky móvil */
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Utilidad accesibilidad */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}


/* ══════════════════════════════════════════════
   HEADER — sticky, ocupa var(--header-h)
══════════════════════════════════════════════ */
.site-header {
  /* Glassmorphism: semi-transparente al cargar */
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px) saturate(1.6);
  -webkit-backdrop-filter: blur(10px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,0.55);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

/* Al hacer scroll — más opaco, sombra elegante con acento dorado */
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(22px) saturate(2);
  -webkit-backdrop-filter: blur(22px) saturate(2);
  box-shadow: 0 4px 32px rgba(12,27,51,.09), 0 1px 0 rgba(201,151,58,0.18);
  border-bottom: 1px solid rgba(201,151,58,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 18px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 12px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;          /* touch target */
}
.logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text .brand {
  font-size: .95rem;
  font-weight: 800;
  color: var(--green);
  letter-spacing: .01em;
}
.logo-text .tag {
  font-size: .65rem;
  color: var(--green-light);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Nav escritorio — oculta en móvil */
.main-nav { display: none; }
.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
.main-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--green);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover,
.main-nav a.active { border-bottom-color: var(--amber); color: var(--amber); }

/* Dropdown "Zonas" */
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: 8px 0;
  list-style: none;
  z-index: 300;
  flex-direction: column;
  gap: 0;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: flex; }
.main-nav .dropdown li a {
  display: block;
  padding: 9px 20px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-text);
  border-bottom: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.main-nav .dropdown li a:hover { background: var(--gray-bg); color: var(--green); border-bottom: none; }

/* Teléfono cabecera */
.header-phone {
  display: none;             /* visible solo en ≥768px */
  align-items: center;
  gap: 7px;
  background: var(--amber);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  min-height: 44px;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.header-phone:hover  { background: var(--amber-h); }
.header-phone:active { transform: scale(.97); }


/* ══════════════════════════════════════════════
   HAMBURGUESA — táctil 44×44
══════════════════════════════════════════════ */
.hamburger {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 160;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: transform .3s, opacity .25s;
}
.hamburger[aria-expanded="true"] span { background: var(--white); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════
   MENÚ MÓVIL — slide desde la derecha
══════════════════════════════════════════════ */
.mobile-backdrop {
  display: block;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 140;
  opacity: 0;
  transition: opacity .25s;
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--green);
  z-index: 150;
  padding: 80px 26px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -8px 0 28px rgba(0,0,0,.28);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  min-height: 44px;           /* touch target */
  transition: color .2s;
}
.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] { color: var(--amber); }

.mm-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.mm-cta a {
  text-align: center;
  padding: 15px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: none;
  min-height: 44px;
}
.mm-phone { background: var(--amber); color: var(--white) !important; }
.mm-wa    { background: var(--green-wa); color: var(--white) !important; }


/* ══════════════════════════════════════════════
   BUTTONS — mínimo 44×44
══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  min-height: 44px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .15s, border-color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: var(--amber-h); }

.btn-wa { background: var(--green-wa); color: var(--white); }
.btn-wa:hover { background: var(--green-wa-h); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-outline {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}
.btn-outline:hover { background: var(--amber); color: var(--white); }

.btn-full { width: 100%; }


/* ══════════════════════════════════════════════
   SECCIONES — base y utilidades
══════════════════════════════════════════════ */
section { padding: 52px 0; }
.alt-bg  { background: var(--gray-bg); }

/* content-visibility: evita renderizar secciones fuera de pantalla */
/* NOTA: NO aplicar a .service-section — rompe la navegación por ancla (#tarima etc.) */
#por-que-elegirnos,
#zonas,
#faq,
.cta-final {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
  text-align: center;
}
h2 {
  font-size: clamp(1.45rem, 5vw, 2.1rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1.25;
  margin-bottom: 14px;
  text-align: center;
}
h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}
.section-intro {
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
  line-height: 1.7;
}
.section-cta-link {
  text-align: center;
  margin-top: 32px;
}


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(155deg, #0C1B33 0%, #15294D 60%, #1C3A6B 100%);
  color: var(--white);
  padding: 64px 18px 72px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .32;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

/* Logo dentro del hero — halo que se disuelve, sin corte visible */
.hero-logo {
  margin: 0 auto 18px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 35%, rgba(255,255,255,.5) 55%, transparent 72%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  color: var(--green-soft);
  border: 1px solid rgba(255,255,255,.28);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.85rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  max-width: 820px;
  margin: 0 auto 16px;
}
.hero h1 .accent { color: var(--green-soft); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.14rem);
  max-width: 660px;
  margin: 0 auto 28px;
  opacity: .9;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 24px;
}
.trust-microcopy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  font-size: .85rem;
  opacity: .85;
  align-items: flex-start;
  text-align: left;
}
.trust-microcopy span { display: flex; align-items: center; gap: 6px; }


/* ══════════════════════════════════════════════
   FORMULARIO RÁPIDO (form-band)
══════════════════════════════════════════════ */
.form-band { background: var(--green); padding: 48px 18px; }
.form-band-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-band-text { color: var(--white); }
.form-band-text h2 {
  color: var(--white);
  text-align: left;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
}
.form-band-text p {
  opacity: .85;
  margin-top: 8px;
  font-size: .97rem;
}

.short-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.short-form label { display: block; }
.short-form input,
.short-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;             /* nunca inferior a 16px — evita zoom en iOS */
  font-family: var(--font);
  color: var(--gray-text);
  background: #fafbfc;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.short-form input:focus,
.short-form textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
}
.short-form textarea {
  resize: vertical;
  min-height: 90px;
}
.form-legal {
  font-size: .78rem;
  color: #888;
  text-align: center;
}
.form-legal a { color: var(--green-light); text-decoration: underline; }


/* ══════════════════════════════════════════════
   SERVICIOS — tarjetas con imagen
══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 4px solid var(--green-light);
  transition: transform .2s, box-shadow .2s;
}
.service-card:focus-within { box-shadow: var(--shadow-md); }

.service-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-bg);
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
/* Solo en dispositivos que soportan hover real */
@media (hover: hover) {
  .service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .service-card:hover .service-img img { transform: scale(1.04); }
}

.service-body { padding: 20px 18px 22px; }
.service-body h3 { margin-bottom: 8px; }
.service-body p  { font-size: .95rem; line-height: 1.65; }

/* Tarjeta ancha — ocupa columna completa en cualquier tamaño */
.service-card--wide { grid-column: 1 / -1; }


/* ══════════════════════════════════════════════
   POR QUÉ ELEGIRNOS
══════════════════════════════════════════════ */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  border-left: 4px solid var(--amber);
}
.reason-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1;
}
.reason-card h3 { margin-bottom: 8px; }
.reason-card p  { font-size: .95rem; }


/* ══════════════════════════════════════════════
   CTA BAND — franja de corte
══════════════════════════════════════════════ */
.cta-band {
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 32px 18px;
}
.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.cta-band-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
}
.cta-band-text small {
  display: block;
  font-size: .88rem;
  font-weight: 400;
  color: var(--gray-text);
  margin-top: 6px;
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.cta-band-actions .btn { width: 100%; }


/* ══════════════════════════════════════════════
   ZONAS
══════════════════════════════════════════════ */
.zones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
.zone-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: center;
  border-left: 4px solid var(--amber);
  display: block;
  color: var(--gray-text);
  transition: transform .2s, box-shadow .2s;
}
.zone-card--plain { cursor: default; }

@media (hover: hover) {
  .zone-card:not(.zone-card--plain):hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}
.zone-card .pin  { font-size: 1.6rem; margin-bottom: 10px; }
.zone-card h3    { margin-bottom: 8px; }
.zone-card p     { font-size: .92rem; }
.zone-card .more {
  display: inline-block;
  margin-top: 10px;
  color: var(--amber);
  font-weight: 700;
  font-size: .9rem;
}

/* Lista de barrios */
.barrios-lista {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  max-width: 860px;
  margin: 0 auto;
}
.barrios-titulo {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
  font-size: .95rem;
}
.barrios-lista ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  list-style: none;
}
.barrios-lista ul li {
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.barrios-lista ul li::before {
  content: '📍';
  font-size: .78rem;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════
   FAQ — <details> nativo, accesible
══════════════════════════════════════════════ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border: 1px solid var(--gray-light);
  overflow: hidden;
}
.faq summary {
  padding: 18px 20px;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;           /* touch target */
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--amber);
  font-weight: 700;
  transition: transform .2s;
  flex-shrink: 0;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding: 0 20px 18px;
  font-size: .95rem;
  line-height: 1.7;
}


/* ══════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════ */
.cta-final {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 64px 18px;
  text-align: center;
}
.cta-final h2 {
  color: var(--white);
  margin-bottom: 14px;
}
.cta-final p {
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1rem;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  max-width: 360px;
  margin: 0 auto;
}
.cta-info {
  margin-top: 22px;
  font-size: .85rem;
  opacity: .78;
  line-height: 1.8;
}


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  background: var(--green);
  color: rgba(255,255,255,.75);
  padding: 48px 0 22px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand .logo-text .brand { color: var(--white); }
.footer-brand .logo-text .tag   { color: var(--green-soft); }
.footer-brand p { line-height: 1.7; font-size: .9rem; }
footer h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer ul li a,
footer p a {
  color: rgba(255,255,255,.72);
  transition: color .2s;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
footer ul li a:hover,
footer p a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .78rem;
  text-align: center;
}


/* ══════════════════════════════════════════════
   FLOTANTES — escritorio
══════════════════════════════════════════════ */
.float-actions {
  display: none;             /* oculto por defecto; se muestra en ≥769 */
  position: fixed;
  bottom: 24px;
  right: 20px;
  flex-direction: column;
  gap: 12px;
  z-index: 130;
}
.float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .2s;
  text-decoration: none;
}
.float-phone { background: var(--amber);    color: var(--white); }
.float-wa    { background: var(--green-wa); color: var(--white); }

@media (hover: hover) {
  .float-btn:hover { transform: scale(1.1); }
}


/* ══════════════════════════════════════════════
   BARRA STICKY MÓVIL — conversión prioritaria
══════════════════════════════════════════════ */
.mobile-sticky {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 -3px 16px rgba(0,0,0,.12);
  z-index: 129;
  padding: 8px 10px;
  gap: 8px;
}
.mobile-sticky a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--white);
  min-height: 44px;
  transition: opacity .15s;
}
.mobile-sticky a:active { opacity: .88; }
.sm-phone { background: var(--amber); }
.sm-wa    { background: var(--green-wa); }


/* ══════════════════════════════════════════════
   GALERÍA DE TRABAJOS
══════════════════════════════════════════════ */

/* Preview en homepage — grid 2 cols móvil, 3 escritorio */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}
.gallery-preview-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-light);
  display: block;
  text-decoration: none;
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.gallery-preview-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,27,51,.55) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
@media (hover: hover) {
  .gallery-preview-item:hover img { transform: scale(1.06); }
  .gallery-preview-item:hover::after { opacity: 1; }
}

/* Galería completa — masonry-style */
.gallery-month { margin-bottom: 52px; }
.gallery-month-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-month-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  background: var(--gray-light);
  display: block;
  text-decoration: none;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  display: block;
}
.gallery-item-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(12,27,51,.75) 0%, transparent 100%);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 20px 12px 10px;
  opacity: 0;
  transition: opacity .25s;
}
@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.05); }
  .gallery-item:hover .gallery-item-caption { opacity: 1; }
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lightbox-img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox-caption {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }
.lightbox-counter {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

/* Responsive galería */
@media (min-width: 640px) {
  .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .lightbox-prev { left: -72px; }
  .lightbox-next { right: -72px; }
}


/* ══════════════════════════════════════════════
   AVISO DE PRECIOS
══════════════════════════════════════════════ */
.price-notice {
  background: rgba(201,151,58,.06);
  border-top: 3px solid var(--amber);
  border-bottom: 1px solid rgba(201,151,58,.18);
  padding: 16px 18px;
}
.price-notice .container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 860px;
}
.price-notice-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.price-notice p {
  font-size: .9rem;
  line-height: 1.65;
  color: #5a4a1a;
}
.price-notice strong { color: #3a2e00; }


/* ══════════════════════════════════════════════
   SECCIONES DE SERVICIO — layout alternado
══════════════════════════════════════════════ */
.service-section { padding: 52px 0; }
.service-section.alt-bg { background: var(--gray-bg); }

.service-section-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Imagen del servicio */
.service-section-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.service-section-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Cuerpo del servicio */
.service-section-body { display: flex; flex-direction: column; gap: 16px; }

.service-tag {
  display: inline-block;
  background: rgba(201,151,58,.12);
  color: var(--amber-h);
  border: 1px solid rgba(201,151,58,.28);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  width: fit-content;
}

.service-section-body h2 {
  text-align: left;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}
.service-section-body p { font-size: .97rem; line-height: 1.72; }

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .93rem;
  line-height: 1.5;
}
.service-features li::before {
  content: '✔';
  color: var(--green-light);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Caja de precio — sin comprometer cifras */
.price-box {
  background: var(--gray-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-section.alt-bg .price-box { background: var(--white); }
.price-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}
.price-box p { font-size: .92rem; line-height: 1.65; margin: 0; }
.price-box .btn { width: 100%; margin-top: 4px; }


/* ── Responsive servicios ──────────────────── */
@media (min-width: 768px) {

  .service-section { padding: 72px 0; }

  .service-section-inner {
    flex-direction: row;
    align-items: center;
    gap: 52px;
  }
  /* Alterna imagen derecha/izquierda */
  .service-section-inner--reverse { flex-direction: row-reverse; }

  .service-section-img {
    width: 44%;
    min-width: 300px;
  }
  .service-section-img img { height: 340px; }

  .service-section-body { flex: 1; }

  .service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }

  .price-box {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .price-box .price-label { width: 100%; }
  .price-box p  { flex: 1; min-width: 200px; }
  .price-box .btn { width: auto; flex-shrink: 0; }
}

@media (min-width: 1024px) {
  .service-section-img { width: 42%; }
  .service-section-img img { height: 380px; }
}


/* ══════════════════════════════════════════════
   PÁGINA HERO INTERNA (servicios, contacto…)
══════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: var(--white);
  padding: 56px 18px 64px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.7rem, 5.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto 14px;
  color: var(--white);
}
.page-hero p.lead {
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 26px;
  opacity: .9;
}
.page-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.breadcrumb {
  font-size: .82rem;
  opacity: .8;
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--green-soft); }


/* ══════════════════════════════════════════════
   PRESUPUESTO — layout general
══════════════════════════════════════════════ */
.presupuesto-section { padding: 48px 0 64px; background: var(--gray-bg); }

.presupuesto-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ── Formulario wrap ── */
.presupuesto-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
}

/* Banner de confianza */
.trust-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(201,151,58,.07);
  border: 1px solid rgba(201,151,58,.22);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.trust-banner-icon { font-size: 1.3rem; flex-shrink: 0; }
.trust-banner p    { font-size: .9rem; line-height: 1.6; color: var(--green); }
.trust-banner strong { color: var(--green); }

/* ── Campos del formulario ── */
.presupuesto-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pform-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pform-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pform-group label {
  font-size: .87rem;
  font-weight: 700;
  color: var(--green);
}
.required { color: var(--amber); margin-left: 2px; }
.optional  { font-weight: 400; color: #888; font-size: .78rem; }

.pform-group input,
.pform-group select,
.pform-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--gray-text);
  background: #fafbfc;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, background .2s;
  min-height: 44px;
}
.pform-group input:focus,
.pform-group select:focus,
.pform-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
}
.pform-group input.error,
.pform-group select.error,
.pform-group textarea.error { border-color: #d9534f; }

.pform-group textarea {
  resize: vertical;
  min-height: 110px;
}
.pform-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23374151'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

/* Mensajes de error y pista */
.field-error {
  font-size: .8rem;
  color: #c0392b;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 4px;
}
.field-error.visible { display: flex; }
.field-hint { font-size: .78rem; color: #888; }

/* Checkbox privacidad */
.pform-check { margin-top: 4px; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--gray-text);
}
.check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--green);
  cursor: pointer;
  border-radius: 4px;
}
.check-label a { color: var(--green-light); text-decoration: underline; }

/* Botones del formulario */
.pform-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

/* ── Mensaje de éxito ── */
.form-success {
  text-align: center;
  padding: 32px 20px;
}
.form-success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  line-height: 1;
}
.form-success h2 {
  color: var(--green);
  margin-bottom: 12px;
}
.form-success p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 12px;
}
.form-success-sub { color: #888; font-size: .9rem; }
.form-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

/* ── Columna aside ── */
.presupuesto-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.aside-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}
.aside-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green);
  text-align: left;
  margin-bottom: 10px;
}
.aside-btn { margin-top: 10px; }
.aside-card--info h3 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin: 16px 0 4px;
}
.aside-card--info h3:first-child { margin-top: 0; }
.aside-card--info address,
.aside-card--info p,
.aside-card--info a {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--gray-text);
  font-style: normal;
}
.aside-card--info a { color: var(--green-light); text-decoration: underline; word-break: break-all; }

.aside-card--guarantees h3 {
  font-size: .87rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 14px;
  text-align: left;
}
.aside-guarantees {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aside-guarantees li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  line-height: 1.5;
}
.aside-guarantees li span { font-size: 1.1rem; flex-shrink: 0; }

/* ── Responsive presupuesto ── */
@media (min-width: 640px) {
  .presupuesto-form-wrap { padding: 32px 28px; }
  .pform-row { flex-direction: row; }
  .pform-row .pform-group { flex: 1; }
  .pform-actions { flex-direction: row; }
  .pform-actions .btn { flex: 1; }
}

@media (min-width: 1024px) {
  .presupuesto-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
  }
  .presupuesto-form-wrap { flex: 1; }
  .presupuesto-aside     { width: 320px; flex-shrink: 0; }
}


/* ══════════════════════════════════════════════
   CONTACTO — badges de confianza
══════════════════════════════════════════════ */
.trust-badges-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  padding: 16px 18px;
}
.trust-badges-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--green);
}
.trust-badge-icon { font-size: 1.15rem; flex-shrink: 0; }


/* ══════════════════════════════════════════════
   CONTACTO — layout dos columnas
══════════════════════════════════════════════ */
.contacto-section { padding: 48px 0 64px; background: var(--gray-bg); }

.contacto-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}


/* ── Bloques de dato de contacto ── */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-block {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-block-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.contact-block-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.contact-block-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin: 0;
}
.contact-block-sub {
  font-size: .83rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* Teléfono grande */
.contact-phone-number {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  color: var(--green);
  letter-spacing: .02em;
  line-height: 1.1;
  text-decoration: none;
  transition: color .2s;
}
.contact-phone-number:hover { color: var(--amber); }

/* Email */
.contact-email {
  font-size: .95rem;
  font-weight: 600;
  color: var(--green-light);
  text-decoration: underline;
  word-break: break-all;
}
.contact-email:hover { color: var(--green); }

/* Dirección */
.contact-address {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--gray-text);
}

/* Tabla horario */
.schedule-table {
  border-collapse: collapse;
  font-size: .9rem;
  width: 100%;
}
.schedule-table th {
  text-align: left;
  font-weight: 600;
  color: var(--green);
  padding: 4px 12px 4px 0;
  white-space: nowrap;
}
.schedule-table td {
  color: var(--gray-text);
  padding: 4px 0;
}

/* Mapa */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.contact-map iframe { display: block; width: 100%; }

/* CTA hacia presupuesto detallado */
.contact-presupuesto-cta {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  text-align: center;
  border-top: 3px solid var(--amber);
}
.contact-presupuesto-cta p {
  font-size: .95rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}


/* ── Formulario reducido ── */
.contacto-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contacto-form-header {
  margin-bottom: 24px;
}
.contacto-form-header h2 {
  text-align: left;
  font-size: clamp(1.2rem, 3.5vw, 1.55rem);
  margin-bottom: 8px;
}
.contacto-form-header p {
  font-size: .95rem;
  color: var(--gray-text);
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* Enlace a presupuesto completo */
.form-upgrade-cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
  text-align: center;
}
.form-upgrade-cta p {
  font-size: .88rem;
  color: #888;
  margin-bottom: 10px;
}


/* ── Responsive contacto ── */
@media (min-width: 1024px) {
  .contacto-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .contacto-info     { flex: 1; }
  .contacto-form-wrap {
    width: 400px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
  .contacto-form-wrap { padding: 32px 28px; }
}


/* ══════════════════════════════════════════════
   PÁGINAS LEGALES
══════════════════════════════════════════════ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px 0;
  font-size: 1rem;
  line-height: 1.8;
}
.legal-content h2 {
  text-align: left;
  font-size: 1.3rem;
  margin: 34px 0 12px;
  border-left: 4px solid var(--amber);
  padding-left: 14px;
}
.legal-content h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-content p, .legal-content li { margin-bottom: 12px; }
.legal-content ul { margin: 0 0 14px 20px; list-style: disc; }


/* ══════════════════════════════════════════════
   FORMULARIO COMPLETO (presupuesto / contacto)
══════════════════════════════════════════════ */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: 0 10px 36px rgba(0,0,0,.22);
  color: var(--gray-text);
}
.form-wrap h3 {
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-align: center;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--green);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--gray-text);
  background: #fafbfc;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23374151'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }


/* ══════════════════════════════════════════════
   RESPONSIVE — 640px  (dos columnas básicas)
══════════════════════════════════════════════ */
@media (min-width: 640px) {

  .container { padding: 0 24px; }

  /* Hero — acciones en fila */
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero-actions .btn { width: auto; }

  .trust-microcopy {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Formulario rápido — inputs en fila */
  .form-row { flex-direction: row; }

  /* Servicios — 2 columnas */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Razones — 2 columnas */
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA band — fila */
  .cta-band .container { flex-direction: row; text-align: left; justify-content: space-between; }
  .cta-band-actions { flex-direction: row; width: auto; }
  .cta-band-actions .btn { width: auto; }

  /* Zonas — 2 columnas */
  .zones-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA final — acciones en fila */
  .cta-actions { flex-direction: row; justify-content: center; align-items: center; max-width: none; }
  .cta-actions .btn { width: auto; }

  /* Page hero — acciones en fila */
  .page-hero-actions { flex-direction: row; justify-content: center; align-items: center; }
  .page-hero-actions .btn { width: auto; }

  /* Barrios — 3 columnas */
  .barrios-lista ul { grid-template-columns: repeat(3, 1fr); }

  /* Footer — 2 columnas */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — 768px  (tablet)
══════════════════════════════════════════════ */
@media (min-width: 768px) {

  body { padding-bottom: 0; }   /* quitamos el padding de la sticky bar */

  /* Header — mostramos teléfono, ocultamos sticky */
  .header-phone { display: inline-flex; }
  .mobile-sticky { display: none; }
  .float-actions { display: flex; }

  /* Servicios — 3 columnas */
  .services-grid { grid-template-columns: repeat(3, 1fr); }

  /* Zonas — 3 columnas */
  .zones-grid { grid-template-columns: repeat(3, 1fr); }

  /* Formulario rápido — lado a lado */
  .form-band-inner { flex-direction: row; align-items: flex-start; gap: 48px; }
  .form-band-text  { flex: 1; }
  .short-form      { flex: 1; }

  /* Form wrap más padding */
  .form-wrap { padding: 34px 32px; }

  section { padding: 72px 0; }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — 1024px  (escritorio)
══════════════════════════════════════════════ */
@media (min-width: 1024px) {

  /* Header — mostramos nav desktop, ocultamos hamburger */
  .main-nav  { display: block; }
  .hamburger { display: none; }

  .logo-text .brand { font-size: 1.05rem; }

  /* Servicios — 3 col + wide ajustado */
  .services-grid { gap: 26px; }

  /* Reasons — 4 columnas */
  .reasons-grid { grid-template-columns: repeat(4, 1fr); }

  /* Footer — 4 columnas */
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — 1280px
══════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .container { padding: 0 32px; }
  section { padding: 88px 0; }
  .service-img { height: 220px; }
}


/* ══════════════════════════════════════════════
   ACCESIBILIDAD — foco visible
══════════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ╔══════════════════════════════════════════════╗
   ║  REDISEÑO UX/UI — nuevos componentes         ║
   ╚══════════════════════════════════════════════╝ */

/* ── Hero: overlay + imagen más visible ────────── */
.hero {
  padding: 88px 18px 100px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    160deg,
    rgba(12,27,51,.92) 0%,
    rgba(12,27,51,.68) 50%,
    rgba(21,41,77,.90) 100%
  );
}
.hero-bg img { opacity: .50; }
.hero-inner { width: 100%; }
.hero-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-actions .btn { width: auto; min-width: 180px; }
.trust-microcopy {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  text-align: center;
}
.trust-microcopy span { justify-content: center; }

/* ── Stats bar ──────────────────────────────────── */
.stats-bar {
  background: var(--green-mid);
  padding: 20px 0;
}
.stats-bar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--white);
  min-width: 80px;
  padding: 4px 8px;
}
.stat-item strong {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}
.stat-item span {
  font-size: .7rem;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}

/* ── Servicios con iconos SVG ─────── */
.services-icon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  border: 1.5px solid rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) {
  .svc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--amber);
  }
}
.svc-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-body { flex: 1; min-width: 0; }
.svc-body h3 {
  font-size: .97rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 4px;
}
.svc-body p {
  font-size: .84rem;
  line-height: 1.55;
  color: var(--gray-text);
  margin: 0;
}

/* ── Testimonios ─────────────────────────────────── */
#testimonios { background: var(--gray-bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border-top: 4px solid var(--amber);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: .06em;
}
.testimonial-text {
  font-size: .96rem;
  line-height: 1.72;
  color: var(--gray-text);
  flex: 1;
}
.testimonial-text::before {
  content: '\201C';
  font-size: 2.8rem;
  color: var(--green-soft);
  line-height: 0;
  vertical-align: -16px;
  margin-right: 4px;
  font-style: normal;
  font-family: Georgia, serif;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--gray-light);
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: -.02em;
}
.testimonial-info { line-height: 1.3; }
.testimonial-name { font-weight: 700; font-size: .93rem; color: var(--green); display: block; }
.testimonial-meta { font-size: .78rem; color: #888; }

/* ── Zonas: pills enlazadas ────────────────── */
.zones-8-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.zone-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 10px;
  padding: 13px 14px;
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
  font-size: .88rem;
  border: 2px solid transparent;
  transition: border-color .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
@media (hover: hover) {
  .zone-pill:hover {
    border-color: var(--amber);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
}
.zone-pill-icon { font-size: 1.2rem; flex-shrink: 0; }
.zone-pill-body { display: flex; flex-direction: column; gap: 1px; }
.zone-pill-time { font-size: .7rem; font-weight: 400; color: #888; }

/* ── Responsive nuevos componentes ─────────────── */
@media (min-width: 480px) {
  .services-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-8-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .zones-8-grid   { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card { padding: 22px 18px; }
  .svc-body h3 { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .services-icon-grid { grid-template-columns: repeat(3, 1fr); }
  .zones-8-grid       { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 120px 18px 130px; min-height: 680px; }
}

/* ── Google Maps lazy-load placeholder (LSSI/AEPD) ── */
.map-consent-overlay {
  width: 100%;
  min-height: 260px;
  background: var(--gray-bg);
  border-radius: 10px;
  border: 2px dashed var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
  gap: 14px;
}
.map-consent-overlay p {
  font-size: .9rem;
  color: var(--gray-text);
  max-width: 340px;
  line-height: 1.6;
  margin: 0;
}
.map-consent-overlay .btn { width: auto; }
.map-frame-loaded { width: 100%; border-radius: 10px; overflow: hidden; }
