﻿/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* TÍTULOS (Mayúscula, elegante, Cinzel) */
h1, h2, h3, h4, h5, h6 {
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* TEXTO CURSIVO o DESTACADO */
span, em, i {
    font-family: "Old Standard TT", serif;
    font-style: italic;
}

/* TEXTO GENERAL (inputs, párrafos, links) */
body, p, input, textarea, select, button, a {
    font-family: "Old Standard TT", serif;
    font-style: normal;
    font-weight: 400;
}

body {
    background-image: url('../Assets/Img/Fondo-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    background-position-y: 0, 100%;
    overflow-x: hidden;
}

@media screen and (max-width: 1000px) {
    body {
        background-image: url('../Assets/Img/Fondo-responsive-1.png');
        background-size: cover;
        background-position: center;
    }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.08); /* superposición semitransparente */
            pointer-events: none; /* permite hacer clic en lo de abajo */
            z-index: 1;
        }
}


/* ===================== [MENU] ===================== */

/* Navbar del menu.  */
.navbar {
    z-index: 103;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.9);
    /* Transparencia estilo glassmorphism */

    backdrop-filter: blur(8px);
    padding: 15px 40px;
    position: relative;
}

/* Logo */
.logo {
    width: 100%;
    height: 100%;
    background-image: url('../Assets/Logos/HempTech Silver Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    flex-shrink: 0;
}

.logoEnlace {
    display: block;
    width: 180px;
    height: 60px;
}

/* Menú */
.menu {
    list-style: none;
    display: flex;
}

    .menu li {
        position: relative;
    }

    /* Enlaces principales */
    .menu > li > a {
        text-decoration: none;
        color: white;
        padding: 15px 20px;
        display: block;
        font-weight: bold;
        position: relative;
        overflow: hidden;
        transition: color 0.3s ease-in-out;

    }

        /* Línea animada en Hover */
        .menu > li > a::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 2px;
            background: #2f855a;
            transition: all 0.4s ease-in-out;
        }

        .menu > li > a:hover {
            background: linear-gradient(135deg, #cccccc, #ffffff, #aaaaaa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

            .menu > li > a:hover::after {
                width: 100%;
                left: 0;
            }


/* Submenú */
.submenu {
    z-index: 30;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 20, 0.9);
    min-width: 220px;
    box-shadow: 0px 4px 12px rgba(0, 255, 128, 0.3);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/* Items del submenú */
.submenu li {
    
    list-style: none;
}

.submenu a {
    text-decoration: none;
    color: white;
    padding: 12px 15px;
    display: block;
    font-size: 15px;
    transition: all 0.3s;
}

    /* Efecto Cool en Hover del Submenú */
    .submenu a:hover {
        background: #2f855a;
        color: white;
        text-shadow: 0 0 10px #2f855a, 0 0 20px #a3f19b;
        transform: scale(1.05);

    }


/* Estilo base para íconos del menú principal */
.menu > li > a i {
    -webkit-text-fill-color: #2f855a;
    color: #2f855a;
    transition: color 0.3s ease;
}

/* Hover para íconos del menú principal */
.menu > li > a:hover i {
    -webkit-text-fill-color: #2f855a;
    color: #2f855a !important;
}

/* Estilo base para íconos del submenú */
.menu .submenu a i {
    color: #2f855a;
    transition: color 0.3s ease;
}

/* Hover para íconos del submenú */
.menu .submenu a:hover i {
    color: #f8f8f8;
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.badge {
    background-color: #e53935;
    color: white;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
    vertical-align: top;
    margin-left: 4px;
    position: relative;
    top: -8px;
    right: 4px;
}

    .badge:hover, #notiCount {
        background-color: #e53935;
        color: white;
        -webkit-text-fill-color: white;
    }

/* Responsive del menu MasterPage */
@media screen and (max-width: 1180px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        padding: 15px 20px;
    } 

    .menu {
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: rgba(10, 10, 10, 0.9);
        display: none;
        backdrop-filter: blur(10px);
        box-shadow: 0px 4px 12px rgba(0, 255, 128, 0.3);
    }

    .logoEnlace {
        display: block;
        width: 180px;
        height: 60px;
    }
        .menu li {
            width: 100%;
        }

            .menu li a {
                width: 100%;
                text-align: center;
            }

        .menu.active {
            display: flex;
        }

    /* Submenú en móviles */
    .submenu {
        position: relative;
        display: none;
        width: 100%;
        background: rgba(20, 20, 20, 0.9);
    }

    .dropdown.active .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
        box-shadow: 0px 4px 12px rgba(0, 255, 128, 0.3);
        border-radius: 8px;
    }


}

