/* =============================================================
   V&W ENERGÍAS SUSTENTABLES — Hoja de estilos principal
   styles.css
   ============================================================= */


/* ── RESET & VARIABLES ──────────────────────────────────────── */

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

:root {
  /* Colores de marca */
  --green-dark:   #0d3b2e;
  --green-mid:    #145c43;
  --green-light:  #1e8a5e;
  --green-pale:   #e6f4ef;
  --gold:         #e8a72c;
  --gold-light:   #f5c842;
  --gold-pale:    #fef8e7;
  --white:        #ffffff;

  /* Escala de grises */
  --gray-100:     #f7f8f9;
  --gray-200:     #eaecef;
  --gray-500:     #7a8694;
  --gray-700:     #3d4a56;
  --gray-900:     #111820;

  /* Radios y sombras */
  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    28px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}


/* ── TIPOGRAFÍA ─────────────────────────────────────────────── */

h1,h2,h3,h4 { line-height: 1.15; }
h2 { font-family: 'Playfair Display', serif; }

/* Etiqueta decorativa de sección (ej: "¿Qué hacemos?") */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}


/* ── UTILIDADES DE LAYOUT ───────────────────────────────────── */

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.grid-2     { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3     { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4     { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }


/* ── BOTONES ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,167,44,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}
.btn-dark {
  background: var(--green-dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,59,46,.3);
}


/* ── MENÚ MÓVIL ─────────────────────────────────────────────── */

/* Oculto por defecto en desktop; se activa dentro del media query */
.mobile-menu { display: none; }


/* ── NAVBAR ─────────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}
/* Fondo sólido al hacer scroll (clase añadida por JS) */
#navbar.scrolled {
  background: rgba(13,59,46,.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: .01em;
}
.nav-logo-sub {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 12px; }

/* Botón hamburguesa (solo visible en móvil) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}


/* ── HERO ───────────────────────────────────────────────────── */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-dark);
}

/* Foto de fondo del hero */
#hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/vw_landingpage.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Overlay oscuro sobre la foto para mantener legibilidad del texto */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(13,59,46,.55) 0%, transparent 65%),
    linear-gradient(135deg, rgba(10,46,35,.88) 0%, rgba(13,59,46,.78) 50%, rgba(15,69,53,.70) 100%);
}

/* Rayos de sol decorativos (animados, encima del overlay) */
#hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg, rgba(232,167,44,.06) 10deg,
    transparent 20deg, rgba(232,167,44,.06) 30deg,
    transparent 40deg, rgba(232,167,44,.06) 50deg,
    transparent 60deg, rgba(232,167,44,.06) 70deg,
    transparent 80deg, rgba(232,167,44,.06) 90deg,
    transparent 100deg, rgba(232,167,44,.06) 110deg,
    transparent 120deg, rgba(232,167,44,.06) 130deg,
    transparent 140deg, rgba(232,167,44,.06) 150deg,
    transparent 160deg, rgba(232,167,44,.06) 170deg,
    transparent 180deg, rgba(232,167,44,.06) 190deg,
    transparent 200deg, rgba(232,167,44,.06) 210deg,
    transparent 220deg, rgba(232,167,44,.06) 230deg,
    transparent 240deg, rgba(232,167,44,.06) 250deg,
    transparent 260deg, rgba(232,167,44,.06) 270deg,
    transparent 280deg, rgba(232,167,44,.06) 290deg,
    transparent 300deg, rgba(232,167,44,.06) 310deg,
    transparent 320deg, rgba(232,167,44,.06) 330deg,
    transparent 340deg, rgba(232,167,44,.06) 350deg,
    transparent 360deg
  );
  animation: rotateSun 60s linear infinite;
  pointer-events: none;
}

@keyframes rotateSun { to { transform: rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,167,44,.15);
  border: 1px solid rgba(232,167,44,.3);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  font-weight: 400;
}

