/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #0d1526;
  --bg-alt:      #111e36;
  --bg-card:     #0f1c35;
  --bg-3:        #162444;
  --text:        #e8edf8;
  --text-soft:   #9aaac8;
  --text-mute:   #5c709a;
  --accent:      #f5a623;
  --accent-2:    #e89410;
  --accent-glow: rgba(245,166,35,0.12);
  --wa:          #25d366;
  --wa-2:        #1db954;
  --white:       #ffffff;
  --line:        rgba(232,237,248,0.08);
  --line-strong: rgba(232,237,248,0.14);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.25);
  --shadow-md:   0 8px 40px rgba(0,0,0,0.35);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.45);

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 72px;
  --radius: 14px;
  --gutter: 1.5rem;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .5rem 1rem; background: var(--accent); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 700; font-size: .875rem;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s, opacity .2s;
  min-height: 44px;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(245,166,35,0.3);
}
.btn-accent:hover { background: var(--accent-2); box-shadow: 0 8px 30px rgba(245,166,35,0.45); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-wa:hover { background: var(--wa-2); box-shadow: 0 8px 30px rgba(37,211,102,0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* =============================================================
   5. Navigation
   ============================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 1rem 0;
  background: transparent;
  transition: background .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(13,21,38,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .6rem 0;
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo strong { color: var(--accent); font-weight: 800; }
.logo-icon {
  width: 28px; height: 28px;
  fill: var(--accent);
  stroke: none;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links a {
  padding: .5rem .9rem;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-cta { margin-left: auto; flex-shrink: 0; }
.nav-cta svg { width: 16px; height: 16px; }

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(13,21,38,0.99);
}
.nav-mobile[aria-hidden="false"] { display: flex; }
.nav-mobile ul { display: flex; flex-direction: column; }
.nav-mobile a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile-ctas { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.25rem; }

/* =============================================================
   6. WhatsApp Float
   ============================================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 199;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float-label { display: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.65); animation: none; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 12px rgba(37,211,102,0); }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sagrada Familia centrada con la ciudad y el cielo dorado */
  object-position: center 42%;
  /* Oscurecer para que el texto sea legible, mantener calidez */
  filter: brightness(0.52) contrast(1.12) saturate(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Panel izquierdo — texto legible, imagen respira a la derecha */
    linear-gradient(100deg,
      rgba(8,14,28,0.96) 0%,
      rgba(8,14,28,0.88) 24%,
      rgba(8,14,28,0.50) 48%,
      rgba(8,14,28,0.08) 70%,
      rgba(8,14,28,0.00) 90%
    ),
    /* Vignette inferior — transición suave a siguiente sección */
    linear-gradient(to top,
      rgba(8,14,28,0.99) 0%,
      rgba(8,14,28,0.70) 14%,
      rgba(8,14,28,0.00) 42%
    ),
    /* Vignette superior — bajo la nav */
    linear-gradient(to bottom,
      rgba(8,14,28,0.70) 0%,
      rgba(8,14,28,0.00) 22%
    );
}

/* Color grade — ligero tinte azul marino para cohesión con el tema */
.hero-colorgrade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(8, 14, 40, 0.18);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Globe canvas — eliminado (ya no se usa Three.js) */

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    /* Halo dorado suave sobre la Sagrada Familia — conecta con el acento */
    radial-gradient(ellipse 45% 35% at 60% 55%,
      rgba(245,166,35,0.07) 0%,
      transparent 70%
    ),
    /* Vignette de esquinas para mayor profundidad */
    radial-gradient(ellipse 140% 140% at 50% 50%,
      transparent 50%,
      rgba(8,14,28,0.50) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.kicker-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 14ch;
}
.hero-title em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: var(--text-soft);
  margin-bottom: 2.25rem;
  font-weight: 500;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* =============================================================
   8. Stats bar
   ============================================================= */
.stats-bar {
  position: relative;
  z-index: 4;
  background: var(--bg-alt);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  text-align: center;
  padding: .25rem .5rem;
}

.stat-number {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--line-strong);
}

/* =============================================================
   9. Sections
   ============================================================= */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-kicker {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-sub {
  color: var(--text-soft);
  max-width: 52ch;
  margin-inline: auto;
  font-size: 1rem;
}

/* =============================================================
   10. Services
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245,166,35,0.35);
    box-shadow: 0 16px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(245,166,35,0.08);
  }
}

.service-card--featured {
  border-color: rgba(245,166,35,0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(245,166,35,0.04));
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .25rem .6rem;
  border-radius: 50px;
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-icon--filled { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
}

.service-link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-mute);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .25rem;
}
.service-link:hover { color: var(--accent); }
.service-link--cta { color: var(--accent); }

/* =============================================================
   11. Advantages
   ============================================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.advantage-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(245,166,35,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.advantage-icon svg { width: 20px; height: 20px; }

.advantage-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.advantage-card p { font-size: .9rem; color: var(--text-soft); line-height: 1.6; }

/* =============================================================
   12. About
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text { display: flex; flex-direction: column; gap: 1.1rem; }
.about-text .section-kicker { margin-bottom: 0; }
.about-text .section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0; }

.about-text p { font-size: .95rem; color: var(--text-soft); max-width: 56ch; }

.about-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9rem;
  color: var(--text-soft);
}
.about-list svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: .2rem; }

.about-visual { position: relative; }

.about-photo-placeholder {
  aspect-ratio: 4/5;
  max-height: 480px;
  width: 100%;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-card));
  border: 2px dashed rgba(245,166,35,0.4);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-mute);
  text-align: center;
  padding: 2rem;
}
.about-photo-placeholder svg { width: 48px; height: 48px; opacity: .5; }
.about-photo-placeholder strong { font-size: 1.1rem; font-weight: 700; color: var(--text-soft); }
.about-photo-placeholder span { font-size: .8rem; max-width: 20ch; line-height: 1.5; opacity: .7; }

/* --- Foto real del propietario --- */
.about-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 480px;
  background: var(--bg-3);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,166,35,0.15);
}
.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s var(--ease-out);
}
@media (hover: hover) {
  .about-photo-frame:hover img { transform: scale(1.04); }
}
/* Subtle gradient at bottom to blend with badge */
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(8,14,28,0.5));
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--bg-3);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 12px;
  padding: .875rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-md);
}
.about-badge svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.about-badge strong { display: block; font-size: .875rem; font-weight: 700; color: var(--text); }
.about-badge span { font-size: .75rem; color: var(--text-mute); }

