/* ============================================================
   CONSTRUFACH — REFORMA DE VEREDA · HERO (video full screen)
   ============================================================ */

.vereda-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-dark);
  /* Fallback de vereda por si el video no carga */
  background-image: url('../../veredas/ort-vereda.webp');
  background-size: cover;
  background-position: center;
}

/* ── Video de fondo ────────────────────────────────────────── */
.vereda-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scaleX(-1);
}

/* Overlay para legibilidad del texto */
.vereda-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.40) 0%,
      rgba(0, 0, 0, 0.55) 100%
    );
}

/* ── Contenedor de contenido ───────────────────────────────── */
.vereda-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 3rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: min(1280px, 100%);
}

/* Limita el ancho del bloque de texto sobre el video */
.vereda-hero-container > * {
  max-width: 720px;
}

/* ── Lista de servicios ────────────────────────────────────── */
.vereda-hero-services {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

.vereda-hero-services li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  padding: 0.3rem 0.85rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.25s ease, color 0.25s ease;
}

.vereda-hero-services li:hover {
  background: var(--red);
  color: var(--white);
}

/* ── Título ────────────────────────────────────────────────── */
.vereda-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  padding-left: 1.25rem;
  border-left: 4px solid var(--red);
}

.vereda-hero-info {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  padding-left: 1.25rem;
}

/* ── Botones de acción ─────────────────────────────────────── */
.vereda-hero-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-left: 1.25rem;
}

.vereda-hero-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Primer link — relleno rojo */
.vereda-hero-link:first-child {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.vereda-hero-link:first-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.vereda-hero-link:first-child:hover {
  color: var(--red);
}

.vereda-hero-link:first-child:hover::before {
  transform: scaleX(1);
}

.vereda-hero-link:first-child span,
.vereda-hero-link:first-child svg,
.vereda-hero-link:first-child .ico {
  position: relative;
}

/* Segundo link — contorno blanco */
.vereda-hero-link:last-child {
  color: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.vereda-hero-link:last-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.vereda-hero-link:last-child:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.vereda-hero-link:last-child:hover::before {
  transform: scaleX(1);
}

.vereda-hero-link .ico {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.vereda-hero-link:hover .ico {
  transform: translate(3px, -3px);
}

/* ── Accesibilidad ─────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .vereda-hero-container {
    padding: 7rem 1.5rem 3rem;
  }

  .vereda-hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Sin borde rojo ni sangría izquierda en mobile */
  .vereda-hero-title {
    padding-left: 0;
    border-left: 0;
  }

  .vereda-hero-info,
  .vereda-hero-services,
  .vereda-hero-links {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .vereda-hero-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .vereda-hero-link {
    width: 100%;
    justify-content: center;
  }
}
