/********** Template CSS **********/
:root {
    --primary: #033442;
    --secondary: #c5d9ec;
    --light: #ca845c;
    --dark: #040F28;
}

.text-primary {
    color: var(--primary) !important;
}

.text-light {
    color: var(--light) !important;
}

.bg-light {
   background: rgba(197, 217, 236, 0.3) !important;
}


.bg-primary{
    background: var(--primary) !important;
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.bg-light-radial{
     background: var(--secondary) !important;
}


.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/polar.png) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: -90px;
    }
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}
    
/* --- Estilos generales --- */
#pricing {
  padding: 60px 0;
}

.pricing-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.pricing-item .ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: #ffeb3b;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 20px;
  border-bottom-left-radius: 10px;
}

.pricing-item h3 {
  color: #003366;
  font-weight: 500;
  margin-bottom: 10px;
}

.pricing-item p {
  color: #777;
  margin-bottom: 25px;
}

.pricing-item .pricing-price {
  font-size: 28px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 20px;
}

.pricing-item ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-item ul li {
  color: #003366;
  padding: 5px 0;
  font-size: 15px;
}

.pricing-item ul li.price-not {
  text-decoration: line-through;
  color: #999;
}

.choose-btn {
  display: inline-block;
  background: #ffeb3b;
  color: #003366;
  font-weight: bold;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.choose-btn:hover {
  background: #fff;
  color: #003366;
  border: 2px solid #003366;
}

/* --- Hover Card Azul --- */
.pricing-item:hover {
  background: #003366;
  color: #fff;
  transform: translateY(-8px);
}

.pricing-item:hover h3,
.pricing-item:hover .pricing-price,
.pricing-item:hover ul li {
  color: #fff;
}

.pricing-item:hover .price-not {
  color: #ccc;
  text-decoration-color: #ccc;
}

.pricing-item:hover .choose-btn {
  background: #fff;
  color: #003366;
}

/* --- Card activa (Popular) --- */
.pricing-item.active {
  background: #003366;
  color: #fff;
}

.pricing-item.active h3,
.pricing-item.active .pricing-price,
.pricing-item.active ul li {
  color: #fff;
}

.pricing-item.active .choose-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* CONTENEDOR SOBRE EL SLIDER */
.stats-container {
    position: relative;
    margin-top: -80px; /* Ajusta qué tanto se sube */
    z-index: 10;
}

/* ===============================
   🎯 BOTÓN PERSONALIZADO GLOBAL
================================ */
.btn-custom {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), #044d5f);
    color: #fff;
    padding: 14px 35px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    color: #fff;
}

.btn-custom::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
}

.btn-custom:hover::after {
    left: 120%;
    transition: 0.7s;
}


/* ===============================
   🎯 SERVICIOS (CARDS MODERNAS)
================================ */
.service-item {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: none;
    background: #fff;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* IMAGEN */
.service-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY */
.service-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 220px;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(3,52,66,0.7), rgba(3,52,66,0.1));
    z-index: 1;
}

/* ICONO */
.service-icon {
    margin-top: -30px;
    z-index: 2;
    border-radius: 50%;
    padding: 15px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-icon i {
    color: var(--primary);
}

/* CONTENIDO */
.service-item .px-4 {
    z-index: 2;
    position: relative;
}

.service-item h4 {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.service-item p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* BOTÓN */
.service-item .btn {
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.service-item .btn::after {
    content: "";
    width: 0%;
    height: 2px;
    background: var(--primary);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}

.service-item .btn:hover::after {
    width: 100%;
}


/* ===============================
   🎯 TITULOS GENERALES
================================ */
.text-center h1 {
    font-weight: 800;
    color: var(--primary);
}

.text-center span {
    color: #009675 !important;
}


/* ===============================
   🎯 ABOUT (QUIENES SOMOS)
================================ */
.about-section {
    background: #f5f7fa;
}

.about-section h1 {
    color: var(--primary);
    font-weight: 800;
}

.about-section h4 {
    color: #009675;
    font-weight: 600;
}

.about-section p {
    color: #6c757d;
    line-height: 1.6;
}

/* CHECK */
.about-section .fa-check {
    background: rgba(0,150,117,0.1);
    padding: 8px;
    border-radius: 50%;
    color: #009675 !important;
}

/* IMAGEN */
.about-img-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
    transition: 0.4s;
}

.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3,52,66,0.4), rgba(3,52,66,0.1));
    z-index: 1;
}

.about-img-container:hover {
    transform: scale(1.02);
}

/* DIVIDER */
.about-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #009675, var(--primary));
    margin: 10px auto 30px auto;
    border-radius: 5px;
}


