/* Importando las fuentes usadas en la web actual */
        @import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
        
        /* Variables de colores */
        :root {
            --febimbo-verde: #0f9e5b;
            --febimbo-verde-claro: #10d794;
            --febimbo-amarillo: #ebbe32;
            --febimbo-gris-oscuro: #313130;
            --febimbo-gris: #666;
            --febimbo-gris-claro: #f5f5f5;
            --febimbo-azul: #2C82C9;
            --febimbo-naranja: #F4A261;
            --febimbo-rojo: #EF5350;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--febimbo-gris-oscuro);
            overflow-x: hidden;
            background-color: white;
        }
        
        /* Estilos para el nuevo Hero de Comunicaciones */
.comunicaciones-hero {
   position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background-color: #ffffff;
  margin-top: -50px;
}

/* Fondo con degradado y efecto de partículas */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    z-index: 1;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--febimbo-verde);
    opacity: 0.05;
    transform-origin: center;
}

.particle-1 {
    top: 10%;
    left: 10%;
    width: 250px;
    height: 250px;
    animation: float 25s infinite alternate ease-in-out;
}

.particle-2 {
    top: 60%;
    left: 15%;
    width: 120px;
    height: 120px;
    background-color: var(--febimbo-amarillo);
    animation: float 20s infinite alternate-reverse ease-in-out;
}

.particle-3 {
    top: 20%;
    right: 20%;
    width: 180px;
    height: 180px;
    background-color: var(--febimbo-azul);
    animation: float 28s infinite alternate ease-in-out;
}

.particle-4 {
    bottom: 15%;
    right: 10%;
    width: 200px;
    height: 200px;
    animation: float 22s infinite alternate-reverse ease-in-out;
}

.particle-5 {
    top: 40%;
    left: 40%;
    width: 150px;
    height: 150px;
    background-color: var(--febimbo-amarillo);
    opacity: 0.03;
    animation: float 30s infinite alternate ease-in-out;
}

.particle-6 {
    bottom: 30%;
    left: 30%;
    width: 100px;
    height: 100px;
    background-color: var(--febimbo-azul);
    opacity: 0.05;
    animation: float 18s infinite alternate-reverse ease-in-out;
}

.particle-7 {
    top: 70%;
    right: 25%;
    width: 160px;
    height: 160px;
    opacity: 0.04;
    animation: float 26s infinite alternate ease-in-out;
}

.particle-8 {
    top: 30%;
    right: 40%;
    width: 90px;
    height: 90px;
    background-color: var(--febimbo-amarillo);
    opacity: 0.06;
    animation: float 15s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

/* Elementos geométricos decorativos */
.geometric-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.geo-circle {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 80px;
    height: 80px;
    border: 3px solid var(--febimbo-amarillo);
    border-radius: 50%;
    opacity: 0.2;
    animation: rotate 30s linear infinite;
}

.geo-square {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    border: 3px solid var(--febimbo-amarillo);
    opacity: 0.2;
    transform: rotate(45deg);
    animation: bounce 8s ease-in-out infinite alternate;
}

.geo-triangle {
    position: absolute;
    top: 25%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--febimbo-amarillo);
    opacity: 0.8;
    animation: pulse 10s ease-in-out infinite;
}

.geo-line {
    position: absolute;
    background-color: var(--febimbo-amarillo);
    opacity: 0.5;
    transform-origin: center;
}

.line-1 {
    top: 40%;
    left: 0;
    width: 150px;
    height: 3px;
    animation: expandWidth 15s ease-in-out infinite alternate;
}

.line-2 {
    bottom: 35%;
    right: 10%;
    width: 3px;
    height: 100px;
    animation: expandHeight 12s ease-in-out infinite alternate;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0% { transform: translateY(0) rotate(45deg); }
    100% { transform: translateY(-20px) rotate(45deg); }
}

@keyframes pulse {
    0% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.05); }
    100% { opacity: 0.1; transform: scale(1); }
}

@keyframes expandWidth {
    0% { width: 100px; }
    100% { width: 200px; }
}

@keyframes expandHeight {
    0% { height: 80px; }
    100% { height: 150px; }
}

/* Contenido principal del hero */
.hero-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 150px;
}

.animated-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(15, 158, 91, 0.1);
    color: var(--febimbo-verde);
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(15, 158, 91, 0.1);
    transition: all 0.3s ease;
}

.animated-badge i {
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.animated-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 158, 91, 0.2);
}

