/* =============================================
   HOME — PALETA AZUL NOCHE / DORADO
   Transmite: confianza, profesionalidad, seguridad
   Diferente a las páginas de zona (negro/amarillo urgente)
   ============================================= */

:root {
  --navy: #0F1F38;
  --navy-mid: #162844;
  --navy-light: #1E3657;
  --gold: #C9A84C;
  --gold-light: #DFC078;
  --gold-dark: #A8873A;
  --off-white: #F8F7F4;
  --warm-grey: #EAE8E3;
  --text-muted: #8A9BB5;
  --text-light: #CBD5E8;
}

.home-body { background: var(--off-white); }

/* NAV HOME */
.home-nav {
  background: var(--navy);
  border-bottom: 1px solid var(--navy-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(15,31,56,0.3);
}
.home-logo {
  font-weight: 900;
  font-size: 18px;
  color: var(--off-white);
  white-space: nowrap;
}
.home-logo span { color: var(--gold); }

.home-nav .nav-links a { color: var(--text-light); }
.home-nav .nav-links a:hover { color: var(--off-white); }

.home-nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.2s;
}
.home-nav-cta:hover { background: var(--gold-light); }

/* HERO HOME */
.home-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: var(--off-white);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.home-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
}

.home-badge {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

.home-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
  color: var(--off-white);
}
.home-h1 em {
  font-style: italic;
  color: var(--gold);
}

.home-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 520px;
}

.home-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.home-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}
.home-btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.home-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--off-white);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.home-btn-secondary:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

.home-trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.home-trust-item svg { color: var(--gold); flex-shrink: 0; }

/* CARD HERO */
.home-hero-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 2rem;
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(15,31,56,0.3);
  text-align: center;
}
.home-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.home-card-phone {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  transition: color 0.2s;
  text-decoration: none;
}
.home-card-phone:hover { color: var(--gold-dark); }
.home-card-divider {
  height: 1px;
  background: var(--warm-grey);
  margin: 1rem 0;
}
.home-card-text {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.home-card-wa {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-wa-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.home-card-wa:hover { color: var(--green-wa); }

@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-card { max-width: 400px; }
}

/* SECCIONES HOME */
.home-section { padding: 4.5rem 1.5rem; }
.home-section-light { background: var(--off-white); }
.home-section-dark {
  background: var(--navy);
  padding: 4.5rem 1.5rem;
}

.home-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.home-label-gold { color: var(--gold); }

.home-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.home-title-light { color: var(--off-white); }

.home-section-sub {
  font-size: 16px;
  color: var(--grey-text);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.65;
}
.home-sub-muted { color: var(--text-muted); }

/* SERVICIOS GRID HOME */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.home-service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--navy);
  text-decoration: none;
}
.home-service-card:hover {
  box-shadow: 0 4px 20px rgba(15,31,56,0.1);
  transform: translateY(-2px);
}
.home-service-icon { font-size: 36px; margin-bottom: 1rem; display: block; line-height: 1; }
.home-service-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 0.6rem; color: var(--navy); letter-spacing: -0.3px; line-height: 1.25; }
.home-service-card p { font-size: 14px; color: var(--grey-text); margin-bottom: 1rem; line-height: 1.6; }
.home-service-link { font-size: 13px; font-weight: 700; color: var(--gold-dark); }

/* PREMIUM GRID */
.home-premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.home-premium-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.home-premium-icon { font-size: 36px; margin-bottom: 1rem; display: block; line-height: 1; }
.home-premium-card h3 { font-size: 16px; font-weight: 800; color: var(--gold); margin-bottom: 0.6rem; letter-spacing: -0.2px; }
.home-premium-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.home-premium-cta {
  text-align: center;
  padding-top: 1rem;
}
.home-premium-cta p { color: var(--text-light); font-size: 15px; margin-bottom: 1.25rem; }

/* Tarjetas informacionales clicables */
.home-premium-link {
  display: block;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.home-premium-link:hover {
  border-color: rgba(201,168,76,0.3);
  background: var(--navy-mid);
  transform: translateY(-2px);
}
.home-premium-cta-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 0.75rem;
}

.home-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background 0.2s;
  text-decoration: none;
}
.home-btn-gold:hover { background: var(--gold-light); }

/* ABOUT */
.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.home-about-text p {
  font-size: 16px;
  color: var(--grey-text);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.home-about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.home-stat {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}
.home-stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.home-stat-label { font-size: 13px; color: var(--grey-text); line-height: 1.4; }

@media (max-width: 768px) {
  .home-about { grid-template-columns: 1fr; gap: 2rem; }
}

/* RESEÑAS HOME */
.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.home-review {
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.home-review-stars { color: var(--gold-dark); font-size: 15px; margin-bottom: 0.75rem; letter-spacing: 2px; }
.home-review p { font-size: 15px; color: var(--grey-text); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.home-review-author { font-size: 13px; font-weight: 700; color: var(--navy); }

/* ZONAS HOME */
.home-zones-dropdown .zones-dropdown-toggle {
  background: rgba(15,31,56,0.06);
  border: 1px solid rgba(15,31,56,0.15);
  color: var(--navy);
}
.home-zones-dropdown .zones-dropdown-toggle:hover {
  background: rgba(15,31,56,0.1);
}

.home-zone-pill {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.home-zone-pill:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); }
.home-zone-muted { color: #aaa; cursor: default; border-style: dashed; }

.zones-grid.zones-grid-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* FAQ HOME */
.home-faq { max-width: 720px; }

/* CTA FINAL HOME */
.home-cta-final {
  background: var(--navy);
  color: var(--off-white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.home-cta-final h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--off-white);
  margin-bottom: 0.75rem;
}
.home-cta-final p { color: var(--text-muted); font-size: 16px; margin-bottom: 2rem; }

/* RESPONSIVE */
@media (max-width: 600px) {
  .home-hero { padding: 3rem 1rem 2.5rem; }
  .home-h1 { font-size: 2.5rem; }
  .home-ctas { flex-direction: column; }
  .home-btn-primary, .home-btn-secondary { justify-content: center; }
  .home-section { padding: 3rem 1rem; }
  .home-section-dark { padding: 3rem 1rem; }
  .home-cta-final { padding: 3rem 1rem; }
}

/* GALERÍA DE TRABAJOS */
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.home-gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--warm-grey);
}
.home-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.home-gallery-item:hover img { transform: scale(1.04); }
.home-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15,31,56,0.85));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 1.5rem 0.75rem 0.6rem;
}

/* PARA QUIÉN GRID */
.home-quien-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.home-quien-card {
  background: var(--white);
  border: 1px solid var(--warm-grey);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-quien-card:hover {
  box-shadow: 0 4px 20px rgba(15,31,56,0.1);
  transform: translateY(-2px);
}
.home-quien-icon { font-size: 32px; margin-bottom: 0.75rem; display: block; }
.home-quien-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.home-quien-card p { font-size: 13px; color: var(--grey-text); line-height: 1.6; margin-bottom: 1rem; }
.home-quien-cta { font-size: 13px; font-weight: 700; color: var(--gold-dark); text-decoration: none; }
.home-quien-cta:hover { color: var(--gold); }
