:root {
  --azul: #013A63;
  --amarillo: #FDC500;
  --celeste: #3FA9F5;
  --turquesa: #0B9B9A;
  --blanco: #ffffff;
  --gris: #f4f8fb;
  --texto: #1d2b36;
  --sombra: 0 22px 45px rgba(1, 58, 99, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--texto);
  background: var(--blanco);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.topbar {
  background: var(--azul);
  color: white;
  font-size: 0.85rem;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 10px 30px rgba(1, 58, 99, 0.08);
}

.nav-content {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 220px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 800;
  color: var(--azul);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--turquesa);
}

.nav-cta {
  background: var(--amarillo);
  padding: 12px 22px;
  border-radius: 30px;
  color: var(--azul) !important;
}

.menu-btn {
  display: none;
  background: var(--azul);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-slider {
  position: relative;
  height: calc(100vh - 115px);
  min-height: 650px;
  overflow: hidden;
  background: var(--azul);
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.9s ease, transform 5s ease, visibility 0.9s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 58, 99, 0.96) 0%, rgba(1, 58, 99, 0.86) 45%, rgba(1, 58, 99, 0.45) 100%),
    radial-gradient(circle at 80% 20%, rgba(253, 197, 0, 0.28), transparent 34%);
}

.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.slide-content span {
  color: var(--amarillo);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.slide-content h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  max-width: 850px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.slide-content p {
  max-width: 710px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 26px;
  border-radius: 40px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--amarillo);
  color: var(--azul);
  box-shadow: 0 15px 28px rgba(253, 197, 0, 0.32);
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-dark {
  background: var(--azul);
  color: white;
}

.btn:hover {
  transform: translateY(-4px);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
}

.slider-arrow:hover {
  background: var(--amarillo);
  color: var(--azul);
}

.prev {
  left: 28px;
}

.next {
  right: 28px;
}

.slider-dots {
  position: absolute;
  z-index: 6;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
}

.dot.active {
  background: var(--amarillo);
  border-color: var(--amarillo);
}

.stats {
  background: var(--gris);
  padding: 0 0 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: -55px;
  position: relative;
  z-index: 20;
}

.stat-card {
  background: white;
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--sombra);
  border-bottom: 6px solid var(--amarillo);
}

.stat-card h3 {
  color: var(--azul);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 48px;
}

.section-title span,
.mini-title {
  display: block;
  color: var(--turquesa);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}

.section-title h2,
.about h2,
.coverage h2 {
  color: var(--azul);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 18px;
}

.section-title p,
.about p,
.coverage p {
  color: #526474;
  line-height: 1.8;
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(1, 58, 99, 0.09);
  transition: 0.25s ease;
  border: 1px solid rgba(1, 58, 99, 0.07);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra);
}

.icon {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(11, 155, 154, 0.12);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--azul);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.service-card p {
  color: #5b6c7a;
  line-height: 1.7;
}

.about {
  background: var(--gris);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.about p + p {
  margin-top: 18px;
}

.about-box {
  background: var(--azul);
  color: white;
  padding: 42px;
  border-radius: 32px;
  box-shadow: var(--sombra);
}

.about-box h3 {
  color: var(--amarillo);
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.about-box li {
  margin: 16px 0;
  font-weight: 700;
}

.commitment {
  background: var(--azul);
  color: white;
}

.section-title.light h2,
.section-title.light p {
  color: white;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.commitment-grid div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  padding: 34px;
}

.commitment-grid h3 {
  color: var(--amarillo);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.commitment-grid p {
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.coverage {
  background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
}

.coverage-box {
  max-width: 850px;
}

.final-cta {
  padding: 85px 0;
  text-align: center;
  background: var(--amarillo);
  color: var(--azul);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.final-cta p {
  max-width: 760px;
  margin: 0 auto 28px;
  font-weight: 600;
  line-height: 1.8;
}

.footer {
  background: #001f35;
  color: white;
  padding: 55px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 35px;
  margin-bottom: 34px;
}

.footer-logo {
  width: 220px;
  background: white;
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.footer p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.footer h4 {
  color: var(--amarillo);
  margin-bottom: 14px;
}

.copy {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    top: 82px;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    box-shadow: 0 20px 35px rgba(1, 58, 99, 0.12);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .stats-grid,
  .services-grid,
  .commitment-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .topbar-content {
    justify-content: center;
    text-align: center;
  }

  .logo {
    width: 170px;
  }

  .hero-slider {
    min-height: 620px;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .section {
    padding: 65px 0;
  }
}