/* Panel decorativo derecho del hero (oculto en móvil) */
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48%;
  z-index: 2;
}
.hero-panel-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(5,1fr);
  gap: 4px;
  padding: 80px 0 80px 40px;
  opacity: .25;
}
.panel-cell {
  background: linear-gradient(135deg, #1a6e4e, #0d3b2e);
  border-radius: 4px;
  border: 1px solid rgba(30,138,94,.4);
  position: relative;
  overflow: hidden;
}
.panel-cell::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(30,138,94,.3);
  border-radius: 2px;
}
.hero-globe {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 40vw);
  height: min(420px, 40vw);
}


/* ── TARJETAS FLOTANTES (hero) ──────────────────────────────── */

.floating-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 6s ease-in-out infinite;
}
.floating-card.card-1 {
  bottom: 30%;
  right: 42%;
  animation-delay: -2s;
}
.floating-card.card-2 {
  top: 28%;
  right: 6%;
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.fc-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-text-main { font-size: .85rem; font-weight: 600; color: var(--white); }
.fc-text-sub  { font-size: .72rem; color: rgba(255,255,255,.55); margin-top: 2px; }

/* Indicador de scroll animado */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 3px; height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}


/* ── BARRA DE CONFIANZA (trust bar) ────────────────────────── */

#trust {
  background: var(--green-mid);
  padding: 24px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 500;
}
.trust-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.15);
}


/* ── SERVICIOS ──────────────────────────────────────────────── */

#servicios { background: var(--white); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-header .section-label { justify-content: center; }
.section-header h2 { font-size: clamp(1.9rem,3.5vw,2.7rem); color: var(--green-dark); margin-bottom: 16px; }
.section-header p  { color: var(--gray-500); font-size: 1rem; line-height: 1.7; font-weight: 400; }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
/* Línea de acento inferior que aparece al hacer hover */
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--green-light); }
.service-card:hover .service-icon svg { color: var(--white); }
.service-icon svg { color: var(--green-light); width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.service-card p  { font-size: .9rem; color: var(--gray-500); line-height: 1.65; }
.service-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  background: var(--green-pale);
  color: var(--green-mid);
  font-size: .72rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: .05em;
}


/* ── NOSOTROS ───────────────────────────────────────────────── */

#nosotros { background: var(--gray-100); }
.about-img-wrap { position: relative; }
.about-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  aspect-ratio: 1 / 1.1;
}
.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Badge flotante sobre la foto */
.about-badge {
  position: absolute;
  bottom: 32px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}
.about-badge-icon {
  width: 48px; height: 48px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.about-badge-text { font-size: .78rem; color: var(--gray-500); margin-top: 2px; }
.about-text h2 { font-size: clamp(1.9rem,3vw,2.5rem); color: var(--green-dark); margin-bottom: 20px; }
.about-text p  { color: var(--gray-500); line-height: 1.75; margin-bottom: 16px; font-size: .95rem; }
.value-list { list-style: none; margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.value-item { display: flex; align-items: flex-start; gap: 14px; }
.value-check {
  width: 22px; height: 22px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.value-check svg { width: 12px; height: 12px; color: white; }
.value-text { font-size: .92rem; color: var(--gray-700); line-height: 1.5; }
.value-text strong { color: var(--green-dark); font-weight: 600; }


/* ── PROCESO ────────────────────────────────────────────────── */

#proceso { background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 16px;
}
/* Línea horizontal que conecta los 5 pasos */
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-light), var(--gold));
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: 0 0 0 6px white;
}
.step:hover .step-num { background: var(--green-light); color: var(--white); }
.step h4 { font-size: .95rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.step p  { font-size: .82rem; color: var(--gray-500); line-height: 1.55; }


/* ── COBERTURA ──────────────────────────────────────────────── */

#cobertura {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f4a35 100%);
  position: relative;
  overflow: hidden;
}
#cobertura::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(30,138,94,.25) 0%, transparent 60%);
}
#cobertura .section-label { color: var(--gold); }
#cobertura h2 { color: var(--white); }
.coverage-text p { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.75; margin-bottom: 20px; }
.coverage-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
  transition: var(--transition);
}
.city-chip:hover { background: rgba(232,167,44,.2); border-color: var(--gold); color: var(--gold); }
.city-chip.highlight {
  background: rgba(232,167,44,.15);
  border-color: rgba(232,167,44,.4);
  color: var(--gold);
}
.city-dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.map-visual { position: relative; display: flex; align-items: center; justify-content: center; }


