﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* nuevo estilo */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f5f5f5;
}

/* HERO */

.hero {
    height: 85vh;
    background: url('/images/FondoBlanco.webp') center/cover no-repeat;
    position: relative;
}

.hero-overlay {
    background: rgba(0,0,0,0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8%;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero p {
    font-size: 1.2rem;
}

/* SERVICIOS */

.servicios {
    padding: 80px 5%;
    text-align: center;
    background: #eee;
}

    .servicios h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .servicios span {
        color: #0000FF;
        font-weight: bold;
    }

.servicios-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.servicio-card {
    background: white;
    width: 320px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
}

    .servicio-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

.servicio-card-plaga {
    background: white;
    width: 320px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
}

    .servicio-card-plaga img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        height: 220px;
    }

.servicio-content {
    padding: 20px;
}

.btn-amarillo {
    background: #A2E6E0;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
}

    .btn-amarillo:hover {
        background-color: #5AD3C7;
    }

/* NOTICIAS */

.noticias {
    padding: 80px 5%;
    background: #fff;
}

.noticias-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.noticia-card {
    background: #f7f7f7;
    padding: 30px;
    width: 420px;
    border-left: 6px solid #0000FF;
}

.btn-rojo {
    background: #0000FF;
    color: white;
    border: none;
    padding: 10px 18px;
    margin-top: 15px;
    cursor: pointer;
}

/* FOOTER */

footer {
    background: #0000FF;
    color: white;
    padding: 60px 5%;
}


.navbar {
    background: linear-gradient(to right, white, blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

    .navbar nav a {
        margin: 0 15px;
        font-weight: 600;
        cursor: pointer;
    }

.btn-donar {
    background: #A2E6E0;
    border: none;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
}

/* LAYOUT GENERAL */
.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* NAVBAR */

.navbar {
    background: linear-gradient(to right, black, blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #0000FF;
}

    .logo img {
        height: 80px;
    }

.menu {
    display: flex;
    gap: 25px;
}

    .menu a {
        text-decoration: none;
        font-weight: 600;
        color: #333;
        transition: 0.3s;
    }

        .menu a:hover {
            color: #0000FF;
        }

.btn-donar {
    background: #A2E6E0;
    border: none;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

    .btn-donar:hover {
        opacity: 0.9;
    }

/* FOOTER */

.footer {
    background: #0000FF;
    color: white;
    padding: 60px 5% 30px 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    max-width: 500px;
}

    .footer-col h3 {
        margin-bottom: 15px;
    }

.footer-copy {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/*Moviles */

/* Reset básico */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* NAVBAR */
/*
.navbar {
    background: #0000FF;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
    */
.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

    .nav-links li a {
        text-decoration: none;
        color: white;
        font-weight: 500;
        transition: 0.3s;
    }

        .nav-links li a:hover {
            color: #90caf9;
        }

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* CONTENIDO */

.content {
    padding: 40px 20px;
    min-height: 80vh;
}

/* FOOTER */
.footer {
    background: linear-gradient(to right, black, blue);
    color: white;
    text-align: center;
    padding: 20px;
}

/* ===================== */
/* 📱 RESPONSIVE MÓVIL */
/* ===================== */

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #0000FF;
        flex-direction: column;
        width: 200px;
        display: none;
        padding: 20px;
        border-radius: 0 0 0 10px;
    }

        .nav-links.active {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .nav-links li {
        margin: 10px 0;
    }
}

/*estilo menu movil*/
.navbar-nav .nav-link {
    font-weight: 600;
    color: #333;
}

    .navbar-nav .nav-link:hover {
        color: #d4a017;
    }

.btn-warning {
    background-color: #A2E6E0;
    border: none;
}

    .btn-warning:hover {
        background-color: #5AD3C7;
    }

.hero-img {
    height: 60vh;
}

.carousel-caption h1 {
    font-size: 2rem;
}

/*Carrusel*/

.hero-img {
    height: 80vh;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0,0,0,0.8);
    padding: 6px;
    border-radius: 10px;
}

    .carousel-caption h1 {
        font-size: 2rem;
        font-weight: bold;
    }

    .carousel-caption p {
        font-size: 1.5rem;
    }

/*vIDEO*/

.video-container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    aspect-ratio: 16/9;
}

    .video-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/*Whatsapp y facebook y donacion*/

.whatsapp-icon {
    width: 34px;
    height: 34px;
    cursor: pointer;
    transition: 0.3s;
}

    .whatsapp-icon:hover {
        transform: scale(1.2);
    }

.whatsappflota-icon {
    width: 54px;
    height: 54px;
    cursor: pointer;
    transition: 0.3s;
}

    .whatsappflota-icon:hover {
        transform: scale(1.2);
    }

.piepagina-icon {
    width: 104px;
    height: 104px;
    cursor: pointer;
    transition: 0.3s;
}

/*parroquia*/
/* HERO */

.hero-servicios {
    background: url('/images/servicios.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}

.hero-testimonio {
    background: url('/images/testimoniobanner.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}

.hero-nosotros {
    background: url('/images/Banner3_1200X400.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}

.hero-tanques {
    background: url('/images/BannerTanques1200X400.webp') center/cover no-repeat;
    height: 400px;
    position: relative;
}

.hero-desratizacion {
    background: url('/images/Banner1Desratizacion33.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}

.hero-extintores {
    background: url('/images/Extintores1.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}

.hero-capacitacion {
    background: url('/images/BannerCapacitaciones.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}

.hero-legalizacion {
    background: url('/images/BannerLegalizacion2.webp') center/cover no-repeat;
    height: 300px;
    position: relative;
}


.hero-overlay {
    background: rgba(0,0,0,0.3);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .hero-overlay h1 {
        color: #FFFFFF;
        font-size: 40px;
        font-weight: bold;
    }


/* HISTORIA */

.historia {
    padding: 60px 20px;
}

    .historia h2 {
        color: #0000FF;
        font-weight: bold;
    }

.linea {
    width: 60px;
    height: 4px;
    background: #A2E6E0;
    margin: 15px 0;
}

.historia-img {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* SACERDOTES */

.sacerdotes {
    padding: 60px 0;
    background: #f8f8f8;
}

.titulo {
    color: #0000FF;
    font-weight: bold;
}

.linea-centro {
    width: 180px;
    height: 8px;
    background: #A2E6E0;
    margin: 10px auto 40px auto;
}


/* CARD SACERDOTE */

.card-sacerdote {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .card-sacerdote img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(122,31,31,0.85);
    color: white;
    width: 100%;
    padding: 20px;
}


/* RESPONSIVE */

@media(max-width:768px) {

    .hero-overlay h1 {
        font-size: 28px;
    }

    .card-sacerdote img {
        height: 320px;
    }
}

.caja {
    text-align: center;
}

/*Ubicacion */
.ubicacion-section {
    padding: 50px 20px;
    text-align: center;
}

.titulo {
    font-size: 28px;
    margin-bottom: 20px;
}
/*Mapas */
/* Contenedor responsive */
.map-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    position: relative;
    padding-bottom: 25.25%; /* 16:9 */

    height: 0;
}

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 12px;
    }

.direccion {
    margin-top: 20px;
}

.btn-mapa {
    display: inline-block;
    margin-top: 10px;
    background-color: #c9a227;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

    .btn-mapa:hover {
        background-color: #a8891f;
    }

/*Donaciones */

.donaciones-section {
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.donaciones-container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.titulo {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0000FF;
}

.descripcion {
    margin-bottom: 30px;
    font-size: 18px;
}

/* GRID RESPONSIVE */
.donaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* TARJETAS */
.card-donacion {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.numero {
    color: green;
    font-size: 22px;
}

/* BOTONES */
.btn-donar {
    display: inline-block;
    margin-top: 30px;
    background-color: #c9a227;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
}

    .btn-donar:hover {
        background-color: #a8891f;
    }

.btn-whatsapp {
    display: inline-block;
    margin-top: 10px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
}

/* MOBILE */
@media (max-width: 600px) {

    .titulo {
        font-size: 26px;
    }

    .descripcion {
        font-size: 16px;
    }
}

/*Boton flotante*/
/* Contenedor principal */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Burbuja de texto blanca */
.whatsapp-message {
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    font-size: 14px;
    position: relative;
    border: 1px solid #e0e0e0;
}

    /* Triángulo de la burbuja */
    .whatsapp-message::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 20px;
        border-width: 10px 10px 0;
        border-style: solid;
        border-color: white transparent transparent;
    }

/* Botón circular verde */
.whatsapp-button {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s ease;
}

    .whatsapp-button:hover {
        transform: scale(1.1);
        color: white;
    }

/* Notificación roja (el "1") */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ff2d55;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border: 2px solid white;
}

/* Icono (Si usas FontAwesome) */
.fab.fa-whatsapp::before {
    content: "\f232"; /* Código de icono de WhatsApp */
    font-family: "Font Awesome 5 Brands";
}

/* contacto correo*/

.contacto-main-container {
    background-color: #FFFFFF; /* Fondo Blanco*/
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Reducimos padding en móviles */
    font-family: 'Segoe UI', sans-serif;
}

.contacto-wrapper {
    display: flex;
    flex-direction: row; /* Por defecto uno al lado del otro */
    background-color: #1a1505;
    width: 100%;
    max-width: 1000px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* MEDIA QUERY PARA TABLETS Y CELULARES */
@media (max-width: 850px) {
    .contacto-wrapper {
        flex-direction: column; /* Apilar columnas verticalmente */
        max-width: 500px; /* Evitar que se estire demasiado en tablets */
    }

    .info-column {
        padding: 20px;
    }

    .titulo-contacto {
        font-size: 2rem; /* Texto más pequeño en móvil */
    }

    .foto-circular-contenedor {
        width: 150px; /* Foto más pequeña en móvil */
        height: 150px;
    }

    .opciones-grid {
        grid-template-columns: 1fr; /* Una sola columna de opciones en móvil */
        gap: 10px;
    }

    .form-column {
        padding: 25px;
    }

    .btn-solicitar {
        width: 100%; /* Botón ancho completo en móvil para fácil clic */
        float: none;
    }
}

/* Ajustes para pantallas muy pequeñas (celulares viejos) */
@media (max-width: 400px) {
    .titulo-contacto {
        font-size: 1.5rem;
    }

    .form-row {
        display: flex;
        flex-direction: column; /* Teléfono y Ciudad uno bajo el otro */
    }
}

/* Estilos de los elementos internos */
.info-column {
    flex: 1;
    background-color: #E7E7E7;
    color: #1a1505;
    text-align: center;
    padding: 40px;
}

.form-column {
    flex: 1.5;
    padding: 40px;
    color: white;
}

.titulo-contacto {
    font-weight: 900;
    margin-bottom: 20px;
}

.cazavectores-input {
    background: #3D3D3D;
    border: none;
    border-bottom: 1px solid #FFFFFF;
    color: white;
    width: 100%;
    padding: 10px 5px;
    margin-bottom: 15px;
    outline: none;
}

.label-blanco {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 10px;
}

.opciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-item {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: white;
}

.btn-solicitar {
    background-color: #A2E6E0;
    color: #1a1505;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 8px;
    float: right;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-solicitar:hover {
        background-color: #5AD3C7;
    }

/* Pone el borde rojo si hay un error de validación */
.invalid {
    border-bottom: 2px solid #ff4d4d !important;
}

/* Mensaje de validación debajo del input */
.validation-message {
    color: #ff4d4d;
    font-size: 0.75rem;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* Estilo para el icono de carga en el botón */
.fa-spin {
    margin-right: 8px;
}

/*Carusel de empresas*/

.pro-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 50px 0;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll linear infinite;
}

    .carousel-track.paused {
        animation-play-state: paused;
    }

.logo-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-card img {
        height: 70px;
        object-fit: contain;
        /*  filter: grayscale(100%);*/
        opacity: 0.7;
        transition: all .4s ease;
    }

        .logo-card img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.15);
        }

@keyframes scroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* degradados elegantes */

.fade-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
    height: 100%;
    background: linear-gradient(to right, white, transparent);
    z-index: 5;
}

.fade-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 140px;
    height: 100%;
    background: linear-gradient(to left, white, transparent);
    z-index: 5;
}

/* responsive */

@media (max-width:768px) {

    .logo-card img {
        height: 50px;
    }

    .carousel-track {
        gap: 40px;
    }
}
/* testimonios*/
.titulo-testimonios {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    padding: 40px;
}

.testimonio-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    position: relative;
}

    .testimonio-card:hover {
        transform: translateY(-10px);
    }

    .testimonio-card.grande {
        grid-column: span 2;
        text-align: center;
    }

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: -30px;
}

.estrellas {
    color: gold;
    font-size: 18px;
    margin: 10px 0;
}

.autor {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.testimonio-card p {
    color: #555;
    font-size: 14px;
}

/* NOSOTROS */
.hero-container {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    color: white;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

/* --- SECCIÓN DE TEXTO --- */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight {
    color: #00a8ff;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a8b2d1;
    margin-bottom: 30px;
}

.button-group .btn {
    padding: 12px 35px;
    border-radius: 10px;
    font-weight: bold;
    margin-right: 15px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #00a8ff;
    color: white;
}

.btn-secondary {
    background-color: #0056b3;
    color: white;
}

/* --- SECCIÓN DE IMÁGENES (CÍRCULOS) --- */
.image-section {
    position: relative;
    display: flex;
    justify-content: center;
}

.circle-grid {
    position: relative;
    width: 450px;
    height: 450px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 8px solid #00a8ff;
    overflow: hidden;
    width: 250px;
    height: 250px;
    background: #fff;
}

    .circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Posicionamiento de los círculos inspirado en la imagen */
.item-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.item-left {
    bottom: 0;
    left: 0;
}

.item-right {
    bottom: 0;
    right: 0;
}

/* --- RESPONSIVE (CELULARES) --- */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr; /* Una sola columna */
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .image-section {
        margin-top: 50px;
    }

    .circle-grid {
        width: 300px;
        height: 300px;
    }

    .circle {
        width: 160px;
        height: 160px;
        border-width: 4px;
    }

    .button-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

        .button-group .btn {
            margin-right: 0;
        }
}

/* card plagas*/
.card-wave-container {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
    /* Fondo con ondas decorativas usando gradientes */
    background: radial-gradient(circle at 0% 100%, #e2f731 15%, transparent 25%), radial-gradient(circle at 100% 0%, #1a1505 10%, transparent 20%);
}

/* --- SECCIÓN IZQUIERDA: IMAGEN --- */
.image-wrapper {
    flex: 1;
    position: relative;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f8ff; /* Color de fondo suave tras la imagen */
}

.blob-shape {
    width: 100%;
    height: 300px;
    /* Esta es la clave: crea la forma de huevo inclinada */
    clip-path: ellipse(45% 50% at 50% 50%);
    border: 8px solid #e2f731;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
    overflow: hidden;
    transform: rotate(-5deg);
}

    .blob-shape img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: rotate(5deg) scale(1.1); /* Compensa la rotación del padre */
    }

/* --- SECCIÓN DERECHA: TEXTO --- */
.content-wrapper {
    flex: 1.2;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title-primary {
    font-size: 2.5rem;
    color: #1a1505;
    margin: 0;
    font-weight: 800;
}

.title-secondary {
    font-size: 3rem;
    color: #1a1505;
    margin: 0;
    font-weight: 900;
    line-height: 1;
}

.description {
    color: #666;
    margin: 20px 0;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-info {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1a1505;
    margin-bottom: 20px;
}

.btn-action {
    background-color: #1a1505;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    align-self: flex-start;
    cursor: pointer;
    transition: 0.3s;
}

/* --- DECORACIONES DE PUNTOS --- */
.dots-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(#e2f731 2px, transparent 2px);
    background-size: 10px 10px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

/* --- ADAPTACIÓN A MÓVILES --- */
@media (max-width: 768px) {
    .card-wave-container {
        flex-direction: column;
        margin: 10px;
    }

    .image-wrapper {
        padding: 20px;
    }

    .blob-shape {
        height: 250px;
    }

    .content-wrapper {
        padding: 30px 20px;
        text-align: center;
    }

    .btn-action {
        align-self: center;
    }

    .title-primary {
        font-size: 1.8rem;
    }

    .title-secondary {
        font-size: 2.2rem;
    }
}

/*otra card*/

.card-wildlife {
    display: flex;
    background-color: #004269; /* Azul oscuro de la imagen */
    border-radius: 20px;
    overflow: hidden;
    max-width: 900px;
    margin: 20px auto;
    min-height: 400px;
    position: relative;
    font-family: 'Arial', sans-serif;
}

/* --- SECCIÓN IZQUIERDA: IMAGEN --- */
.image-section {
    flex: 1.2;
    position: relative;
    background-color: #ffffff;
    /* Crea la curva hacia adentro en el lado derecho */
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}

.organic-shape {
    width: 100%;
    height: 100%;
}

    .organic-shape img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hashtag {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%) rotate(-90deg);
    color: #e2f731; /* Amarillo de tu marca */
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- SECCIÓN DERECHA: TEXTO --- */
.info-section {
    flex: 1;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-title {
    font-size: 3.5rem;
    line-height: 0.9;
    margin: 0;
    font-weight: 900;
}

    .main-title span {
        color: #ffcc00; /* Amarillo brillante */
    }

.date-text {
    font-size: 2.5rem;
    margin: 15px 0;
    font-weight: 300;
}

.description-text {
    font-size: 1rem;
    line-height: 1.4;
    color: #e0e0e0;
}

/* Patrón de puntos decorativo */
.dots-pattern {
    position: absolute;
    top: 20px;
    right: -10px;
    width: 50px;
    height: 30px;
    background-image: radial-gradient(circle, white 2px, transparent 2px);
    background-size: 10px 10px;
    z-index: 5;
}

/* --- ADAPTACIÓN PARA MÓVILES --- */
@media (max-width: 768px) {
    .card-wildlife {
        flex-direction: column;
        max-width: 350px;
    }

    .image-section {
        height: 250px;
        /* En móvil la curva cambia a la parte inferior */
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
    }

    .info-section {
        padding: 30px 20px;
        text-align: center;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .date-text {
        font-size: 1.8rem;
    }

    .hashtag {
        left: auto;
        right: 10px;
        transform: translateY(-50%) rotate(0deg);
        top: 20px;
    }
}

/*OTRA CARD*/

/* Contenedor principal que centra la tarjeta en la página */
.card-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f4f8; /* Un gris muy suave de fondo para que contraste */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* La tarjeta en sí */
.card-flex-wrapper {
    display: flex;
    flex-direction: row-reverse; /* Imagen a la derecha, texto a la izquierda en PC */
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 900px; /* Ancho máximo para que no se estire demasiado en PC */
    width: 100%;
}

/* --- SECCIÓN DE IMAGEN --- */
.image-section {
    flex: 1; /* Ocupa el 50% del ancho */
    background-color: #6a9dc1; /* El azul del diseño original */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Crea la forma orgánica curviada blanca sobre el azul */
.organic-shape {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Un clip-path complejo para imitar la curva orgánica */
    clip-path: polygon(100% 0%, 100% 100%, 15% 100%, 0% 85%, 0% 15%, 15% 0%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10%; /* Espacio para que la imagen no toque los bordes */
}

.kitten-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen llene el espacio sin deformarse */
    border-radius: 15px; /* Unir un poco los bordes de la foto */
}

/* --- SECCIÓN DE TEXTO --- */
.text-section {
    flex: 1; /* Ocupa el otro 50% */
    padding: 60px 50px;
    background-color: #6a9dc1;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-area {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.card-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    align-self: flex-start; /* Evita que el enlace ocupe todo el ancho */
}

    .card-link:hover {
        border-bottom-color: #ffffff;
    }

/* --- DECORACIONES (Opcional) --- */
.decor {
    position: absolute;
    background-color: rgba(255,255,255,0.3);
}

.wave {
    width: 50px;
    height: 10px;
    border-radius: 5px;
}

    .wave.top {
        top: 20px;
        left: 20px;
    }

    .wave.bottom {
        bottom: 20px;
        right: 20px;
    }

.cross {
    width: 15px;
    height: 15px;
    clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
    top: 50px;
    right: 50px;
}


/* =========================================
   --- ADAPTACIÓN PARA MÓVILES (Celulares) ---
   ========================================= */
@media (max-width: 768px) {
    .card-flex-wrapper {
        flex-direction: column; /* Apila los elementos verticalmente */
        max-width: 350px; /* Una tarjeta más angosta para celulares */
    }

    .image-section {
        height: 250px; /* Altura fija para la sección de imagen en móvil */
    }

    .organic-shape {
        /* En móvil, la curva orgánica debe cambiar de dirección o simplificarse */
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 85% 100%, 15% 100%, 0% 85%);
    }

    .text-section {
        padding: 30px 20px;
        text-align: center; /* Centra el texto en móviles */
    }

    .logo-area {
        justify-content: center;
        margin-bottom: 15px;
    }

    .card-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .card-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .card-link {
        align-self: center; /* Centra el enlace */
    }
}

/*Control de Plagas*/
.fumigacion-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
}

.highlight {
    color: #3b82f6;
}

.subtitle {
    color: #64748b;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Encabezados de Columna */
.column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    color: white;
    margin-bottom: -1px;
}

    .column-header.dark {
        background: #0f172a;
    }

    .column-header.blue {
        background: #334155;
    }

    .column-header.light-blue {
        background: #475569;
    }

    .column-header h2 {
        font-size: 1.3rem;
        margin: 0;
    }

/* Tarjetas de Plaga */
.plaga-card {
    display: flex;
    align-items: center;
    background: white;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    border-left: 6px solid;
    transition: transform 0.2s;
}

    .plaga-card:hover {
        transform: translateX(10px);
    }

    .plaga-card.purple {
        border-left-color: #a855f7;
    }

    .plaga-card.red {
        border-left-color: #ef4444;
    }

    .plaga-card.yellow {
        border-left-color: #f59e0b;
    }

    .plaga-card img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        margin-right: 15px;
    }

.card-content h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #1e293b;
}

.card-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 5px 0;
}

.btn-sm {
    background: #f1f5f9;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Lista de Compromiso */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 0 0 15px 15px;
    height: 100%;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.fancy-list {
    list-style: none;
    padding: 0;
}

    .fancy-list li {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
    }

.list-icon {
    color: #3b82f6;
    font-size: 1.5rem;
}

/* Métodos de Aplicación */
.methods-container {
    background: white;
    padding: 30px;
    border-radius: 0 0 15px 15px;
    display: grid;
    gap: 15px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.method-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 10px;
    font-weight: 600;
    color: #475569;
}

    .method-item i {
        color: #10b981;
    }

/* --- RESPONSIVIDAD --- */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 2.2rem;
    }
}
/* Placas car otras plagas*/
/* Contenedor principal estilo cápsula */
.pesticide-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 30px; /* Bordes muy redondeados */
    border-left: 15px solid #1a458d; /* El detalle azul de la izquierda */
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}

/* Contenedor del círculo rojo */
.circle-container {
    width: 120px;
    height: 80px; /* Forma ovalada según tu imagen */
    border: 2px solid #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: white;
    transition: transform 0.3s ease;
}

    .circle-container:hover {
        transform: scale(1.1); /* Efecto de aumento al pasar el mouse */
    }

    /* Ajuste de la imagen dentro del óvalo */
    .circle-container img {
        width: 90%;
        height: auto;
        object-fit: contain;
    }

/* Responsividad para móviles */
@media (max-width: 576px) {
    .pesticide-card {
        border-radius: 15px;
        padding: 1rem;
    }

    .circle-container {
        width: 100px;
        height: 70px;
    }
}

/* Extintor*/

.card-extintor {
    max-width: 900px;
    margin: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0, 210, 255, 0.5);
    padding: 25px;
    border: 2px solid #0B55F4;
}

/* header */

.header {
    display: flex;
    gap: 25px;
    align-items: center;
}

.img-extintor {
    width: 120px;
}

.img-publicidad {
    width: 220px;
}

.info h2 {
    margin-bottom: 10px;
    color: #333;
}

.info ul {
    padding-left: 0;
    list-style: none;
    line-height: 1.6;
}

/* precios */

.precios {
    margin-top: 20px;
}

.precio-item {
    display: flex;
    justify-content: space-between;
    background: #f2f2f2;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 17px;
}

    .precio-item.nuevo {
        background: linear-gradient(90deg,#2c3e50,#34495e);
        color: white;
    }

.nuevo-precio {
    color: #4CAF50;
    font-weight: bold;
    font-size: 20px;
}

/* botón */

.boton {
    margin-top: 20px;
    text-align: right;
}

.btn-comprar {
    background: #b00000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

    .btn-comprar:hover {
        background: #8f0000;
    }

/* responsive */

@media(max-width:768px) {

    .header {
        flex-direction: column;
        text-align: center;
    }

    .img-extintor {
        width: 90px;
    }

    .precio-item {
        font-size: 15px;
    }

    .boton {
        text-align: center;
    }
}
/*Legalizacion */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card, .testimonial-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.testimonials {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .services {
        grid-template-columns: 1fr;
    }
}

/*Boton Whatsapp mejorado*/

.whatsapp-btn {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    height: 90px;
    background: linear-gradient(90deg,#00c853,#009624);
    border-radius: 25px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
}

.wa-icon {
    background: white;
    width: 120px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
}

    .wa-icon img {
        width: 60px;
    }

.wa-text {
    flex: 1;
    text-align: center;
    font-size: 32px;
    color: white;
    font-weight: 600;
}

@media (max-width:600px) {

    .whatsapp-btn {
        height: 70px;
    }

    .wa-icon {
        width: 90px;
    }

        .wa-icon img {
            width: 45px;
        }

    .wa-text {
        font-size: 22px;
    }
}


/*Super mejorado */

.wa-btn {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 420px;
    height: 70px;
    background: linear-gradient(90deg,#00c853,#00a63f);
    border-radius: 25px;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
    transition: all .3s ease;
}

    .wa-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.3);
    }

.wa-left {
    background: white;
    width: 130px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 90px;
    border-bottom-right-radius: 90px;
}

    .wa-left img {
        width: 60px;
    }

.wa-right {
    flex: 1;
    text-align: center;
    color: white;
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 1px;
}

@media(max-width:600px) {

    .wa-btn {
        height: 70px;
    }

    .wa-left {
        width: 95px;
    }

        .wa-left img {
            width: 42px;
        }

    .wa-right {
        font-size: 22px;
    }
}
/*Splash */

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Usamos dvh (dynamic viewport height) para evitar problemas con las barras de navegación en móviles */
    height: 100dvh;
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}

.loading-logo {
    /* El logo nunca ocupará más del 80% del ancho en móviles pequeños */
    max-width: 250px;
    width: 60%;
    height: auto;
    margin-bottom: 30px;
    /* Efecto sutil de pulso */
    animation: pulse 2s infinite ease-in-out;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #28a745; /* Color verde (común en fumigación/limpieza) */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 15px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #444;
    /* Tamaño de fuente adaptable */
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 500;
}

/* Animaciones */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Ajustes para pantallas grandes */
@media (min-width: 768px) {
    .loader {
        width: 60px;
        height: 60px;
        border-width: 6px;
    }
}

@media (prefers-color-scheme: dark) {
    .loading-container {
        background-color: #121212;
    }

    .loading-text {
        color: #eee;
    }
}

/*Galeria publicidad*/
/* --- Estilos de la Cuadrícula de Galería --- */

.gallery-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden; /* Para que la imagen no se salga al hacer zoom */
}

    .gallery-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
    }

.gallery-thumbnail {
    object-fit: cover; /* Importante: Mantiene la proporción sin deformar */
    height: 250px; /* Altura fija para las miniaturas medianas */
    width: 100%;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-thumbnail {
    transform: scale(1.05); /* Efecto de zoom sutil al pasar el mouse */
}


/* --- Estilos del Lightbox Overlay (Fondo) --- */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Fondo negro semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Asegura que esté por encima de todo */
    cursor: pointer; /* Cerrar al hacer clic en el fondo */
}


/* --- Contenedor de Contenido del Lightbox --- */

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default; /* No cerrar al hacer clic dentro */
}


/* --- La Imagen Agrandada --- */

.lightbox-image {
    max-height: 80vh; /* Máximo 80% de la altura de la ventana */
    border: 4px solid white;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}


/* --- Botones de Navegación y Cierre --- */

.btn-close-lightbox, .btn-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 2010;
}

    .btn-close-lightbox:hover, .btn-nav:hover {
        background: rgba(255, 255, 255, 0.3);
    }

/* Posicionamiento específico */
.btn-close-lightbox {
    top: -50px;
    right: 0;
}

.btn-prev {
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
}

.btn-next {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
}


/* --- Texto Descriptivo --- */

.lightbox-caption {
    color: white;
    margin-top: 15px;
    text-align: center;
    width: 100%;
}


/* --- Media Queries para Dispositivos Móviles --- */

@media (max-width: 768px) {
    .gallery-thumbnail {
        height: 200px; /* Miniaturas un poco más pequeñas en móvil */
    }

    /* Ajustar botones de navegación para que no se salgan */
    .btn-prev {
        left: 10px;
        background: rgba(0,0,0,0.5); /* Más visible sobre la imagen */
    }

    .btn-next {
        right: 10px;
        background: rgba(0,0,0,0.5);
    }

    .btn-close-lightbox {
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.5);
    }

    .btn-nav {
        font-size: 24px;
        padding: 8px 12px;
    }
}


/* Carrusel 2*/
/* Grid de galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

    .nav-btn.left {
        left: -50px;
    }

    .nav-btn.right {
        right: -50px;
    }

/* Responsivo */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .nav-btn.left {
        left: 10px;
    }

    .nav-btn.right {
        right: 10px;
    }
}
/*Galeria prueba*/

/* Efecto de Galería */
.gallery-item {
    cursor: pointer;
}

    .gallery-item .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semitransparente */
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
    }

    .gallery-item:hover .overlay {
        opacity: 1;
    }

    .gallery-item:hover img {
        transform: scale(1.1); /* Zoom suave al pasar el mouse */
    }

.tracking-widest {
    letter-spacing: 0.2em;
}
/*Banner cookies*/

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* fondo semitransparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.cookie-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%; /* ocupa hasta el 90% en pantallas pequeñas */
    width: 400px; /* tamaño ideal en escritorio */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cookie-buttons {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

    .cookie-buttons button {
        flex: 1 1 auto;
        min-width: 100px;
    }


/*Galeria 2*/

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
    gap: 10px;
    text-align: center;
}

.thumbnail {
    width: 128px;
    height: 128px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
}

/* Overlay principal */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: -1;
}

.content-expanded {
    text-align: center;
    max-width: 80%;
}

.expanded {
    max-width: 100%;
    max-height: 80vh;
    border: 3px solid white;
}

.caption {
    color: white;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Botones de navegación */
.nav-btn {
    position: absolute;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 2100;
    border-radius: 50%;
    transition: background 0.3s;
}

    .nav-btn:hover {
        background: rgba(255,255,255,0.4);
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.close {
    top: 20px;
    right: 20px;
    border-radius: 5px;
}

/* Ajustes para móviles: botones más abajo si la pantalla es muy angosta */
@media (max-width: 600px) {
    .prev, .next {
        bottom: 30px;
        top: auto;
    }
}

/* Videos */

video {
    max-width: 320px; /* tamaño máximo */
    width: 100%; /* se ajusta en pantallas pequeñas */
    height: auto;
    border-radius: 8px; /* opcional para estilo */
}

/*menu nuevo*/


/* Banner*/

/* Imagen para PC */
.banner-principal {
    width: 100%;
    height: 400px; /* Ajusta a la altura de tu banner de PC */
    background-image: url('images/BannerTanques1200X400.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Imagen para Celulares (Breakpoint de 768px) */
@media (max-width: 768px) {
    .banner-principal {
        height: 300px; /* Altura para móvil */
        background-image: url('images/BannerTanques-mobile.webp');
        background-size: contain; /* Esto asegura que la imagen se vea completa sin cortes */
    }
}

/* Home video*/
.video-responsivo {
    width: 100%; /* Ocupa todo el ancho en móviles */
    max-width: 600px; /* Tamaño máximo en pantallas grandes */
    height: auto; /* Mantiene la proporción */
    border-radius: 8px;
    display: block;
}


/*Video principal*/

/* Contenedor para centrar y dar margen */
.video-container-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
}

.video-responsivo {
    /* Ancho base para móviles */
    width: 100%;
    /* Limitamos el tamaño máximo para que se vea "mediano" */
    max-width: 350px;
    /* Evita que el video sea más alto que la pantalla del usuario */
    max-height: 80vh;
    border-radius: 12px; /* Opcional: bordes redondeados para un look moderno */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Opcional: un poco de profundidad */
    background-color: #000;
}

/* Ajuste para tablets o pantallas pequeñas */
@media (max-width: 480px) {
    .video-responsivo {
        max-width: 90%; /* En celulares ocupa casi todo el ancho */
    }
}