/* =============================================================
   13. Testimonials
   ============================================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stars { font-size: 1rem; color: var(--accent); letter-spacing: .05em; }

.testimonial-card p {
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-card footer { margin-top: auto; }
.testimonial-card cite { font-style: normal; display: flex; flex-direction: column; gap: .2rem; }
.testimonial-card cite strong { font-size: .9rem; font-weight: 700; color: var(--text); }
.testimonial-card cite span { font-size: .8rem; color: var(--text-mute); }

/* =============================================================
   14. Process
   ============================================================= */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  position: relative;
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(245,166,35,0.15);
  letter-spacing: -0.04em;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  line-height: 1;
}

.process-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(245,166,35,0.4);
}
.process-icon svg { width: 24px; height: 24px; }

.process-step h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.process-step p { font-size: .9rem; color: var(--text-soft); max-width: 32ch; }

.process-connector { display: none; }

/* =============================================================
   15. Zone
   ============================================================= */
.zone-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.zone-text { display: flex; flex-direction: column; gap: 1.25rem; }
.zone-text .section-title { margin-bottom: 0; }
.zone-text p { color: var(--text-soft); font-size: .95rem; max-width: 48ch; }

.zone-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.zone-tag-list li {
  padding: .5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: border-color .2s, color .2s;
}
.zone-tag-list li:first-child {
  border-color: rgba(245,166,35,0.4);
  color: var(--accent);
  background: rgba(245,166,35,0.06);
}

/* =============================================================
   16. FAQ
   ============================================================= */
.faq-container { max-width: 780px; }

