
:root{
  --green:#00A990;
  --teal:#007C89;
  --navy:#001F3F;
  --blue:#0A3091;
  --white:#FFFFFF;
  --light:#F4F7F8;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--white);
  background:var(--navy);
}

a{text-decoration:none}

.navbar{
  min-height:82px;
  padding:.45rem 0;
  background:rgba(0,31,63,.98);
  border-bottom:1px solid rgba(0,169,144,.35);
  box-shadow:0 8px 26px rgba(0,0,0,.22);
}

.navbar-brand{
  display:flex;
  align-items:center;
  margin-right:2rem;
  padding:0;
}

.navbar-brand img{
  display:block;
  width:310px;
  height:auto;
  max-height:70px;
  object-fit:contain;
}

.nav-link{
  color:#fff!important;
  font-weight:700;
  padding:.65rem .85rem!important;
}

.nav-link:hover,
.nav-link.active{
  color:#49d6c4!important;
}

.navbar-toggler{
  border-color:rgba(255,255,255,.35);
}

.navbar-toggler-icon{
  filter:invert(1);
}

.btn-dd{
  color:#fff;
  background:var(--green);
  border:2px solid var(--green);
  font-weight:800;
}

.btn-dd:hover{
  color:#fff;
  background:var(--teal);
  border-color:var(--teal);
}

.hero-carousel{
  background:var(--navy);
}

#bannerCarousel{
  width:100%;
  background:var(--navy);
}

#bannerCarousel .carousel-inner{
  width:100%;
  overflow:hidden;
}

#bannerCarousel .carousel-item{
  width:100%;
  background:var(--navy);
}

#bannerCarousel picture{
  display:block;
  width:100%;
}

.banner-img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  filter:none!important;
  background:var(--navy);
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next{
  width:5%;
  min-width:54px;
  opacity:1;
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  background-color:rgba(0,31,63,.82);
  background-size:50%;
  box-shadow:0 4px 14px rgba(0,0,0,.28);
}

#bannerCarousel .carousel-indicators{
  margin-bottom:.45rem;
}

#bannerCarousel .carousel-indicators [data-bs-target]{
  width:32px;
  height:4px;
  border:0;
  border-radius:999px;
  background:#fff;
  opacity:.5;
}

#bannerCarousel .carousel-indicators .active{
  background:var(--green);
  opacity:1;
}

.hero-actions{
  padding:1.2rem 0;
  color:#fff;
  background:linear-gradient(90deg,var(--navy) 0%,var(--blue) 62%,var(--teal) 100%);
  border-top:3px solid var(--green);
}

.hero-actions .eyebrow{
  display:block;
  margin-bottom:.25rem;
  color:#51e0cd;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.hero-actions h1{
  margin:0;
  font-size:clamp(1.5rem,2.7vw,2.55rem);
  font-weight:900;
}

main{
  background:linear-gradient(180deg,#001F3F 0%,#062B55 48%,#0A3091 100%);
}

.section-title{
  color:#fff;
  font-weight:900;
}

.section-kicker{
  color:#51e0cd;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.feature-card{
  height:100%;
  color:var(--navy);
  background:var(--light);
  border:0;
  border-radius:1.25rem;
  box-shadow:0 14px 36px rgba(0,0,0,.16);
  transition:transform .25s ease,box-shadow .25s ease;
}

.feature-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 44px rgba(0,0,0,.22);
}

.icon-box{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  color:var(--green);
  font-size:1.65rem;
  background:rgba(0,169,144,.12);
  border-radius:1rem;
}

.cta-panel{
  color:#fff;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  border:1px solid rgba(255,255,255,.12);
  border-radius:1.5rem;
}

footer{
  color:#fff;
  background:var(--navy);
  border-top:3px solid var(--green);
}

