/* --- TvAzteca Layout & General Styles --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Header & Navbar Glassmorphism --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: #343433;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

.navbar {
    padding: 0.75rem 1.5rem;
    background-color: #343433;
    border-bottom: none;
}

.navbar-brand img {
    max-height: 44px;
    width: auto;
    transition: transform 0.2s ease;
}

.navbar-brand:hover img {
    transform: scale(1.03);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Ocultar la flecha / triangulito de Bootstrap en dropdown-toggle */
.navbar .dropdown-toggle::after {
    display: none !important;
}

#dropdown05 {
    border-bottom: none;
}

.dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    margin-top: 0.4rem;
    animation: navFadeInDown 0.22s ease-out;
}

@keyframes navFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: #333333 !important;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f1f3f5;
    color: #111111 !important;
}

.br-nav {
    display: inline;
}

main {
    min-height: calc(100vh - 200px);
}

/* --- Footer Styling --- */
footer.site-footer {
    background-color: #343433;
    color: #ffffff;
    font-size: 0.9rem;
    position: relative;
    border-top: none;
}

.footer-logo {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-divider {
    display: none;
}

.footer-heading {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease-in-out;
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 0.8;
    text-decoration: underline;
}

.footer-social-links {
    display: inline-flex;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.GS-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.GS-link:hover {
    color: #ffffff;
    opacity: 0.8;
}

.footer-copy {
    color: #ffffff;
    font-size: 0.85rem;
}

.footer-bottom {
    background-color: #0b0c0f;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- TvAzteca Home Styles --- */
.hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 2rem 1rem;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
    z-index: 1;
}

.hero-section:hover .hero-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero-text {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
    white-space: pre-line;
    margin: 0;
}

.hero-stripe-btn {
    position: absolute;
    z-index: 3;
    background: #773DBD;
    color: #ffffff;
    text-align: center;
    padding: 1rem 1.5rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none;
}

.hero-stripe-btn-top {
    top: 0;
    left: 0;
    right: 10rem;
}

.hero-stripe-btn-bottom {
    bottom: 0;
    left: 5rem;
    right: 0;
}

.hero-stripe-btn:hover {
    background: #336FB6;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.hero-plus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 0;
    background-color: #773DBD;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: none;
    text-decoration: none;
}

.hero-plus-btn:hover {
    background-color: #336FB6;
    color: #ffffff;
    border: none;
    transform: none;
}

.stripe-btn {
    background: #773DBD;
    color: #ffffff;
    text-align: center;
    padding: 1rem 1.5rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 8px;
}

.stripe-btn:hover {
    background: #336FB6;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

/* --- Sección Reportes Trimestrales --- */
.ReportesT {
    padding: 4rem 1rem 3rem;
    text-align: center;
}

.ReportesT h2 {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    font-weight: 700;
    color: #2c3240;
    margin-bottom: 2.5rem;
    position: relative;
    display: block;
    text-align: center;
}

.ReportesT h2::after {
    display: none !important;
}

.contentReportes {
    margin-bottom: 1.5rem;
}

.contentReportes .grid a {
    text-decoration: none;
    display: block;
}

.effect-lily {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #1a1b24;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.effect-lily:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.effect-lily img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.effect-lily:hover img {
    opacity: 0.6;
    transform: scale(1.05);
}

.effect-lily figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    color: #ffffff;
    display: flex;
    align-items: flex-end;
}

.effect-lily figcaption h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    color: #ffffff;
}

.effect-lily figcaption p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Sección Comunicados y Presentación Corporativa --- */
.sec3 {
    padding: 4rem 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.comunicados {
    padding: 0 1.5rem;
}

.comunicados h2 {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.3px;
}

.comunicados h2 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comunicados h2 a:hover {
    color: #336FB6;
}

.comunicados ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comunicados ul li {
    border-bottom: 1px solid #f0f4f8;
    padding: 0.85rem 0.75rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    border-left: none;
}

.comunicados ul li:hover {
    background-color: #f8fafc;
    border-left: none;
    box-shadow: none;
}

.comunicados ul li:last-child {
    border-bottom: none;
}

.comunicados ul li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.comunicados ul li a span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #336FB6;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.comunicados ul li a p {
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.comunicados ul li a:hover p {
    color: #000000;
}

.comunicados ul li a:hover span {
    color: #336FB6;
}

.sec3Slide {
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

.sec3Slide .swiper-container {
    width: 100%;
    max-width: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.sec3Slide .swiper-wrapper {
    max-width: 100%;
}

.sec3Slide .swiper-slide {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.sec3Slide .swiper-slide .title {
    width: 100%;
    text-align: center;
    margin-bottom: 1.25rem;
}

.sec3Slide .swiper-slide .title img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #edf2f7;
}

.sec3Slide .swiper-slide .text {
    width: 100%;
    box-sizing: border-box;
}

.sec3Slide .swiper-slide .text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* --- Sección 4 (Botones Directos) --- */
.sec4 {
    padding: 3rem 1rem 4rem;
}

.sec4 .col-lg {
    margin-bottom: 1rem;
}

/* --- Sección Bloques Acerca de Nosotros --- */
.bloque-seccion {
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
}

.bloque-seccion-claro {
    background-color: #ffffff !important;
}

.bloque-seccion-alterno {
    background-color: #f5f5f5 !important;
}

.bloque-titulo {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    color: #2c3240;
    margin-bottom: 1.25rem;
    position: relative;
}

.bloque-texto {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a5568;
}

.bloque-img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

/* --- Hero Acerca de Nosotros --- */
.acerca-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 3rem 1rem;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #2c3240;
}

.acerca-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.acerca-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.acerca-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.acerca-hero-title {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin: 0;
}

/* --- Sección Equipo Directivo --- */
.directivo-seccion {
    padding: 0.75rem 0;
    border-bottom: none;
}

.directivo-seccion:last-child {
    border-bottom: none;
}

.directivo-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    border: 1px solid #edf2f7;
    transition: none;
}

.directivo-card:hover {
    transform: none;
    box-shadow: none;
}

.directivo-nombre {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #336FB6;
    margin-bottom: 0.25rem;
}

.directivo-puesto {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directivo-descripcion {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    white-space: pre-line;
    margin: 0;
}

/* --- Item PDF Ancho Completo --- */
.pdf-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    text-decoration: none !important;
    color: #2d3748;
    transition: background-color 0.2s ease;
    box-shadow: none;
}

.pdf-row-item:hover {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    box-shadow: none;
    transform: none;
    color: #2d3748;
}

.pdf-row-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pdf-icon {
    font-size: 1.5rem;
    color: #333333;
    flex-shrink: 0;
}

.pdf-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3240;
    text-align: left;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    background-color: transparent;
    color: #333333;
    font-size: 1.3rem;
    width: auto;
    height: auto;
    padding: 0.25rem;
    border-radius: 0;
    flex-shrink: 0;
    box-shadow: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pdf-row-item:hover .pdf-download-btn {
    background: none;
    background-color: transparent;
    color: #1a202c;
    transform: scale(1.2);
}

/* --- Formulario de Contacto --- */
.formContacto {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.formContacto .form-group span {
    display: block;
    font-weight: 600;
    color: #2c3240;
    margin-bottom: 0.5rem;
}

.formContacto .form-control {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.formContacto .form-control:focus {
    border-color: #336FB6;
    box-shadow: 0 0 0 3px rgba(51, 111, 182, 0.2);
}

.btn-Morado,
#ContentPlaceHolder1_btnSend {
    display: block;
    margin-left: auto;
    background: #773DBD;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: none;
}

.btn-Morado:hover,
#ContentPlaceHolder1_btnSend:hover {
    background: #336FB6;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

/* --- Sección Logos de Marcas (.sec5) --- */
.sec5 {
    text-align: center;
}

.sec5-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.sec5-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
    margin: 2rem auto;
    max-width: 85%;
}

.logos-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    min-width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-decoration: none !important;
}

.logos-home img {
    height: 70px !important;
    width: auto !important;
    max-width: 160px;
    display: block;
    object-fit: contain;
    filter: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.logos-home:hover {
    transform: scale(1.05);
    box-shadow: none;
    border: none;
    background: transparent;
}

.logos-home:hover img {
    opacity: 1;
}
