/* ========================================================
   ESTILOS GENERALES Y SECCIONES DEL SITIO (PALETA MORENA)
   ======================================================== */

/* CORRECCIÓN DE DESBORDAMIENTO GLOBAL Y CONTENEDOR DEL MENÚ */
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: clip;
    background-color: #F8F9FA;
}

/* Forzado de visibilidad para el menú cargado dinámicamente */
#menu-container {
    width: 100%;
    position: relative;
    z-index: 99999;
    overflow: visible !important;
}

/* REGULADOR RESPONSIVE MÓVIL Y OVERFLOW (<= 1024px) */
@media (max-width: 1024px) {

    .navbar-wrapper {
        position: relative !important;
        z-index: 99999 !important;
        overflow: visible !important;
    }

    .navbar-content {
        overflow: visible !important;
        height: auto !important;
    }

    /* CONTENEDOR MÓVIL FLOTANTE */
    .nav-main-container {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #E17F28 !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
        flex-direction: column !important;
        padding: 10px 0 !important;
        z-index: 99999 !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    /* Mostrar contenedor únicamente cuando se active la clase JS */
    .nav-main-container.show-mobile {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Mostrar submenús cuando se active la clase JS */
    .dropdown-menu-list.show-submenu,
    .nested-menu-list.show-submenu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* --------------------------------------------------------
   HERO HEADER SECTION (VIDEO 100% PANTALLA)
   -------------------------------------------------------- */
.hero-header-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background-color: #000000;
}

.hero-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    clip-path: inset(0 2% 0 2%);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

/* --------------------------------------------------------
   SECCIÓN BIENVENIDA Y TURISMO (CARDS FLOTANTES GUINDA)
   -------------------------------------------------------- */

/* Título de la Sección */
.section-title {
    color: #691C32;
    font-size: 2.3rem;
    letter-spacing: -0.5px;
}

.title-underline {
    width: 85px;
    height: 4px;
    background-color: #BC955C;
    border-radius: 2px;
    margin-top: 10px;
}

/* CARDS FLOTANTES */
.card-huandacareo {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(105, 28, 50, 0.08);

    box-shadow: 0 12px 35px rgba(105, 28, 50, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.04);

    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.card-huandacareo:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(105, 28, 50, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

.card-huandacareo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #691C32, #BC955C);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-huandacareo:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 65px;
    height: 65px;
    background-color: #F3EBE0;
    color: #691C32;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card-huandacareo:hover .card-icon-wrapper {
    transform: scale(1.08) rotate(-3deg);
    background-color: #691C32;
    color: #FFFFFF;
}

.card-title {
    color: #2A0913;
    font-size: 1.5rem;
}

.lead-sm {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Insignias / Badges */
.bg-huandacareo {
    background-color: #691C32;
    color: #FFFFFF;
    font-weight: 600;
}

.bg-huandacareo-secondary {
    background-color: #4A1222;
    color: #FFFFFF;
    font-weight: 600;
}

/* Responsive para celulares */
@media (max-width: 768px) {
    .hero-header-section {
        height: 55vh;
    }

    .hero-video-wrapper {
        clip-path: inset(0 1% 0 1%);
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* ========================================================
   SECCIÓN MUNICIPIO Y TOGGLES (HISTORIA, TURISMO, ETC.)
   ======================================================== */
.municipio-section {
    background-color: #FFFFFF;
}

.municipio-header .sub-title {
    color: #691C32;
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
}

.municipio-header .main-title {
    color: #691C32;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.municipio-header .title-line {
    width: 60px;
    height: 3px;
    background-color: #BC955C;
}

/* BOTONES DEL ACORDEÓN / TOGGLE */
.custom-accordion .accordion-button {
    background: transparent !important;
    box-shadow: none !important;
    padding: 14px 0;
    color: #2D3748;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-accordion .accordion-button::after {
    display: none;
}

.toggle-icon {
    width: 28px;
    height: 28px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.custom-accordion .accordion-button:not(.collapsed) .toggle-icon {
    background-color: #691C32;
}

.custom-accordion .accordion-button:not(.collapsed) .toggle-icon i::before {
    content: "\f068";
}

.custom-accordion .accordion-button:not(.collapsed) .toggle-text {
    color: #691C32;
}

.custom-accordion .accordion-body {
    padding: 10px 0 20px 43px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* MARCO GEOMÉTRICO DE LA IMAGEN DE LA DERECHA */
.municipio-img-wrapper {
    position: relative;
    padding: 15px;
}

.main-town-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.geometric-overlay {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 15px solid rgba(105, 28, 50, 0.08);
    border-radius: 25px;
    z-index: 1;
    pointer-events: none;
}

/* ========================================================
   ANIMACIÓN DE ENTRADA DERECHA A IZQUIERDA
   ======================================================== */

.slide-from-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform, opacity;
}

.slide-from-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================================
   SECCIÓN REDES SOCIALES (GUINDA + RESPONSIVE IFRAME)
   ======================================================== */

.facebook-section {
    background-color: #691C32;
    position: relative;
    padding-bottom: 3rem;
    overflow: hidden;
}

.facebook-section-divider {
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, #FFFFFF 0%, #691C32 100%);
    margin-bottom: 2rem;
}

.bg-gold-accent {
    background-color: #BC955C;
    color: #FFFFFF;
    font-weight: 600;
}

.btn-facebook-custom {
    background-color: #1877F2;
    color: #FFFFFF;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-facebook-custom:hover {
    background-color: #166fe5;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.fb-card-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 12px;
    border: 3px solid #BC955C;
    transition: transform 0.3s ease;
}

.fb-card-wrapper:hover {
    transform: scale(1.01);
}

.fb-responsive-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.fb-responsive-container iframe {
    width: 100% !important;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .facebook-section-divider {
        height: 40px;
    }

    .fb-responsive-container iframe {
        height: 420px !important;
    }
}

/* ========================================================
   SECCIÓN SLIDER DE BANNERS (ALTURA HOMOLOGADA)
   ======================================================== */
.banner-slider-section {
    background-color: #F8F9FA;
}

.banner-slider-wrapper {
    border: 3px solid #BC955C;
    transition: transform 0.9s ease, box-shadow 0.9s ease;
    background-color: #FFFFFF;
}

.banner-slider-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(105, 28, 50, 0.2) !important;
}

.banner-slider-img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
}

.carousel-fade .carousel-item {
    transition-duration: 0.6s;
}

.bg-dark-arrow {
    background-color: rgba(105, 28, 50, 0.7);
    transition: background-color 0.8s ease;
}

.carousel-control-prev:hover .bg-dark-arrow,
.carousel-control-next:hover .bg-dark-arrow {
    background-color: #691C32;
}

.carousel-indicators [data-bs-target] {
    background-color: #BC955C;
    height: 4px;
    border-radius: 2px;
}

.carousel-indicators .active {
    background-color: #691C32;
    width: 30px;
}

@media (max-width: 992px) {
    .banner-slider-img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .banner-slider-wrapper {
        border-width: 2px;
        border-radius: 16px !important;
    }

    .banner-slider-img {
        height: 220px;
    }
}

/* ========================================================
   SECCIÓN PRESIDENTE MUNICIPAL (FONDO GUINDA)
   ======================================================== */
.presidente-section {
    background-color: #691C32;
    position: relative;
}

.card-presidente {
    background: #FFFFFF;
    border-radius: 24px;
    border: 2px solid #BC955C;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.3s ease;
}

.card-presidente:hover {
    transform: translateY(-5px);
}

.presidente-img-wrapper {
    width: 210px;
    height: 210px;
    position: relative;
}

.presidente-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border: 5px solid #BC955C;
    padding: 3px;
    background-color: #FFFFFF;
}

.presidente-nombre {
    color: #691C32;
    letter-spacing: 0.5px;
    font-size: 1.8rem;
}

.presidente-cargo {
    color: #BC955C !important;
    font-size: 1.15rem;
}

.divider-line {
    width: 80px;
    height: 3px;
    background-color: #691C32;
    border-radius: 2px;
}

.presidente-bio p {
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.btn-outline-guinda {
    color: #691C32;
    border-color: #691C32;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-outline-guinda:hover {
    background-color: #691C32;
    color: #FFFFFF;
}

@media (max-width: 576px) {
    .presidente-img-wrapper {
        width: 160px;
        height: 160px;
    }

    .presidente-nombre {
        font-size: 1.4rem;
    }

    .presidente-cargo {
        font-size: 1rem;
    }
}

/* ========================================================
   SECCIÓN EL SABOR DE MICHOACÁN (ANCHO COMPLETO CON IMÁGENES)
   ======================================================== */
.sabor-michoacan-section {
    background-color: #FDFBF7;
}

.sub-title-michoacan {
    color: #BC955C;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.section-title-michoacan {
    color: #691C32;
}

.title-underline-gold {
    width: 70px;
    height: 4px;
    background-color: #BC955C;
    border-radius: 2px;
    margin-top: 10px;
}

.card-sabor-full {
    border-radius: 24px !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.card-sabor-full:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
}

.card-sabor-img-wrapper {
    height: 100%;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    padding: 3%;
    box-sizing: border-box;
}

.card-sabor-img {
    height: 100%;
    width: 100%;
    min-height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.card-sabor-full:hover .card-sabor-img {
    transform: scale(1.03);
}

@media (max-width: 991px) {
    .card-sabor-img-wrapper {
        min-height: 260px;
        height: 260px;
        padding: 4%;
    }

    .card-sabor-img {
        min-height: 100%;
        height: 100%;
    }
}

.card-sabor-text {
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* COLORES DE TARJETAS */
.card-rose {
    background: linear-gradient(145deg, #E8A0BF, #C95B83);
    color: #FFFFFF;
}

.card-rose .card-sabor-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-card-rose {
    background-color: #FFFFFF;
    color: #C95B83;
    font-weight: 700;
}

.border-top-rose {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.card-white {
    background: #FFFFFF;
    color: #4A5568;
    border: 2px solid #BC955C !important;
}

.card-white .card-sabor-icon {
    width: 50px;
    height: 50px;
    background-color: #F3EBE0;
    color: #691C32;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-card-white {
    background-color: #691C32;
    color: #FFFFFF;
    font-weight: 700;
}

.card-white .card-sabor-title {
    color: #691C32;
}

.border-top-white {
    border-top: 1px solid rgba(188, 149, 92, 0.25);
    color: #BC955C;
}

.card-gold {
    background: linear-gradient(145deg, #D4AF37, #B8860B);
    color: #FFFFFF;
}

.card-gold .card-sabor-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.badge-card-gold {
    background-color: #FFFFFF;
    color: #B8860B;
    font-weight: 700;
}

.border-top-gold {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 991px) {

    .card-sabor-img-wrapper,
    .card-sabor-img {
        min-height: 260px;
        height: 260px;
    }
}

/* ========================================================
   SECCIÓN DE CONTACTO Y FORMULARIO (GUINDA + DEGRADADO)
   ======================================================== */
.contacto-section {
    background-color: #691C32;
    overflow: hidden;
}

.contacto-section-divider {
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, #FDFBF7 0%, #691C32 100%);
    margin-bottom: 1.5rem;
}

.card-contacto-form {
    background: #FFFFFF;
    border: 3px solid #BC955C !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35) !important;
}

.card-contacto-form iframe {
    display: block;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .contacto-section-divider {
        height: 45px;
    }

    .card-contacto-form iframe {
        height: 1850px;
    }
}

.text-gold {
    color: #BC955C !important;
}

/* ========================================================
   FOOTER OFICIAL (ANIMADO, RESPONSIVO Y ESTILIZADO)
   ======================================================== */
.footer-custom {
    background-color: #3C0D12;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #BC955C;
}

.footer-info-container {
    background-color: #3C0D12;
    min-height: 380px;
}

.footer-logo-wrapper {
    max-width: 280px;
}

.footer-logo-img {
    max-height: 110px;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(188, 149, 92, 0.5));
}

.footer-divider {
    width: 80%;
    max-width: 500px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(188, 149, 92, 0.6), transparent);
}

.footer-address {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contacts {
    font-size: 0.9rem;
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #BC955C !important;
}

.footer-link-valcorp {
    color: #BC955C;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link-valcorp:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.btn-scroll-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    background-color: rgba(26, 26, 26, 0.85);
    color: #FFFFFF;
    border: 1px solid #BC955C;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.btn-scroll-top:hover {
    background-color: #691C32;
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.slide-from-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-from-left.appear {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 991px) {
    .footer-map-container iframe {
        height: 320px !important;
        min-height: 320px;
    }

    .footer-info-container {
        padding: 2.5rem 1.5rem !important;
    }

    .footer-logo-img {
        max-height: 90px;
    }

    .footer-contacts {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .footer-contacts .text-gold {
        display: none;
    }

    .btn-scroll-top {
        bottom: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }
}

/* ========================================================
   WIDGET Y MENÚ DE ACCESIBILIDAD WEB
   ======================================================== */

.accessibility-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 52px;
    height: 52px;
    background-color: #004272;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.accessibility-btn:hover {
    background-color: #002c4c;
    transform: scale(1.08);
}

.accessibility-menu {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 320px;
    background-color: #FFFFFF;
    border: 2px solid #004272;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.accessibility-menu.left-side {
    right: auto;
    left: 20px;
}

.accessibility-header {
    background-color: #004272;
    color: #FFFFFF;
    padding: 10px 15px;
}

.btn-close-menu {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.accessibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background-color: #E2E8F0;
}

.access-option-btn {
    background-color: #FFFFFF;
    border: none;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #2D3748;
}

.access-option-btn i {
    font-size: 1.5rem;
    color: #4A90E2;
}

.access-option-btn span {
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

.access-option-btn:hover,
.access-option-btn.active {
    background-color: #EBF8FF;
    color: #004272;
}

.access-option-btn.active i {
    color: #004272;
}

.accessibility-footer {
    background-color: #F7FAFC;
    padding: 8px;
    border-top: 1px solid #E2E8F0;
}

.btn-reiniciar-access {
    background: transparent;
    border: none;
    color: #004272;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn-reiniciar-access:hover {
    text-decoration: underline;
}

/* CLASES DE ACCESIBILIDAD */
body.access-high-contrast {
    filter: invert(1) hue-rotate(180deg);
    background-color: #000000 !important;
}

body.access-highlight-links a {
    text-decoration: underline !important;
    font-weight: 800 !important;
    background-color: #FFEB3B !important;
    color: #000000 !important;
}

body.access-large-text {
    font-size: 118% !important;
}

body.access-wide-spacing {
    letter-spacing: 2px !important;
    word-spacing: 4px !important;
}

body.access-no-animations * {
    transition: none !important;
    animation: none !important;
}

body.access-legible-text * {
    font-family: Arial, Helvetica, sans-serif !important;
}

body.access-large-cursor,
body.access-large-cursor * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="%23004272"><path d="M7 2l12 11.2-5.8.5 3.3 7.3-2.2 1-3.2-7.4-4.1 4z"/></svg>'), auto !important;
}

.reading-guide-line {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 8px;
    background-color: rgba(255, 235, 59, 0.85);
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    pointer-events: none;
    z-index: 999999;
}

@media (max-width: 576px) {
    .accessibility-btn {
        bottom: 70px;
        right: 15px;
        width: 46px;
        height: 46px;
    }

    .accessibility-menu {
        width: 290px;
        bottom: 125px;
        right: 10px;
    }
}

/* ========================================================
   POPUP CARRUSEL CENTRADO
   ======================================================== */
.bg-guinda-popup {
    background-color: #691C32 !important;
    border: 2px solid #BC955C !important;
}

#popupCarousel {
    max-width: 720px;
    background-color: #000000;
}

.popup-carousel-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .popup-carousel-img {
        height: 260px;
    }
}

/* ========================================================
   SECCIÓN SEVAC - ESTILOS E IFRAME
   ======================================================== */
.sevac-header {
    background-color: #691C32;
    border-bottom: 3px solid #BC955C;
}

.card-sevac-iframe {
    border: 2px solid #BC955C !important;
}

.bg-guinda {
    background-color: #691C32 !important;
}

.sevac-iframe-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #FFFFFF;
}

.sevac-iframe-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 800px;
    border: none;
}

@media (max-width: 768px) {
    .sevac-iframe-wrapper iframe {
        min-height: 550px;
        height: 550px;
    }
}