/* ===============================
   🎯 CONTACTO (FORM MODERNO)
================================ */
.contact-section h1 {
    color: var(--primary);
    font-weight: 800;
}

.contact-section p {
    color: #6c757d;
}

/* CARD FORM */
.contact-form-box {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* INPUTS */
.contact-form-box .form-control {
    border-radius: 12px;
    border: none;
    background: #f1f5f9;
    padding: 15px;
    transition: 0.3s;
}

.contact-form-box .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,150,117,0.2);
}

/* BOTÓN FORM */
.contact-form-box .btn {
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary), #044d5f);
    border: none;
}

.contact-form-box .btn:hover {
    background: linear-gradient(45deg, #02242d, var(--primary));
}


/* ===============================
   🎯 RESPONSIVE
================================ */
@media (max-width: 768px) {
    .service-item img {
        height: 180px;
    }

    .about-img-container {
        margin-top: 20px;
    }
}



.carousel-caption {
    background: transparent !important;
}

.stats-container {
    position: relative;
    margin-top: -40px;
    z-index: 10;
}

.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

/* ANIMACIÓN INICIAL (oculto) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* CUANDO APARECE */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* TEXTO */
.stats-card h2 {
    font-weight: 700;
    color: #0d2b4d;
}

.stats-card p,
.stats-card h5 {
    margin: 0;
    font-weight: 600;
    color: #0d2b4d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .stats-container {
        margin-top: 20px;
    }
}
/* CONTENEDOR DEL CAROUSEL */
#header-carousel {
    border-radius: 20px;
    overflow: hidden; /* CLAVE para que la imagen respete bordes */
}

/* IMÁGENES */
#header-carousel img {
  width: 100%;
    height: cover ;
}

/* OPCIONAL: sombra para efecto premium */
#header-carousel {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    background: #f5f7fa; /* fondo gris claro */
}

.container {
    max-width: 1500px;
}

.btn-custom {
    display: inline-block;
    background: linear-gradient(45deg,  #033441, #033442);
    color: #fff;
    padding: 14px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* HOVER */
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    color: #fff;
}

/* EFECTO BRILLO */
.btn-custom::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
}

.btn-custom:hover::after {
    left: 120%;
    transition: 0.7s;
}

/* CARD BASE */
.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* HOVER PRINCIPAL */
.stats-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* EFECTO DE BORDE ANIMADO */
.stats-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #c5d9ec, #033442);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stats-card:hover::before {
    transform: scaleX(1);
}

/* CAMBIO DE COLOR DE TEXTO */
.stats-card:hover h2,
.stats-card:hover p,
.stats-card:hover h5 {
    color: #009675;
}

/* CONTENEDOR PARALLAX */
.parallax-section {
    /* height: 100vh;  pantalla completa */
    height: 400px;  
    background-image: url('../img/pollution-3441119_1280.jpg'); /* cambia tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 🔥 efecto parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* CAPA OSCURA (para que el texto se vea mejor) */
.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* CONTENIDO */
.parallax-content {
    position: relative;
    color: #fff;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.parallax-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
}

.parallax-content p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* CONTENEDOR GENERAL */
.service-item {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: none;
}

/* HOVER GENERAL */
.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* IMAGEN */
.service-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ZOOM IMAGEN */
.service-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY AZUL */
.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: linear-gradient(180deg, rgba(3,52,66,0.7), rgba(3,52,66,0.1));
    z-index: 1;
}

/* ICONO */
.service-icon {
    margin-top: -30px;
    z-index: 2;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-icon i {
    color: #033441;
}

/* CONTENIDO */
.service-item .px-4 {
    z-index: 2;
    position: relative;
}

/* TITULO */
.service-item h4 {
    font-weight: 700;
    color: #033441;
    font-size: 1.1rem;
}

/* TEXTO */
.service-item p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* BOTÓN */
.service-item .btn {
    font-weight: 600;
    color: #033441;
    position: relative;
}

/* EFECTO BOTÓN */
.service-item .btn::after {
    content: "";
    width: 0%;
    height: 2px;
    background: #033441;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s;
}

.service-item .btn:hover::after {
    width: 100%;
}

/* HEADER */
.text-center h1 {
    font-weight: 800;
    color: #033441;
}

.text-center span {
    color: #009675 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .service-item img {
        height: 180px;
    }
}

/* SECCIÓN GENERAL */
.about-section {
    background: #f5f7fa;
}

/* TÍTULOS */
.about-section h1 {
    color: #033441;
    font-weight: 800;
}

.about-section h4 {
    color: #009675;
    font-weight: 600;
}

/* TEXTO */
.about-section p {
    color: #6c757d;
    line-height: 1.6;
}