/* Hover solo para pantallas grandes */
@media screen and (min-width: 1180px) {
    .menu li:hover > .submenu {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== [ALERTAS] ===================== */
/*Alerts frmHome*/
.alert-overlay {
    position: fixed;
    z-index: 11200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert-box {
    position: fixed;
    top: 200px; /* altura deseada desde el top */
    left: 50%;
    transform: translateX(-50%); /* solo horizontal */
    background-image: url('../Assets/Img/FONDO-ALERT.png');
    background-color: rgba(255, 255, 255, 0.95);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}


.alert-box p {
    color: #222;
    font-size: 1rem;
    margin: 1rem 0;
}

.alert-box img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.alert-box button {
    background-color: #2f855a;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

    .alert-box button:hover {
        background-color: #22543d;
    }

.alert-overlay.fade-out {
    animation: fadeOutScale 0.4s ease forwards;
}

/*alert de datos*/
.alert-custom {
    display: block;
    padding: 15px 20px;
    background-color: #e0f2fe; /* Azul claro */
    color: #0c4a6e;
    border: 1px solid #7dd3fc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

    .alert-custom.success {
        background-color: #dcfce7;
        color: #166534;
        border-color: #86efac;
    }

    .alert-custom.warning {
        background-color: #fef9c3;
        color: #854d0e;
        border-color: #fde047;
    }

    .alert-custom.error {
        background-color: #fee2e2;
        color: #991b1b;
        border-color: #fca5a5;
    }


/* ===================== [ANIMACIONES] ===================== */

@keyframes popFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contenido-animado {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn2 {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}


/* ===================== [MODALES] ===================== */
/* Asegurar que el contenido empuje el footer hacia abajo */
.main-container {
    min-height: calc(100vh - 150px); /* Ajuste de altura, depende del footer */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  
}


/* ===================== [FOOTER] ===================== */

/*  footer = siempre abajo */
.footer {
    margin-top: auto;
    position: relative;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    color: white;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    box-shadow: 0px -4px 12px rgba(0, 255, 128, 0.2);
}


/* Secciones del footer */
.footer-section {
    flex: 1;
    min-width: 280px;
    margin: 10px;
}

    .footer-section h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 10px;
        text-transform: uppercase;
        color: #2f855a;
    }

    .footer-section p,
    .footer-section a {
        font-size: 14px;
        color: white;
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }

        .footer-section a:hover {
            color: #FFD700; /* Efecto dorado en hover */
        }

/* Redes sociales */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

    .footer-social a {
        color: white;
        font-size: 20px;
        transition: transform 0.3s ease-in-out;
    }

        .footer-social a:hover {
            transform: scale(1.2);
            color: #6ccae4;
        }

/* Línea divisoria */
.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* Derechos reservados */
.footer-bottom {
    font-size: 12px;
    text-align: left;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
    }

    .footer-section {
        text-align: left;
    }
}

/* ===================== [Menu tipo carrusel] ===================== */

.carousel-wrapper {
    z-index: 102;
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
    max-width: 1280px;
}


.carousel-container {
    display: flex;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1); 
    /* efecto tipo ease-out elegante */
}

.carousel-item {
    flex: 0 0 100%;
    text-align: center;
    position: relative;
}

    .carousel-item.active {
        animation: fadeSlideIn2 0.8s ease both;
    }

    .carousel-item img {
        width: 100%;
        max-height: 400px; /* evita que crezca demasiado en pantallas grandes */
        height: auto;
        object-fit: cover;
        border-radius: 20px;
        transition: transform 0.3s ease;
    }


.carousel-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) scale(1);
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-title:hover {
        transform: translateX(-50%) scale(1.05); /* <-- se mantiene centrado y se agranda */
        background: rgba(255, 255, 255, 0.2);
    }



.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 10px 18px;
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s;
}

    .carousel-btn:hover {
        background-color: rgba(0,0,0,0.8);
    }

    .carousel-btn.left {
        left: 10px;
    }

    .carousel-btn.right {
        right: 10px;
    }

@media (max-width: 768px) {
    .carousel-item img {
        height: 250px;
    }

    .carousel-title {
        font-size: 1.2rem;
        padding: 6px 12px;
    }

    .carousel-btn {
        font-size: 2rem;
    }
}








/**DATA BLOG*/
.section {
    z-index: 1;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.img-box {
    width: 100%;
    height: 250px;
    background: #ccc;
    border-radius: 8px;
    margin-top: 15px;
}

@media screen and (max-width: 800px) {
    .container {
        padding: 10px;
    }
}

  
/*frmMisionVision*/
/* ========== CONTENEDOR PRINCIPAL ========== */
.ContenerdorData,
.valores {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    /* ========== ENCABEZADOS ========== */
    .ContenerdorData h1,
    .valores h1 {
        font-size: 2.2rem;
        color: #2f855a;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .ContenerdorData h2 {
        font-size: 1.6rem;
        color: #6ca45b;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    /* ========== TEXTO ========== */
    .ContenerdorData p,
    .valores p {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 1rem;
        text-align: justify;
        text-indent: 2em;
    }

    /* ========== LISTAS Y ELEMENTOS ========== */
    .valores ul {
        padding-left: 1.5rem;
    }

    .valores li {
        margin-bottom: 0.75rem;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .valores strong {
        color: #6ca45b;
        font-weight: 600;
    }

    /* ========== IMÁGENES ========== */
    .ContenerdorData img,
    .valores img {
        max-width: 80%; /* REDUCIDO */
        height: auto;
        margin: 1.5rem auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .ContenerdorData,
    .valores {
        padding: 1.5rem;
    }

        .ContenerdorData h1,
        .valores h1 {
            font-size: 1.8rem;
        }

        .ContenerdorData h2 {
            font-size: 1.4rem;
        }

        .ContenerdorData p,
        .valores p,
        .valores li {
            font-size: 1rem;
        }

        .ContenerdorData img,
        .valores img {
            max-width: 100%;
        }
}


/*frmPoliticas*/
.politicasContainer {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    color: #333;
    background-color: #ffffff;
}

    .politicasContainer h1 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 2rem;
        color: #307932;
        border-bottom: 3px solid lightgray;
        display: inline-block;
        padding-bottom: 0.5rem;
    }

.politicas {
    background-color: #f7f7f7;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .politicas:hover {
        transform: translateY(-5px);
    }

    .politicas h3 {
        font-size: 1.6rem;
        color: #17252a;
        margin-bottom: 1rem;
        border-left: 5px solid #2f855a;
        padding-left: 1rem;
    }

    .politicas p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1rem;
        color: #555;
            text-indent: 25px; /* Sangría en la primera línea */

    }

    .politicas ul {
        padding-left: 1.5rem;
        list-style-type: disc;
    }

        .politicas ul li {
            margin-bottom: 0.5rem;
            color: #555;
        }

  

/* Responsive */
@media (max-width: 768px) {
    .politicasContainer h1 {
        font-size: 2rem;
    }

    .politicas h3 {
        font-size: 1.3rem;
    }

    .politicas p, .politicas ul li {
        font-size: 0.95rem;
    }
}



/*LicenciaPdf*/

.visor-licencia {
    display: none;
}

.contenido-pdf {
    animation: aparecer 0.4s ease-in-out;
    position: relative;
    width: 95%;
    max-width: 1000px; /* Limita el ancho máximo */
    height: 100vh;
    margin: 5vh auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(47, 133, 90, 0.4);
    display: flex;
    flex-direction: column;
}

    .contenido-pdf iframe {
        width: 100%;
        height: 100%;
        border: none;
        object-fit: contain;
    }

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .contenido-pdf {
        width: 98%;
        height: 85vh;
    }
}



/* Botón de cerrar */
.cerrar-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color:black;
    border: none;
    color: white;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

    .cerrar-btn:hover {
        background-color: rgba(0, 0, 0, 0.9);
    }

/* Responsividad */
@media (max-width: 768px) {
    .contenido-pdf {
        width: 95%;
        height: 85vh;
    }

    .cerrar-btn {
        font-size: 16px;
        padding: 4px 8px;
    }
}



button.mostrar-licencia-btn {
    background-color: #4CAF50; /* Verde vibrante */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    button.mostrar-licencia-btn:hover {
        background-color: #45a049;
        transform: translateY(-1px);
    }

    button.mostrar-licencia-btn:active {
        background-color: #3e8e41;
        transform: translateY(1px);
    }





/* Contenedor principal frmMisionVision */
.containerSobreCostaRica {
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    box-sizing: border-box;
}

/* Estilo de la tarjeta */
.blog-cardCostaRica {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px; 
    position: relative;
}

    /* Contenido interno de la tarjeta */
    .blog-cardCostaRica .content {
        position: relative;
    }

        /* Imagen de la tarjeta */
        .blog-cardCostaRica .content img {
            width: 100%;
            height: auto;
            display: block;
        }

    /* Botón para cerrar */
    .blog-cardCostaRica .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
        color: white;
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        font-size: 14px;
        cursor: pointer;
        z-index: 2;
    }

    /* Información adicional oculta por defecto */
    .blog-cardCostaRica .info {
        display: none;
        padding: 15px;
        color: #333;
        background: #f9f9f9;
        line-height: 1.6;
        text-indent: 25px; /* Sangría en la primera línea */
    }

    /* Mostrar información cuando se active la tarjeta */
    .blog-cardCostaRica.active .info {
        display: block;
    }

    /* Botón "Ver más" */
    .blog-cardCostaRica .btn-ver-mas {
        display: block;
        width: 100%;
        padding: 10px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
        color: #fff;
        font-weight: bold;
        text-decoration: none;
        cursor: pointer;
        border: none;
        outline: none;
        transition: background 0.3s ease;
    }

        /* Hover para el botón */
        .blog-cardCostaRica .btn-ver-mas:hover {
            background-color: gray;
        }

    /* Por defecto, el botón está oculto */
    .blog-cardCostaRica .close-btn {
        display: none;
    }

    /* Cuando la tarjeta está activa, se muestra el botón */
    .blog-cardCostaRica.active .close-btn {
        display: block;
    }


/* Ajustes responsivos */
@media (max-width: 768px) {
    .containerSobreCostaRica {
        width: 95%;
        padding: 10px;
    }
}

/*frmSociosAlianzas*/
.colaboradores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

    .colaboradores img {
        width: 250px;
        height: 200px;
        object-fit: fill;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .colaboradores img:hover {
            transform: scale(1.005);
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        }

@media (max-width: 600px) {
    .colaboradores img {
        width: 200px;
        height: 150px;
    }
}


/*frmProductos*/


.productosContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

    .productosContainer h1 {
        text-align: center;
        font-size: 2.5rem;
        margin-bottom: 3rem;
        color: #2e2e2e;
    }

.productos {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f9f9f9;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .productos:hover {
        transform: scale(1.02);
    }

    .productos h3 {
        font-size: 1.8rem;
        color: #1a5d3d;
        margin-bottom: 1rem;
    }

    .productos ul {
        list-style: disc;
        padding-left: 1.5rem;
        text-align: left;
        margin-bottom: 1rem;
    }

        .productos ul li {
            font-size: 1.1rem;
            color: #333;
            margin-bottom: 0.5rem;
        }

    .productos img {
        width: 100%;
        max-width: 350px;
        height: 250px;
        border-radius: 12px;
        margin-top: 1rem;
        object-fit: cover;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .productos img {
        margin-top: auto; /* Empuja la imagen hacia el final */
    }


/* Responsive: en pantallas grandes, mostrar como grid */
@media (min-width: 768px) {
    .productosContainer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

        .productosContainer h1 {
            grid-column: 1 / -1;
        }

    .productos {
        flex-direction: column;
        align-items: flex-start;
    }

        .productos img {
            align-self: center;
        }
}



/* Responsive: en pantallas muy grandes */
@media (min-width: 1200px) {
    .productosContainer {
        grid-template-columns: 1fr 1fr;
    }
}

/*Acordeon PREGUNTAS frmPreguntasFrecuentes*/
/* CONTENEDOR PRINCIPAL */
.faq-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background: #fdfdfd;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* TÍTULO */
.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 35px;
    color: #2f855a;
    letter-spacing: 1px;
}

/* ITEM DE PREGUNTA */
.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
}

/* ENCABEZADO PREGUNTA */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    flex-wrap: wrap;
    gap: 12px;
}

/* ICONO */
.faq-toggle {
    font-size: 22px;
    color: #555;
    transition: transform 0.3s ease;
    margin-left: auto;
}

/*Img dentro de respuesta*/
.faq-img {
    display: block;
    margin: 20px auto; /* centra la imagen con espacio */
    width: 100%;
    max-height:600px;
    max-width: 300px; /* tamaño máximo más grande */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* RESPUESTA */
.faq-answer {
    display: none;
    padding: 20px;
    color: #555;
    background: #fafafa;
    border-left: 3px solid #2f855a;
    border-radius: 0 0 12px 12px;
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: auto;
}

/* TEXTO */
.faq-text {
    text-indent: 20px;
    margin-bottom: 12px;
}

/* IMÁGENES DENTRO DE RESPUESTA */
.faq-answer img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 8px;
}

/* ACTIVACIÓN */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-logo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #bbb;
    margin-right: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}


