/* ============================================================
   Reformas Montero — Construcciones Montero
   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 {
  --green:       #0C1B33;
  --green-mid:   #15294D;
  --green-light: #4B72A8;
  --green-soft:  #F3D47A;
  --amber:       #C9973A;
  --amber-h:     #A97C2A;
  --green-wa:    #25d366;
  --green-wa-h:  #1ebe5b;
  --gray-bg:     #F5F3EF;
  --gray-text:   #2D3748;
  --gray-light:  #E2DDD6;
  --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;
  padding-bottom: 68px;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

.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
══════════════════════════════════════════════ */
.site-header {
  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;
}
.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 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 44px;
}
.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;
}

.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); }

.header-phone {
  display: none;
  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
══════════════════════════════════════════════ */
.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
══════════════════════════════════════════════ */
.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;
  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
══════════════════════════════════════════════ */
.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
══════════════════════════════════════════════ */
section { padding: 52px 0; }
.alt-bg  { background: var(--gray-bg); }

#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: 88px 18px 100px;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .50; }
.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-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.hero-logo {
  margin: 0 auto 22px;
  width: 210px; height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.98) 38%, rgba(255,255,255,.55) 58%, transparent 74%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo img {
  width: 172px; height: 172px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.3));
}
@media (min-width: 640px) {
  .hero-logo { width: 240px; height: 240px; }
  .hero-logo img { width: 196px; height: 196px; }
}
.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: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.hero-actions .btn { width: auto; min-width: 180px; }
.trust-microcopy {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 20px;
  font-size: .85rem;
  opacity: .85;
  justify-content: center;
  text-align: center;
}
.trust-microcopy span { display: flex; align-items: center; gap: 6px; 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;
}


/* ══════════════════════════════════════════════
   FORMULARIO RÁPIDO
══════════════════════════════════════════════ */
.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;
  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 — icon grid
══════════════════════════════════════════════ */
.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; }

/* Servicios 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; }
@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; }
.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
══════════════════════════════════════════════ */
.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-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; }

.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;
}
@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; }

.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
══════════════════════════════════════════════ */
.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;
  -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; }


/* ══════════════════════════════════════════════
   GALERÍA
══════════════════════════════════════════════ */
.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; }
}

.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-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); }


/* ══════════════════════════════════════════════
   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
══════════════════════════════════════════════ */
.service-section { padding: 52px 0; }
.service-section.alt-bg { background: var(--gray-bg); }
.service-section-inner { display: flex; flex-direction: column; gap: 32px; }
.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; }
.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; }
.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; }


/* ══════════════════════════════════════════════
   PÁGINA HERO INTERNA
══════════════════════════════════════════════ */
.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
══════════════════════════════════════════════ */
.presupuesto-section { padding: 48px 0 64px; background: var(--gray-bg); }
.presupuesto-layout { display: flex; flex-direction: column; gap: 32px; }
.presupuesto-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 28px 20px; }
.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); }
.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 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; }
.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; }
.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; }
.pform-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.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; }
.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; }


/* ══════════════════════════════════════════════
   CONTACTO
══════════════════════════════════════════════ */
.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-section { padding: 48px 0 64px; background: var(--gray-bg); }
.contacto-layout { display: flex; flex-direction: column; gap: 32px; }
.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; }
.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); }
.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); }
.contact-address { font-style: normal; font-size: .95rem; line-height: 1.65; color: var(--gray-text); }
.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; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.contact-map iframe { display: block; width: 100%; }
.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; }
.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; }
.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; }
.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; }


/* ══════════════════════════════════════════════
   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; }


/* ══════════════════════════════════════════════
   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; }
.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-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; }
.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; }


/* ══════════════════════════════════════════════
   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
══════════════════════════════════════════════ */
.float-actions { display: none; 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); } }

.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); }


/* ══════════════════════════════════════════════
   FORM WRAP GENÉRICO
══════════════════════════════════════════════ */
.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-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; }


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