.hero-title {
    font-family: "Titillium Web", sans-serif;
    
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.text-accent {
    color: var(--febimbo-amarillo);
    display: block;
}

.text-main {
    color: var(--febimbo-gris-oscuro);
    display: block;
}

.title-decoration {
    width: 80px;
    height: 5px;
    background-color: var(--febimbo-amarillo);
    margin-bottom: 30px;
    border-radius: 3px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--febimbo-gris);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-cta-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background-color: var(--febimbo-verde);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(15, 158, 91, 0.3);
}

.hero-cta-primary i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover {
    background-color: var(--febimbo-verde-claro);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 158, 91, 0.4);
}

.hero-cta-primary:hover i {
    transform: translateX(5px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background-color: transparent;
    color: var(--febimbo-gris-oscuro);
    text-decoration: none;
    border: 2px solid var(--febimbo-gris-claro);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-cta-secondary i {
    margin-right: 10px;
}

.hero-cta-secondary:hover {
    background-color: var(--febimbo-gris-claro);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Imagen y elementos visuales del hero */
.hero-image-container {
    flex: 1;
    max-width: 550px;
    position: relative;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-illustration {
    width: 100%;
    max-width: 470px;
    position: relative;
    z-index: 2;
}

.main-illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.hero-image-container:hover .main-illustration img {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.notification-card {
    position: absolute;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
    z-index: 3;
    transition: all 0.3s ease;
}

.notification-1 {
    top: 20%;
    left: -30%;
    width: 250px;
    animation: floatCard 8s ease-in-out infinite alternate;
}

.notification-2 {
    bottom: 5%;
    right: -20%;
    width: 250px;
    animation: floatCard 6s ease-in-out infinite alternate-reverse;
}

.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(15, 158, 91, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.notification-1 .notification-icon {
    background-color: rgba(15, 158, 91, 0.1);
    color: var(--febimbo-verde);
}

.notification-2 .notification-icon {
    background-color: rgba(235, 190, 50, 0.1);
    color: var(--febimbo-amarillo);
}

.notification-icon i {
    font-size: 1.2rem;
}

.notification-content {
    flex-grow: 1;
}

.notification-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--febimbo-gris-oscuro);
}

.notification-content p {
    font-size: 0.8rem;
    color: var(--febimbo-gris);
    margin: 0;
}

@keyframes floatCard {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Separador con forma de onda */
.wave-separator {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
    pointer-events: none;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

        /* Contenido del Hero */
        .comunicaciones-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 5%;
            z-index: 2;
            position: relative;
            text-align: center;
        }
        
        .comunicaciones-heading {
            font-family: "Titillium Web", sans-serif;
            font-weight: 700;
            font-size: 3.5rem;
            line-height: 1.1;
            color: var(--febimbo-gris-oscuro);
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }
        
        .comunicaciones-heading::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 5px;
            background-color: var(--febimbo-amarillo);
        }
        
        .comunicaciones-subtitle {
            font-size: 1.2rem;
            color: var(--febimbo-gris);
            line-height: 1.6;
            margin-bottom: 50px;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Sección de Novedades */
        .novedades-section {
            padding: 80px 5%;
            background-color: var(--febimbo-gris-claro);
            position: relative;
            overflow: hidden;
        }
        
        .section-title {
            text-align: center;
            font-family: "Titillium Web", sans-serif;
            font-weight: 700;
            font-size: 2.5rem;
            color: var(--febimbo-gris-oscuro);
            margin-bottom: 50px;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--febimbo-amarillo);
        }
        
        /* Grid de tarjetas de novedades */
        .novedades-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .novedad-card {
            background-color: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .novedad-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .novedad-icon-container {
            width: 100%;
            height: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: var(--febimbo-gris-claro);
            position: relative;
            overflow: hidden;
        }
        
        .novedad-icon-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            background-size: cover;
            opacity: 0.5;
            z-index: 0;
            transition: transform 0.5s ease;
        }
        
        .novedad-card:hover .novedad-icon-bg {
            transform: scale(1.1);
        }
        
        .novedad-icon {
            position: relative;
            width: 100px;
            height: 100px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 2.5rem;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            z-index: 1;
        }
         .expecta .novedad-icon {
            color: #0abdae;
        }
        .ps5 .novedad-icon {
            color: var(--febimbo-amarillo);
        }
        .pago-qr .novedad-icon {
            color: var(--febimbo-verde);
        }
        
        .catalogo .novedad-icon {
            color: var(--febimbo-azul);
        }
        
        .inhabilitados .novedad-icon {
            color: var(--febimbo-rojo);
        }
        
        .consignaciones .novedad-icon {
            color: var(--febimbo-naranja);
        }
        
        .novedad-content {
            padding: 30px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .novedad-tag {
            display: inline-block;
            padding: 6px 15px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 15px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

       .expecta .novedad-tag  {     
            color: #0a776e;
            background-color: rgba(98, 223, 213, 0.31);
        }
        .ps5 .novedad-tag {
            background-color: rgba(235, 189, 50, 0.1);
            color: var(--febimbo-amarillo);
        }
        .pago-qr .novedad-tag {
            background-color: rgba(15, 158, 91, 0.1);
            color: var(--febimbo-verde);
        }
        
        .catalogo .novedad-tag {
            background-color: rgba(44, 130, 201, 0.1);
            color: var(--febimbo-azul);
        }
        
        .inhabilitados .novedad-tag {
            background-color: rgba(239, 83, 80, 0.1);
            color: var(--febimbo-rojo);
        }
        
        .consignaciones .novedad-tag {
            background-color: rgba(244, 162, 97, 0.1);
            color: var(--febimbo-naranja);
        }
        
        .novedad-title {
            font-family: "Titillium Web", sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--febimbo-gris-oscuro);
        }
        
        .novedad-description {
            font-size: 0.95rem;
            line-height: 1.6;
            color: var(--febimbo-gris);
            margin-bottom: 30px;
            flex-grow: 1;
        }
        
        .novedad-button {
            display: inline-block;
            padding: 12px 25px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            text-align: center;
            border: none;
            font-family: 'Poppins', sans-serif;
        }

          .expecta .novedad-button {
            color: white;
             background-color: #0abdae;
              box-shadow: 0 8px 20px rgba(10, 196, 181, 0.31);
        }

        .expecta  .novedad-button:hover {
            background-color: #088b81;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(10, 196, 181, 0.41);
        }

        .ps5 .novedad-button {
            color: white;
             background-color: var(--febimbo-amarillo);
              box-shadow: 0 8px 20px rgba(235, 192, 0, 0.31);
        }

        .ps5  .novedad-button:hover {
            background-color: #ffc209;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(235, 192, 0, 0.41);
        }

        .pago-qr .novedad-button {
            background-color: var(--febimbo-verde);
            color: white;
            box-shadow: 0 8px 20px rgba(15, 158, 91, 0.3);
        }
        
        .pago-qr .novedad-button:hover {
            background-color: var(--febimbo-verde-claro);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(15, 158, 91, 0.4);
        }
        
        .catalogo .novedad-button {
            background-color: var(--febimbo-azul);
            color: white;
            box-shadow: 0 8px 20px rgba(44, 130, 201, 0.3);
        }
        
        .catalogo .novedad-button:hover {
            background-color: #3a9af7;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(44, 130, 201, 0.4);
        }
        
        .inhabilitados .novedad-button {
            background-color: var(--febimbo-rojo);
            color: white;
            box-shadow: 0 8px 20px rgba(239, 83, 80, 0.3);
        }
        
        .inhabilitados .novedad-button:hover {
            background-color: #f06c69;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(239, 83, 80, 0.4);
        }
        
        .consignaciones .novedad-button {
            background-color: var(--febimbo-naranja);
            color: white;
            box-shadow: 0 8px 20px rgba(244, 162, 97, 0.3);
        }
        
        .consignaciones .novedad-button:hover {
            background-color: #ffb380;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(244, 162, 97, 0.4);
        }
        
        /* Sección Actualizaciones */
        .actualizaciones-section {
            padding: 80px 5%;
            background-color: white;
            position: relative;
            overflow: hidden;
        }
        
        .actualizaciones-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 50px;
            align-items: center;
        }
        
        .actualizaciones-content {
            flex: 1;
            min-width: 300px;
        }
        
        .actualizaciones-title {
            font-family: "Titillium Web", sans-serif;
            font-weight: 700;
            font-size: 2.2rem;
            margin-bottom: 20px;
            color: var(--febimbo-gris-oscuro);
            position: relative;
            padding-left: 20px;
        }
        
        .actualizaciones-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 6px;
            background-color: var(--febimbo-amarillo);
            border-radius: 3px;
        }
        
        .actualizaciones-text {
            font-size: 1.05rem;
            line-height: 1.6;
            color: var(--febimbo-gris);
            margin-bottom: 30px;
        }
        
        .actualizaciones-features {
            margin-bottom: 30px;
        }
        
        .actualizaciones-feature {
            display: flex;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        
        .feature-icon-container {
            width: 40px;
            height: 40px;
            background-color: rgba(15, 158, 91, 0.1);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .feature-icon-container i {
            color: var(--febimbo-verde);
            font-size: 1.2rem;
        }
        
        .feature-text {
            font-size: 1rem;
            color: var(--febimbo-gris-oscuro);
        }
        
        .actualizaciones-link {
            display: inline-block;
            padding: 14px 30px;
            background-color: var(--febimbo-verde);
            color: white;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(15, 158, 91, 0.3);
        }
        
        .actualizaciones-link:hover {
            background-color: var(--febimbo-verde-claro);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(15, 158, 91, 0.4);
        }
        
        .actualizaciones-image {
            flex: 1;
            min-width: 300px;
            position: relative;
        }
        
        .actualizaciones-img {
            width: 100%;
            max-width: 450px;
            display: block;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1;
        }
        
        .image-decoration {
            position: absolute;
            bottom: -25px;
            right: -25px;
            width: 150px;
            height: 150px;
            border: 10px solid var(--febimbo-amarillo);
            z-index: 0;
            border-radius: 10px;
        }
        
        /* Animaciones */
        .fadeIn {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .fadeIn.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        .delay-1 {
            transition-delay: 0.1s;
        }
        
        .delay-2 {
            transition-delay: 0.2s;
        }
        
        .delay-3 {
            transition-delay: 0.3s;
        }
        
        .delay-4 {
            transition-delay: 0.4s;
        }
        
        /* Botón volver arriba */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--febimbo-verde);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(15, 158, 91, 0.3);
            cursor: pointer;
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            transform: translateY(20px);
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .back-to-top:hover {
            background-color: var(--febimbo-verde-claro);
            transform: translateY(-5px);
        }

/* Modal de tarjeta */
.modal-overlay-tarjeta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay-tarjeta.show {
    opacity: 1;
    visibility: visible;
}

.modal-container-tarjeta {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(-50px);
    transition: all 0.4s ease;
}

.modal-overlay-tarjeta.show .modal-container-tarjeta {
    transform: scale(1) translateY(0);
}

.modal-close-tarjeta {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-tarjeta:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1) rotate(90deg);
}

.image-container-tarjeta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: #f5f5f5;
}

.modal-image-tarjeta {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    max-height: 90vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-image-tarjeta.loaded {
    opacity: 1;
}

.loading-spinner-tarjeta {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0f9e5b;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
}

.modal-image-tarjeta.loaded + .loading-spinner-tarjeta {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

        /* Estilos responsivos */
        @media (max-width: 1200px) {
            .comunicaciones-heading {
                font-size: 3rem;
            }
        }
        
        @media (max-width: 992px) {
            .actualizaciones-container {
                flex-direction: column;
            }
            
            .actualizaciones-image {
                order: -1;
                margin-bottom: 30px;
            }
            
            .actualizaciones-img {
                margin: 0 auto;
            }
        }
        
        @media (max-width: 768px) {
            .comunicaciones-hero {
                padding-top: 40px;
                min-height: auto;
            }
            .hero-title {
                font-size: 3rem;
            }
            
            .notification-1, .notification-2 {
                display: none;
            }
            .comunicaciones-heading {
                font-size: 2.5rem;
            }
            
            .back-to-top {
                width: 40px;
                height: 40px;
                bottom: 20px;
                right: 20px;
                font-size: 1rem;
            }

            .modal-container-tarjeta {        
                max-width: 95vw;
                max-height: 85vh;
                margin: 20px;
            }
            
            .modal-close-tarjeta {
                top: 10px;
                right: 10px;
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
        }
        
        @media (max-width: 576px) {
            .comunicaciones-hero, .novedades-section, .actualizaciones-section {
                padding-left: 5%;
                padding-right: 5%;
            }
            
            .comunicaciones-heading {
                font-size: 2.2rem;
            }
            
            .section-title, .actualizaciones-title {
                font-size: 2rem;
            }
            
            .novedad-icon {
                width: 80px;
                height: 80px;
                font-size: 2rem;
            }
             .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-description {
                font-size: 1rem;
            }
            
            .hero-cta-container {
                flex-direction: column;
                gap: 15px;
            }
            
            .hero-cta-primary, .hero-cta-secondary {
                width: 100%;
                justify-content: center;
                padding: 12px 20px;
                font-size: 1rem;
            }
        }