.faq-list { display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.is-open { border-color: rgba(245,166,35,0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-item.is-open .faq-question { color: var(--accent); }

.faq-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--text-mute);
  transition: transform .3s var(--ease-out), color .2s;
}
.faq-question[aria-expanded="true"] .faq-arrow { color: var(--accent); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.faq-answer[hidden] { display: none; }
.faq-answer p { max-width: 66ch; }

/* =============================================================
   17. Contact
   ============================================================= */
.contact-section {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-3) 100%);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info .section-title { font-size: clamp(1.75rem, 4vw, 2.4rem); margin-bottom: 0; }
.contact-info > p { color: var(--text-soft); font-size: .95rem; }

.contact-details { display: flex; flex-direction: column; gap: .85rem; margin-top: .5rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s;
}
a.contact-item:hover { border-color: rgba(245,166,35,0.35); }

.contact-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item strong { display: block; font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: .1rem; }
.contact-item span { font-size: .8rem; color: var(--text-soft); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 1.75rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .8rem; font-weight: 700; color: var(--text-soft); letter-spacing: .03em; }
.form-optional { font-weight: 500; opacity: .6; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .8rem 1rem;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--text);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c709a' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 18px;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--bg-3); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(245,166,35,0.5);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-mute); }

.form-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--text-mute);
  text-align: center;
  justify-content: center;
}
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }

/* =============================================================
   18. Footer
   ============================================================= */
.footer {
  background: #070e1a;
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo { margin-bottom: .75rem; }

.footer-brand p {
  font-size: .875rem;
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 36ch;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.footer-contact-links a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .2s;
}
.footer-contact-links a:hover { color: var(--accent); }

.footer-nav h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1rem;
}

.footer-nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a {
  font-size: .875rem;
  color: var(--text-soft);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }

.footer-cta-block h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}
.footer-cta-block > p { font-size: .8rem; color: var(--text-mute); margin-bottom: 1rem; }
.footer-cta-block { display: flex; flex-direction: column; gap: .6rem; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  align-items: center;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: var(--text-mute); }
.footer-legal { opacity: .7; }

/* =============================================================
   19. Reveal animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Defensive rule: if element has data-split, don't hide it */
.reveal[data-split] { opacity: 1; transform: none; }

/* Stagger for grid children */
.services-grid .service-card:nth-child(1).reveal  { transition-delay: 0s; }
.services-grid .service-card:nth-child(2).reveal  { transition-delay: .07s; }
.services-grid .service-card:nth-child(3).reveal  { transition-delay: .14s; }
.services-grid .service-card:nth-child(4).reveal  { transition-delay: .21s; }
.services-grid .service-card:nth-child(5).reveal  { transition-delay: .28s; }
.services-grid .service-card:nth-child(6).reveal  { transition-delay: .35s; }

.advantages-grid .advantage-card:nth-child(2).reveal { transition-delay: .08s; }
.advantages-grid .advantage-card:nth-child(3).reveal { transition-delay: .16s; }
.advantages-grid .advantage-card:nth-child(4).reveal { transition-delay: .24s; }

.testimonials-grid .testimonial-card:nth-child(2).reveal { transition-delay: .1s; }
.testimonials-grid .testimonial-card:nth-child(3).reveal { transition-delay: .2s; }

/* Hero split: limitar texto al lado izquierdo en desktop */
@media (min-width: 960px) {
  .hero-title,
  .hero-kicker,
  .hero-sub,
  .hero-ctas {
    max-width: 56%;
  }
}

/* Móvil: Sagrada Familia centrada, overlay uniforme suave */
@media (max-width: 719px) {
  .hero-bg img {
    object-position: 58% 45%;
    filter: brightness(0.88) contrast(1.06) saturate(1.05);
  }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(8,14,28,0.72) 0%,
        rgba(8,14,28,0.35) 25%,
        rgba(8,14,28,0.35) 55%,
        rgba(8,14,28,0.92) 82%,
        rgba(8,14,28,0.99) 100%
      ),
      linear-gradient(90deg,
        rgba(8,14,28,0.80) 0%,
        rgba(8,14,28,0.10) 55%,
        rgba(8,14,28,0.00) 100%
      );
  }
}

/* =============================================================
   20. Responsive — tablet (540px)
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   21. Responsive — tablet landscape (720px)
   ============================================================= */