/* ══════════════════════════════════════════════
   RESPONSIVE — 640px
══════════════════════════════════════════════ */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .hero-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; align-items: center; }
  .hero-actions .btn { width: auto; }
  .form-row { flex-direction: row; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .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; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-8-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-actions { flex-direction: row; justify-content: center; align-items: center; max-width: none; }
  .cta-actions .btn { width: auto; }
  .page-hero-actions { flex-direction: row; justify-content: center; align-items: center; }
  .page-hero-actions .btn { width: auto; }
  .barrios-lista ul { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .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; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════════════════════ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .header-phone { display: inline-flex; }
  .mobile-sticky { display: none; }
  .float-actions { display: flex; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .zones-grid { grid-template-columns: repeat(3, 1fr); }
  .form-band-inner { flex-direction: row; align-items: flex-start; gap: 48px; }
  .form-band-text { flex: 1; }
  .short-form { flex: 1; }
  .form-wrap { padding: 34px 32px; }
  section { padding: 72px 0; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card { padding: 22px 18px; }
  .svc-body h3 { font-size: 1rem; }
  .service-section { padding: 72px 0; }
  .service-section-inner { flex-direction: row; align-items: center; gap: 52px; }
  .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; }
  .contacto-form-wrap { padding: 32px 28px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .main-nav  { display: block; }
  .hamburger { display: none; }
  .logo-text .brand { font-size: 1.05rem; }
  .services-grid { gap: 26px; }
  .reasons-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
  .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; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .lightbox-prev { left: -72px; }
  .lightbox-next { right: -72px; }
  .presupuesto-layout { flex-direction: row; align-items: flex-start; gap: 36px; }
  .presupuesto-form-wrap { flex: 1; }
  .presupuesto-aside { width: 320px; flex-shrink: 0; }
  .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); }
  .service-section-img { width: 42%; }
  .service-section-img img { height: 380px; }
}

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

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


/* ══════════════════════════════════════════════
   FUENTE DE DISPLAY — Barlow Condensed
   Aplicada vía <link> en el HTML
══════════════════════════════════════════════ */
h1, h2, h3,
.hero h1,
.stat-item strong,
.logo-text .brand,
.page-hero h1 {
  font-family: 'Barlow Condensed', var(--font);
  letter-spacing: -.01em;
}
h2 { letter-spacing: -.02em; }
.hero h1 { letter-spacing: -.03em; }
.stat-item strong { letter-spacing: -.03em; }


/* ══════════════════════════════════════════════
   SCROLL REVEAL — fade-in-up progresivo
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: .10s; }
.reveal-d2 { transition-delay: .20s; }
.reveal-d3 { transition-delay: .30s; }
.reveal-d4 { transition-delay: .40s; }
.reveal-d5 { transition-delay: .50s; }


/* ══════════════════════════════════════════════
   HERO — mejoras visuales
══════════════════════════════════════════════ */
/* Línea dorada decorativa sobre el h1 */
.hero-accent-line {
  display: block;
  width: 52px;
  height: 4px;
  background: var(--amber);
  border-radius: 2px;
  margin: 0 auto 22px;
}
/* Grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* Diagonal cut at hero bottom */
.hero {
  clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  padding-bottom: 130px;
}
@media (min-width: 1024px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); padding-bottom: 160px; }
}


/* ══════════════════════════════════════════════
   BOTÓN PRIMARIO — shimmer on hover
══════════════════════════════════════════════ */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .55s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .btn-primary:hover::after { left: 160%; }
}


/* ══════════════════════════════════════════════
   FLOAT WA BUTTON — pulse animation
══════════════════════════════════════════════ */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.float-wa { animation: wa-pulse 2.8s ease-out infinite; }

/* Mobile sticky — borde dorado superior */
.mobile-sticky { border-top: 3px solid var(--amber); }
.sm-wa { animation: wa-pulse 2.8s ease-out infinite; }


/* ══════════════════════════════════════════════
   SVC-CARD — borde dorado en hover
══════════════════════════════════════════════ */
.svc-card {
  position: relative;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  border: 2px solid var(--amber);
  opacity: 0;
  transition: opacity .22s;
  pointer-events: none;
}
@media (hover: hover) {
  .svc-card:hover::before { opacity: 1; }
}


/* ══════════════════════════════════════════════
   REASON CARD — hover lift
══════════════════════════════════════════════ */
.reason-card {
  transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
  .reason-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}


/* ══════════════════════════════════════════════
   PROCESO — sección "Cómo trabajamos"
══════════════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
.process-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--amber);
  transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
  .process-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
}
.process-num {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(201,151,58,.25);
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
  letter-spacing: -.04em;
  transition: color .2s;
}
.process-step:hover .process-num { color: var(--amber); }
.process-body h3 { margin-bottom: 5px; font-size: 1rem; }
.process-body p  { font-size: .9rem; line-height: 1.62; margin: 0; color: var(--gray-text); }

@media (min-width: 640px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-num { font-size: 3.6rem; }
}


/* ══════════════════════════════════════════════
   TESTIMONIOS — tarjetas mejoradas
══════════════════════════════════════════════ */
.testimonial-card {
  transition: transform .2s, box-shadow .2s;
}
@media (hover: hover) {
  .testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}
.testimonial-verified {
  font-size: .72rem;
  color: var(--green-light);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}


/* ══════════════════════════════════════════════
   BADGE INLINE — para datos en el hero
══════════════════════════════════════════════ */
.hero-data-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  margin-top: 22px;
}
.hero-data-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-data-num {
  font-family: 'Barlow Condensed', var(--font);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green-soft);
  line-height: 1;
}
.hero-data-label {
  font-size: .67rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .7;
}


