﻿/* =====================================================
   HORMIGÓN IMPRESO VITORIA — styles.css
   Stack: HTML5 + CSS3 vanilla | Mobile-first
   ===================================================== */

/* === 1. CUSTOM PROPERTIES === */
:root {
  /* Colors */
  --primary:       #1A1C22;
  --primary-light: #252830;
  --primary-deep:  #12131A;
  --secondary:     #64748B;
  --accent:        #EA580C;
  --accent-hover:  #C2460A;
  --accent-light:  #FFF0E8;
  --warm-bg:       #F8FAFC;
  --warm-alt:      #F0EDE8;
  --text:          #334155;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;
  --border:        #E2E8F0;
  --border-dark:   #CBD5E1;
  --white:         #FFFFFF;
  --overlay:       rgba(26, 28, 34, 0.78);

  /* Typography */
  --font-display:  'Barlow Condensed', sans-serif;
  --font-heading:  'Poppins', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  /* Spacing (8pt grid) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Border radius */
  --r-sm:   4px;
  --r:      8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px rgba(0,0,0,.10), 0 8px 10px rgba(0,0,0,.04);

  /* Transitions */
  --t-fast: 150ms ease-out;
  --t:      200ms ease-out;
  --t-slow: 300ms ease-out;

  /* Layout */
  --container: 1240px;
  --gap:       1.5rem;

  /* Z-index */
  --z-raised:  10;
  --z-overlay: 20;
  --z-nav:     100;
  --z-float:   200;
}

/* === 2. RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img, picture, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
fieldset { border: none; }
table { border-collapse: collapse; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* === 3. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}
.display-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h1 { font-size: clamp(1.875rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }
h4 { font-size: 1.125rem; }
p  { line-height: 1.75; }
small { font-size: 0.875rem; }
strong { font-weight: 600; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-light  { color: var(--text-light); }

/* === 4. LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section {
  padding-block: var(--sp-16);
}
.section-sm {
  padding-block: var(--sp-12);
}
.section-lg {
  padding-block: var(--sp-24);
}
.section--dark {
  background: var(--primary);
  color: var(--white);
}
.section--dark .section-label { color: var(--accent); opacity: 1; }
.section--dark .section-title  { color: var(--white); }
.section--dark .section-lead   { color: rgba(255,255,255,.7); }

.section--alt {
  background: var(--warm-alt);
}
.section--accent-bg {
  background: var(--accent);
  color: var(--white);
}

.section-header {
  margin-bottom: var(--sp-10);
}
.section-header--center { text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--sp-4);
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 56ch;
}
.section-header--center .section-lead { margin-inline: auto; }

.grid {
  display: grid;
  gap: var(--gap);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-gap { gap: var(--sp-4); }
.flex-wrap { flex-wrap: wrap; }

/* === 5. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t-fast), box-shadow var(--t);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border-dark);
}
.btn-secondary:hover { background: var(--warm-bg); border-color: var(--secondary); }

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

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-inline: 0.25rem;
}
.btn-ghost:hover { color: var(--accent-hover); }

.btn-lg { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* === 6. BADGE / PILL === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.375rem 0.875rem;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}
.badge-accent {
  background: rgba(234,88,12,.15);
  color: var(--accent);
  border: 1px solid rgba(234,88,12,.3);
}
.badge-dark {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.badge-light {
  background: var(--warm-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

/* === 7. TOPBAR === */
.topbar {
  background: var(--primary-deep);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.7);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,.75);
  transition: color var(--t-fast);
}
.topbar__link:hover { color: var(--accent); }
.topbar__link svg { width: 14px; height: 14px; }
.topbar__hours { color: rgba(255,255,255,.5); }