.faq-answer ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .faq-answer ul li {
        margin-bottom: 8px;
    }

    .faq-answer ul ul {
        list-style-type: circle;
        padding-left: 30px;
    }

        .faq-answer ul ul ul {
            list-style-type: square;
            padding-left: 25px;
        }



/* RESPONSIVE */
@media screen and (max-width: 768px) {
    .faq-container {
        padding: 20px;
        margin: 30px 15px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-img {
        width: 100%;
        height: auto;
    }

    .faq-toggle {
        align-self: flex-end;
        margin-top: 10px;
    }

    .faq-answer {
        font-size: 15px;
        padding: 15px;
    }

    .faq-logo {
        width: 42px;
        height: 42px;
        margin-right: 10px;
    }
}

/**frmContacto y mapa*/
/*VERDE OSCURITO #2f855a*/
/* Contenedor principal con flexbox */

.frmContacto .contact-wrapper {
    z-index: 102;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 1rem;
    /* CENTRADO */
    position: relative;
}


/* Información de contacto */
.frmContacto .contactoData {
    flex: 1 1 500px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    color: #2d3748;
    text-align: left;
    margin: auto;
}

    .frmContacto .contactoData h1 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 2rem;
        color: #2f855a;
        background-color: white;
        width:fit-content;
    }

    .frmContacto .contactoData h2 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        background-color: white;
        width: fit-content;
    }

        .frmContacto .contactoData h2 i {
            color: #2f855a;
            margin-right: 0.5rem;
            font-size: 1.2rem;
        }

    .frmContacto .contactoData p {
        font-size: 1rem;
        margin-left: 1.8rem;
        margin-bottom: 1rem;
        color: #4a5568;
        width: fit-content;
        background-color: white;
    }

    .frmContacto .contactoData iframe {
        width: 100%;
        height: 300px;
        border: none;
        border-radius: 1rem;
        margin-top: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

/* Formulario */
.frmContacto .formulario-container {
    flex: 1 1 500px;
    background: white;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-inline: auto;
}

    .frmContacto .formulario-container h1 {
        margin-bottom: 1.5rem;
        text-align: center;
        color: #2f855a;
    }

.frmContacto label {
    display: block;
    margin: 1rem 0 0.3rem;
    color: #2f855a;
}

.frmContacto input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 1rem;
}

