/* === BASE === */
:root {
  --brand-1: #ff4d6d;
  --brand-2: #ff8a00;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff !important;
  color: #212529;
  overflow-x: hidden;
}

/* === NAVBAR === */
.bg-gradient {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
}
.navbar {
  transition: all 0.3s ease;
}
.navbar .nav-link {
  padding: 0.6rem 1rem;
  transition: 0.2s;
}
.navbar .nav-link:hover {
  opacity: 0.85;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-overlay h1, .hero-overlay p {
  color: #fff;
}

/* === SEARCH CARD === */
.search-card {
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 6px 12px;
  width: 100%;
  max-width: 520px;
  backdrop-filter: blur(6px);
}
.search-card input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  width: 100%;
  padding: 8px;
}
.search-card input::placeholder {
  color: rgba(255,255,255,0.8);
}
.btn-gradient {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 6px 18px;
}
.btn-gradient:hover {
  opacity: 0.9;
}

/* === ARRIBA HOME === */
.arriba-home {
  background-color: #fff;
}
.arriba-home .search-card {
  background: #f1f1f1;
  color: #333;
}
.arriba-home .search-card input::placeholder {
  color: #777;
}

/* === VIDEO HEADER === */
.video-container .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* === FOOTER === */
.footer {
  background: #fafafa;
  color: #6c757d;
}
.text-gradient {
  background: linear-gradient(90deg,var(--brand-1),var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-circle {
  background: rgba(255,77,109,0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-1);
}
/* === SECTION TITLES === */
.section-title h2 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.section-title p {
  color: #6c757d;
  margin: 0;
}

/* === GRADIENT TEXT === */
.text-gradient {
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === RESEÑAS === */
.card .rounded-circle {
  flex-shrink: 0;
}

/* === FOOTER === */
footer a:hover {
  color: var(--brand-1) !important;
  text-decoration: none;
}
/* HERO video layering */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 72px; /* para que no lo tape el navbar fijo */
}
.video-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-overlay {
  position: relative;
  z-index: 2;
}
.navbar.fixed-top {
  z-index: 10;
}
/* NAV corporativo */
.vf-navbar {
  background: linear-gradient(90deg, #ff4d6d 0%, #ff8a00 100%);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  z-index: 50; /* por encima del vídeo */
}

.vf-navbar .nav-link {
  color: #fff !important;
  margin: 0 .35rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  transition: background .15s ease-out;
}

.vf-navbar .nav-link:hover,
.vf-navbar .nav-link:focus {
  background: rgba(255,255,255,.16);
  color: #fff !important;
}

body {
  padding-top: 0px; /* para que el hero no se meta debajo del menú fijo */
}
section,
.content,
.header,
footer {
  background: #fff;
}

/* Bloque "Tu ciudad, tus planes" */
.impact-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff4d6d, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .5rem;
}

.impact-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: #666;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* Para que el video destaque más */
.ratio video {
  object-fit: cover;
  filter: brightness(0.95) contrast(1.1);
  transition: transform .6s ease;
}
.ratio:hover video {
  transform: scale(1.03);
}
/* --- NAVBAR FIJO CON DEGRADADO --- */
.vf-navbar {
  background: linear-gradient(90deg, #ff4d6d 0%, #ff8a00 100%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  height: 80px;              /* fija la altura */
  display: flex;
  align-items: center;
  z-index: 50;
}

/* el contenedor interior hereda la altura del navbar */
.vf-navbar .container-fluid {
  height: 100%;
  display: flex;
  align-items: center;
}

/* --- LOGO --- */
.vf-navbar .navbar-brand img {
  height: 200px;              /* altura fija, proporcional al navbar */
  width: auto;               /* mantiene proporciones, no deforma */
  max-width: 360px;          /* límite para pantallas grandes */
  object-fit: contain;
}

/* asegura que no crezca el div */
.vf-navbar .navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
}

/* para móviles, reduce suavemente el tamaño */
@media (max-width: 768px) {
  .vf-navbar {
    height: 64px;
  }
  .vf-navbar .navbar-brand img {
    height: 46px;
    max-width: 240px;
  }
}

/* KPI impactantes */
.vf-kpi-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.6rem 1rem 1.4rem;
  box-shadow: 0 14px 45px rgba(255, 77, 109, 0.08);
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.vf-kpi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(255, 77, 109, 0.12);
}
.vf-kpi-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(255,77,109,0.15), rgba(255,138,0,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  color: #ff4d6d;
  font-size: 1.4rem;
}
.vf-kpi-number {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff4d6d, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: .4rem;
}
.vf-kpi-label {
  font-size: 1.85rem;
  color: #6b7280;
  display: flex;
  justify-content: center;
  gap: .35rem;
  align-items: center;
}
@media (max-width: 768px){
  .vf-kpi-number { font-size: 2rem; }
}
.vf-navbar .nav-link {
  transition: all .2s ease-in-out;
}
.vf-navbar .nav-link:hover {
  color: #fff;
  opacity: 0.85;
  transform: translateY(-1px);
}
.text-gradient {
  background: linear-gradient(90deg,#ff4d6d,#ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