/* LISTA CHECK */
.about-section .fa-check {
    background: rgba(0,150,117,0.1);
    padding: 8px;
    border-radius: 50%;
    color: #009675 !important;
}

/* CONTENEDOR IMAGEN */
.about-img-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
}

/* IMAGEN */
.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* EFECTO OVERLAY */
.about-img-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(3,52,66,0.4), rgba(3,52,66,0.1));
    z-index: 1;
}

/* EFECTO HOVER */
.about-img-container:hover {
    transform: scale(1.02);
    transition: 0.4s ease;
}

/* ICONO CENTRAL */
.about-icon {
    margin-top: 20px;
    opacity: 0.9;
}

/* DIVISOR */
.about-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #009675, #033441);
    margin: 10px auto 30px auto;
    border-radius: 5px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-img-container {
        margin-top: 20px;
    }
}
/* TESTIMONIAL */
.testimonial {
    border-radius: 20px;
}

.testimonial-carousel .row {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.testimonial-carousel .row:hover {
    transform: scale(1.02);
}

.testimonial h4 {
    color: var(--primary);
    font-weight: 700;
}

.testimonial p {
    color: #6c757d;
}
.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.btn-primary:hover {
    background: #c5d9ec; /* más oscuro */
    transform: translateY(-2px);
}

/* CONTACTO */
.contact-box {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-box input,
.contact-box textarea {
    border-radius: 10px;
    background: #f5f7fa;
    transition: 0.3s;
}

.contact-box input:focus,
.contact-box textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,150,117,0.2);
}

/* TOPBAR */
.topbar-custom {
    background: #ffffff;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
}

/* NAVBAR */
.navbar-custom {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* LOGO */
.logo-navbar {
    height: 55px;
}

/* LINKS */
.navbar .nav-link {
    color: #033441 !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: 0.3s;
}

/* HOVER elegante */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #009675;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

/* ACTIVO */
.navbar .nav-link.active {
    color: #009675 !important;
}

/* DROPDOWN */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* MOBILE */
.navbar-toggler {
    border: none;
}

.navbar-custom {
    background: var(--secondary) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* FOOTER */
.footer-custom {
    background: var(--secondary);
    color: #033441;
}

.footer-custom h1,
.footer-custom h4 {
    color: #033441;
    font-weight: 700;
}

.footer-custom p,
.footer-custom a {
    color: #033441;
    text-decoration: none;
}

.footer-custom a:hover {
    color: #009675;
    padding-left: 5px;
}

.footer-custom i {
    color: #009675;
}

/* BOTONES REDES */
.footer-custom .btn {
    background: #fff;
    color: #033441;
    border-radius: 10px;
}

.footer-custom .btn:hover {
    background: #009675;
    color: #fff;
}

/* NEWSLETTER */
.footer-custom input {
    border-radius: 50px 0 0 50px;
    padding: 15px;
}

.footer-custom button {
    border-radius: 0 50px 50px 0;
}

/* FOOTER INFERIOR */
.footer-bottom {
    background: #033441;
    color: #fff;
}

/* LOGIN */
.footer-login {
    font-size: 0.8rem;
    opacity: 0.7;
    color: #fff;
    text-decoration: none;
}

.footer-login:hover {
    opacity: 1;
    color: #009675;
}

.about-video video {
    max-height: 400px;
    object-fit: cover;
}

.btn-audio {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 10px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.about-video {
    position: relative;
}

.btn-audio:hover {
    background: #009675;
}

.select-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23009675' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 35px;
}

.flip-card {
    perspective: 1000px;
    height: 100%;
    overflow: visible;
    transition: transform 0.3s ease;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px; /* IMPORTANTE */
    transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), scale .3s ease;
    transform-style: preserve-3d;

}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg) scale(1.08);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

/* FRONT */
.flip-card-front {
    background: #fff;
    z-index: 2;
}

/* BACK */
.flip-card-back {
    background: rgba(0, 150, 117, 0.95);
    transform: rotateY(180deg);
}

.flip-card-front img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.btn-whatsapp {
    background: #ffffff;
    color: #25D366; /* color oficial WhatsApp */
    font-size: 20px; /* tamaño del icono */
    padding: 10px 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: scale(1.1);
}

.card-objetivo:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

.video-container video {
    border-radius: 15px;
}

.video-controls {
    gap: 15px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #009675;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: #00c9a7;
    transform: scale(1.1);
}

.video-bg-pattern {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(0,150,117,0.06),
        rgba(0,0,0,0.02)
    );
    overflow: hidden;
}

/* TRAMADO (pattern) */
.video-bg-pattern::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;

    background-image: 
        linear-gradient(rgba(0,150,117,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,150,117,0.08) 1px, transparent 1px);

    background-size: 40px 40px;

    opacity: 1; /* 🔥 Ajusta intensidad */
    pointer-events: none;
}
.bg-white.shadow:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