/* === 8. HEADER / NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.site-logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-logo__sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.main-nav {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}
.nav-link {
  padding: 0.5rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}
.header__cta {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--warm-bg); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--sp-4) 0;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  padding: 0.75rem var(--sp-6);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.mobile-nav .nav-link:last-of-type { border-bottom: none; }
.mobile-nav__cta {
  padding: var(--sp-4) var(--sp-6) var(--sp-2);
}

/* Nav dropdown */
.nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-link--dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link--dropdown-trigger svg {
  transition: transform 200ms ease-out;
  flex-shrink: 0;
  margin-top: 1px;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  min-width: 210px;
  padding: 0.375rem 0;
  z-index: calc(var(--z-nav) + 1);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  display: flex;
  flex-direction: column;
}
.nav-item--dropdown:hover .nav-link--dropdown-trigger svg,
.nav-item--dropdown:focus-within .nav-link--dropdown-trigger svg {
  transform: rotate(180deg);
}
.nav-dropdown__link {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav-dropdown__link:hover { background: var(--warm-bg); color: var(--accent); }
.nav-dropdown__divider { height: 1px; background: var(--border); margin: 0.25rem 0; }

/* Mobile sub-links */
.mobile-nav .nav-link--sub {
  padding-left: 3rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: none;
}
.mobile-nav .nav-link--sub:last-of-type { border-bottom: 1px solid var(--border); }

/* === 9. HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 80px;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--primary-deep);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .55;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,28,34,.92) 0%,
    rgba(26,28,34,.70) 55%,
    rgba(26,28,34,.35) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-8) var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: 680px;
}
.hero__badge { animation: fadeSlideUp .6s .1s both; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: fadeSlideUp .6s .2s both;
}
.hero__title span { color: var(--accent); }
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  animation: fadeSlideUp .6s .3s both;
}
.hero__chip {
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  max-width: 54ch;
  animation: fadeSlideUp .6s .35s both;
}
.hero__ctas { animation: fadeSlideUp .6s .45s both; }
.hero__stats {
  background: rgba(26,28,34,.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) {
  .hero__stats { margin-top: -80px; position: relative; z-index: 3; }
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-4) var(--sp-3);
  background: rgba(26,28,34,.9);
  gap: var(--sp-1);
}
.hero__stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,.6);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === 10. SERVICE CARDS === */
.services-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.service-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--warm-alt);
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
}
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.service-card__title { font-size: 1.125rem; font-weight: 600; color: var(--primary); }
.service-card__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: auto;
  transition: gap var(--t-fast);
}
.service-card__link:hover { gap: var(--sp-3); }
.service-card__link svg { width: 16px; height: 16px; }

/* Service placeholder colors */
.service-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card__img--c1 { background: linear-gradient(135deg, #1A1C22 0%, #2D3748 100%); }
.service-card__img--c2 { background: linear-gradient(135deg, #374151 0%, #1A1C22 100%); }
.service-card__img--c3 { background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%); }
.service-card__img--c4 { background: linear-gradient(135deg, #4A5568 0%, #2D3748 100%); }
.service-card__img--c5 { background: linear-gradient(135deg, #1E293B 0%, #334155 100%); }
.service-card__img--c6 { background: linear-gradient(135deg, #334155 0%, #1E293B 100%); }

/* === 11. WHY US / DIFFERENTIATORS === */
.diff-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.diff-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: box-shadow var(--t), border-color var(--t);
}
.diff-card:hover { box-shadow: var(--shadow-md); border-color: rgba(234,88,12,.3); }
.diff-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(234,88,12,.15);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.diff-card__body { display: flex; flex-direction: column; gap: var(--sp-2); }
.diff-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-2);
}
.diff-card__icon svg { width: 20px; height: 20px; color: var(--accent); }
.diff-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--primary); }
.diff-card__text { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; }

/* === 12. PROCESS STEPS === */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 44px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(234,88,12,.1));
}
.process-step {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  padding: var(--sp-5) 0;
  position: relative;
}
.process-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px rgba(234,88,12,.2);
}
.process-step__body { display: flex; flex-direction: column; gap: var(--sp-1); padding-top: var(--sp-2); }
.process-step__title { font-size: 1.0625rem; font-weight: 700; color: var(--white); }
.process-step__text { font-size: 0.9375rem; color: rgba(255,255,255,.65); line-height: 1.7; }

/* === 13. GALLERY === */
.gallery-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr 1fr;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/8; }
.gallery-item { aspect-ratio: 4/3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.85); }
.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(to top, rgba(26,28,34,.9), transparent);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}
.gallery-item:hover .gallery-item__label { opacity: 1; transform: translateY(0); }