.frmContacto button {
    background-color: #2f855a;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

    .frmContacto button:hover {
        background-color: #276749;
    }

/* Mensaje de éxito */
.frmContacto .mensaje-exito {
    margin-top: 1rem;
    color: #2f855a;
    text-align: center;
    font-weight: bold;
}

/* Responsividad para móvil */
@media (max-width: 768px) {
    .frmContacto .contact-wrapper {
        flex-direction: column;
        padding: 1rem;
    }

    .frmContacto .contactoData,
    .frmContacto .formulario-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

        .frmContacto .contactoData h1,
        .frmContacto .formulario-container h1 {
            font-size: 1.5rem;
        }

        .frmContacto .contactoData h2 {
            font-size: 1rem;
        }
}



/**transiciones entre paginas*/
body {
    opacity: 0;
}


.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease forwards;
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* CONTENEDOR GENERAL */
#chat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* BOTÓN FLOTANTE PARA ABRIR CHAT */
#chat-toggle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    #chat-toggle:hover {
        transform: scale(1.1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    }

    #chat-toggle i {
        font-size: 26px;
        color: #85bd8a;
    }

/* CONTENEDOR DEL CHAT */
.chatbot-container {
    position: relative;
    width: 350px;
    height: 480px;
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInUp 0.4s ease-out;
}

/* ANIMACIÓN AL ABRIR */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CABECERA DEL CHAT */
.chat-header {
    background: linear-gradient(135deg, #2f855a, #1a4733);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

    .chat-header h3 {
        margin: 0;
        font-size: 16px;
    }

#close-chat {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s ease;
}

    #close-chat:hover {
        color: #2f855a;
    }

/* CUERPO DEL CHAT */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: white;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 70px; /* Deja espacio para los controles */
}

/* BOTONES FAQ */
.faq-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.faq-btn {
    background: #d8f6db;
    color: #2f855a;
    padding: 10px;
    font-size: 13px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    font-weight: 500;
}

    .faq-btn:hover {
        background: #b2e4be;
        color: #1c5f3f;
    }

/* MENSAJES */
.bot-message, .user-message {
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    max-width: 85%;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.bot-message {
    background: #2f855a;
    color: white;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-message {
    background: #f0f0f0;
    color: black;
    align-self: flex-end;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

/* CONTROLES FIJOS AL FONDO */
.chat-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05); /* Sombra superior */
}

#back-menu {
    background-color: #2f855a;
    color: white;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    #back-menu:hover {
        background-color: #51a77c;
    }

#clear-chat {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    #clear-chat:hover {
        background-color: #cc0000;
    }

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    #chat-wrapper {
        right: 2.5%;
        bottom: 20px;
    }

    .chatbot-container {
        height: 420px;
    }
}




/*frmInicioSesion*/

