/* ============================================================
   ESTEC — styles.css
   Paleta: #081C3A (azul dominante) + #FFCC00 (acento) + #FFFFFF
   Tipografía: Bebas Neue (headlines) + Outfit (cuerpo)
   ============================================================ */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  background: #081C3A;
  overflow-x: hidden;
}

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

/* ---- Variables ---- */
:root {
  --yellow: #FFCC00;
  --blue-deep: #081C3A;
  --blue-mid: #10294F;
  --blue-dark: #050E1F;
  --blue-card: #0D2445;
  --blue-border: #1E4080;
  --white: #ffffff;
  --text-dim: rgba(255,255,255,0.65);
  --text-mid: rgba(255,255,255,0.85);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --transition: 0.22s ease;
  --shadow-card: 0 20px 50px rgba(0,0,0,0.22);
  --shadow-card-soft: 0 12px 28px rgba(0,0,0,0.18);
  --shadow-btn: 0 10px 28px rgba(255,212,83,0.18);
  --shadow-highlight: rgba(255,212,83,0.12);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.accent { color: var(--yellow); }
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--blue-deep);
  margin-bottom: 32px;
  line-height: 1.05;
}
.section-title-light { color: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-yellow {
  background: linear-gradient(90deg, #FFDC51 0%, #FFD453 48%, #F9C535 100%);
  color: var(--blue-deep);
  box-shadow: var(--shadow-btn);
}
.btn-yellow:hover {
  background: linear-gradient(90deg, #FFE280 0%, #FFD453 48%, #F9C535 100%);
  box-shadow: 0 18px 48px rgba(255,212,83,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-outline-dark {
  background: transparent;
  color: var(--blue-deep);
  border: 1.5px solid var(--blue-deep);
}
.btn-outline-dark:hover { background: var(--blue-deep); color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-xl { padding: 20px 48px; font-size: 18px; gap: 12px; }
.btn-yellow.btn-xl {
  box-shadow: 0 22px 60px rgba(8,28,58,0.18), 0 10px 30px rgba(255,212,83,0.12);
}

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal-right { transform: translateX(24px); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--blue-deep);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(8, 28, 58, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.16),
    0 16px 32px rgba(0,0,0,0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.logo-img-footer { height: 36px; }
.logo-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-estec {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--yellow);
  letter-spacing: 0.04em;
}
.logo-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 8px; padding: 10px 22px !important; font-size: 14px !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--blue-deep);
}
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:not(.btn):hover { background: rgba(255,255,255,0.06); color: var(--white); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--blue-deep);
  padding-top: 68px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,212,83,0.10) 0%, transparent 22%),
    radial-gradient(circle at 82% 38%, rgba(16,41,79,0.65) 0%, transparent 42%),
    linear-gradient(180deg, var(--blue-deep) 0%, #081C3A 28%, var(--blue-mid) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 7vh, 68px);
  padding-bottom: clamp(40px, 7vh, 68px);
}

.hero-content { display: flex; flex-direction: column; gap: 20px; }

.hero-title {
  font-size: clamp(58px, 8.5vw, 110px);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.55;
}

.hero-cobertura {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  max-width: 480px;
}
.hero-cobertura svg { flex-shrink: 0; margin-top: 2px; color: var(--yellow); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

/* Hero photo */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--blue-mid);
  box-shadow: var(--shadow-card);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-photo:hover img { transform: scale(1.02); }
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(8,28,58,0.5) 100%);
}
.hero-photo.photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo.photo-fallback::after {
  content: 'FOTO DE OBRA';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.2em;
  color: var(--blue-border);
}

/* ============================================================
   CREDIBILIDAD
   ============================================================ */
.credibilidad {
  background: var(--yellow);
  padding: 0;
}