@media (min-width: 720px) {
  :root { --gutter: 2rem; }

  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-burger { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .process-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
  }
  .process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2.5rem;
    width: 40px;
  }
  .process-connector::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(245,166,35,0.4), rgba(245,166,35,0.1));
    border-radius: 2px;
  }
  .process-step { margin-bottom: 0; }

  .zone-grid { grid-template-columns: 1fr 1.4fr; }
  .about-grid { grid-template-columns: 1.1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
}

/* =============================================================
   22. Responsive — laptop (960px)
   ============================================================= */
@media (min-width: 960px) {
  :root { --gutter: 2.5rem; }
  .section { padding: 6.5rem 0; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   23. Responsive — desktop (1280px)
   ============================================================= */
@media (min-width: 1280px) {
  :root { --gutter: 3rem; }
  .hero-content { padding-bottom: 6rem; }
}

/* =============================================================
   24. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .kicker-dot { animation: none; }
  .wa-float { animation: none; }
}

/* =============================================================
   25. UI/UX Pro Max upgrades — conversion & polish
   ============================================================= */

/* --- Button press scale feedback (CRITICAL: rule touch-target-size) --- */
.btn { touch-action: manipulation; }
.btn:active { transform: translateY(0) scale(0.96); box-shadow: none !important; }

/* --- Nav link animated underline (micro-interaction premium) --- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: .9rem; right: .9rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* --- Service card — enhanced glow on hover --- */
@media (hover: hover) {
  .service-card:hover .service-icon {
    background: rgba(245,166,35,0.22);
    border-color: rgba(245,166,35,0.4);
    transform: scale(1.06);
    transition: transform .25s var(--ease-out), background .25s, border-color .25s;
  }
  .service-card:hover h3 { color: var(--accent); transition: color .25s; }
  .service-card--featured:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(245,166,35,0.12);
  }
}

/* --- Service icon transition --- */
.service-icon { transition: transform .25s var(--ease-out), background .25s, border-color .25s; }

/* --- Advantage card hover --- */
@media (hover: hover) {
  .advantage-card {
    transition: border-color .25s, transform .3s var(--ease-out), box-shadow .3s;
  }
  .advantage-card:hover {
    border-color: rgba(245,166,35,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* --- Testimonial quote decoration --- */
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-quote {
  position: absolute;
  top: -.5rem;
  right: 1rem;
  font-size: 6rem;
  line-height: 1;
  color: rgba(245,166,35,0.08);
  font-family: Georgia, serif;
  font-weight: 900;
  pointer-events: none;
  user-select: none;
  transition: color .3s;
}
.testimonial-card:hover .testimonial-quote { color: rgba(245,166,35,0.14); }

/* --- FAQ smooth max-height animation --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height .35s var(--ease-out), padding .25s var(--ease-out);
}
.faq-answer.is-open {
  max-height: 300px;
  padding-bottom: 1.25rem;
}
.faq-answer[hidden] { display: block !important; } /* override hidden for animation */

/* --- Contact item scale on hover --- */
@media (hover: hover) {
  a.contact-item {
    transition: border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
  }
  a.contact-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
  }
}

/* --- Zone tags hover --- */
.zone-tag-list li {
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease-out);
  cursor: default;
}
@media (hover: hover) {
  .zone-tag-list li:hover {
    border-color: rgba(245,166,35,0.4);
    color: var(--accent);
    background: rgba(245,166,35,0.06);
    transform: translateY(-2px);
  }
}

/* --- About list item hover --- */
.about-list li { transition: color .2s; }
@media (hover: hover) {
  .about-list li:hover { color: var(--text); }
  .about-list li:hover svg { transform: scale(1.2); }
}
.about-list svg { transition: transform .2s var(--ease-out); }

/* --- Stats number shimmer on visible --- */
.stat-number {
  background: linear-gradient(90deg, var(--accent) 0%, #ffd166 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Process step icon pulse on hover --- */
@media (hover: hover) {
  .process-step:hover .process-icon {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(245,166,35,0.5);
    transition: transform .25s var(--ease-out), box-shadow .25s;
  }
}
.process-icon { transition: transform .25s var(--ease-out), box-shadow .25s; }

/* --- Sticky CTA bar (HIGHEST CONVERSION IMPACT for mobile Facebook Ads) --- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 198;
  background: rgba(10,16,32,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-strong);
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  gap: .65rem;
  transform: translateY(100%);
  transition: transform .4s var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { font-size: .875rem; padding: .75rem 1rem; }
.sticky-cta .btn svg { width: 16px; height: 16px; }

/* Hide sticky CTA on desktop (nav phone button is sufficient) */
@media (min-width: 720px) {
  .sticky-cta { display: none; }
}

/* Add bottom padding to body when sticky CTA is visible on mobile */
body.sticky-cta-active .footer { padding-bottom: 5rem; }

/* --- Refined hero title gradient accent --- */
.hero-title em {
  background: linear-gradient(135deg, #f5a623 0%, #ffd166 60%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* --- Section kicker dot decoration --- */
.section-kicker { display: flex; align-items: center; gap: .5rem; justify-content: center; }
.section-kicker::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-kicker::after {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
/* Only apply decorators to centered headers, not inline kickers */
.about-text .section-kicker,
.zone-text .section-kicker,
.contact-info .section-kicker { justify-content: flex-start; }
.about-text .section-kicker::before,
.about-text .section-kicker::after,
.zone-text .section-kicker::before,
.zone-text .section-kicker::after,
.contact-info .section-kicker::before,
.contact-info .section-kicker::after { display: none; }

/* --- Improved form submit button animation --- */
.contact-form button[type="submit"] {
  position: relative;
  overflow: hidden;
}
.contact-form button[type="submit"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform .4s var(--ease-out);
}
.contact-form button[type="submit"]:hover::after { transform: translateX(0); }

/* --- WA float label on desktop --- */
@media (min-width: 960px) {
  .wa-float {
    width: auto;
    border-radius: 50px;
    padding: .75rem 1.25rem;
    gap: .5rem;
    flex-direction: row;
  }
  .wa-float-label {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
  }
  .wa-float svg { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  .service-card:hover .service-icon { transform: none; }
  .advantage-card:hover { transform: none; }
  .process-step:hover .process-icon { transform: none; }
}

/* =============================================================
   26. HERO GLOBE — diseño centrado (reemplaza hero con foto)
   ============================================================= */

/* Override: fondo puro oscuro, sin imagen */
.hero--globe {
  background: var(--bg);
  justify-content: center;
  align-items: center;
}

/* Ocultar capas de foto que ya no se usan */
.hero--globe .hero-bg,
.hero--globe .hero-overlay,
.hero--globe .hero-colorgrade { display: none; }

/* Ambient glow de fondo — gradientes decorativos */
.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 65% 55% at 50% 46%,
      rgba(245,166,35,0.13) 0%,
      rgba(20,50,120,0.24) 46%,
      transparent 72%
    ),
    radial-gradient(ellipse 45% 35% at 18% 70%,
      rgba(20,50,120,0.14) 0%,
      transparent 65%
    ),
    radial-gradient(ellipse 45% 35% at 82% 25%,
      rgba(20,50,120,0.11) 0%,
      transparent 65%
    ),
    radial-gradient(ellipse 110% 50% at 50% 100%,
      rgba(8,14,28,0.97) 0%,
      transparent 55%
    );
  pointer-events: none;
}
/* Anillos decorativos CSS puros (sin Three.js) */
.hero-ambient::before,
.hero-ambient::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-ambient::before {
  width: min(72vw, 640px);
  height: min(72vw, 640px);
  border: 1px solid rgba(245,166,35,0.055);
  animation: ambientPulse 7s ease-in-out infinite alternate;
}
.hero-ambient::after {
  width: min(50vw, 450px);
  height: min(50vw, 450px);
  border: 1px solid rgba(212,216,232,0.045);
  animation: ambientPulse 9s 1.5s ease-in-out infinite alternate;
}
@keyframes ambientPulse {
  from { opacity: 0.5; transform: translate(-50%, -50%) scale(0.97); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.03); }
}

/* Contenido: todo centrado */
.hero--globe .hero-content {
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding-top: 3rem;
  padding-bottom: 5rem;
  max-width: 860px;
  margin-inline: auto;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  border: 1px solid rgba(245,166,35,0.38);
  background: rgba(245,166,35,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  animation: gbFadeDown 0.7s var(--ease-out) both;
}

/* Headline wrapper */
.hero-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: gbFadeUp 0.8s 0.15s var(--ease-out) both;
}

/* "Electricidad, Fontanería y Gas" — ligero, sobre el título */
.hero-eyebrow {
  font-size: clamp(1rem, 2.8vw, 1.7rem);
  font-weight: 300;
  color: rgba(232,237,248,0.60);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.3;
}

/* "en Barcelona." — gran tipografía */
.hero-title-globe {
  font-size: clamp(2.4rem, 7.5vw, 9.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 0.1em;
  white-space: nowrap;
}

/* "Barcelona." — gradiente dorado + italic */
.hero-title-em {
  font-style: italic;
  background: linear-gradient(120deg, #f5a623 0%, #ffd166 45%, #f0960c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(245,166,35,0.35));
}

/* SVG underline animado */
.hero-underline {
  display: block;
  width: clamp(180px, 55vw, 540px);
  height: 18px;
  overflow: visible;
  margin-top: -0.3em;
  margin-bottom: 0.4rem;
}

.hero-underline-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: gbDrawLine 1.5s 0.9s var(--ease-out) forwards;
  filter: drop-shadow(0 0 8px rgba(245,166,35,0.7));
}
@keyframes gbDrawLine { to { stroke-dashoffset: 0; } }

/* Sub texto */
.hero--globe .hero-sub {
  max-width: 52ch;
  text-align: center;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: var(--text-soft);
  line-height: 1.7;
  animation: gbFadeUp 0.8s 0.3s var(--ease-out) both;
}

/* CTAs centrados */
.hero--globe .hero-ctas {
  justify-content: center;
  animation: gbFadeUp 0.8s 0.5s var(--ease-out) both;
}

/* Entry animations */
@keyframes gbFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gbFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop: max-width para que el texto no se extienda demasiado */
@media (min-width: 960px) {
  .hero--globe .hero-title,
  .hero--globe .hero-eyebrow,
  .hero--globe .hero-sub { max-width: 100%; }
  .hero-title-globe { font-size: clamp(5rem, 10vw, 9.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge,
  .hero-headline,
  .hero--globe .hero-sub,
  .hero--globe .hero-ctas { animation: none; opacity: 1; }
  .hero-underline-path { animation: none; stroke-dashoffset: 0; }
}

/* =============================================================
   27b. Colaboración Nedgia / Naturgy en tarjeta gas
   ============================================================= */
.service-collab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.18);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  margin-top: 0.6rem;
  margin-bottom: 0.2rem;
}
.service-collab-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.naturgy-logo-img {
  height: 28px;
  width: auto;
  display: block;
  background: #ffffff;
  border-radius: 4px;
  padding: 3px 8px;
}

/* =============================================================
   27. Certificación oficial — badge inline en About
   ============================================================= */
.cert-badge-inline {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.22);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
}
.cert-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.cert-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.cert-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.cert-text span {
  font-size: 0.74rem;
  color: var(--text-soft);
  line-height: 1.4;
}

/* =============================================================
   28. Proceso — 6 pasos (2 filas × 3 columnas en desktop)
   ============================================================= */

/* Mobile: una columna, sin conectores */
.process-grid--6 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.process-grid--6 .process-connector { display: none !important; }

/* Tablet y desktop: 3 columnas × 2 filas, conectores ocultos */
@media (min-width: 720px) {
  .process-grid--6 {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.8rem 2rem !important;
    align-items: start;
  }
  .process-grid--6 .process-connector { display: none !important; }
  .process-grid--6 .process-step { margin-bottom: 0; }
}

/* Desktop grande: más espacio entre tarjetas */
@media (min-width: 1024px) {
  .process-grid--6 {
    gap: 2rem 3rem !important;
  }
}

/* =============================================================
   29. Zona — card metropolitana + dirección
   ============================================================= */
.zone-address {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  margin: 0.8rem 0 1.4rem;
}
.zone-address svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.zone-metro-card {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.zone-metro-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--accent);
}
.zone-metro-icon svg { width: 24px; height: 24px; }
.zone-metro-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.zone-metro-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.zone-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zone-highlights span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
  color: var(--accent);
  letter-spacing: 0.02em;
}