/* === 14. COVERAGE ZONES === */
.coverage-split {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.coverage-block__title {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.barrios-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.barrio-chip {
  padding: 0.45rem 0.875rem;
  background: var(--warm-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
}
.zones-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.zone-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  background: var(--warm-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.zone-link:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.zone-link svg { width: 16px; height: 16px; color: var(--text-muted); transition: color var(--t-fast); }
.zone-link:hover svg { color: var(--accent); }

/* === 15. TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: box-shadow var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
  font-size: 1rem;
}
.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.testimonial-author__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-author__name { font-weight: 600; font-size: 0.9375rem; color: var(--primary); }
.testimonial-author__detail { font-size: 0.8125rem; color: var(--text-muted); }

/* === 16. FAQ ACCORDION === */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item.open { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(234,88,12,.15); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  background: var(--white);
  transition: background var(--t-fast);
}
.faq-question:hover { background: var(--warm-bg); }
.faq-item.open .faq-question { background: var(--accent-light); }
.faq-question__text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.faq-item.open .faq-question__text { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--warm-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), transform var(--t);
}
.faq-icon svg { width: 14px; height: 14px; color: var(--text-muted); transition: color var(--t-fast); }
.faq-item.open .faq-icon { background: var(--accent); transform: rotate(180deg); }
.faq-item.open .faq-icon svg { color: var(--white); }
.faq-answer {
  display: none;
  padding: 0 var(--sp-5) var(--sp-5);
  background: var(--accent-light);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.9375rem; color: var(--text); line-height: 1.75; }

/* === 17. FORMS === */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-row {
  display: grid;
  gap: var(--sp-4);
}
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.form-label .req { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(234,88,12,.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check a { color: var(--accent); text-decoration: underline; }
.form-error {
  font-size: 0.8125rem;
  color: #DC2626;
  display: none;
}
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-input,
.form-group.has-error .form-textarea { border-color: #DC2626; }
.form-success-msg {
  display: none;
  padding: var(--sp-4) var(--sp-5);
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: var(--r);
  color: #065F46;
  font-weight: 600;
  gap: var(--sp-3);
  align-items: center;
}

/* === 18. PRICING NOTE === */
.pricing-note {
  background: var(--warm-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.pricing-table {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
}
.pricing-row__name { font-weight: 600; color: var(--primary); font-size: 0.9375rem; }
.pricing-row__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.pricing-disclaimer { margin-top: var(--sp-4); font-size: 0.8125rem; color: var(--text-muted); }

/* === 19. CTA SECTION === */
.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding-block: var(--sp-16);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/textura-adoquin-romano.webp') center/cover;
  opacity: .04;
}
.cta-section__content { position: relative; z-index: 1; max-width: 900px; margin-inline: auto; }
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.cta-section__lead { color: rgba(255,255,255,.75); margin-bottom: var(--sp-8); font-size: 1.0625rem; }
.cta-section__desc { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin-bottom: 0; }
.cta-section__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* === 20. BREADCRUMBS === */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-block: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border-dark); }
.breadcrumb .current { color: var(--primary); font-weight: 500; }

/* === 21. PAGE HERO (interior pages) === */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding-block: var(--sp-16) var(--sp-12);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,28,34,.0) 50%, rgba(234,88,12,.08) 100%);
  pointer-events: none;
}
.page-hero__label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: var(--sp-4);
}
.page-hero__title span { color: var(--accent); }
.page-hero__lead { font-size: 1.0625rem; color: rgba(255,255,255,.75); margin-bottom: var(--sp-8); }

/* === 22. CONTACT PAGE === */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.contact-info { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-item__label { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: var(--sp-1); }
.contact-item__value { font-weight: 600; color: var(--primary); font-size: 1rem; }
.contact-item__value a { transition: color var(--t-fast); }
.contact-item__value a:hover { color: var(--accent); }
.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--warm-alt);
}
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* === 23. BLOG === */
.blog-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--warm-alt); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { flex: 1; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); }
.blog-card__meta { display: flex; align-items: center; gap: var(--sp-3); font-size: 0.8125rem; color: var(--text-muted); }
.blog-card__date { display: flex; align-items: center; gap: 0.375rem; }
.blog-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--primary); line-height: 1.35; }
.blog-card__excerpt { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.blog-card__link { color: var(--accent); font-weight: 600; font-size: 0.875rem; margin-top: auto; display: inline-flex; align-items: center; gap: var(--sp-2); transition: gap var(--t-fast); }
.blog-card__link:hover { gap: var(--sp-3); }
.blog-card__link svg { width: 16px; height: 16px; }

/* Blog post article */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
}
.article-body h2 { font-size: 1.5rem; margin-top: var(--sp-10); margin-bottom: var(--sp-4); color: var(--primary); }
.article-body h3 { font-size: 1.125rem; margin-top: var(--sp-6); margin-bottom: var(--sp-3); color: var(--primary); }
.article-body p { margin-bottom: var(--sp-5); }
.article-body ul, .article-body ol { margin: var(--sp-4) 0 var(--sp-5) var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-2); }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--primary); }
.article-body .callout {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-6) 0;
}
.article-body table { width: 100%; margin: var(--sp-6) 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.article-body th { background: var(--primary); color: var(--white); padding: var(--sp-3) var(--sp-4); font-size: 0.875rem; text-align: left; }
.article-body td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border); font-size: 0.9375rem; }
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:nth-child(even) td { background: var(--warm-bg); }