.credibilidad-strip {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  flex: 1 1 200px;
}
.cred-item svg { color: var(--blue-deep); flex-shrink: 0; }
.cred-item strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--blue-deep);
  line-height: 1;
}
.cred-item span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(8, 28, 58, 0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cred-divider {
  width: 1px;
  background: rgba(8,28,58,0.15);
  align-self: stretch;
  margin: 12px 0;
}

/* ============================================================
   COBERTURA GEO
   ============================================================ */
.cobertura {
  background: var(--white);
  padding: clamp(32px, 5vh, 48px) 0;
}

.cobertura-inner {
  display: grid;
  /* restored original visual proportion: content wider, map reduced */
  grid-template-columns: 60fr 40fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: flex-start;
}

.cobertura .section-title { color: var(--blue-deep); margin-bottom: 20px; }
.cobertura-intro {
  font-size: 17px;
  color: rgba(8,28,58,0.7);
  margin-bottom: 28px;
  max-width: 500px;
}

.cobertura-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  margin-bottom: 24px;
}
.cobertura-lista li {
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cobertura-lista li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.cobertura-extra {
  font-size: 13px;
  color: rgba(8,28,58,0.55);
  font-style: italic;
  padding-top: 4px;
  margin-bottom: 8px; /* reduce white gap below cobertura */
}

/* SVG Mapa */
.cobertura-mapa {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cobertura-mapa svg {
  max-width: 280px;
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(8,28,58,0.15));
}

.mapa-leyenda {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(8,28,58,0.55);
}
.leyenda-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.6px solid var(--blue-deep);
  box-shadow: 0 6px 14px rgba(8,28,58,0.12);
  display: inline-block;
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.problema {
  background: var(--blue-mid);
  padding: clamp(32px, 5vh, 48px) 0;
}

.problema .section-label { color: var(--yellow); display: block; margin-top: 6px; }
.problema .section-title { color: var(--white); margin-top: 18px; }

.problema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.problema-card {
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problema-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.20);
  border-color: rgba(255,212,83,0.14);
}

.problema-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255,204,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--yellow);
}

.problema-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.problema-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

.problema-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.problema-cta p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.03em;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios {
  background: var(--white);
  padding: clamp(32px, 5vh, 48px) 0;
}

.servicios .section-title { color: var(--blue-deep); }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.servicio-card {
  background: var(--blue-deep);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.servicio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0,0,0,0.18);
  border-color: rgba(255,212,83,0.14);
}

.servicio-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(255,204,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
  transition: background var(--transition);
}
.servicio-card:hover .servicio-icon { background: rgba(255,204,0,0.18); }

.servicio-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--white);
  line-height: 1.15;
}

/* ============================================================
   BENEFICIOS
   ============================================================ */
.beneficios {
  background: var(--blue-deep);
  padding: clamp(32px, 5vh, 48px) 0;
}

.beneficios-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: center;
}

.beneficios .section-title { color: var(--white); margin-bottom: 20px; }
.beneficios-intro {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 480px;
}

.beneficios-lista { display: flex; flex-direction: column; }
.beneficios-lista li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: padding-left var(--transition);
}
.beneficios-lista li:last-child { border-bottom: none; }
.beneficios-lista li:hover { padding-left: 8px; }

.beneficio-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--yellow);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}
.beneficio-texto { font-size: 16px; font-weight: 500; color: var(--white); }

/* Beneficios photo */
.beneficios-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--blue-mid);
}
.beneficios-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.beneficios-photo:hover img { transform: scale(1.03); }
.beneficios-photo.photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.beneficios-photo.photo-fallback::after {
  content: 'FOTO DE SISTEMA';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--blue-border);
}

/* ============================================================
   OBRAS REALIZADAS — new asymmetric layout
   ============================================================ */
.obras {
  background: var(--white);
  padding: clamp(32px, 5vh, 48px) 0;
}

.obras .section-label {
  color: var(--blue-deep);
  opacity: 0.5;
}
.obras .section-title { color: var(--blue-deep); }

/* New layout: 2-column grid with left stacked and right full */
.obras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.obras-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Obra featured in left column */
.obra-featured {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-deep);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
.obra-featured:hover { box-shadow: 0 24px 56px rgba(8,28,58,0.22); }

.obra-featured-img {
  position: relative;
  background: var(--blue-mid);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.obra-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.obra-featured:hover .obra-featured-img img { transform: scale(1.03); }
.obra-featured-img.photo-fallback {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.obra-featured-img.photo-fallback::after {
  content: 'FOTO DEL PROYECTO';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--blue-border);
}

.obra-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(8,28,58,0.4) 100%);
}

