/* ============================================================
   HERO.CSS — permisosmunicipales.cl
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-start;
  background: var(--gris);
  overflow: hidden;
  padding: 0 5vw;
  padding-left: 7vw;
  padding-top: 104px;
}

/* Plano de fondo — oculto, solo fondo gris sólido */
.blueprint-bg { display: none; }

/* Logo hero — centrado en la mitad derecha */
.hero-logo {
  position: absolute;
  left: 75%; top: 50%;
  transform: translate(-50%, -50%);
  width: 38vw;
  max-width: 540px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1024px) { .hero-logo { display: none; } }

/* Logo hero — derecha del hero */
.hero-logo {
  position: absolute;
  left: 75%; top: 50%;
  transform: translate(-50%, -50%);
  width: 38vw;
  max-width: 540px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 1024px) {
  .hero-logo { display: none; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 620px;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 500;
  color: var(--verde-lt);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block; width: 32px; height: 1px;
  background: var(--verde);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--verde-lt);
}

.hero-desc {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(248,249,250,0.7);
  max-width: 520px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: center;
}

/* Stats strip — siempre pegado al fondo */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex;
  border-top: 1px solid var(--verde-20);
}
.stat-item {
  flex: 1; padding: 1.5rem 5vw;
  border-right: 1px solid rgba(0,178,134,0.15);
  background: var(--gris-50);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: var(--verde-lt);
  line-height: 1;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; color: var(--gray-lt);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* iPad */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero { padding: 80px 6vw 180px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-stats { position: relative; flex-wrap: wrap; }
  .stat-item  { flex: 1 1 50%; border-right: none; border-top: 1px solid rgba(0,178,134,0.15); }
}

/* Mobile */
@media (max-width: 480px) {
  .hero { padding: 80px 5vw 160px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; text-align: center; }
  .hero-stats { position: relative; flex-direction: column; }
  .stat-item { padding: 1rem 5vw; }
  .stat-num { font-size: 1.6rem; }
}