/* === 24. FOOTER === */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,.75);
}
.footer-main { padding: var(--sp-12) 0 var(--sp-8); }
.footer-grid {
  display: grid;
  gap: var(--sp-8);
  grid-template-columns: 1fr;
}
.footer-col__title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-about { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-logo { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.footer-logo img { width: 36px; height: 36px; }
.footer-logo__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.footer-tagline { font-size: 0.875rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-link {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.65);
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer-link:hover { color: var(--accent); }
.footer-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.footer-contact { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: 0.9375rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-5) 0;
}
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: 0.8125rem;
  color: rgba(255,255,255,.4);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.footer-legal a { color: rgba(255,255,255,.4); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--accent); }

/* === 25. WHATSAPP FLOATING BUTTON === */
.wa-float {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-float);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.15);
  transition: transform var(--t), box-shadow var(--t);
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(37,211,102,.5), 0 4px 8px rgba(0,0,0,.15); }
.wa-float svg { width: 28px; height: 28px; }

/* === 26. ANIMATIONS === */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
.anim-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.anim-up.visible { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* === 27. UTILITY === */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
  margin: 0;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--accent);
  color: var(--white);
  border-radius: var(--r);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: var(--sp-4); }

/* === 28. RESPONSIVE === */

/* ── MOBILE FIXES (max 767px) ── */
@media (max-width: 767px) {
  /* Protección global de overflow en móvil */
  body { overflow-x: hidden; }
  * { max-width: 100%; }
  img, video, iframe, table { max-width: 100%; }

  /* Email y texto largo: romper en móvil */
  .footer-contact-item a,
  .topbar__link { word-break: break-all; overflow-wrap: anywhere; }

  /* Ocultar topbar en móvil */
  .topbar { display: none; }

  /* Header sticky en móvil */
  .site-header { position: sticky; top: 0; z-index: var(--z-nav); }

  /* Hero sin height fija en móvil, solo min-height */
  .hero { height: auto; min-height: 100svh; min-height: 100vh; padding-bottom: 0; }
  .hero__content { padding-block: 2rem 1.5rem; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }

  /* Centrar todos los section-header en móvil */
  .section-header { text-align: center; }
  .section-header .section-lead { margin-inline: auto; }
  .section-header .btn-group { justify-content: center; }

  /* Secciones con menos padding en móvil */
  .section { padding-block: 3rem; }
  .section-lg { padding-block: 4rem; }

  /* Services: 1 columna en móvil */
  .services-grid { grid-template-columns: 1fr; }

  /* Diff cards: 1 columna */
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card { flex-direction: column; gap: var(--sp-3); }

  /* Coverage split: columna */
  .coverage-split { flex-direction: column; gap: var(--sp-6); }

  /* Galería: 2 columnas */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/8; }

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

  /* Pricing table: 1 columna */
  .pricing-table { grid-template-columns: 1fr; }

  /* Blog: 1 columna */
  .blog-grid { grid-template-columns: 1fr; }

  /* Footer grid: 1 columna centrada */
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-about { align-items: center; }
  .footer-logo { justify-content: center; }
  .footer-links { align-items: center; }
  .footer-contact { align-items: center; }
  .footer-contact-item { justify-content: center; }

  /* Footer bottom: links centrados uno debajo de otro */
  .footer-bottom__inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem;
  }
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { flex-direction: column; }

  /* Process */
  .process-steps { max-width: 100%; }

  /* Grids 2 columnas con inline style → forzar 1 col en móvil */
  .responsive-grid-2 { grid-template-columns: 1fr !important; }

  /* Botones: ancho completo en móvil solo en hero */
  .hero .btn-group { flex-direction: column; align-items: stretch; }
  .hero .btn-group .btn { justify-content: center; }
}