footer a{color:#bdeef0}
footer a:hover{color:#fff}

.floating-whatsapp{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:1050;
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:1.8rem;
  background:#25D366;
  border-radius:50%;
  box-shadow:0 10px 25px rgba(0,0,0,.28);
}

.floating-whatsapp:hover{
  color:#fff;
  transform:scale(1.04);
}

@media (max-width:991.98px){
  .navbar{
    min-height:72px;
  }

  .navbar-brand img{
    width:245px;
    max-height:58px;
  }

  .navbar-collapse{
    padding:.75rem 0 1rem;
  }

  #bannerCarousel .carousel-control-prev,
  #bannerCarousel .carousel-control-next{
    width:8%;
  }

  .hero-actions{
    padding:1rem 0;
  }
}

@media (max-width:575.98px){
  .navbar-brand img{
    width:205px;
    max-height:50px;
  }

  #bannerCarousel .carousel-control-prev,
  #bannerCarousel .carousel-control-next{
    width:12%;
    min-width:42px;
  }

  #bannerCarousel .carousel-control-prev-icon,
  #bannerCarousel .carousel-control-next-icon{
    width:34px;
    height:34px;
  }

  #bannerCarousel .carousel-indicators [data-bs-target]{
    width:23px;
  }

  .hero-actions h1{
    font-size:1.35rem;
  }
}


/* ===== OVERRIDE FINAL: CARRUSEL EXACTO 1440x300 ===== */
.hero-carousel{
  background: var(--navy);
  padding: 0 0 1.25rem;
}

#bannerCarousel{
  max-width: 1440px;
  margin: 0 auto;
  background: var(--navy);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

#bannerCarousel .carousel-inner{
  width: 100%;
}

#bannerCarousel .carousel-item{
  width: 100%;
  background: var(--navy);
}

.banner-img{
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1440 / 300;
  object-fit: contain !important;
  object-position: center center !important;
  background: var(--navy);
}

#bannerCarousel .carousel-control-prev,
#bannerCarousel .carousel-control-next{
  width: 64px;
  opacity: 1;
}

#bannerCarousel .carousel-control-prev-icon,
#bannerCarousel .carousel-control-next-icon{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0,31,63,.75);
  background-size: 48%;
}

#bannerCarousel .carousel-indicators{
  margin-bottom: .55rem;
}

.hero-actions{
  max-width: 1440px;
  margin: 0 auto;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

@media (min-width: 1441px){
  #bannerCarousel{
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }
}

@media (max-width: 991.98px){
  #bannerCarousel{
    max-width: 100%;
  }

  #bannerCarousel .carousel-control-prev,
  #bannerCarousel .carousel-control-next{
    width: 52px;
  }
}

@media (max-width: 767.98px){
  .banner-img{
    aspect-ratio: auto;
  }

  .hero-actions{
    border-radius: 0;
  }
}

@media (max-width: 575.98px){
  #bannerCarousel .carousel-control-prev,
  #bannerCarousel .carousel-control-next{
    width: 42px;
  }

  #bannerCarousel .carousel-control-prev-icon,
  #bannerCarousel .carousel-control-next-icon{
    width: 34px;
    height: 34px;
  }
}


/* ===== NAV DEGRADADO AZUL A BLANCO ===== */
.navbar{
  background: linear-gradient(
    90deg,
    #FFFFFF 0%,
    #F4F7F8 22%,
    #DDE9F2 42%,
    #0A3091 72%,
    #001F3F 100%
  ) !important;
  border-bottom: 2px solid rgba(0,169,144,.45);
  box-shadow: 0 8px 24px rgba(0,31,63,.22);
}

.navbar-brand img{
  filter: none;
}

.nav-link{
  color: #FFFFFF !important;
  text-shadow: 0 1px 2px rgba(0,31,63,.28);
}

.nav-link:hover,
.nav-link.active{
  color: #51E0CD !important;
}

.navbar-toggler{
  border-color: rgba(255,255,255,.45);
}

@media (max-width: 991.98px){
  .navbar{
    background: linear-gradient(
      180deg,
      #FFFFFF 0%,
      #EAF1F6 34%,
      #0A3091 72%,
      #001F3F 100%
    ) !important;
  }

  .navbar-collapse{
    background: rgba(0,31,63,.96);
    border-radius: .75rem;
    margin-top: .65rem;
    padding: .75rem 1rem 1rem;
  }

  .nav-link{
    color:#FFFFFF !important;
  }
}