.service-horizontal {
    transition: 0.3s ease;
    border-left: 5px solid #009675;
}

.service-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-img {
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.service-horizontal h3 {
    font-weight: 700;
    color: #111;
}

.service-horizontal p {
    color: #666;
    line-height: 1.8;
}

.btn-success {
    background: #25D366;
    border: none;
}

.btn-success:hover {
    background: #1ebe5d;
}
/* =========================
   SERVICES HORIZONTAL
========================= */

.service-horizontal-card{
    display:flex;
    align-items:stretch;
    min-height:320px;
    background:#fff;
    transition:0.4s ease;
    border-radius:30px;
    overflow:hidden;
    position:relative;
}

.service-horizontal-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* IMAGEN */

.service-img{
    width:35%;
    min-height:320px;
    position:relative;
    overflow:hidden;
}

.service-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s ease;
    filter:
        brightness(0.90)
        saturate(1.1)
        hue-rotate(-10deg);
}

.service-horizontal-card:hover .service-img img{
    transform:scale(1.05);
}

/* OVERLAY VERDE */

.service-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        135deg,
        rgba(0,150,117,0.18),
        rgba(0,150,117,0.08)
    );
}

/* CONTENIDO */

.service-content{
    width:65%;
    padding:45px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.service-info{
    flex:1;
}

.service-info h3{
    font-size:30px;
    font-weight:800;
    text-transform:uppercase;
    margin-bottom:20px;
    color:#111;
    line-height:1.2;
}

.service-info p{
    font-size:17px;
    color:#666;
    line-height:1.8;
    margin-bottom:0;
}

/* BOTONES */

.service-actions{
    display:flex;
    flex-direction:column;
    gap:15px;
    min-width:220px;
}

.btn-service-main{
    background:linear-gradient(135deg,#009675,#00b28b);
    color:#fff;
    border:none;
    padding:15px 25px;
    border-radius:50px;
    font-weight:700;
    transition:0.3s;
    box-shadow:0 10px 25px rgba(0,150,117,0.25);
}

.btn-service-main:hover{
    transform:translateY(-3px);
    color:#fff;
    box-shadow:0 15px 30px rgba(0,150,117,0.35);
}

.btn-service-outline{
    border:2px solid #009675;
    color:#009675;
    padding:14px 25px;
    border-radius:50px;
    font-weight:700;
    transition:0.3s;
    background:#fff;
}

.btn-service-outline:hover{
    background:#009675;
    color:#fff;
    transform:translateY(-3px);
}

.btn-whatsapp-service{
    background:#25D366;
    color:#fff;
    border-radius:50px;
    padding:14px 25px;
    text-align:center;
    font-size:22px;
    transition:0.3s;
    box-shadow:0 10px 25px rgba(37,211,102,0.25);
}

.btn-whatsapp-service:hover{
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(37,211,102,0.35);
}

/* RESPONSIVE */

@media(max-width:991px){

.service-horizontal-card{
    display:flex;
    align-items:stretch;
    min-height:380px;
}
.service-img{
    width:35%;
    height:100%;
    min-height:380px;
    position:relative;
    overflow:hidden;
    background:#dfeeee;
}


    .service-content{
        width:100%;
        flex-direction:column;
        align-items:flex-start;
    }

    .service-actions{
        width:100%;
    }

    .btn-service-main,
    .btn-service-outline,
    .btn-whatsapp-service{
        width:100%;
        text-align:center;
    }
}

.service-img{
    position:relative;
    width:38%;
    min-width:38%;
    height:420px;
    overflow:hidden;
    background:#dfeeee;
}

.service-image-fit{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center center;

    display:block;

    filter:
        brightness(0.92)
        saturate(1.05)
        hue-rotate(-8deg);

    transition:0.5s ease;
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media(max-width:991px){

    .service-horizontal-card{
        flex-direction:column;
        min-height:auto;
    }

    .service-img{
        width:100%;
        min-width:100%;
        height:260px;
        min-height:260px;
    }

    .service-content{
        width:100%;
        padding:30px;
        flex-direction:column;
        align-items:flex-start;
    }

    .service-info h3{
        font-size:24px;
    }

    .service-info p{
        font-size:15px;
        line-height:1.6;
    }

    .service-actions{
        width:100%;
        min-width:100%;
    }

    .btn-service-main,
    .btn-service-outline,
    .btn-whatsapp-service{
        width:100%;
        text-align:center;
    }

    .service-image-fit{
        width:100%;
        height:100%;
        object-fit:cover;
    }

}