@media (min-width: 640px) {
  .hero__stats-inner { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-table { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .header__cta { display: flex; }
  .nav-toggle { display: none; }
  .contact-grid { flex-direction: row; align-items: flex-start; }
  .contact-info { flex: 0 0 320px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-split { flex-direction: row; gap: var(--sp-10); }
  .coverage-split > * { flex: 1; }
  .process-steps { max-width: 620px; }
  .map-embed iframe { height: 420px; }
  /* Hero: altura exacta del viewport menos topbar(~36px) + header(68px) + 4px buffer */
  .hero {
    height: calc(100vh - 68px);
    height: calc(100svh - 68px);
    min-height: 480px;
  }
}

@media (min-width: 1024px) {
  :root { --gap: 1.75rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .hero__content { padding-block: var(--sp-5) var(--sp-16); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

@media (min-width: 1280px) {
  :root { --container-padding: 2rem; }
  .container { padding-inline: 2rem; }
}

/* === 29. ZONE PAGES === */

/* Zone hero layout — overrides inline styles in zone pages */
.zone-hero {
  position: relative;
  min-height: clamp(560px, 70vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}
.zone-hero__bg { position: absolute; inset: 0; }
.zone-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.zone-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,28,34,.35) 0%, rgba(26,28,34,.88) 100%);
}
.zone-hero > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  padding-block: 2.5rem 4rem;
}
.zone-hero__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.zone-hero .zone-breadcrumb {
  margin-bottom: auto;
  padding-bottom: 2.5rem;
}
.zone-hero__content > div:first-of-type {
  margin-bottom: 1.5rem !important;
}
.zone-hero .hero__title {
  margin-bottom: 1.25rem;
}
.zone-hero__content > p {
  margin-top: 0.5rem !important;
}
.zone-hero__content .btn-group {
  margin-top: 2rem !important;
}

/* Zone-hero: ajuste móvil para mostrar botones en el above-the-fold */
@media (max-width: 767px) {
  .zone-hero { min-height: clamp(360px,62vh,480px) !important; height: auto !important; }
  .zone-hero > .container { flex: none !important; padding-block: 0.75rem 1.5rem !important; }
  .zone-hero__content { flex: none !important; }
  .zone-hero .zone-breadcrumb { margin-bottom: 1rem !important; padding-bottom: 0 !important; }
  .zone-hero__meta { display: none !important; }
  .zone-hero .hero__title { font-size: 1.5rem !important; line-height: 1.1 !important; margin-bottom: 0.75rem !important; }
  .zone-hero__content > p { margin-top: .5rem !important; font-size: 0.9375rem !important; line-height: 1.6 !important; }
  .zone-hero__content .btn-group { margin-top: 1rem !important; flex-direction: column; align-items: stretch; }
  .zone-hero__content .btn-group .btn { justify-content: center; padding-block: 0.7rem !important; }
}

/* Desktop: servicios — quita el margin-bottom:auto de las migas y da aire a los elementos */
@media (min-width: 768px) {
  .zone-hero--full .zone-breadcrumb {
    margin-bottom: 2rem !important;
    padding-bottom: 0 !important;
  }
  .zone-hero--full .zone-hero__content > span:first-of-type {
    padding-top: 3rem !important;
    margin-bottom: 0.5rem !important;
  }
  .zone-hero--full .hero__title {
    margin-bottom: 1.25rem !important;
  }
  .zone-hero--full .zone-hero__content > p {
    margin-top: 0.75rem !important;
  }
  .zone-hero--full .zone-hero__content .btn-group {
    margin-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* Hero que rellena el viewport completo en móvil (servicios + hubs) */
@media (max-width: 767px) {
  .zone-hero--full {
    min-height: calc(100vh - 68px) !important;
    min-height: calc(100svh - 68px) !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .zone-hero--full > .container {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-block: 1.25rem 4.5rem !important;
  }
  .zone-hero--full .zone-hero__content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .zone-hero--full .zone-breadcrumb {
    padding-top: 1.25rem !important;
    margin-bottom: 2rem !important;
    padding-bottom: 0 !important;
  }
  .zone-hero--full .zone-hero__content > span:first-of-type {
    display: block !important;
    margin-bottom: 0.375rem !important;
  }
  .zone-hero--full .hero__title {
    font-size: 1.5rem !important;
    line-height: 1.1 !important;
    margin-top: 0.75rem !important;
  }
  .zone-hero--full .zone-hero__content > p {
    margin-top: 0.75rem !important;
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
  }
  .zone-hero--full .zone-hero__content .btn-group {
    margin-top: auto !important;
    padding-top: 1.5rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .zone-hero--full .zone-hero__content .btn-group .btn {
    justify-content: center !important;
    padding-block: 0.75rem !important;
  }
}

.zone-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.zone-breadcrumb a { color: rgba(255,255,255,.65); transition: color 150ms ease-out; }
.zone-breadcrumb a:hover { color: #fff; }
.zone-breadcrumb [aria-current="page"] { color: rgba(255,255,255,.8); }
.zone-breadcrumb__sep { color: rgba(255,255,255,.3); }

.zone-intro-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .zone-intro-grid { grid-template-columns: 1fr 340px; }
}

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.feature-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 10px;
  color: var(--accent);
  flex-shrink: 0;
}
.feature-item__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
.feature-item__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.feature-item--dark {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}
.feature-item--dark .feature-item__icon {
  background: rgba(234,88,12,.2);
}
.feature-item--dark .feature-item__title { color: #fff; }
.feature-item--dark .feature-item__desc  { color: rgba(255,255,255,.7); }

/* === CONTENT GRID (text + image) === */
.content-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .content-grid--text-img { grid-template-columns: 1fr 1fr; }
  .content-grid--reverse .content-grid__text { order: 2; }
  .content-grid--reverse .content-grid__img  { order: 1; }
}
.content-grid__img img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.content-grid__text p + p { margin-top: 1rem; }

/* === CHECK LIST === */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
}
.check-list__item svg { flex-shrink: 0; color: var(--accent); margin-top: 0.2rem; }

/* === STATS GRID === */
.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat-block {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
}
.stat-block__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-block__unit {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 0.75rem;
}
.stat-block__desc { font-size: 0.875rem; color: rgba(255,255,255,.65); line-height: 1.5; }

/* === ZONE TAGS === */
.zone-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.zone-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--warm-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}
.zone-tag:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }

/* === FAQ BEM VARIANT (service pages) === */
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  cursor: pointer;
  background: var(--white);
  transition: background 150ms ease-out;
  text-align: left;
}
.faq-item__question:hover { background: var(--warm-bg); }
.faq-item__question[aria-expanded="true"] { background: var(--accent-light); }
.faq-item__question[aria-expanded="true"] > span { color: var(--accent); }
.faq-item__question > span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--warm-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease-out, transform 200ms ease-out;
}
.faq-item__icon svg { width: 14px; height: 14px; color: var(--text-muted); transition: color 150ms ease-out; }
.faq-item__question[aria-expanded="true"] .faq-item__icon { background: var(--accent); transform: rotate(180deg); }
.faq-item__question[aria-expanded="true"] .faq-item__icon svg { color: var(--white); }
.faq-item__answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  background: var(--accent-light);
}
.faq-item__answer[aria-hidden="false"],
.faq-item.open .faq-item__answer { display: block; }
.faq-item__answer p { font-size: 0.9375rem; color: var(--text); line-height: 1.75; }

