:root {
  --primary: #024470;
  --text-menu: #a1a1a1;
  --primary-dark: #012f4e;
  --accent: #f6b530;
  --bs-btn-active-bg: #f6b530;
  --light: #f5f7fa;
  --text: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --gradient: linear-gradient(135deg, #024470 0%, #0b5e8a 100%);
  --shadow: 0 20px 50px rgba(2, 68, 112, 0.12);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  padding-top: 62px;
  position: relative;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.navbar {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.4rem;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  color: var(--text-menu);
  font-weight: 700;
  margin-left: 12px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.btn-primary-custom {
  background: var(--accent);
  border: none;
  color: #1b1b1b;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 100px;
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(246, 181, 48, 0.35);
}

.btn-primary-custom:hover,
.btn-primary-custom:active {
  transform: translateY(-3px);
  background: #ffca57;
}

.btn-outline-custom {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600;
}

.btn-outline-custom:hover,
.btn-outline-custom:active {
  background: #fff !important;
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: min(900px, calc(100svh - 62px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient);
  padding-top: 20px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: rgba(246, 181, 48, 0.15);
  border-radius: 50%;
  top: -250px;
  right: -200px;
  filter: blur(30px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -200px;
  left: -150px;
  filter: blur(20px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 18px;
  border-radius: 100px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 1;
  margin-bottom: 24px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 35px;
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.metric {
  margin-bottom: 18px;
}

.metric h2 {
  color: var(--accent);
  font-size: 2.3rem;
  margin-bottom: 0;
}

section {
  padding: 110px 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 760px;
}

.card-modern {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 40px;
  transition: 0.35s ease;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  height: 100%;
}

.card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

.icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(246, 181, 48, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.text-gradient {
  background: linear-gradient(135deg, #024470, #0b5e8a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impact-section {
  background: var(--light);
  position: relative;
}

.impact-number {
  font-size: 4rem;
  color: var(--primary);
  font-weight: 800;
}

.project-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.35s;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-top {
  height: 240px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.project-top::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  background: rgba(246, 181, 48, 0.15);
  border-radius: 50%;
  right: -50px;
  top: -50px;
}

.project-content {
  padding: 35px;
}

.network-section {
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.network-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
}

.glass-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 40px;
  backdrop-filter: blur(16px);
}

.cta-section {
  background: linear-gradient(135deg, #012f4e, #024470);
  color: #fff;
  border-radius: 40px;
  padding: 70px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(246, 181, 48, 0.12);
  right: -100px;
  top: -100px;
}

footer {
  background: #061b2a;
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 40px;
}

.footer-title {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

.floating {
  animation: floating 5s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .cta-section {
    padding: 50px 30px;
  }
}

.manifesto-section {
  background: linear-gradient(135deg, #012f4e 0%, #024470 100%);
  position: relative;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  opacity: 0.5;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.manifesto-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.manifesto-subtitle {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  max-width: 780px;
  margin-inline: auto;
}

.video-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transition: 0.4s ease;
}

.video-card:hover {
  transform: translateY(-8px);
}

.video-thumb {
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  height: 640px;
  object-fit: cover;
  transition: transform 1s ease;
}

.video-card:hover img {
  transform: scale(1.04);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15));
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border: none;
  border-radius: 50%;
  background: rgba(246, 181, 48, 0.95);
  color: #012f4e;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(246, 181, 48, 0.4);
  transition: 0.35s ease;
  z-index: 2;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffca57;
}

.play-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.video-caption {
  position: absolute;
  left: 50px;
  bottom: 50px;
  z-index: 2;
  max-width: 520px;
}

.video-caption h3 {
  font-size: 2.2rem;
  line-height: 1;
}

.bg-black {
  background: #000;
}

@media (max-width: 991px) {
  .video-thumb img {
    height: 420px;
  }

  .play-btn {
    width: 84px;
    height: 84px;
    font-size: 1.8rem;
  }

  .video-caption {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .video-caption h3 {
    font-size: 1.5rem;
  }
}

video {
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

video.playing {
  opacity: 1;
}

.animate {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/*=== BTN WHATSAPP ===*/

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
  will-change: transform;
}

.btn-whatsapp--dark {
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp--soft {
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.12);
}

/* ÃCONES */
.btn-whatsapp i {
  font-size: 1.2rem;
  line-height: 1;
}

/* HOVER */
.btn-whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-whatsapp--dark:hover {
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp--soft:hover {
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.8);
}

/* ACTIVE */
.btn-whatsapp:active {
  transform: translateY(0);
}

.img-book {
  filter: drop-shadow(-15px 15px 20px rgba(0, 0, 0, 0.08));
  transition: 0.3s ease;
}

.img-book:hover {
  filter: drop-shadow(-15px 15px 20px rgba(0, 0, 0, 0.18));
  transform: translateY(-3px);
}