/* ══════════════════════════════════════════════
   GALLERY PREVIEW — lupa en hover
══════════════════════════════════════════════ */
.gallery-preview-item::before {
  content: '🔍';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  z-index: 2;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
@media (hover: hover) {
  .gallery-preview-item:hover::before { transform: translate(-50%, -50%) scale(1); }
}


/* ══════════════════════════════════════════════
   SECTION LABEL — mejora visual
══════════════════════════════════════════════ */
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.section-label::before,
.section-label::after {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  display: inline-block;
}


/* ══════════════════════════════════════════════
   INSTAGRAM LINK — estilo especial
══════════════════════════════════════════════ */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.ig-link:hover { color: var(--green-soft); }


/* ══════════════════════════════════════════════
   HEADER NAV — underline animado
══════════════════════════════════════════════ */
.main-nav a {
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }


/* ══════════════════════════════════════════════
   PREMIUM DESIGN UPGRADES
══════════════════════════════════════════════ */

/* — Botón primary: gradiente dorado premium — */
.btn-primary {
  background: linear-gradient(135deg, #D4A03E 0%, #B8852C 100%);
  box-shadow: 0 4px 16px rgba(180,128,40,.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #C9973A 0%, #A97C2A 100%);
  box-shadow: 0 6px 20px rgba(180,128,40,.45);
  transform: translateY(-1px);
}

/* — Hero: text-shadow en h1 — */
.hero h1 {
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
  font-size: clamp(2rem, 7vw, 3.4rem);
}
.hero h1 .accent {
  text-shadow: 0 2px 24px rgba(243,212,122,.4);
}

/* — Stats bar: gradiente diagonal — */
.stats-bar {
  background: linear-gradient(100deg, #080F1E 0%, #162D55 50%, #080F1E 100%);
  border-top: 2px solid rgba(201,151,58,.28);
  border-bottom: 2px solid rgba(201,151,58,.28);
}

/* — Reason card: borde izquierdo con gradiente — */
.reason-card {
  border-left: none;
  position: relative;
  overflow: hidden;
}
.reason-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #D4A03E 0%, #B8852C 100%);
  border-radius: 0 2px 2px 0;
}

/* — Svc-icon: gradiente más rico — */
.svc-icon {
  background: linear-gradient(135deg, #0A1628 0%, #1C3A6B 100%);
  box-shadow: 0 4px 12px rgba(12,27,51,.28);
}

/* — Testimonial card: comilla decorativa — */
.testimonial-card {
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; right: 16px;
  font-size: 8rem;
  line-height: 1;
  color: rgba(201,151,58,.07);
  font-family: Georgia, serif;
  pointer-events: none;
}

/* — Testimonial avatar: gradiente dorado — */
.testimonial-avatar {
  background: linear-gradient(135deg, #0C1B33 0%, #C9973A 100%);
  font-size: .88rem;
}

/* — Zone pill: más premium — */
.zone-pill {
  background: linear-gradient(135deg, #fff 0%, #fdfbf7 100%);
  box-shadow: 0 2px 10px rgba(12,27,51,.07);
}
@media (hover: hover) {
  .zone-pill:hover {
    box-shadow: 0 6px 24px rgba(12,27,51,.15);
    background: linear-gradient(135deg, #fff 0%, #fff8ee 100%);
  }
}

/* — Alt-bg: marfil más cálido — */
.alt-bg {
  background: linear-gradient(160deg, #F8F5EF 0%, #F2EDE8 100%);
}

/* — Footer: gradiente profundo — */
footer {
  background: linear-gradient(160deg, #060D1A 0%, #0C1B33 50%, #101E3A 100%);
}

/* — Page hero interno: más rico — */
.page-hero {
  background: linear-gradient(135deg, #06101F 0%, #0C1B33 45%, #152B52 80%, #0B1E3C 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero .container,
.page-hero .page-hero-inner { position: relative; z-index: 1; }

/* — Hero badge: más refinado — */
.hero-badge {
  background: linear-gradient(135deg, rgba(201,151,58,.2) 0%, rgba(201,151,58,.08) 100%);
  border: 1px solid rgba(201,151,58,.45);
  color: #F3D47A;
}

/* — Form-band: gradiente profundo — */
.form-band {
  background: linear-gradient(135deg, #06101F 0%, #0C1B33 55%, #101E3A 100%);
}

/* — CTA final: gradiente más dramático — */
.cta-final {
  background: linear-gradient(135deg, #050C18 0%, #0C1B33 40%, #0A1628 100%);
}

/* — CTA band: más premium — */
.cta-band {
  background: linear-gradient(135deg, #faf8f4 0%, #f5f0e8 100%);
  border-top: 1px solid rgba(201,151,58,.22);
  border-bottom: 1px solid rgba(201,151,58,.22);
}

/* — Barrios lista: borde izquierdo dorado — */
.barrios-lista {
  border-left: 4px solid var(--amber);
}

/* — Section intro: mejor legibilidad — */
.section-intro {
  color: #4A5568;
  font-size: 1.05rem;
}

/* — Float phone: gradiente dorado — */
.float-phone {
  background: linear-gradient(135deg, #D4A03E 0%, #B8852C 100%);
  box-shadow: 0 6px 20px rgba(180,128,40,.4);
}
.sm-phone {
  background: linear-gradient(135deg, #D4A03E 0%, #B8852C 100%);
}

/* — h2 global más impacto — */
h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.3rem);
}

/* — Aside card borde superior dorado — */
.aside-card {
  border-top: 3px solid var(--amber);
}

/* — Process step: fondo sutil — */
.process-step {
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf8 100%);
  border-bottom: 4px solid var(--amber);
}