.obra-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* Tag variants: keep copy in HTML untouched; use modifier classes later
   to remap visual labels (e.g. residencial / comercial / institucional)
   simply by adding .obra-tag--residencial etc. */

.obra-featured-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}
.obra-featured-body h3 { font-size: 22px; color: var(--white); line-height: 1.15; }
.obra-featured-body p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

.obra-location {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  color: var(--yellow) !important;
  font-weight: 600;
}
.obra-location svg { flex-shrink: 0; }

/* Obra card in left column (2nd) and right column */
.obra-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-deep);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.obra-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.20);
}

/* Obra card full height (right column) */
.obra-card-full {
  display: flex !important;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--blue-deep);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.obra-card-full:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.20);
}

.obra-img {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--blue-mid);
  overflow: hidden;
  flex-shrink: 0;
}

/* Special aspect for full-height card image: vertical 9:16 */
.obra-card-full .obra-img {
  aspect-ratio: 9/16;
  flex: 1;
}

.obra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.obra-card-full .obra-img img {
  object-position: center center;
}

.obra-card:hover .obra-img img { transform: scale(1.04); }
.obra-card-full:hover .obra-img img { transform: scale(1.04); }

.obra-img.photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
}
.obra-img.photo-fallback::after {
  content: 'FOTO DEL PROYECTO';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--blue-border);
}

.obra-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.obra-body h3 { font-size: 20px; color: var(--white); line-height: 1.2; }
.obra-body p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }

/* Increase copy density for full-height card to reduce empty space */
.obra-card-full .obra-body p { font-size: 15px; }

.obra-card-full .obra-body {
  padding: 28px;
}
.obra-card-full .obra-body h3 { font-size: 24px; line-height: 1.15; }

.obras-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   POR QUÉ ELEGIR ESTEC
   ============================================================ */
.por-que-estec {
  background: var(--blue-mid);
  padding: clamp(32px, 5vh, 48px) 0;
}

.por-que-estec .section-title { color: var(--white); }

.pqe-subtitulo {
  font-size: 18px;
  color: var(--text-dim);
  margin-top: -28px;
  margin-bottom: 32px;
}

.pqe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pqe-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--blue-card);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition);
}
.pqe-item:hover {
  border-color: rgba(255,212,83,0.13);
  transform: translateY(-3px);
}

.pqe-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255,204,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}

.pqe-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
  
}
.pqe-item p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ============================================================
   PROCESO — metodología visual de ejecución
   ============================================================ */
.proceso {
  background: #eef0f4;
  padding: clamp(32px, 5vh, 48px) 0;
}

.proceso .section-label { color: rgba(8,28,58,0.45); }
.proceso .section-title { color: var(--blue-deep); }

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}

.proceso-ticket {
  position: relative;
  padding-left: 36px;
}

.ticket-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(255,204,0,0.35);
}

.ticket-num {
  position: absolute;
  top: -14px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(255,204,0,0.4);
}

.ticket-card {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  border: 1.5px solid #dde1ec;
  padding: 28px 36px 28px 50px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(8,28,58,0.07);
  -webkit-mask-image: radial-gradient(circle 32px at 0 50%, transparent 32px, black 33px);
  mask-image: radial-gradient(circle 32px at 0 50%, transparent 32px, black 33px);
}

.ticket-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--blue-deep);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.ticket-content p {
  font-size: 14px;
  color: rgba(8,28,58,0.58);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--blue-deep);
  padding: clamp(32px, 5vh, 48px) 0;
}

.faq .section-label { color: var(--yellow); }
.faq .section-title { color: var(--white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(255,212,83,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--blue-card);
}

.faq-item { border-bottom: 1px solid rgba(255,212,83,0.1); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-card);
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: rgba(255,212,83,0.08); }
.faq-item.open .faq-question { background: rgba(255,212,83,0.12); color: var(--white); }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 20px 28px 28px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  text-align: justify;
  background: var(--blue-card);
}

/* When an item is open, present the answer on white for better legibility */
.faq-item.open .faq-answer p {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-card-soft);
}