/* === COMPARE GRID === */
.compare-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .compare-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
}
.compare-col { display: flex; flex-direction: column; gap: 1.25rem; }
.compare-col__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}

/* === DIFF GRID / DIFF CARD === */
.diff-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .diff-grid--cols-3 { grid-template-columns: repeat(3, 1fr); } }
.about-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about-split { grid-template-columns: 1fr 1fr; } }
.diff-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.diff-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.diff-card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.diff-card__icon svg { width: 20px; height: 20px; }
.diff-card__title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--primary); }
.diff-card__text  { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }

/* === FINISH GRID / FINISH CARD === */
.finish-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .finish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .finish-grid { grid-template-columns: repeat(4, 1fr); } }
.finish-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--white); }
.finish-card__img { aspect-ratio: 4/3; overflow: hidden; }
.finish-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.finish-card:hover .finish-card__img img { transform: scale(1.04); }
.finish-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.finish-card__title { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--primary); }
.finish-card__text  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,.55);
}

/* ── Mini presupuesto form (home + zona pages) ── */
.mini-form-section { background: #f4f6f9; padding-block: 2.5rem; }
.mini-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid var(--border);
}
.mini-form-card__header { margin-bottom: 1.25rem; }
.mini-form-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 .2rem;
}
.mini-form-card__sub { font-size: .875rem; color: var(--text-muted); margin: 0; }
.mini-form-fields { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) {
  .mini-form-fields { grid-template-columns: 1fr 1fr 1fr 2fr auto; align-items: end; }
}
.mini-form-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.mini-form-input {
  width: 100%;
  padding: .65rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--primary);
  background: #fff;
  transition: border-color .15s;
  box-sizing: border-box;
}
.mini-form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.mini-form-input::placeholder { color: var(--text-light); }
.mini-form-btn {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9375rem;
  padding: .7rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s;
  width: 100%;
}
.mini-form-btn:hover { background: var(--accent-hover); box-shadow: 0 4px 12px rgba(234,88,12,.3); }
.mini-form-btn:disabled { opacity: .7; cursor: not-allowed; }
.mini-form-privacy {
  margin-top: .875rem;
  font-size: .8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.mini-form-privacy a { color: var(--accent); text-decoration: underline; }
.mini-form-success {
  display: none;
  align-items: center;
  gap: .75rem;
  color: #166534;
  background: #dcfce7;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: .9375rem;
}
@media (max-width: 767px) {
  .mini-form-section { padding-block: 1.75rem; }
  .mini-form-card { padding: 1.25rem; }
  .mini-form-fields .mini-form-group:nth-child(n+3) { grid-column: 1 / -1; }
}