/* Estilos solo para login */
.login-container {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 1rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

    .login-container .login-box {
        background:WHITE;
        backdrop-filter: blur(12px);
        padding: 2rem;
        border-radius: 1.5rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        text-align: center;
        width: 100%;
    }

    .login-container .login-logo {
        width: 100px;
        margin-bottom: 1rem;
    }

    .login-container .login-form h2 {
        margin-bottom: 1.5rem;
        color: #2f855a;
    }

    .login-container .login-form label {
        display: block;
        text-align: left;
        margin: 0.5rem 0 0.3rem;
        font-weight: 600;
        color: #333;
    }

    .login-container .login-form input[type="email"],
    .login-container .login-form input[type="password"],
    .login-container .login-form input{
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 1rem;
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        outline: none;
        transition: 0.3s;
    }

    .login-container .login-form input:focus {
        border-color: #007bff;
        box-shadow: 0 0 6px rgba(0, 123, 255, 0.2);
    }

    .login-container .submit-btn {
        width: 100%;
        padding: 0.75rem;
        background-color: #2f855a;
        border: none;
        color: #fff;
        font-weight: bold;
        border-radius: 0.5rem;
        cursor: pointer;
        transition: background 0.3s ease;
    }

        .login-container .submit-btn:hover {
            background-color: #51a77c;
        }

    .login-container .form-options {
        margin-top: 1rem;
        font-size: 0.9rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        text-align: left;
    }

        .login-container .form-options a {
            color: #007bff;
            text-decoration: none;
        }

            .login-container .form-options a:hover {
                text-decoration: underline;
            }

.btn-link {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 0;
    background-color: transparent;
    border: none;
    color: #2f855a;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .btn-link:hover {
        color: #276749; /* tono más oscuro del verde para hover */
        text-decoration: underline;
    }


/* Responsive solo para login */
@media (max-width: 480px) {
    .login-container .login-box {
        padding: 1.5rem;
    }

    .login-container .login-logo {
        width: 80px;
    }
}

/*ALERT frmMiDashBoard*/
.alertas-dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    max-width: 800px;
    margin: auto;
    position: relative;
    z-index: 102;
}

/* Estilo base para todas las alertas */
.estado-alerta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff8e1;
    color: #6d4c41;
    font-weight: 500;
    font-size: 1rem;
    padding: 20px 28px;
    border-left: 6px solid #ff9800;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.6s ease;
    line-height: 1.5;
    
}

    .estado-alerta i {
        font-size: 22px;
        color: #ff9800;
        padding-top: 4px;
    }

    .estado-alerta a {
        display: block;
        margin-top: 5px;
        color: #1565c0;
        font-weight: bold;
        text-decoration: none;
    }

        .estado-alerta a:hover {
            text-decoration: underline;
        }