/* FAQ cierre de conversión — HIDDEN */
.faq-cierre {
  display: none;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.16) 28%, transparent 58%),
    linear-gradient(180deg, #ffd84a 0%, var(--yellow) 54%, #f2bd00 100%);
  padding: clamp(48px, 8vh, 80px) 0;
  overflow: hidden;
  text-align: center;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 36%, rgba(255,255,255,0.36) 0%, transparent 24%),
    radial-gradient(circle at 78% 64%, rgba(8,28,58,0.12) 0%, transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,0.18), transparent 18%, transparent 82%, rgba(255,255,255,0.18));
  pointer-events: none;
  z-index: 0;
}

.cta-final::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(680px, 82vw);
  height: min(680px, 82vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.08) 34%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(8,28,58,0.045) 39px, rgba(8,28,58,0.045) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(8,28,58,0.045) 39px, rgba(8,28,58,0.045) 40px);
  opacity: 0.58;
  z-index: 0;
}

.cta-inner { position: relative; z-index: 1; }

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(8,28,58,0.14);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  box-shadow: 0 10px 30px rgba(8,28,58,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}

.cta-title {
  font-size: clamp(48px, 7vw, 88px);
  color: var(--blue-deep);
  line-height: 1;
  text-shadow: 0 12px 34px rgba(8,28,58,0.12);
}
.cta-title .accent { color: var(--blue-deep); }
.cta-sub { font-size: 18px; color: rgba(8,28,58,0.72); max-width: 520px; }

.cta-final .btn-yellow {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: 0 14px 36px rgba(8,28,58,0.28), 0 0 0 1px rgba(255,255,255,0.18) inset;
}

.cta-final .btn-yellow:hover {
  background: var(--blue-mid);
  box-shadow: 0 18px 46px rgba(8,28,58,0.36), 0 0 0 1px rgba(255,255,255,0.22) inset;
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(8,28,58,0.62);
}
.cta-trust span:nth-child(even) { opacity: 0.4; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.7;
}

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a, .footer-col span {
  font-size: 13px;
  color: var(--text-dim);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-keywords { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 500; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .pqe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(52px, 12vw, 80px); }

  .cobertura-inner { grid-template-columns: 1fr; }
  .cobertura-mapa { order: -1; }
  .cobertura-mapa svg { max-width: 200px; }

  .beneficios-inner { grid-template-columns: 1fr; }
  .beneficios-visual { display: none; }

  .obra-featured { grid-template-columns: 1fr; }

  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero {
    min-height: auto;
    padding-top: 68px;
    padding-bottom: 28px;
  }
  .hero-inner {
    padding-top: 28px;
    padding-bottom: 0;
    gap: 24px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .hero-title { font-size: clamp(42px, 10vw, 58px); }
  .hero-subtitle,
  .hero-cobertura {
    max-width: 100%;
  }
  .hero-ctas {
    width: 100%;
    justify-content: center;
  }
  .hero-visual { display: block; width: 100%; }
  .hero-photo {
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 4 / 3.2;
  }

  .problema-grid { grid-template-columns: 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }
  .obras-grid { grid-template-columns: 1fr; }
  .pqe-grid { grid-template-columns: 1fr; }
  .proceso-grid { grid-template-columns: 1fr; }

  .faq-question { padding: 18px 20px; font-size: 15px; }
  .faq-answer p { padding: 16px 20px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }

  .cta-final {
    padding: 40px 0 44px;
  }
  .cta-content {
    gap: 16px;
    align-items: center;
    text-align: center;
  }
  .cta-title {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 0.95;
  }
  .cta-sub {
    font-size: 16px;
    max-width: 100%;
  }
  .cta-final .btn-xl {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
  .cta-trust {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
  }
  .cta-trust span:nth-child(even) { display: none; }

  .credibilidad-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    padding: 16px 0;
  }
  .cred-item {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    min-height: 110px;
    border-radius: 14px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(8,28,58,0.12);
  }
  .cred-divider { display: none; }

  .whatsapp-fab { display: flex; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .btn-xl { padding: 17px 28px; font-size: 16px; }
  .cobertura-lista { grid-template-columns: 1fr; }
  .faq-cierre { padding: 36px 24px; }
  .obra-featured-body { padding: 24px; }
}