/* ── GARANTÍA ───────────────────────────────────────────────── */

#garantia { background: var(--gold-pale); }
.garantia-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.garantia-icon-wrap { display: flex; align-items: center; justify-content: center; }
.garantia-circle {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(13,59,46,.25);
}
/* Borde punteado animado alrededor del círculo de garantía */
.garantia-circle::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(232,167,44,.4);
  animation: rotateSun 20s linear infinite;
}
.garantia-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.gf-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gf-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gf-icon {
  width: 42px; height: 42px;
  background: var(--green-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gf-icon svg { width: 20px; height: 20px; color: var(--green-light); }
.gf-title { font-size: .9rem; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.gf-desc  { font-size: .8rem; color: var(--gray-500); line-height: 1.5; }


/* ── SECTORES ───────────────────────────────────────────────── */

#sectores { background: var(--white); }
.sector-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/2;
  cursor: default;
  transition: var(--transition);
}
.sector-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.sector-bg {
  position: absolute;
  inset: 0;
}
.sector-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Fallback de color para la card Residencial (sin foto) */
.sector-card:nth-child(3) .sector-bg { background: linear-gradient(135deg,#5c3a1a,#8a6030); }
/* Gradiente oscuro inferior para legibilidad del texto sobre la foto */
.sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.sector-overlay h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.sector-overlay p  { font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.5; }


/* ── CONTACTO ───────────────────────────────────────────────── */

#contacto { background: var(--gray-100); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.7rem,2.5vw,2.2rem); color: var(--green-dark); margin-bottom: 16px; }
.contact-info > p { color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; font-size: .95rem; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.c-item { display: flex; align-items: center; gap: 16px; }
.c-icon {
  width: 48px; height: 48px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-icon svg { width: 20px; height: 20px; color: var(--green-light); }
.c-label { font-size: .72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.c-value { font-size: .95rem; font-weight: 600; color: var(--green-dark); }

/* Formulario de contacto */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group:last-of-type { margin-bottom: 24px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--gray-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  color: var(--gray-900);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(30,138,94,.1);
}
.form-group textarea { height: 120px; }
.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 16px; }


/* ── FOOTER ─────────────────────────────────────────────────── */

footer {
  background: var(--gray-900);
  padding: 60px 0 0;
  color: rgba(255,255,255,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand .tagline {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}
.footer-bottom a { color: var(--gold); text-decoration: none; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,.5);
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--green-dark); }
.social-btn svg { width: 16px; height: 16px; }


/* ── RESPONSIVE — TABLET (≤ 900px) ─────────────────────────── */

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

  /* Menú móvil deslizable desde la derecha */
  .mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--green-dark);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
  }
  .mobile-close {
    position: absolute;
    top: 20px; right: 24px;
    background: none; border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* Colapsar grids a una columna */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .garantia-inner { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .hero-visual  { display: none; }
  .hero-stats   { gap: 24px; }
  .about-badge  { right: 0; }
  .form-row { grid-template-columns: 1fr; }
}


/* ── RESPONSIVE — MÓVIL (≤ 600px) ──────────────────────────── */

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .garantia-features { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; }
  .trust-divider { display: none; }
}


/* ── ANIMACIONES AL HACER SCROLL ────────────────────────────── */

/* Los elementos con .fade-up comienzan invisibles;
   JS añade .visible cuando entran al viewport */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