/* Variación para la alerta de contraseña temporal */
.alerta-roja {
    background: #ffe5e5;
    color: #802020;
    border-left-color: #e53935;
}

    .alerta-roja i {
        color: #e53935;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*frmAjustesPerfil*/
.perfil-wrapper {
    padding: 20px 0;
    max-width: 1100px;
    margin: auto;
    width: 95%;
}

.secciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,
    minmax(230px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Cada tarjeta */
.seccion-card {
    background: #f9fafb;
    border-left: 6px solid #6ca45b;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

    .seccion-card:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 10px 20px rgba(108, 164, 91, 0.2);
    }

    .seccion-card i {
        font-size: 34px;
        color: #6ca45b;
        margin-bottom: 12px;
    }

    .seccion-card h4 {
        margin: 10px 0 6px;
        font-size: 18px;
        color: #3a5331;
        font-weight: 700;
    }

    .seccion-card p {
        font-size: 14px;
        color: #495c3d;
        margin-bottom: 18px;
    }

.editar-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #6ca45b;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease-in-out, transform 0.2s ease;
}

    .editar-btn:hover {
        background: #4e7c3f;
        transform: translateY(-2px);
    }

    /*DatosPersonales*/
.datos-personales-container {
    max-width: 700px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 30px;
}

    .datos-personales-container h2 {
        text-align: center;
        margin-bottom: 25px;
        color: #333;
    }

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        color: #555;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 10px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

    .btn-group .btn {
        padding: 10px 25px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: bold;
        font-size: 16px;
        transition: background-color 0.3s ease, transform 0.2s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }


.btn-primary {
    background-color: #556B2F; /* Verde musgo */
    color: white;
}

    .btn-primary:hover {
        background-color: #6ca45b;
        transform: scale(1.03);
    }

.btn-close {
    background-color: #222; /* Negro */
    color: white;
}

    .btn-close:hover {
        background-color: #000;
        transform: scale(1.03);
    }

/*licencias*/
.gridview-custom {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 15px;
}

    .gridview-custom th,
    .gridview-custom td {
        padding: 12px 16px;
        border-bottom: 1px solid #2f855a;
        text-align: center;
    }

    .gridview-custom th {
        background: rgba(10, 10, 10, 0.8);
        color: white;
        font-weight: 600;
    }

    .gridview-custom tr:nth-child(even) {
        background-color: white;
    }

    .gridview-custom tr:hover {
        background-color: #e8f5e9;
    }

.btn-eliminar {
    background-color: #dc3545;
    color: white;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

    .btn-eliminar:hover {
        background-color: #c82333;
        transform: scale(1.05);
    }


@media (max-width: 600px) {
    .btn-group {
        flex-direction: column;
    }

        .btn-group .btn {
            width: 100%;
            margin-bottom: 10px;
        }
}

/*Validacion de datos*/
.text-danger {
    color: red;
    font-size: 0.9em;
}

/*iconos*/
.icon-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 1rem;
}

    .icon-text i {
        font-size: 1.2rem;
        color: #2f855a; /* O el color que uses para íconos */
    }

.fa-solid:hover {
    color: #2f855a;
}

/*Hojitas*/
.falling-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 101;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('../Assets/Img/hoja-canamo.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fallSwing ease-in-out infinite;
}

/* Nueva animación más fluida y con swing constante */
@keyframes fallSwing {
    0% {
        transform: translateY(-10vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    25% {
        transform: translateY(25vh) translateX(15px) rotate(20deg);
    }

    50% {
        transform: translateY(50vh) translateX(-15px) rotate(45deg);
        opacity: 0.7;
    }

    75% {
        transform: translateY(75vh) translateX(10px) rotate(70deg);
    }

    100% {
        transform: translateY(110vh) translateX(-10px) rotate(90deg);
        opacity: 0;
    }
}

/* Destellos móviles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #2f855a;
    border-radius: 50%;
    opacity: 0.2;
    animation: sparkleAnim ease-in-out infinite;
}

/* Animación para parpadeo y desplazamiento */
@keyframes sparkleAnim {
    0% {
        transform: translateX(0px) scale(0.5);
        opacity: 0.1;
    }

    50% {
        transform: translateX(5px) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translateX(-5px) scale(0.5);
        opacity: 0.1;
    }
}

.hojas-home {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

    .hojas-home .leaf-home {
        position: absolute;
        width: 30px;
        height: 30px;
        background-image: url('../Assets/Img/hoja-canamo.png');
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0;
        animation: fallSwing ease-in-out infinite;
    }

    .hojas-home .sparkle-home {
        position: absolute;
        width: 6px;
        height: 6px;
        background-color: #2f855a;
        border-radius: 50%;
        opacity: 0.2;
        animation: sparkleAnim ease-in-out infinite;
    }

    /*tablas*/
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    font-size: 14px;
}

    .table th,
    .table td {
        border: 1px solid #ddd;
        padding: 12px;
        text-align: left;
    }

    .table th {
        background: rgba(10, 10, 10, 0.8);
        color: white;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .table td {
        background-color: #fff;
        color: #333;
    }

    .table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .table tr:hover {
        background-color: #e6f2ec;
    }

    .table .btn {
        padding: 6px 12px;
        border-radius: 5px;
        font-size: 13px;
        font-weight: bold;
        border: none;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .table .btn-edit {
        background-color: #2f855a;
        color: white;
    }

        .table .btn-edit:hover {
            background-color: #256c48;
        }


    .table .btn-delete {
        background-color: #d64545; /* rojo tomate */
        color: white;
    }

        .table .btn-delete:hover {
            background-color: #b93636;
        }


.acciones-botones {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* Responsive */
@media screen and (max-width: 400px) {
    .acciones-botones {
        flex-direction: column;
        align-items: stretch;
    }

        .acciones-botones .btn {
            width: 100%;
            text-align: center;
        }

    .table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
    }

        .table thead {
            display: none;
        }

        .table tr {
            margin-bottom: 15px;
            border-bottom: 2px solid #ccc;
        }

        .table td {
            position: relative;
            padding-left: 50%;
            text-align: right;
        }

            .table td::before {
                content: attr(data-label);
                position: absolute;
                left: 15px;
                font-weight: bold;
                text-align: left;
                text-transform: uppercase;
            }
}


.cert-card {
    background: rgba(255, 255, 255, 0.9);
    border-left: 5px solid #556B2F;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

    .cert-card:hover {
        transform: translateY(-5px);
    }

    .cert-card h4 {
        margin-bottom: 10px;
        font-size: 1.2rem;
        color: #556B2F;
    }

    .cert-card p {
        margin: 5px 0;
        color: #333;
    }

.acciones-botones {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.btn-edit, .btn-delete {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.btn-edit {
    background-color: #3182ce;
    color: white;
}

    .btn-edit:hover {
        background-color: #2b6cb0;
    }

.btn-delete {
    background-color: #e53e3e;
    color: white;
}

    .btn-delete:hover {
        background-color: #c53030;
    }

.disponibilidad-container {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(47, 133, 90, 0.3);
}

.checkbox-style {
    margin-left: 10px;
    transform: scale(1.2);
}

.radio-horizontal .aspNet-RadioButtonList input[type="radio"] {
    margin-right: 8px;
}

.radio-horizontal label {
    margin-right: 25px;
    display: inline-block;
}


/* Contenedor que asegura el layout flexible y responsivo */
/* Contenedor que asegura el layout flexible y responsivo */
.empleos-container {
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding: 40px 16px;
    max-width: 1300px;
    margin: auto;
    box-sizing: border-box;
    background-color: white; /* Fondo suave para el contenedor */
}

/* Cada card de empleo */
.card-empleo {
    flex: 1 1 280px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición más suave */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e6e6e6;
    background-color: #ffffff; /* Blanco para las tarjetas */
}

/* Logo pequeño al inicio de la tarjeta */
.card-empleo .logo {
    width: 150px;
    height: 80px;
    margin-bottom: 15px;
    align-self: center; /* Centrado horizontal */
}

/* Título */
.card-empleo h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2f855a;
    font-weight: 700;
    text-align: center;
}

/* Textos */
.card-empleo p {
    margin: 6px 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* Estilo para el logo */
.card-empleo .logo img {
    width: 100%; /* Asegura que el logo se ajuste al tamaño del contenedor */
    height: auto;
}


/* 100% responsivo */
@media (max-width: 768px) {
    .card-empleo {
        max-width: 350px;
    }

    .empleos-container {
        padding: 20px 12px;
    }
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
    padding: 10px 16px;
    background-color: #0077b5;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

    .btn-linkedin:hover {
        background-color: #005582;
        color: #fff;
    }

    .btn-linkedin i {
        font-size: 16px;
    }

.btn-ver {
    background-color: #2f855a;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
}

    .btn-ver:hover {
        background-color: #448e41;
    }

.search-box {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px 10px 40px;
    border-radius: 25px;
    border: 1px solid #2f855a;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    background-image: url('https://cdn-icons-png.flaticon.com/512/622/622669.png');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 12px center;
}

    .search-box::placeholder {
        color: #555;
    }

    .search-box:focus {
        border-color: #007bff;
        outline: none;
        background: rgba(255, 255, 255, 0.7);
    }


.qr-container {
    text-align: center;
    margin-top: 50px;
}

    .qr-container img {
        max-width: 300px;
    }

.img-qr {
    max-width: 280px;
    max-height: 280px;
    width: 100%;
    height: auto;
    border: 2px solid #ccc;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mensaje-no-empleos {
    margin: 100px auto;
    padding: 30px 40px;
    max-width: 600px;
    background-color: #f8faf5;
    border: 2px dashed #A3B18A;
    color: #2F4F4F;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
}

/* Contenedor Listado centrado */
.Listado {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px 25px;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

    /* Título dentro del Listado */
    .Listado h2 {
        font-size: 26px;
        font-weight: 600;
        color: #2F4F4F;
        margin-bottom: 20px;
        border-left: 6px solid #88B04B;
        padding-left: 10px;
        letter-spacing: 0.3px;
    }

/* Caja de búsqueda */
.search-box {
    width: 100%;
    max-width: 350px;
    padding: 10px 40px 10px 42px;
    border: 2px solid #88B04B;
    border-radius: 10px;
    background-color: #fff;
    font-size: 15px;
    color: #2c2c2c;
    background-image: url('https://img.icons8.com/ios-filled/50/88B04B/search--v1.png');
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: 14px center;
    transition: all 0.3s ease-in-out;
}

    .search-box::placeholder {
        color: #999;
        font-style: italic;
    }

    .search-box:focus {
        outline: none;
        border-color: #5E9B59;
        box-shadow: 0 0 8px rgba(94, 155, 89, 0.25);
        background-color: #fcfffa;
    }

/* Botón Buscar */
.btn-buscar {
    padding: 7px 16px;
    background-color: #5a752d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-buscar:hover {
        background-color: #476020;
    }

/* Estilo para la tabla del GridView */
table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    overflow: hidden;
}

    /* Encabezados de tabla */
    table th {
        background-color: #2f2f2f;
        color: #ffffff;
        padding: 14px;
        text-align: left;
        font-size: 15px;
    }

    /* Celdas normales */
    table td {
        padding: 14px;
        font-size: 15px;
        color: #333;
    }

    /* Alternar colores de fila */
    table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    /* Botones de acción */
    table .btn {
        width: 100%;
        margin-bottom: 8px;
        font-weight: 500;
        border-radius: 6px;
        background-color: #5a752d;
        color: #fff;
        border: none;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s ease-in-out;
    }

        table .btn:hover {
            background-color: #476020;
        }



/* Centrar todo el formulario */
.contenedor-contratacion {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
    min-height: calc(100vh - 100px); /* opcional: altura mínima */
    background-color: #f7f9fb; /* opcional: un colorcito suave de fondo */
}

/* Estilo exclusivo para la tarjeta */
.contratacion-card {
    width: 100%;
    max-width: 700px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 40px 30px;
}

    /* Resto de tus estilos que ya tienes */
    .contratacion-card h3 {
        font-weight: 600;
        color: #2e7d32;
    }

    .contratacion-card .form-group label {
        font-weight: bold;
        margin-bottom: 6px;
        color: #2e7d32;
    }

    .contratacion-card .form-control {
        border-radius: 10px;
        border: 1px solid #ced4da;
        padding: 10px;
    }

    .contratacion-card .btn-success,
    .contratacion-card .btn-primary {
        border-radius: 8px;
        padding: 10px 24px;
        font-weight: 600;
    }

        .contratacion-card .btn-success:hover {
            background-color: #6ca45b;
            border-color: #1e7e34;
        }

        .contratacion-card .btn-primary:hover {
            background-color: #6ca45b;
            border-color: #004085;
        }


/* ===================== [PANTALLA LATERAL] ===================== */
.pantalla {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    background-image: url('../Assets/Img/FONDO-PL-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow-y: auto;
    box-sizing: border-box;
    display: block;
}

@media screen and (max-width: 1000px) {
    .pantalla {
        background-image: url('../Assets/Img/Fondo-PL-2.png');
        background-size: auto;
        background-position: initial;
    }


}

.pantalla.visible {
    opacity: 1;
    transform: translateX(0);
}

.pantalla.hidden {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
}

/* ===== Botón cerrar pantalla ===== */
.cerrar {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2f855a; /* Verde institucional */
    border: 0.5px solid white;
    color: white;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 6px;
    z-index: 1001;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .cerrar:hover {
        background-color: #22543d; /* Verde más oscuro al pasar el mouse */
        transform: scale(1.05);
    }


/* ===== Botón activar pantalla lateral ===== */
.btnMostrarPantalla {
    background: none;
    border: none;
    color: rgba(10, 10, 10, 0.8);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 4px;
    transition: transform 0.3s ease;
    text-emphasis: filled lightgray;
}

    .btnMostrarPantalla span {
        color: lightgray;
    }

    .btnMostrarPantalla::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        width: 0%;
        background-color: lightgray;
        transition: width 0.3s ease;
    }

    .btnMostrarPantalla:hover {
        transform: translate(2px, 2px);
    }

        .btnMostrarPantalla:hover::after {
            width: 100%;
        }


/* ===== Contenido general de pantalla lateral ===== */
.pantallaContenido {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    padding: 4rem 2rem 3rem 2rem;
    background-color: rgba(0, 0, 0, 0.95); /* fondo uniforme oscuro */
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    color: white;
}


/* ===== Introductorio centrado ===== */
.pantallaIntro {
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .pantallaIntro h1,
    .pantallaIntro p {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 800px;
    }


/* ===== Columnas (3 o 2 secciones) ===== */
.pantallaColumnas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

    .pantallaColumnas > div {
        flex: 1 1 280px;
        max-width: 300px;
        min-width: 260px;
        width: 100%;
        padding: 1.5rem;
        margin: 0 auto 1rem auto;
        text-align: center;
    }


    .pantallaColumnas h1,
    .pantallaColumnas h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .pantallaColumnas ul {
        list-style: none;
        padding-left: 0;
        text-align: center;
    }

    .pantallaColumnas li {
        font-size: 1rem;
        line-height: 1.6; /* mejora la legibilidad */
    }



/* ===== Responsive columnas móviles ===== */
@media (max-width: 768px) {
    .pantallaColumnas {
        flex-direction: column;
        align-items: center;
    }

        .pantallaColumnas > div {
            max-width: 90%;
            width: 100%;
        }
}


/* ===== Carrusel / Anuncios ===== */
.contenedorAnuncios {
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    width: 100%;
    max-width: 800px;
}

    .contenedorAnuncios > * {
        position: absolute;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 1s ease, transform 1s ease;
        max-width: 90%;
        max-height: 100%;
        object-fit: contain;
    }

        .contenedorAnuncios > *.active {
            opacity: 1;
            transform: translateX(0);
            z-index: 2;
        }

    .contenedorAnuncios svg {
        width: 200px;
        height: auto;
    }


/* ===== Animaciones ===== */
.glow-mountain {
    filter: url(#glow);
    animation: parpadeo 2.5s infinite ease-in-out;
    transform-origin: center;
}

@keyframes parpadeo {
    0%, 100% {
        opacity: 0.85;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.015);
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* ===== Contenido dinámico de card lateral ===== */
.pantallaContenidoDinamico {
    width: 100%;
    max-width: 1200px; /* Limita el ancho máximo */
    min-height: 100vh;
    background-color: rgba(255, 255, 255, 0.7);
    color: #222;
    box-sizing: border-box;
    padding: 2rem;
    margin: 0 auto; /* Centra horizontalmente */
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}


    .pantallaContenidoDinamico > *:first-child {
        margin-top: 0 !important;
    }

    .pantallaContenidoDinamico h1,
    .pantallaContenidoDinamico h2,
    .pantallaContenidoDinamico h3 {
        color: #22543d;
        margin-top: 1.5rem;
        font-weight: 700;
        border-left: 4px solid #38a169;
        padding-left: 1rem;
        background-color: white;
    }

    .pantallaContenidoDinamico p {
        font-size: 1.05rem;
        line-height: 1.8;
        text-align: justify;
        text-indent: 2em;
        color: #2d3748;
        margin: 1rem 0;
        background-color:white;
    }

    .pantallaContenidoDinamico img {
        display: block;
        width: 100%;
        max-width: 750px;
        height: auto;
        max-height: 260px;
        object-fit: cover;
        border-radius: 12px;
        margin: 2rem auto;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .pantallaContenidoDinamico ul {
        padding-left: 2rem;
        margin: 1rem 0;
        list-style-type: disc;
        background-color:white;
    }

    .pantallaContenidoDinamico li {
        margin-bottom: 0.6rem;
        line-height: 1.6;
        color: #4a5568;
    }

@media (max-width: 768px) {
    .pantallaContenidoDinamico {
        padding: 2rem 2.5rem;
    }

        .pantallaContenidoDinamico img {
            max-height: 220px;
        }

        .pantallaContenidoDinamico p {
            font-size: 1rem;
            text-indent: 1.2em;
        }
}


/* ===== Blog Card Moderno y Responsivo ===== */
.blog-card {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.4s ease;
    backdrop-filter: blur(3px);
    display: none;
}

/* ===== Blog HOME ===== */


.blog-wrapper {
    z-index: 102;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1300px;
    margin: auto;
    padding: 2rem;
}

.blog-block {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    font-family: "Old Standard TT", serif;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .blog-block:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    }

    .blog-block h3, .blog-block h1 {
        font-family: "Cinzel", serif;
        font-size: 1.8rem;
        color: #1a5d3d;
        margin-bottom: 1rem;
        text-transform: uppercase;
        border-left: 4px solid #1a5d3d;
        padding-left: 12px;
    }


.blog-block ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

    .blog-block li {
        margin-bottom: 0.6rem;
    }

    /* Bloque con video a la izquierda */
    .blog-block.video-left {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        align-items: flex-start;
    }

.video-container {
    flex: 1 1 400px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    background-color: #000;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top 10%; /* Desplaza el video hacia arriba */
        display: block;
        filter: brightness(1.03) contrast(1.05);
        animation: pulseInfinite 16s ease-in-out infinite;
    }

.video-box {
    width: 100%;
    max-width: 500px; /* o el valor que desees, como 720px o 800px */
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    background: #000;
    margin: 0 auto; /* para centrar si hay espacio horizontal */
}


    .video-box video {
        width: 102%;
        height: 110%; /* se extiende más del contenedor para tapar el borde inferior */
        object-fit: cover;
        object-position: center top 20%; /* sube más el foco para compensar el recorte */
        display: block;
        animation: pulseInfinite 16s ease-in-out infinite;
        filter: brightness(1.03) contrast(1.05);
        transform: translateY(-5%); /* levanta el video suavemente */
    }


.blog-block img {
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto; /* centrar + separación abajo */
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    object-fit: cover;
}



/* Animación opcional */

@keyframes pulseInfinite {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }
}

.text-container {
    flex: 2 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    padding: 0.5rem;
}

.blog-block p, .text-container P{
    text-indent: 2em; /* sangría de 2 espacios */
    margin-bottom: 1rem;
}

    .text-container h2 {
        font-family: "Cinzel", serif;
        font-size: 2rem;
        color: #1a5d3d;
        margin-bottom: 1rem;
        text-transform: uppercase;
        border-left: 4px solid #1a5d3d;
        padding-left: 12px;
    }