@media (min-width: 769px) {
        html {
            zoom: 0.9;
        }
    }

/* Para el header - OVERRIDE específico */
.capas-header,
.capas-header * {
    line-height: normal !important;
}
        :root {
            --primary-blue: #044c8c;
            --secondary-blue: #04a4dc;
            --dark-blue: #044090;
            --medium-blue: #3a74a6;
            --medium-green: #7cbc34;
            --white: #ffffff;
            --light-gray: #f5f7fa;
            --medium-gray: #e1e5eb;
            --dark-gray: #444444;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--light-gray);
            color: var(--dark-gray);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Sección Hero */
        .hero {
            position: relative;
            background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
            color: var(--white);
            padding: 60px 0;
            overflow: hidden;
            border-radius: 0 0 20px 20px;
            box-shadow: 0 4px 20px rgba(15, 255, 6, 0.1);
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            z-index: 1;
        }

        .hero-text {
            width: 60%;
            padding-right: 30px;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .hero-image img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .btn {
            background-color: var(--light-green);
            color: var(--white);
            padding: 12px 25px;
            box-shadow: 0 4px 10px rgba(124, 188, 52, 0.3);
        }

        .btn:hover {
            background-color: var(--medium-green);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(124, 188, 52, 0.4);
        }

        .btn-outline {
            box-shadow: none;
        }

        /* Sección de Servicios */
        .section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--primary-blue);
            position: relative;
        }

        .section-title h2 {
            font-size: 2.5rem;
        }

        .section-title p {
            font-size: 1.1rem;
            color: var(--dark-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .section-title::after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background-color: var(--secondary-blue);
            margin: 20px auto 0;
            border-radius: 2px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .service-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .service-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 120px;
            background: linear-gradient(135deg, var(--secondary-blue), var(--medium-blue));
            color: var(--white);
            font-size: 3rem;
        }

        .service-content {
            padding: 25px;
        }

        .service-content h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .service-content p {
            color: var(--dark-gray);
            margin-bottom: 20px;
        }

        .service-btn {
            color: var(--secondary-blue);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .service-btn:hover {
            color: var(--primary-blue);
        }

        .service-btn span {
            margin-left: 8px;
            transition: all 0.3s ease;
        }

        .service-btn:hover span {
            transform: translateX(5px);
        }

        /* Sección de información */

        /* Sección de estadísticas */
        .stats-section {
            background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
            color: var(--white);
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="3" cy="3" r="1.5" fill="%23ffffff" opacity="0.2"/></svg>');
            background-size: 20px;
            opacity: 0.3;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            position: relative;
            z-index: 1;
        }

        .stat-card {
            text-align: center;
            padding: 30px 20px;
            border-radius: 10px;
            background-color: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }

        .stat-card:hover {
            background-color: rgba(255, 255, 255, 0.15);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--white);
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Sección de noticias */
        .news-section {
            padding: 80px 0;
            background-color: var(--light-gray);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .news-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .news-image {
            height: 200px;
            overflow: hidden;
        }

        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .news-card:hover .news-image img {
            transform: scale(1.1);
        }

        .news-content {
            padding: 25px;
        }

        .news-date {
            color: var(--secondary-blue);
            font-size: 0.9rem;
            margin-bottom: 10px;
            display: block;
        }

        .news-content h3 {
            color: var(--primary-blue);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .news-content p {
            color: var(--dark-gray);
            margin-bottom: 20px;
        }

        /* Sección de contacto rápido */

        /* Media queries para responsividad */
        @media screen and (max-width: 992px) {

            .hero-image {
                margin-top: 30px;
            }
        }

        @media screen and (max-width: 768px) {

            .section-title h2 {
                font-size: 2rem;
            }
        }

        @media screen and (max-width: 576px) {

            .hero p {
                font-size: 1rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }
        }

    html.no-scroll {
      overflow: hidden;
      height: 100%;
    }

    body.no-scroll {
      overflow: hidden;
      height: 100%;
    }

    #loading-splash-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #ffffff; /* Fondo blanco */
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999; /* Para que esté por encima de todo */
      transition: opacity 0.5s;
      overflow: hidden; /* Para que las gotas no generen scroll */
    }

    .splash-loader-container {
      text-align: center;
      position: relative;
      z-index: 2; /* Para que esté por encima de las gotas */
    }

    .splash-loader-gif {
      width: 150px; /* GIF más grande */
      height: 150px; /* GIF más grande */
      margin-bottom: 20px;
    }

    .splash-loading-dots {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      height: 20px;
    }

    .splash-loading-dots span {
      width: 12px;
      height: 12px;
      background-color: #118c3c;
      border-radius: 50%;
      display: inline-block;
      animation: splash-dots-pulse 1.4s infinite ease-in-out;
    }

    .splash-loading-dots span:nth-child(2) {
      animation-delay: 0.2s;
    }

    .splash-loading-dots span:nth-child(3) {
      animation-delay: 0.4s;
    }

    @keyframes splash-dots-pulse {
      0%, 80%, 100% { 
        transform: scale(0);
        opacity: 0.2;
      }
      40% { 
        transform: scale(1);
        opacity: 1;
      }
    }

    /* Estilos para las gotas */
    .splash-droplets {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    .splash-drop {
      position: absolute;
      border-radius: 50%;
      opacity: 0.7; /* Un poco más transparentes */
      animation: splash-drop-fall 6s infinite ease-in;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Sombra suave para dar profundidad */
    }

    .splash-drop-blue {
      background-color: #50b8e8; /* Azul claro */
      border: 2px solid #38a0d0; /* Borde más oscuro */
    }

    .splash-drop-green {
      background-color: #7ed957; /* Verde claro */
      border: 2px solid #6cc048; /* Borde más oscuro */
    }

    /* Redistribuir gotas - algunas más cerca del icono central */
    .splash-drop:nth-child(1) {
      width: 30px;
      height: 30px;
      left: 5%;
      top: -30px;
      animation-delay: 0.2s;
      animation-duration: 5s;
    }

    .splash-drop:nth-child(2) {
      width: 40px;
      height: 40px;
      left: 12%;
      top: -40px;
      animation-delay: 1s;
      animation-duration: 6s;
    }

    /* Gota cerca del lado izquierdo del icono */
    .splash-drop:nth-child(3) {
      width: 30px;
      height: 30px;
      left: 40%;
      top: -30px;
      animation-delay: 2.5s;
      animation-duration: 4.5s;
    }

    .splash-drop:nth-child(4) {
      width: 28px;
      height: 28px;
      left: 28%;
      top: -28px;
      animation-delay: 0.5s;
      animation-duration: 5.5s;
    }

    /* Gota cerca del lado izquierdo del icono */
    .splash-drop:nth-child(5) {
      width: 35px;
      height: 35px;
      left: 38%;
      top: -35px;
      animation-delay: 1.8s;
      animation-duration: 4s;
    }

    /* Gota cerca del lado derecho del icono */
    .splash-drop:nth-child(6) {
      width: 32px;
      height: 32px;
      left: 58%;
      top: -32px;
      animation-delay: 3s;
      animation-duration: 6.5s;
    }

    /* Gota cerca del lado derecho del icono */
    .splash-drop:nth-child(7) {
      width: 25px;
      height: 25px;
      left: 60%;
      top: -25px;
      animation-delay: 0.7s;
      animation-duration: 4.8s;
    }

    .splash-drop:nth-child(8) {
      width: 35px;
      height: 35px;
      left: 85%;
      top: -35px;
      animation-delay: 2.2s;
      animation-duration: 5.2s;
    }

    .splash-drop:nth-child(9) {
      width: 28px;
      height: 28px;
      left: 92%;
      top: -28px;
      animation-delay: 3.5s;
      animation-duration: 4.3s;
    }

    .splash-drop:nth-child(10) {
      width: 42px;
      height: 42px;
      left: 75%;
      top: -42px;
      animation-delay: 1.5s;
      animation-duration: 5.8s;
    }

    .splash-drop:nth-child(11) {
      width: 22px;
      height: 22px;
      left: 88%;
      top: -22px;
      animation-delay: 0.3s;
      animation-duration: 4.5s;
    }

    .splash-drop:nth-child(12) {
      width: 38px;
      height: 38px;
      left: 2%;
      top: -38px;
      animation-delay: 2.8s;
      animation-duration: 5.3s;
    }

    @keyframes splash-drop-fall {
      0% {
        transform: translateY(0) translateX(0);
      }
      50% {
        transform: translateY(50vh) translateX(20px);
      }
      100% {
        transform: translateY(100vh) translateX(-20px);
        opacity: 0;
      }
    }

/* Animated Title */
.animated-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.title-highlight {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 0;
    background: linear-gradient(90deg, var(--light-green), var(--secondary-blue));
    border-radius: 3px;
    animation: highlightWidth 1.2s ease-out forwards 0.3s;
}

@keyframes highlightWidth {
    0% { width: 0; }
    100% { width: 120px; }
}

/* Animated Text */
.fade-in-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease-out forwards 0.4s;
    line-height: 1.7;
    white-space: nowrap;
}

/* Buttons */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards 0.6s;
}

.btn {
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 30px;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--light-green), var(--medium-green));
    color: var(--white);
    padding: 12px 25px;
    box-shadow: 0 4px 10px rgba(124, 188, 52, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    margin-left: 15px;
    padding: 12px 25px;
    color: var(--white);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: skewX(-15deg);
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--medium-green), var(--light-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(124, 188, 52, 0.4);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.3);
}

.btn:hover .btn-icon {
    transform: translateY(-2px);
}

/* Image section */
.hero-image {
    width: 40%;
    position: relative;
    animation: fadeInRight 1s ease-out forwards;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: floatImage 5s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(116, 180, 44, 0.2) 0%, rgba(4, 164, 220, 0.1) 40%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
    animation: pulsateGlow 3s ease-in-out infinite;
}

@keyframes pulsateGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Floating elements */
.floating-elements {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    z-index: 3;
    pointer-events: none;
}

.water-drop {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    opacity: 0.6;
}

.drop-1 {
    width: 28px;
    height: 28px;
    top: 15%;
    left: 8%; /* Un poco más alejada, cambiar de 10% a 8% */
    animation: dropFloat 8s ease-in-out infinite;
}

.drop-2 {
    width: 22px;
    height: 22px;
    top: 10%;
    right: 8%; /* Un poco más alejada, cambiar de 10% a 8% */
    animation: dropFloat 7s ease-in-out infinite 1s;
}

.drop-3 {
    width: 30px;
    height: 30px;
    bottom: 15%;
    left: 8%; /* Un poco más alejada, cambiar de 10% a 8% */
    animation: dropFloat 9s ease-in-out infinite 2s;
}

.drop-4 {
    width: 25px;
    height: 25px;
    bottom: 10%;
    right: 8%; /* Un poco más alejada, cambiar de 10% a 8% */
    animation: dropFloat 8s ease-in-out infinite 0.5s;
}

.drop-5 {
    width: 32px;
    height: 32px;
    top: 50%;
    left: 3%; /* Un poco más alejada, cambiar de 5% a 3% */
    animation: dropFloat 10s ease-in-out infinite 1.5s;
}

.drop-6 {
    width: 28px;
    height: 28px;
    top: 50%;
    right: 3%; /* Un poco más alejada, cambiar de 5% a 3% */
    animation: dropFloat 11s ease-in-out infinite 2.5s;
}

/* Responsive */
@media screen and (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text, .hero-image {
        width: 100%;
        padding-right: 0;
    }

    .hero-text {
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-outline {
        margin-left: 0;
    }

    .logo-image {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    /* Ajustar posición de gotas en móvil */
    .floating-elements {
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
    }

    .drop-1 {
        top: 10%;
        left: 10%;
    }

    .drop-2 {
        top: 10%;
        right: 10%;
    }

    .drop-3 {
        bottom: 20%;
        left: 10%;
    }

    .drop-4 {
        bottom: 20%;
        right: 10%;
    }

    .drop-5 {
        top: 40%;
        left: 5%;
    }

    .drop-6 {
        top: 40%;
        right: 5%;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .title-highlight {
        height: 4px;
    }

    @keyframes highlightWidth {
        0% { width: 0; }
        100% { width: 100px; }
    }

    .fade-in-text {
        font-size: 1.1rem;
        white-space: normal;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .title-highlight {
        height: 3px;
    }

    @keyframes highlightWidth {
        0% { width: 0; }
        100% { width: 85px; }
    }

    .fade-in-text {
        font-size: 1rem;
        white-space: normal;
        text-align: center;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
        text-align: center;
        justify-content: center;
    }

    .btn-outline {
        margin-top: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
}

        /* Sección de imágenes importantes */
        .hero-carousel-section {
            padding: 0;
            position: relative;
        }

        .hero-carousel-wrapper {
            width: 100%;
            margin: 0;
            position: relative;
        }

        .hero-carousel-container {
            position: relative;
            overflow: hidden;
        }

        .hero-carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            width: 700%;
        }

        .hero-carousel-slide {
            width: calc(100% / 7);
            position: relative;
            height: 400px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: end;
            padding: 40px;
            /* Removido cursor: pointer; */
            overflow: hidden;
        }

        .hero-carousel-slide::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 60px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,120 900,0 1200,60 L1200,120 L0,120 Z' fill='rgba(0,0,0,0.3)'/%3E%3C/svg%3E") repeat-x;
            background-size: 1200px 60px;
            z-index: 1;
        }

        .hero-slide-1 {
            background-image: url('/img principal/p1.png'), linear-gradient(45deg, rgba(0, 204, 255, 0.459), #09ff004f);
            background-blend-mode: overlay;
            background-position: center 10;
        }

       .hero-slide-2 {
    background-image: url('/img principal/p2.1.jpeg'), linear-gradient(45deg, #4b48e4c9, #0ccc1696);
    background-blend-mode: overlay;
    background-position: center 30%;
}

        .hero-slide-3 {
            background-image: url('/img principal/p3.jpg'), linear-gradient(45deg, #06ffa41c, #00b4d818);
               background-blend-mode: overlay;
               background-position: center top 50%;
        }

        /* Slide 4 - CSS corregido */
.hero-slide-4 {
    background-image: url('/img principal/p4.jpg'), linear-gradient(45deg, #f72585, #7209b7);
    background-blend-mode: overlay;
    background-position: center;
}

        .hero-slide-5 {
            background-image: url('/img principal/p5.png'), linear-gradient(45deg, #00f70013, #dbfc4911);
             background-blend-mode: overlay;
            background-position: center top 15%;

        }
        .hero-slide-6 {
    background-image: url('/img principal/whats.jpg'), linear-gradient(45deg, #25d36577, #128c7e71);
    background-blend-mode: overlay;
    background-position: center;
}

.hero-slide-7 {
    background-image: url('/img principal/delega.jpeg'), linear-gradient(45deg, #e4860a65, #f69f3b5e);
    background-blend-mode: overlay;
    background-position: center;
}

        .hero-slide-content {
            background: rgba(0,0,0,0.7);
            backdrop-filter: blur(10px);
            padding: 25px;
            border-radius: 15px;
            color: white;
            width: 100%;
            transform: translateY(20px);
            opacity: 0;
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
            cursor: pointer; /* Añadido cursor pointer solo al contenido */
            pointer-events: auto;

        }

        .hero-carousel-slide:hover .hero-slide-content {
            transform: translateY(0);
            opacity: 1;
        }

        .hero-slide-content h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: #fff;
            transition: all 0.3s ease;
        }

        .hero-slide-content p {
            font-size: 0.95rem;
            line-height: 1.5;
            color: rgba(255,255,255,0.9);
            transition: all 0.3s ease;
        }

        /* Efecto de subrayado al hacer hover sobre el contenido */
        .hero-slide-content:hover h3 {
            text-decoration: underline;
            text-decoration-color: #fff;
            text-underline-offset: 4px;
        }

        .hero-slide-content:hover p {
            text-decoration: underline;
            text-decoration-color: rgba(255,255,255,0.9);
            text-underline-offset: 3px;
        }

        .hero-carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: 2px solid white;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.8rem;
            transition: all 0.3s ease;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            font-family: Arial, sans-serif;
        }

        .hero-carousel-nav:hover {
            background: white;
            color: #333;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 4px 15px rgba(255,255,255,0.3);
        }

        .hero-nav-prev {
            left: 48px;
        }

        .hero-nav-next {
            right: 48px;
        }

        .hero-carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 4;
        }

        .hero-indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .hero-indicator.active {
            background: white;
            transform: scale(1.2);
        }

        /* Media query para móviles */
@media (max-width: 768px) {
    .hero-carousel-slide {
        height: 180px; /* Imagen más delgada */
        padding: 10px; /* Padding muy reducido */
    }

    /* Tarjeta más pequeña y compacta */
    .hero-slide-content {
        transform: translateY(0) !important; 
        opacity: 1 !important; 
        padding: 8px 10px; /* Tarjeta más chiquita */
        border-radius: 6px; 
        background: rgba(0,0,0,0.8); /* Más opaco para mejor legibilidad */
    }

    /* Textos más pequeños */
    .hero-slide-content h3 {
        font-size: 0.9rem; /* Título más pequeño */
        margin-bottom: 4px;
        font-weight: 600;
    }

    .hero-slide-content p {
        font-size: 0.7rem; /* Párrafo más pequeño */
        line-height: 1.2;
    }

    /* Botones más pequeños */
    .hero-carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        border: 1px solid white;
    }

    .hero-nav-prev {
        left: 8px;
    }

    .hero-nav-next {
        right: 8px;
    }

    /* Indicadores más pequeños */
    .hero-indicator {
        width: 8px;
        height: 8px;
    }

    .hero-carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 480px) {
    .hero-carousel-slide {
        height: 1200; /* Imagen súper delgada */
        padding: 8px;
    }

    .hero-slide-content {
        padding: 6px 8px; /* Tarjeta mini */
        border-radius: 4px;
    }

    .hero-slide-content h3 {
        font-size: 0.8rem; /* Título mini */
        margin-bottom: 2px;
    }

    .hero-slide-content p {
        font-size: 0.65rem; /* Texto mini */
        line-height: 1.1;
    }

    .hero-carousel-nav {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }

    .hero-indicator {
        width: 6px;
        height: 6px;
    }

    .hero-carousel-indicators {
        bottom: 8px;
        gap: 4px;
    }
}

  /* Estilos para el botón "Conocer Más" */
.jm-more-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #0096c7, #023e8a);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 150, 199, 0.3);
    border: none;
    cursor: pointer;
}

.jm-more-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 150, 199, 0.4);
    background: linear-gradient(135deg, #00a6e7, #034eaa);
}

.jm-more-button:active {
    transform: translateY(1px);
}
    /* Estilos específicos para esta sección con nombres de variables únicos */
    .jm-info-section {
        padding: 60px 0;
        background-color: #fff;
    }

    .jm-info-container {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .jm-info-content {
        flex: 1;
    }

    .jm-info-image {
        flex: 1;
    }

    .section-title h2 {
        font-weight: 700;
        margin-bottom: 15px;
    }

    .jm-info-list {
        list-style: none;
        padding: 0;
        margin: 20px 0 0 0;
    }

    .jm-info-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .jm-info-item:hover {
        transform: translateX(10px);
    }

    .jm-info-icon {
        flex-shrink: 0;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        color: #0096c7;
        font-size: 24px;
        transition: all 0.5s ease;
    }

    .jm-info-item:hover .jm-info-icon {
        color: #023e8a;
        transform: rotate(360deg);
    }

    /* Estilos para la galería de imágenes personalizada */
    .jm-gallery {
        position: relative;
        width: 100%;
        height: 400px;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .jm-gallery-container {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .jm-gallery-item {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease, transform 1.2s ease;
        transform: scale(1.1);
        z-index: 1;
        pointer-events: none;
    }

    .jm-gallery-item.active {
        opacity: 1;
        transform: scale(1);
        z-index: 2;
        pointer-events: auto;
    }

    .jm-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Controles de la galería */
    .jm-gallery-controls {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 3;
    }

    .jm-gallery-prev,
    .jm-gallery-next {
        background: rgba(255, 255, 255, 0.8);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin: 0 10px;
        font-size: 18px;
        color: #333;
        transition: all 0.3s ease;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .jm-gallery-prev:hover,
    .jm-gallery-next:hover {
        background: #fff;
        transform: scale(1.1);
    }

    .jm-gallery-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .jm-gallery-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.5);
        margin: 0 5px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .jm-gallery-dot.active {
        background: #fff;
        transform: scale(1.3);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    }

    /* Animaciones para las imágenes */
    @keyframes zoomIn {
        from { transform: scale(1.2); opacity: 0; }
        to { transform: scale(1); opacity: 1; }
    }

    @keyframes fadeInRight {
        from { transform: translateX(30px); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }

    .jm-info-item:nth-child(1) {
        animation: fadeInRight 0.6s ease forwards;
        animation-delay: 0.2s;
    }

    .jm-info-item:nth-child(2) {
        animation: fadeInRight 0.6s ease forwards;
        animation-delay: 0.4s;
    }

    .jm-info-item:nth-child(3) {
        animation: fadeInRight 0.6s ease forwards;
        animation-delay: 0.6s;
    }

    .jm-gallery {
        animation: zoomIn 1s ease forwards;
    }

    /* Media queries para responsividad */
    @media (max-width: 992px) {
        .jm-info-container {
            flex-direction: column;
        }

        .jm-info-content, .jm-info-image {
            width: 100%;
        }

        .jm-gallery {
            height: 350px;
            margin-top: 30px;
        }
    }

/* Estilos para las animaciones */
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    cursor: default; /* Cambiado de pointer a default */
}

.stat-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default; /* Asegurarse que no cambie a pointer en hover */
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number.animate-number {
    animation: countUp 0.5s ease forwards;
}

.stat-card:hover .stat-number {
    color: #00cc33;
    transition: color 0.3s ease;
}

.eco-programs-section {
    --eco-primary-color: #16a3b8;
    --eco-secondary-color: #34d399;
    --eco-dark-text: #2d3748;
    --eco-light-text: #4a5568;
    --eco-background: #e8f7f7;
    --eco-card-bg: #ffffff;
    --eco-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --eco-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    padding: 80px 0;
    background: linear-gradient(135deg, rgba(22, 163, 184, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
    transform: translateY(50px);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.eco-programs-section.eco-visible {
    transform: translateY(0);
    opacity: 1;
}

.eco-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.eco-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.eco-section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #16a3b8;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #16a3b8, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eco-section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--eco-primary-color), var(--eco-secondary-color));
    border-radius: 3px;
}

.eco-section-title p {
    font-size: 18px;
    color: var(--eco-light-text);
    max-width: 700px;
    margin: 0 auto;
}

.eco-programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.eco-program-card {
    background-color: var(--eco-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--eco-shadow);
    transition: var(--eco-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    transform: translateY(30px);
    opacity: 0;
}

.eco-program-card.eco-animate {
    animation: ecoSlideUp 0.6s forwards;
}

@keyframes ecoSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.eco-program-card:nth-child(1) {
    animation-delay: 0.2s;
}

.eco-program-card:nth-child(2) {
    animation-delay: 0.4s;
}

.eco-program-card:nth-child(3) {
    animation-delay: 0.6s;
}

.eco-program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.eco-program-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--eco-primary-color), var(--eco-secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--eco-transition);
}

.eco-program-card:hover:before {
    transform: scaleX(1);
}

.eco-program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(22, 163, 184, 0.2) 0%, rgba(52, 211, 153, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto 10px;
    border-radius: 50%;
    color: var(--eco-primary-color);
    transition: var(--eco-transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.eco-program-card:hover .eco-program-icon {
    transform: rotateY(180deg);
    color: var(--eco-secondary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.eco-program-icon i {
    font-size: 36px;
    transition: var(--eco-transition);
}

.eco-program-content {
    padding: 20px 30px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.eco-program-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--eco-dark-text);
    text-align: center;
    transition: var(--eco-transition);
}

.eco-program-card:hover h3 {
    color: var(--eco-primary-color);
}

.eco-program-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--eco-light-text);
    margin-bottom: 25px;
    flex: 1;
}

.eco-program-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--eco-primary-color);
    font-weight: 600;
    margin-top: auto;
    transition: var(--eco-transition);
    width: fit-content;
}

.eco-program-btn span {
    margin-right: 8px;
}

.eco-btn-arrow {
    width: 20px;
    height: 20px;
    transition: var(--eco-transition);
}

.eco-program-btn:hover {
    color: var(--eco-secondary-color);
}

.eco-program-btn:hover .eco-btn-arrow {
    transform: translateX(5px);
}

/* Animaciones específicas para esta sección */
[data-eco-animate] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: calc(var(--eco-delay, 0) * 1ms);
}

[data-eco-animate="fade-up"] {
    transform: translateY(30px);
}

[data-eco-animate].eco-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .eco-section-title h2 {
        font-size: 30px;
    }

    .eco-section-title p {
        font-size: 16px;
    }

    .eco-programs-grid {
        grid-template-columns: 1fr;
    }
}

      @keyframes rise {
          0% {
              bottom: -30px;
              transform: translateX(0);
          }
          50% {
              transform: translateX(20px);
          }
          100% {
              bottom: 100%;
              transform: translateX(-20px);
          }
      }
      .tip-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      }
      .water-icon {
          transition: transform 0.3s ease;
      }
      .tip-card:hover .water-icon {
          transform: scale(1.1);
      }
      .learn-more-btn {
          display: inline-block;
          background: #BFFF00;
          color: #1f5208;
          font-weight: 700;
          font-size: 1.1rem;
          padding: 15px 30px;
          border-radius: 50px;
          text-decoration: none;
          transition: all 0.3s ease;
          border: none;
          box-shadow: 0 4px 15px rgba(0,0,0,0.2);
          cursor: pointer;
          text-align: center;
          margin-top: 40px;
          position: relative;
          overflow: hidden;
          z-index: 1;
      }
      .learn-more-btn:hover {
          transform: translateY(-3px);
          box-shadow: 0 8px 25px rgba(0,0,0,0.3);
          background: #d4ff4d;
      }
      .learn-more-btn:active {
          transform: translateY(1px);
          box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      }
      .btn-container {
          display: flex;
          justify-content: center;
          margin-top: 40px;
      }

    /* Estilos para la sección mejorada de Atención Ciudadana */
    .citizen-support-section {
      position: relative;
      padding: 50px 0;
      background: linear-gradient(120deg, #f9fbfd, #f0f4f8);
      overflow: hidden;
    }

    .citizen-support-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 2;
    }

    .citizen-support-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .citizen-support-header h2 {
      font-size: 36px;
      font-weight: 700;
      color: #044c8c;
      margin-bottom: 15px;
      position: relative;
      display: inline-block;
    }

    .citizen-support-header p {
      font-size: 18px;
      color: #555;
      max-width: 700px;
      margin: 0 auto;
    }

    .citizen-support-header-decoration {
      width: 80px;
      height: 4px;
      background: linear-gradient(90deg, #044c8c, #04a4dc);
      margin: 20px auto 0;
      border-radius: 2px;
    }

    .citizen-support-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }

    .citizen-support-item {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
      padding: 20px;
      transition: all 0.3s ease;
      position: relative;
      z-index: 1;
      overflow: hidden;
      text-align: center;
    }

    .citizen-support-item:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

    .citizen-support-item:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 5px;
      background: linear-gradient(90deg, #044c8c, #04a4dc);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s ease;
      z-index: 1;
    }

    .citizen-support-item:hover:before {
      transform: scaleX(1);
    }

    .citizen-support-icon-box {
      position: relative;
      width: 70px;
      height: 70px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
    }

    .citizen-support-icon-bg {
      position: absolute;
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, #f0f4f8, #e0e8f5);
      border-radius: 15px;
      transition: all 0.3s ease;
    }

    .citizen-support-item:hover .citizen-support-icon-bg {
      transform: rotate(45deg) scale(1.1);
      background: linear-gradient(135deg, #e0f0ff, #d0e5ff);
    }

    .citizen-support-icon-box svg {
      position: relative;
      z-index: 2;
      color: #044c8c;
      transition: all 0.3s ease;
    }

    .citizen-support-item:hover .citizen-support-icon-box svg {
      color: #04a4dc;
      transform: scale(1.1);
    }

    .citizen-support-content h4 {
      font-size: 20px;
      font-weight: 600;
      color: #333;
      margin-bottom: 15px;
      text-align: center;
    }

    .citizen-support-content p {
      color: #666;
      margin-bottom: 8px;
      line-height: 1.5;
      text-align: center;
    }

    .citizen-support-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin: 10px auto 0;
      padding: 8px 0;
      color: #04a4dc;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      position: relative;
    }

    .citizen-support-link:after {
      content: '';
      position: absolute;
      bottom: 4px;
      left: 0;
      width: 0%;
      height: 2px;
      background: #04a4dc;
      transition: width 0.3s ease;
    }

    .citizen-support-link:hover:after {
      width: 100%;
    }

    .citizen-support-link:hover svg {
      transform: translateX(5px);
    }

    .citizen-support-link svg {
      transition: transform 0.3s ease;
    }

    .citizen-support-emergency {
      background: linear-gradient(135deg, #044c8c, #04a4dc);
      border-radius: 16px;
      padding: 20px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-top: 30px;
      box-shadow: 0 10px 30px rgba(4, 76, 140, 0.2);
    }

    .citizen-support-emergency p {
      color: white;
      font-size: 18px;
      margin: 0;
      flex: 1;
      min-width: 300px;
      text-align: center;
    }

    .citizen-support-emergency-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: white;
      color: #044c8c;
      padding: 12px 24px;
      border-radius: 50px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .citizen-support-emergency-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      background: #f5f5f5;
    }

    /* Formas decorativas */
    .citizen-shape {
      position: absolute;
      opacity: 0.6;
      z-index: 1;
    }

    .citizen-shape-1 {
      top: -50px;
      left: -50px;
      width: 200px;
      height: 200px;
      border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
      background: linear-gradient(135deg, rgba(4, 76, 140, 0.2), rgba(4, 164, 220, 0.1));
      animation: citizen-float 20s linear infinite alternate;
    }

    .citizen-shape-2 {
      bottom: -80px;
      right: -50px;
      width: 250px;
      height: 250px;
      border-radius: 38% 62% 46% 54% / 46% 46% 54% 54%;
      background: linear-gradient(135deg, rgba(4, 164, 220, 0.1), rgba(116, 180, 44, 0.2));
      animation: citizen-float 15s linear infinite alternate-reverse;
    }

    @keyframes citizen-float {
      0% {
        transform: translate(0, 0) rotate(0deg);
      }
      50% {
        transform: translate(15px, 15px) rotate(5deg);
      }
      100% {
        transform: translate(-15px, -15px) rotate(-5deg);
      }
    }

    /* Para dispositivos móviles */
    @media (max-width: 768px) {
      .citizen-support-emergency {
        flex-direction: column;
        text-align: center;
      }

      .citizen-support-header h2 {
        font-size: 28px;
      }

      .citizen-support-header p {
        font-size: 16px;
      }
    }

    /* Animaciones on scroll */
    [data-citizen-animate="slide-down"] {
      opacity: 0;
      transform: translateY(-30px);
      transition: transform 0.8s ease, opacity 0.8s ease;
    }

    [data-citizen-animate="slide-down"].citizen-animate-active {
      opacity: 1;
      transform: translateY(0);
    }

    [data-citizen-animate="slide-up"] {
      opacity: 0;
      transform: translateY(50px);
      transition: transform 0.8s ease, opacity 0.8s ease;
    }

    [data-citizen-animate="slide-up"].citizen-animate-active {
      opacity: 1;
      transform: translateY(0);
    }

    [data-citizen-animate="scale-in"] {
      opacity: 0;
      transform: scale(0.9);
      transition: transform 0.8s ease, opacity 0.8s ease;
    }

    [data-citizen-animate="scale-in"].citizen-animate-active {
      opacity: 1;
      transform: scale(1);
    }

:root {
    --dark-green: #307c68;
    --light-green: #75b42b;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.animate-title {
    animation: fadeInUp 1s ease forwards;
}

.animate-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
}

/* Efectos hover mejorados */
.capas-info-item:hover {
    transform: translateX(8px);
}

.capas-info-item:hover .capas-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-notification {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Hover effects para el teléfono */
.capas-phone:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.capas-phone:hover .app-icon-container img {
    transform: scale(1.05);
}

.capas-phone:hover .phone-screen {
    opacity: 1;
}

/* Botón principal con efectos especiales */
.capas-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.capas-btn-primary:hover::before {
    left: 100%;
}

.capas-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(75, 151, 200, 0.4);
    background: linear-gradient(135deg, #5ba7d8, #7cbc34);
}

.capas-btn-primary:hover .bi-arrow-right {
    transform: translateX(5px);
}

/* Botones secundarios mejorados */
.capas-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: #2a2a2a;
}

.animate-phone {
    animation: float 6s ease-in-out infinite;
}

.capas-info-item:nth-child(1) {
    --i: 1;
}

.capas-info-item:nth-child(2) {
    --i: 2;
}

.capas-info-item:nth-child(3) {
    --i: 3;
}

.capas-info-item:nth-child(4) {
    --i: 4;
}

/* Efectos para el nuevo QR code */
.qr-code-container {
    --i: 5;
}

.qr-code-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.qr-code-container:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .capas-container {
        padding: 0 20px;
    }

    .capas-phone {
        width: 320px !important;
        height: 620px !important;
    }
}

@media (max-width: 992px) {
    .capas-container {
        flex-direction: column !important;
        text-align: center;
        gap: 40px !important;
    }

    .capas-info-content {
        padding-left: 0 !important;
        order: 1;
    }

    .capas-info-image {
        order: 2;
        margin-top: 20px;
    }

    .capas-phone {
        width: 300px !important;
        height: 580px !important;
        transform: perspective(800px) rotateY(-5deg) !important;
    }

    .capas-phone:hover {
        transform: perspective(800px) rotateY(0deg) translateY(-5px) !important;
    }
}

@media (max-width: 768px) {
    .capas-section-title h2 {
        font-size: 2rem !important;
    }

    .capas-phone {
        width: 280px !important;
        height: 540px !important;
        transform: perspective(700px) rotateY(0deg) !important;
    }

    .capas-phone:hover {
        transform: perspective(700px) rotateY(0deg) translateY(-5px) !important;
    }

    .secondary-buttons {
        flex-direction: column !important;
    }

    .capas-info-item {
        flex-direction: row;
        text-align: left;
    }

    .capas-info-icon {
        margin-right: 15px !important;
    }

    /* Ajustes responsivos para QR */
    .qr-code-container {
        flex-direction: column;
        text-align: center;
    }

    .qr-image {
        margin: 0 auto 10px auto;
    }
}

@media (max-width: 576px) {
    .capas-phone {
        width: 260px !important;
        height: 500px !important;
    }

    .capas-info-content {
        padding: 0 10px !important;
    }

    .capas-btn-primary {
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

    .capas-info-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px !important;
    }

    .capas-info-icon {
        margin: 0 auto 10px auto !important;
    }

    .app-icon-container {
        width: 120px !important;
        height: 120px !important;
    }

    .app-icon-container img {
        width: 100px !important;
        height: 100px !important;
    }

    /* Ajustes adicionales para QR en tamaños muy pequeños */
    .qr-image img {
        width: 80px !important;
        height: 80px !important;
    }

    .qr-text h4 {
        font-size: 1rem !important;
    }

    .qr-text p {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 400px) {
    .capas-phone {
        width: 240px !important;
        height: 460px !important;
    }

    .app-icon-container {
        width: 100px !important;
        height: 100px !important;
    }

    .app-icon-container img {
        width: 80px !important;
        height: 80px !important;
    }
}

  /* Estilos para la sección "Calidad del Agua" con nombres de clase únicos para evitar conflictos */
  .wq-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #e1f5fe, #e3f2fd);
    overflow: hidden;
  }

  .wq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
  }

  .wq-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
  }

  .wq-title {
    font-size: 2.5rem;
    color: #0288d1;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    font-weight: 700;
  }

  .wq-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      rgba(255,255,255,0) 0%, 
      rgba(255,255,255,0.4) 50%, 
      rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    animation: light-sweep 5s infinite;
  }

  .wq-title::after {
  content: '✦';
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(3, 169, 244, 0.6);
  opacity: 0;
  animation: subtle-sparkle 3s infinite;
  z-index: 3;
  pointer-events: none;
  transform: rotate(15deg);
}

  @keyframes light-sweep {
    0%, 100% {
      transform: translateX(-100%);
    }
    40%, 60% {
      transform: translateX(100%);
    }
  }

 @keyframes subtle-sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8) rotate(15deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(15deg);
  }
}

  .wq-subtitle {
    font-size: 1.1rem;
    color: #546e7a;
    max-width: 800px;
    margin: 0 auto 20px;
  }

  .wq-waves-decoration {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
  }

  .wq-waves-decoration svg {
    width: 100%;
    height: 100%;
  }

  .wq-wave1 {
    fill: rgba(2, 136, 209, 0.1);
    animation: wave-animation 12s linear infinite alternate;
  }

  .wq-wave2 {
    fill: rgba(2, 136, 209, 0.05);
    animation: wave-animation 8s linear infinite;
  }

  @keyframes wave-animation {
    0% {
      transform: translateX(-30px);
    }
    100% {
      transform: translateX(30px);
    }
  }

  .wq-content-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 40px;
    position: relative;
    overflow: hidden;
  }

  .wq-card-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
  }

  .wq-card-title {
    font-size: 1.8rem;
    background: linear-gradient(90deg, #0277bd, #039be5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }

  .wq-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0277bd, #039be5);
    border-radius: 3px;
  }

  .wq-card-desc {
    color: #546e7a;
    max-width: 700px;
    margin: 15px auto 0;
    font-size: 1.05rem;
  }

  .wq-process-timeline {
    position: relative;
    margin: 60px 0;
  }

  .wq-process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    opacity: 0; /* Inicialmente invisible para animación */
    transform: translateY(20px); /* Inicio de posición para animación */
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .wq-process-step:nth-child(even) {
    flex-direction: row-reverse;
  }

  .wq-step-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 30px;
    z-index: 2;
  }

  .wq-step-number {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0288d1, #03a9f4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 3;
    top: -5px;
    left: -5px;
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.5);
  }

  .wq-icon-bg {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #bbdefb, #81d4fa);
    transform: rotate(10deg);
    z-index: 1;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(2, 136, 209, 0.2);
  }

  .wq-process-step:hover .wq-icon-bg {
    transform: rotate(20deg) scale(1.05);
    background: linear-gradient(135deg, #90caf9, #4fc3f7);
  }

  .wq-step-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0288d1;
    font-size: 2rem;
    z-index: 2;
    transition: all 0.3s ease;
  }

  .wq-process-step:hover .wq-step-icon i {
    color: #0277bd;
    transform: translate(-50%, -50%) scale(1.2);
  }

  .wq-step-content {
    flex: 1;
    padding: 25px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(245, 247, 250, 0.9));
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border-left: 4px solid #039be5;
  }

  .wq-process-step:nth-child(even) .wq-step-content {
    border-left: none;
    border-right: 4px solid #039be5;
  }

  .wq-process-step:hover .wq-step-content {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 1), rgba(240, 247, 255, 1));
  }

  .wq-step-content h4 {
    color: #0277bd;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 600;
  }

  .wq-step-content p {
    color: #455a64;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
  }

  .wq-certifications {
    background: linear-gradient(135deg, #e1f5fe, #e0f7fa);
    border-radius: 12px;
    padding: 30px;
    margin-top: 60px;
  }

  .wq-certifications-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }

  .wq-cert-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0288d1, #03a9f4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(2, 136, 209, 0.3);
  }

  .wq-cert-title h4 {
    color: #0288d1;
    margin-bottom: 5px;
    font-size: 1.4rem;
  }

  .wq-cert-title p {
    color: #546e7a;
    margin: 0;
    font-size: 0.95rem;
  }

  .wq-badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .wq-badge {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
  }

  .wq-badge:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .wq-badge-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    color: #0288d1;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wq-badge-content h5 {
    color: #0288d1;
    margin-bottom: 8px;
    font-size: 1.1rem;
  }

  .wq-badge-content p {
    color: #607d8b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .wq-water-facts {
    margin-top: 50px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 150, 136, 0.15);
  }

  .wq-facts-title {
    display: flex;
    align-items: center;
    color: #00695c;
    margin-bottom: 25px;
    font-size: 1.4rem;
    gap: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  .wq-facts-title i {
    color: #00897b;
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  }

  .wq-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .wq-fact-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
  }

  .wq-fact-item:hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    background: white;
  }

  .wq-fact-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00897b;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .wq-fact-item:hover .wq-fact-value {
    transform: scale(1.1);
    color: #00695c;
  }

  .wq-fact-label {
    color: #37474f;
    font-size: 1rem;
    font-weight: 500;
  }

  .wq-document-download {
    text-align: center;
    margin-top: 40px;
  }

  .wq-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0288d1, #039be5, #03a9f4);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(2, 136, 209, 0.4);
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .wq-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #03a9f4, #039be5, #0288d1);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
  }

  .wq-download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(2, 136, 209, 0.5);
  }

  .wq-download-btn:hover::before {
    opacity: 1;
  }

  .wq-download-btn i {
    font-size: 1.3rem;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  /* Burbujas decorativas */
  .wq-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
  }

  .wq-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
    opacity: 0.5;
    animation: wq-bubble-float linear infinite;
  }

  .wq-bubble-1 {
    width: 50px;
    height: 50px;
    left: 10%;
    top: 30%;
    animation-duration: 15s;
  }

  .wq-bubble-2 {
    width: 30px;
    height: 30px;
    left: 20%;
    top: 65%;
    animation-duration: 12s;
  }

  .wq-bubble-3 {
    width: 40px;
    height: 40px;
    left: 50%;
    top: 70%;
    animation-duration: 18s;
  }

  .wq-bubble-4 {
    width: 35px;
    height: 35px;
    left: 70%;
    top: 20%;
    animation-duration: 14s;
  }

  .wq-bubble-5 {
    width: 25px;
    height: 25px;
    left: 85%;
    top: 40%;
    animation-duration: 16s;
  }

  .wq-bubble-6 {
    width: 45px;
    height: 45px;
    left: 15%;
    top: 15%;
    animation-duration: 20s;
  }

  .wq-bubble-7 {
    width: 30px;
    height: 30px;
    left: 60%;
    top: 35%;
    animation-duration: 13s;
  }

  .wq-bubble-8 {
    width: 20px;
    height: 20px;
    left: 80%;
    top: 75%;
    animation-duration: 10s;
  }

  @keyframes wq-bubble-float {
    0% {
      transform: translateY(0) translateX(0) rotate(0);
      opacity: 0.5;
    }
    33% {
      transform: translateY(-50px) translateX(20px) rotate(10deg);
      opacity: 0.7;
    }
    66% {
      transform: translateY(-100px) translateX(-20px) rotate(-10deg);
      opacity: 0.3;
    }
    100% {
      transform: translateY(-180px) translateX(0) rotate(0);
      opacity: 0;
    }
  }

  /* Animaciones */
  [data-wq-animate] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-wq-animate="fade-in"] {
    transform: translateY(0);
  }

  [data-wq-animate="slide-up"] {
    transform: translateY(30px);
  }

  [data-wq-animate="slide-right"] {
    transform: translateX(-30px);
  }

  [data-wq-animate="slide-left"] {
    transform: translateX(30px);
  }

  [data-wq-animate="zoom-in"] {
    transform: scale(0.8);
  }

  [data-wq-animate].wq-animate-active {
    opacity: 1;
    transform: translate(0) scale(1);
  }

  /* Responsive */
  @media (max-width: 992px) {
    .wq-process-step, 
    .wq-process-step:nth-child(even) {
      flex-direction: column;
      align-items: center;
    }

    .wq-step-icon {
      margin-bottom: 20px;
    }

    .wq-step-content {
      width: 100%;
    }

    .wq-certifications-header {
      flex-direction: column;
      text-align: center;
    }

    .wq-cert-icon {
      margin: 0 auto 20px;
    }
  }

  @media (max-width: 768px) {
    .wq-section {
      padding: 60px 0;
    }

    .wq-title {
      font-size: 2rem;
    }

    .wq-content-card {
      padding: 30px 20px;
    }

    .wq-badge {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .wq-badge-icon {
      margin: 0 0 15px 0;
    }
  }

  @media (max-width: 480px) {
    .wq-facts-grid {
      grid-template-columns: 1fr;
    }
  }

    .virtual-assistant-section {
        padding: 80px 0;
        background: linear-gradient(135deg, rgba(4, 76, 140, 0.03), rgba(4, 164, 220, 0.07));
        position: relative;
        overflow: hidden;
    }

    .virtual-assistant-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 2.828 17.272 15.556l-1.414-1.414L28 2.828 17.272 0H32zM0 17.272l2.828 2.83-1.414 1.414-1.414-1.416L0 19.586v-2.314zm0 5.657l1.414 1.415-1.414 1.414-1.414-1.414-1.414-1.415h2.828L0 25.456v-2.527zM0 8.544l2.828-2.828L0 2.886V0h2.828L0 5.657v2.887zm0 8.728l5.657-5.657L0 5.657v2.828L3.636 12 0 8.364v2.828L5.657 5.657 0 0v2.828L8.485 0 0 8.485v2.827zM0 5.657L5.657 0 0 0v5.657z' fill='%230487d9' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    }

    .assistant-wrapper {
        display: flex;
        align-items: center;
        gap: 50px;
        position: relative;
        z-index: 1;
    }

    .assistant-content {
        flex: 1;
        padding-right: 30px;
    }

    .assistant-chat-preview {
        flex: 1;
        background: white;
        border-radius: 20px;
        box-shadow: 0 15px 50px rgba(4, 76, 140, 0.15);
        overflow: hidden;
        min-height: 550px;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(4, 164, 220, 0.1);
        transition: all 0.3s ease;
        position: relative;
        cursor: pointer;
    }

    .assistant-chat-preview:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(4, 76, 140, 0.2);
    }

    .chat-link-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 20;
        cursor: pointer;
    }

    .chat-link-overlay:hover + .preview-tag:after {
        content: " - Click para abrir";
    }

    .preview-tag {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(4, 76, 140, 0.8);
        color: white;
        font-size: 0.7rem;
        padding: 3px 8px;
        border-radius: 3px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 600;
        z-index: 25;
        pointer-events: none;
    }

    .assistant-header h2 {
        font-size: 3rem;
        color: var(--primary-blue);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .assistant-header h2 span {
        color: var(--secondary-blue);
    }

    .assistant-header .subtitle {
        font-size: 1.4rem;
        color: var(--dark-gray);
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .assistant-description p {
        font-size: 1.1rem;
        line-height: 1.7;
        color: var(--dark-gray);
        margin-bottom: 30px;
        max-width: 90%;
    }

    .assistant-features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        margin-bottom: 30px;
    }

    .feature {
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        background: var(--secondary-blue);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .feature-text h4 {
        color: var(--primary-blue);
        margin-bottom: 5px;
        font-size: 1.1rem;
    }

    .feature-text p {
        font-size: 0.95rem;
        color: var(--dark-gray);
        opacity: 0.8;
        margin: 0;
    }

    .assistant-cta {
        margin-top: 40px;
    }

    .chat-btn {
        display: inline-flex;
        align-items: center;
        gap: 15px;
        background: linear-gradient(135deg, var(--light-green), var(--medium-green));
        color: white;
        padding: 16px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(124, 188, 52, 0.3);
    }

    .chat-btn:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(124, 188, 52, 0.4);
    }

    .btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    /* Chat preview styles */
    .chat-header {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 20px;
        background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
        color: white;
    }

    .assistant-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .avatar-image {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.3rem;
    }

    .avatar-image i {
        color: white;
    }

    .assistant-info h3 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .status {
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .status i {
        color: var(--light-green);
        font-size: 0.7rem;
    }

    .chat-messages {
        flex: 1;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        overflow-y: auto;
        max-height: 380px;
        background-color: #f9fafc;
    }

    .message {
        padding: 12px 18px;
        border-radius: 18px;
        max-width: 85%;
        position: relative;
    }

    .message.assistant-message {
        background-color: #f5f7fa;
        border-left: 3px solid var(--secondary-blue);
        align-self: flex-start;
        border-top-left-radius: 0;
    }

    .user-message {
        background-color: var(--primary-blue);
        color: white;
        align-self: flex-end;
        border-top-right-radius: 0;
    }

    .message p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .quick-replies {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .quick-reply-btn {
        padding: 8px 15px;
        background-color: white;
        border: 1px solid rgba(4, 164, 220, 0.2);
        border-radius: 30px;
        font-size: 0.9rem;
        cursor: default;
        pointer-events: none;
        user-select: none;
        color: var(--dark-gray);
        display: flex;
        align-items: center;
        gap: 5px;
        position: relative;
        overflow: hidden;
    }

    .quick-reply-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
        transform: translateX(-100%);
        animation: shimmer 3s infinite;
    }

    @keyframes shimmer {
        0% { transform: translateX(-100%); }
        50% { transform: translateX(100%); }
        100% { transform: translateX(100%); }
    }

    .quick-reply-btn i {
        color: var(--secondary-blue);
        font-size: 0.85rem;
    }

    .chat-input {
        display: flex;
        padding: 15px 20px;
        background-color: white;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        align-items: center;
    }

    .input-overlay {
        flex: 1;
        padding: 12px 15px;
        border-radius: 30px;
        font-size: 0.95rem;
        background-color: #f1f3f7;
        color: #aab0bb;
        user-select: none;
        position: relative;
        display: flex;
        align-items: center;
    }

    .preview-text {
        opacity: 0.7;
    }

    .preview-cursor {
        width: 2px;
        height: 18px;
        background-color: var(--secondary-blue);
        margin-left: 5px;
        animation: blink 1.5s infinite;
    }

    .chat-actions {
        display: flex;
        margin-left: 10px;
    }

    .action-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: not-allowed;
        font-size: 1rem;
        pointer-events: none;
        margin-left: 5px;
    }

    .send-btn {
        background-color: #0088cc; /* Color azul similar a Telegram */
        color: white;
    }

    .voice-btn {
        background-color: #a6d4f2; /* Azul clarito */
        color: white;
    }

    .refresh-btn {
        background-color: #ffc0cb; /* Rosa clarito */
        color: white;
    }

    @keyframes blink {
        0%, 100% { opacity: 0; }
        50% { opacity: 1; }
    }

    .chat-info {
        padding: 15px 20px;
        background-color: #f5f7fa;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .chat-info p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--dark-gray);
        opacity: 0.8;
    }

    /* Floating animation for chat preview */
    @keyframes float {
        0% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
        100% {
            transform: translateY(0px);
        }
    }

    /* Water droplet animation */

    /* Responsive design */
    @media screen and (max-width: 1024px) {
        .assistant-wrapper {
            flex-direction: column;
            gap: 50px;
        }

        .assistant-content {
            padding-right: 0;
            text-align: center;
        }

        .assistant-description p,
        .assistant-header .subtitle {
            max-width: 100%;
            text-align: center;
        }

        .feature {
            justify-content: center;
        }

        .assistant-chat-preview {
            width: 100%;
            max-width: 500px;
            margin: 0 auto;
        }
    }

    @media screen and (max-width: 768px) {
        .assistant-header h2 {
            font-size: 2.5rem;
        }

        .assistant-header .subtitle {
            font-size: 1.2rem;
        }

        .assistant-features {
            grid-template-columns: 1fr;
        }
    }

    @media screen and (max-width: 480px) {
        .quick-replies {
            justify-content: center;
        }

        .quick-reply-btn {
            padding: 6px 12px;
            font-size: 0.8rem;
        }

        .chat-btn {
            width: 100%;
            justify-content: center;
        }
    }

/* Estilos para la sección Proyectos de Mejora */
:root {
  --jm-projects-primary: #1a7431;
  --jm-projects-secondary: #74b42c;
  --jm-projects-accent: #4caf50;
  --jm-projects-dark: #333333;
  --jm-projects-light: #ffffff;
  --jm-projects-gray: #f5f7fa;
  --jm-projects-card-bg: #ffffff;
  --jm-projects-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  --jm-projects-gradient: linear-gradient(135deg, var(--jm-projects-primary), #258b3d);
  --jm-projects-gradient-btn: linear-gradient(90deg, var(--jm-projects-primary), var(--jm-projects-secondary));
}

.jm-projects-section {
  padding: 60px 0;
  background: var(--jm-projects-gradient);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fondo */
.jm-projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' fill='none'%3E%3Cpath d='M10 50L90 50' stroke='rgba(255,255,255,0.1)' stroke-width='2' stroke-dasharray='5 5'/%3E%3Cpath d='M50 10L50 90' stroke='rgba(255,255,255,0.1)' stroke-width='2' stroke-dasharray='5 5'/%3E%3Ccircle cx='30' cy='30' r='5' fill='rgba(255,255,255,0.07)'/%3E%3Ccircle cx='70' cy='70' r='8' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='20' cy='80' r='4' fill='rgba(255,255,255,0.06)'/%3E%3Ccircle cx='80' cy='20' r='6' fill='rgba(255,255,255,0.04)'/%3E%3Cpath d='M20 20L80 80' stroke='rgba(255,255,255,0.04)' stroke-width='1' stroke-dasharray='3 6'/%3E%3Cpath d='M80 20L20 80' stroke='rgba(255,255,255,0.04)' stroke-width='1' stroke-dasharray='3 6'/%3E%3Crect x='40' y='40' width='20' height='20' rx='5' fill='rgba(255,255,255,0.03)'/%3E%3Crect x='25' y='55' width='10' height='10' rx='3' fill='rgba(255,255,255,0.05)'/%3E%3Crect x='65' y='35' width='10' height='10' rx='3' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-position: center center;
  pointer-events: none;
  opacity: 0.5;
}

.jm-projects-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.jm-projects-header {
  text-align: center;
  margin-bottom: 35px;
}

.jm-projects-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--jm-projects-light);
  margin-bottom: 15px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 10px;
}

.jm-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: rotate(-10deg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jm-title-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: jm-shine 4s infinite;
}

@keyframes jm-shine {
  0% { transform: translateX(-100%); }
  20%, 100% { transform: translateX(100%); }
}

.jm-title-decoration {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--jm-projects-accent);
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(116, 180, 44, 0.5);
}

.jm-projects-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 20px auto 0;
}

.jm-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.jm-project-card {
  background: var(--jm-projects-card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--jm-projects-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}

.jm-project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.jm-project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--jm-projects-accent);
  transition: height 0.4s ease;
  z-index: 2;
}

.jm-project-card:hover::before {
  height: 100%;
}

.jm-project-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px 15px;
}

.jm-project-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--jm-projects-secondary), #38b0e3);
  color: var(--jm-projects-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(4, 164, 220, 0.2);
  transition: transform 0.4s ease;
}

.jm-project-card:hover .jm-project-icon {
  transform: rotate(15deg) scale(1.1);
}

.jm-project-progress-container {
  flex: 1;
}

.jm-project-progress-bar-wrapper {
  width: 100%;
  padding: 0 10px;
}

.jm-project-progress-label {
  margin-bottom: 5px;
}

.jm-progress-status {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--jm-projects-accent);
  position: relative;
  display: inline-flex;
  align-items: center;
}

.jm-progress-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--jm-projects-accent);
  border-radius: 50%;
  margin-right: 8px;
  animation: jm-pulse-dot 1.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.jm-project-progress-bar {
  height: 8px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.jm-project-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jm-projects-primary), var(--jm-projects-accent));
  border-radius: 20px;
  transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
  animation: jm-progress-glow 1.5s ease-in-out infinite alternate;
}

.jm-progress-pulse {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8));
  animation: jm-pulse-slide 2s ease-in-out infinite;
}

@keyframes jm-progress-glow {
  0% {
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
  }
}

@keyframes jm-pulse-slide {
  0%, 100% {
    transform: translateX(0);
    opacity: 0;
  }
  50% {
    transform: translateX(-100px);
    opacity: 1;
  }
}

@keyframes jm-pulse-dot {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

.jm-project-content {
  padding: 0 30px 30px;
}

.jm-project-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jm-projects-primary);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.jm-project-card:hover .jm-project-content h3 {
  color: var(--jm-projects-secondary);
}

.jm-project-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.jm-project-details {
  background: var(--jm-projects-gray);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  gap: 15px;
}

.jm-project-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jm-detail-label {
  font-weight: 600;
  color: var(--jm-projects-dark);
  opacity: 0.7;
}

.jm-detail-value {
  color: var(--jm-projects-primary);
  font-weight: 500;
}

/* Animaciones con data-jm-aos */
[data-jm-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-jm-aos="fade-up"].jm-aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-jm-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-jm-aos="fade-right"].jm-aos-animate {
  opacity: 1;
  transform: translateX(0);
}

[data-jm-aos="fade-left"] {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-jm-aos="fade-left"].jm-aos-animate {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive design */
@media (max-width: 1024px) {
  .jm-projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .jm-projects-header h2 {
    font-size: 2.2rem;
  }

  .jm-project-visual {
    padding: 20px 25px 10px;
  }

  .jm-project-content {
    padding: 0 25px 25px;
  }
}

@media (max-width: 576px) {
  .jm-projects-section {
    padding: 70px 0;
  }

  .jm-projects-header h2 {
    font-size: 2rem;
  }

  .jm-projects-header p {
    font-size: 1rem;
  }

  .jm-project-card {
    border-radius: 12px;
  }

  .jm-project-visual {
    padding: 15px 20px 5px;
  }

  .jm-project-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .jm-project-progress-container {
    width: 70px;
    height: 70px;
  }

  .jm-project-content {
    padding: 0 20px 20px;
  }

  .jm-project-content h3 {
    font-size: 1.3rem;
  }

  .jm-project-content p {
    font-size: 0.95rem;
  }
}

/* Estilos para la sección sutil de Honores a la Bandera */
.mc-honores-sutil {
  margin: 30px 0;
  padding: 0 15px;
  /* Sin fondo como solicitado */
  border-left: 3px solid var(--mc-color-secondary);
  position: relative;
}

.mc-honores-sutil-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.mc-honores-sutil-icon {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mc-color-secondary);
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 2px dashed var(--mc-color-secondary);
  border-radius: 50%;
  opacity: 0.85;
  /* Animación simplificada del borde */
  animation: mc-border-rotation 20s linear infinite;
}

/* Animación simplificada - solo rotación suave */
@keyframes mc-border-rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mc-honores-sutil-content {
  flex: 1;
}

.mc-honores-sutil-content p {
  margin: 0 0 10px 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--mc-color-dark);
}

.mc-honores-sutil-content p:last-child {
  margin-bottom: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Resaltar texto importante */
.mc-honores-sutil-content strong {
  color: var(--mc-color-primary);
  font-weight: 600;
}

/* Texto destacado - ahora solo naranja, sin animación */
.mc-texto-destacado {
  position: relative;
  font-weight: 700;
  color: var(--mc-color-secondary);
  display: inline-block;
  /* Eliminada la animación de cambio de color */
}

/* Responsive */
@media (max-width: 576px) {
  .mc-honores-sutil-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mc-honores-sutil {
    border-left: none;
    border-bottom: 2px solid var(--mc-color-secondary);
    padding-bottom: 15px;
  }
}

  /* Estilos para la sección Miércoles Ciudadano con nombres de clases únicos */
  :root {
    --mc-color-primary: #1483b3;
    --mc-color-secondary: #eea108;
    --mc-color-accent: #75b42b;
    --mc-color-accent-alt: #d4338b;
    --mc-color-light: #f0f4f1;
    --mc-color-dark: #333333;
    --mc-color-blue-light: #6da2d5;
    --mc-color-green-dark: #1cab5e;
    --mc-color-teal: #779d83;
  }

  .miercoles-ciudadano-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
  }

  .mc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
  }

  /* Elementos decorativos de fondo */
  .mc-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }

  .mc-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
  }

  .mc-shape-1 {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--mc-color-primary), var(--mc-color-blue-light));
    animation: mc-float 20s infinite alternate ease-in-out;
  }

  .mc-shape-2 {
    bottom: -150px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--mc-color-accent), var(--mc-color-green-dark));
    animation: mc-float 15s infinite alternate-reverse ease-in-out;
  }

  .mc-shape-3 {
    top: 40%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--mc-color-accent-alt), var(--mc-color-accent-alt) 60%, transparent);
    animation: mc-pulse 8s infinite;
  }

  .mc-shape-4 {
    top: 60%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--mc-color-secondary), var(--mc-color-accent-alt));
    opacity: 0.15;
    animation: mc-float 18s infinite alternate ease-in-out;
  }

  .mc-shape-5 {
    top: 20%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: var(--mc-color-teal);
    opacity: 0.1;
    animation: mc-spin 25s infinite linear;
  }

  @keyframes mc-float {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    100% {
      transform: translate(30px, 30px) rotate(10deg);
    }
  }

  @keyframes mc-pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.15;
    }
    50% {
      transform: scale(1.2);
      opacity: 0.25;
    }
  }

  @keyframes mc-spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* Encabezado y título */
  .mc-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
  }

  .mc-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--mc-color-primary);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
  }

  .mc-title span {
    color: var(--mc-color-secondary);
    position: relative;
  }

  .mc-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--mc-color-secondary), var(--mc-color-accent));
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.6s ease-out;
    animation: mc-underline 1.5s forwards 0.5s;
  }

  @keyframes mc-underline {
    to {
      transform: scaleX(1);
      transform-origin: bottom left;
    }
  }

  .mc-subtitle {
    font-size: 1.2rem;
    color: var(--mc-color-dark);
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
  }

  .mc-title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mc-color-primary), var(--mc-color-secondary));
    margin: 20px auto 0;
    border-radius: 2px;
  }

  /* Disposición principal del contenido */
  .mc-main-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 60px;
  }

  .mc-info-column {
    flex: 1;
  }

  .mc-gallery-column {
    flex: 1;
  }

  .mc-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--mc-color-dark);
    margin-bottom: 30px;
  }

  /* Lista de características */
  .mc-feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
  }

  .mc-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
  }

  .mc-feature:hover {
    transform: translateX(10px);
  }

  .mc-feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--mc-color-primary), var(--mc-color-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(20, 131, 179, 0.3);
    transition: all 0.3s ease;
  }

  .mc-feature:hover .mc-feature-icon {
    transform: rotate(10deg) scale(1.1);
  }

  .mc-feature:nth-child(2) .mc-feature-icon {
    background: linear-gradient(135deg, var(--mc-color-secondary), #f7b733);
    box-shadow: 0 8px 20px rgba(238, 161, 8, 0.3);
  }

  .mc-feature:nth-child(3) .mc-feature-icon {
    background: linear-gradient(135deg, var(--mc-color-accent), var(--mc-color-green-dark));
    box-shadow: 0 8px 20px rgba(117, 180, 43, 0.3);
  }

  .mc-feature-text h4 {
    color: var(--mc-color-primary);
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 600;
  }

  .mc-feature:nth-child(2) .mc-feature-text h4 {
    color: var(--mc-color-secondary);
  }

  .mc-feature:nth-child(3) .mc-feature-text h4 {
    color: var(--mc-color-accent);
  }

  .mc-feature-text p {
    color: var(--mc-color-dark);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
  }

  /* Botones de llamada a la acción */
  .mc-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .mc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }

  .mc-btn-primary {
    background: linear-gradient(135deg, var(--mc-color-primary), var(--mc-color-blue-light));
    color: white;
    box-shadow: 0 8px 15px rgba(20, 131, 179, 0.3);
  }

  .mc-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(20, 131, 179, 0.4);
  }

  .mc-btn-secondary {
    background: white;
    color: var(--mc-color-primary);
    border: 2px solid var(--mc-color-primary);
    box-shadow: 0 6px 15px rgba(20, 131, 179, 0.1);
  }

  .mc-btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(20, 131, 179, 0.15);
    background: rgba(20, 131, 179, 0.05);
  }

  .mc-btn-alt {
    background: linear-gradient(135deg, var(--mc-color-accent-alt), #e64ea0);
    color: white;
    box-shadow: 0 8px 15px rgba(212, 51, 139, 0.3);
  }

  .mc-btn-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(212, 51, 139, 0.4);
  }

  /* Galería de imágenes */
  .mc-image-gallery {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
  }

  .mc-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
  }

  .mc-gallery-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
  }

  .mc-gallery-slide.active {
    opacity: 1;
    z-index: 2;
  }

  .mc-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  }

  .mc-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .mc-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease;
  }

  .mc-image-container:hover .mc-gallery-image {
    transform: scale(1.05);
  }

  .mc-image-container:hover .mc-image-overlay {
    transform: translateY(0);
  }

  .mc-image-overlay p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
  }

  .mc-gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: var(--mc-color-light);
  }

  .mc-gallery-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mc-color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .mc-gallery-arrow:hover {
    background: var(--mc-color-zprimary);
    color: white;
    transform: scale(1.1);
  }

  .mc-gallery-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
  }

  .mc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mc-dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--mc-color-primary);
  }

  /* Información del próximo evento */
  .mc-next-event {
    background: linear-gradient(135deg, var(--mc-color-primary), var(--mc-color-blue-light));
    border-radius: 16px;
    padding: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(20, 131, 179, 0.25);
  }

  .mc-event-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .mc-event-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
  }

  .mc-event-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
  }

  .mc-event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .mc-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .mc-detail i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  /* Testimonios */
/* Testimonios - Estilo chat con burbujas decorativas pero sin fondo gris */
.mc-testimonials {
  margin-bottom: 60px;
  /* Eliminar el fondo gris */
  background: transparent;
  padding: 20px 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* Mantener las burbujas decorativas de fondo */
.mc-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(4, 76, 148, 0.1) 8px, transparent 8px),
                    radial-gradient(circle at 20% 70%, rgba(4, 76, 148, 0.1) 12px, transparent 12px),
                    radial-gradient(circle at 70% 40%, rgba(4, 76, 148, 0.1) 10px, transparent 10px),
                    radial-gradient(circle at 90% 90%, rgba(4, 76, 148, 0.1) 15px, transparent 15px),
                    radial-gradient(circle at 30% 95%, rgba(4, 76, 148, 0.1) 7px, transparent 7px),
                    radial-gradient(circle at 80% 10%, rgba(4, 76, 148, 0.1) 9px, transparent 9px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.mc-testimonials-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--mc-color-primary);
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  /* Eliminar el fondo blanco semi-transparente */
  background: transparent;
  padding: 0;
  z-index: 1;
}

/* Línea decorativa bajo el título */
.mc-testimonials-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--mc-color-primary), var(--mc-color-secondary));
  border-radius: 3px;
  left: 50%;
  transform: translateX(-50%);
}

/* Reducir altura para que los puntos estén más cerca */
.mc-testimonials-slider {
  position: relative;
  height: 280px;
  margin-bottom: 20px;
  z-index: 1;
}

.mc-testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.mc-testimonial-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Estilo base de tarjeta de chat */
.mc-testimonial-card {
  background: #a5c6e7;
  color: #333333;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 85%;
  margin: 0 auto;
  transition: all 0.3s ease;
  border-top-left-radius: 4px;
  cursor: pointer; /* Añadir esta línea */

}

/* Punta de la burbuja de chat */
.mc-testimonial-card::before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 30px;
  width: 30px;
  height: 30px;
  background: #a5c6e7;
  transform: rotate(45deg);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
  z-index: -1;
  pointer-events: none;
}

/* Ocultar las comillas decorativas */
.mc-testimonial-quote {
  display: none;
}

/* Estilos alternados para diferentes testimonios */
.mc-testimonial-slide:nth-child(even) .mc-testimonial-card {
  background: #cee5a2;
  color: #333333;
  border-top-left-radius: 20px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-left: auto;
  margin-right: 0;
}

.mc-testimonial-slide:nth-child(even) .mc-testimonial-card::before {
  left: auto;
  right: 30px;
  background: #cee5a2;
}

.mc-testimonial-slide:nth-child(3) .mc-testimonial-card {
  background: #fbd490;
  color: #333333;
  border-top-left-radius: 4px;
}

.mc-testimonial-slide:nth-child(3) .mc-testimonial-card::before {
  left: 30px;
  right: auto;
  background: #fbd490;
}

.mc-testimonial-slide:nth-child(4) .mc-testimonial-card {
  background: #a8e6c7;
  color: #333333;
  border-top-right-radius: 4px;
  margin-left: auto;
  margin-right: 0;
}

.mc-testimonial-slide:nth-child(4) .mc-testimonial-card::before {
  left: auto;
  right: 30px;
  background: #a8e6c7;
}

.mc-testimonial-slide:nth-child(5) .mc-testimonial-card {
  background: #c1d8cb;
  color: #333333;
  border-top-left-radius: 4px;
}

.mc-testimonial-slide:nth-child(5) .mc-testimonial-card::before {
  left: 30px;
  right: auto;
  background: #c1d8cb;
}

.mc-testimonial-slide:nth-child(6) .mc-testimonial-card {
  background: #a1d2ed;
  color: #333333;
  border-top-right-radius: 4px;
  margin-left: auto;
  margin-right: 0;
}

.mc-testimonial-slide:nth-child(6) .mc-testimonial-card::before {
  left: auto;
  right: 30px;
  background: #a1d2ed;
}

/* Efecto de burbuja de chat */
.mc-testimonial-slide.active .mc-testimonial-card {
  animation: mc-bubble-in 0.5s forwards;
}

@keyframes mc-bubble-in {
  0% {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  70% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.mc-testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--mc-color-dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.mc-testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mc-author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mc-color-primary), var(--mc-color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(20, 131, 179, 0.2);
}

.mc-author-info h5 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #0d47a1;
  font-weight: 700;
}

.mc-author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #333333;
  opacity: 1;
  font-weight: 500;
}

.mc-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 5;
  margin-top: 10px;
}

.mc-testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mc-testimonial-dot:hover {
  transform: scale(1.2);
  background: #b3b3b3;
}

.mc-testimonial-dot.active {
  width: 25px;
  border-radius: 10px;
  background: var(--mc-color-primary);
}
  /* Sección de participación */
  .mc-participation {
    background: linear-gradient(135deg, var(--mc-color-accent-alt), #e64ea0);
    border-radius: 16px;
    overflow: hidden;
    color: white;
    box-shadow: 0 15px 40px rgba(212, 51, 139, 0.2);
  }

  .mc-participation-content {
    display: flex;
    align-items: center;
    padding: 30px;
    gap: 30px;
    flex-wrap: wrap;
  }

  .mc-participation-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
  }

  .mc-participation-text {
    flex: 1;
    min-width: 300px;
  }

  .mc-participation-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
  }

  .mc-participation-text p {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.6;
  }

  /* Animaciones */
  [data-mc-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: calc(var(--mc-delay, 0) * 1ms);
  }

  [data-mc-animate="fade-in"] {
    transform: translateY(0);
  }

  [data-mc-animate="slide-up"] {
    transform: translateY(30px);
  }

  [data-mc-animate="slide-right"] {
    transform: translateX(-30px);
  }

  [data-mc-animate="slide-left"] {
    transform: translateX(30px);
  }

  [data-mc-animate].mc-animate-active {
    opacity: 1;
    transform: translate(0);
  }

  /* Responsive design */
  @media (max-width: 992px) {
    .mc-main-content {
      flex-direction: column;
      gap: 40px;
    }

    .mc-participation-content {
      flex-direction: column;
      text-align: center;
    }

    .mc-info-column, .mc-gallery-column {
      width: 100%;
    }

    .mc-feature {
      max-width: 500px;
      margin: 0 auto;
    }

    .mc-cta-buttons {
      justify-content: center;
    }

    .mc-gallery-wrapper {
      height: 300px;
    }

    .mc-testimonials-slider {
      height: 250px;
    }
  }

  @media (max-width: 768px) {
    .mc-title {
      font-size: 2.5rem;
    }

    .mc-subtitle {
      font-size: 1.1rem;
    }

    .mc-gallery-wrapper {
      height: 250px;
    }

    .mc-event-details {
      grid-template-columns: 1fr;
    }

    .mc-testimonials-slider {
      height: 300px;
    }
  }

  @media (max-width: 576px) {
    .mc-title {
      font-size: 2rem;
    }

    .mc-btn {
      width: 100%;
      justify-content: center;
    }

    .mc-cta-buttons {
      flex-direction: column;
      width: 100%;
    }

    .mc-gallery-wrapper {
      height: 200px;
    }

    .mc-testimonials-slider {
      height: 350px;
    }
  }

  .location-btn.tertiary {
  background: white;
  color: #ff6b35;
  border: 2px solid #ff6b35;
}

.location-btn.tertiary:hover {
  background: #ff6b35;
  color: white;
  transform: translateY(-3px);
}
/* Estilos para la sección de Ubicación */
.location-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fbff, #e3f2fd);
  position: relative;
  overflow: hidden;
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Elementos decorativos de fondo */
.location-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.location-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.location-shape-1 {
  top: -100px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  animation: locationFloat 20s infinite alternate ease-in-out;
}

.location-shape-2 {
  bottom: -80px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: #74b42c;
  animation: locationFloat 15s infinite alternate-reverse ease-in-out;
}

.location-shape-3 {
  top: 40%;
  left: 20%;
  width: 80px;
  height: 80px;
  background: #04a4dc;
  animation: locationPulse 8s infinite;
}

@keyframes locationFloat {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(20px, 20px) rotate(5deg); }
}

@keyframes locationPulse {
  0%, 100% { transform: scale(1); opacity: 0.05; }
  50% { transform: scale(1.2); opacity: 0.15; }
}

/* Encabezado */
.location-header {
  text-align: center;
  margin-bottom: 50px;
}

.location-title {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #044c8c;
  margin-bottom: 16px;
  position: relative;
}

.location-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #04a4dc, #74b42c);
  color: white;
  border-radius: 15px;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(4, 164, 220, 0.3);
  animation: locationIconPulse 3s infinite;
}

@keyframes locationIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.location-title-decoration {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #044c8c, #04a4dc);
  border-radius: 2px;
}

.location-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Contenido principal */
.location-main-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

/* Información de contacto */
.location-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.location-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.location-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.location-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.location-card-header h3 {
  color: #044c8c;
  font-size: 1.5rem;
  margin: 0;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.location-detail i {
  color: #04a4dc;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.detail-text strong {
  color: #044c8c;
  display: block;
  margin-bottom: 5px;
}

.detail-text p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.location-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
  min-width: 140px;
}

.location-btn.primary {
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  color: white;
  box-shadow: 0 5px 15px rgba(4, 76, 140, 0.3);
}

.location-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(4, 76, 140, 0.4);
}

.location-btn.secondary {
  background: white;
  color: #044c8c;
  border: 2px solid #044c8c;
}

.location-btn.secondary:hover {
  background: #044c8c;
  color: white;
  transform: translateY(-3px);
}

/* Mapa */
.location-map {
  display: flex;
  flex-direction: column;
}

.map-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  flex: 1;
}

.map-header {
  padding: 20px 25px;
  border-bottom: 2px solid #f0f0f0;
}

.map-header h4 {
  color: #044c8c;
  margin: 0 0 5px 0;
  font-size: 1.3rem;
}

.map-header p {
  margin: 0;
  color: #666;
}

.map-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.map-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.map-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-pin {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #04a4dc, #74b42c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  animation: mapPinBounce 2s infinite;
}

@keyframes mapPinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.map-details h5 {
  margin: 0 0 3px 0;
  color: #044c8c;
  font-size: 1rem;
}

.map-details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.transport-info {
  padding: 20px 25px;
  background: #f8f9fa;
}

.transport-info h5 {
  color: #044c8c;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.transport-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transport-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #666;
  font-size: 0.95rem;
}

.transport-option i {
  color: #04a4dc;
  font-size: 1.1rem;
  width: 20px;
}

/* Puntos de referencia */
.landmarks-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.landmarks-section h4 {
  color: #044c8c;
  margin: 0 0 20px 0;
  font-size: 1.4rem;
  text-align: center;
}

.landmarks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.landmark-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.landmark-item:hover {
  background: #e3f2fd;
  transform: translateY(-2px);
}

.landmark-item i {
  color: #04a4dc;
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
}

.landmark-item span {
  color: #333;
  font-weight: 500;
}

/* Animaciones */
[data-location-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--location-delay, 0) * 1ms);
}

[data-location-animate="fade-up"] {
  transform: translateY(30px);
}

[data-location-animate="slide-right"] {
  transform: translateX(-30px);
}

[data-location-animate="slide-left"] {
  transform: translateX(30px);
}

[data-location-animate="slide-up"] {
  transform: translateY(20px);
}

[data-location-animate].location-animate-active {
  opacity: 1;
  transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
  .location-main-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-actions {
    flex-direction: column;
  }

  .location-btn {
    flex: none;
  }
}

@media (max-width: 768px) {
  .location-title {
    font-size: 2.2rem;
  }

  .location-title-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .map-wrapper {
    height: 300px;
  }

  .landmarks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .location-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }

  .location-card,
  .landmarks-section {
    padding: 20px;
  }

  .transport-options {
    gap: 15px;
  }

  .transport-option {
    flex-wrap: wrap;
  }
}

/* Estilos para el botón debajo de la imagen */
.director-image-button {
  margin-top: 25px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.director-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(4, 76, 140, 0.2);
  position: relative;
  overflow: hidden;
}

.director-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
}

.director-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(4, 76, 140, 0.3);
}

.director-button:hover::before {
  animation: director-button-shine 1.5s;
}

.director-button-icon {
  transition: transform 0.3s ease;
}

.director-button:hover .director-button-icon {
  transform: translateX(5px);
}

@keyframes director-button-shine {
  100% {
    transform: translateX(100%);
  }
}

/* Ajuste adicional para asegurar que el botón quede bien en responsive */
@media (max-width: 992px) {
  .director-image-button {
    margin-bottom: 20px;
  }
}
/* Estilos para la sección del Director con nombres de clases únicos */
.director-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e6f0fa, #d0e4f5);
  position: relative;
  overflow: hidden;
}

.director-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Elementos decorativos de fondo */
.director-background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.director-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

/* Burbuja superior eliminada */

.director-shape-2 {
  bottom: -120px;
  left: -50px;
  width: 250px;
  height: 250px;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: director-float 15s infinite alternate-reverse ease-in-out;
}

.director-shape-3 {
  top: 30%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: #ffffff;
  animation: director-pulse 8s infinite;
}

.director-shape-4 {
  bottom: 20%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: #ffffff;
  opacity: 0.2;
  animation: director-float 18s infinite alternate ease-in-out;
}

@keyframes director-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(20px, 20px) rotate(5deg);
  }
}

@keyframes director-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

/* Encabezado y título */
.director-header {
  text-align: center;
  margin-bottom: 50px;
}

/* Estilo para el título principal */
.director-title {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #044c8c;
  margin-bottom: 16px;
  position: relative;
}

.director-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  color: white;
  border-radius: 12px;
  font-size: 1.4rem;
  box-shadow: 0 5px 15px rgba(4, 76, 140, 0.2);
  position: relative;
  overflow: hidden;
}

.director-title-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  animation: director-icon-pulse 3s infinite;
}

@keyframes director-icon-pulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

.director-title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #044c8c, #04a4dc);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.director-title-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: translateX(-100%);
  animation: director-underline-shine 3s infinite;
}

@keyframes director-underline-shine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

/* Perfil del Director */
.director-profile {
  display: flex;
  align-items: center;
  gap: 60px;
}

.director-image-container {
  flex: 0 0 400px;
  position: relative;
  transition: transform 0.5s ease;
}

.director-image-container.hover-active .director-image {
  transform: scale(1.12);
}

.director-image-frame {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.director-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(4, 76, 140, 0) 60%, rgba(4, 76, 140, 0.6) 100%);
  z-index: 2;
}

.director-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.director-image-container:hover .director-image {
  transform: scale(1.12);
}

.director-image-decoration {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: -40px;
  right: -40px;
  z-index: 1;
  opacity: 0.6;
  animation: director-rotate 25s infinite linear;
}

@keyframes director-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Información del Director */
.director-info {
  flex: 1;
}

/* Estilo para el nombre del director */
.director-name {
  font-size: 2.8rem;
  font-weight: 700;
  color: #044c8c;
  margin: 0 0 10px 0;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  background: linear-gradient(90deg, #044c8c, #0487d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.director-name-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #04a4dc, rgba(4, 164, 220, 0.5));
  border-radius: 1.5px;
  transition: width 0.3s ease;
}

.director-info:hover .director-name-decoration {
  width: 100%;
}

.director-role {
  font-size: 1.2rem;
  color: #04a4dc;
  margin-bottom: 25px;
  font-weight: 500;
}

.director-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 30px;
}

.director-bio p {
  margin-bottom: 15px;
}

.director-highlight {
  background: linear-gradient(135deg, rgba(4, 76, 140, 0.08), rgba(4, 164, 220, 0.05));
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 30px;
  border-left: 4px solid #04a4dc;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  overflow: hidden;
  position: relative;
}

.director-highlight.hover-active {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(4, 76, 140, 0.15);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #044c8c, #04a4dc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.director-highlight.hover-active .highlight-icon {
  transform: scale(1.15) rotate(5deg);
}

.highlight-text {
  font-size: 1.1rem;
  color: #044c8c;
  font-style: italic;
  line-height: 1.6;
  font-weight: 500;
  transition: transform 0.5s ease, color 0.4s ease;
}

.director-highlight.hover-active .highlight-text {
  transform: scale(1.04);
  color: #0360ac;
}

/* Animaciones */
[data-director-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-director-animate="fade-in"] {
  transform: translateY(0);
}

[data-director-animate="slide-right"] {
  transform: translateX(-30px);
}

[data-director-animate="slide-left"] {
  transform: translateX(30px);
}

[data-director-animate].animate-active {
  opacity: 1;
  transform: translate(0);
}

/* Responsive design */
@media (max-width: 992px) {
  .director-profile {
    flex-direction: column;
    gap: 40px;
  }

  .director-image-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .director-image-frame {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .director-title {
    font-size: 2.2rem;
  }

  .director-title-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .director-name {
    font-size: 2.4rem;
  }

  .director-role {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .director-title {
    font-size: 2rem;
  }

  .director-title-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .director-name {
    font-size: 2rem;
  }

  .director-highlight {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .director-image-frame {
    height: 400px;
  }
}

  .facebook-news-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: #1877f2;
      color: white;
      padding: 10px 16px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      width: 100%;
      transition: all 0.3s ease;
      box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
  }

  .facebook-news-btn:hover {
      background: #0a5dc3;
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(24, 119, 242, 0.4);
      color: white;
  }

  .facebook-news-btn i {
      font-size: 1.2rem;
  }

  .newsletter-form {
      margin-top: 15px;
  }

/* Estilos para el botón flotante de WhatsApp - Watsi */
/* Botón flotante principal */
.watsi__button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.watsi__button.watsi-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.watsi__button.watsi__button--hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.watsi__button__open {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2 0%, #4caf50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.watsi__button:hover .watsi__button__open {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    box-shadow: 0 6px 25px rgba(21, 101, 192, 0.6);
}

.watsi__button__sendtext {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1565c0 0%, #388e3c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__button:hover .watsi__button__sendtext {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

.watsi__button__sendtext::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 8px solid #1565c0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.watsi__button__send {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.watsi__button__send i {
    font-size: 26px;
    color: white;
    transition: all 0.3s ease;
    line-height: 1;
}

.watsi__tooltip {
    position: absolute;
    bottom: 75px;
    left: 0;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    user-select: none;
}

.watsi__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333;
}

.watsi__button:hover .watsi__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat box */
.watsi__box {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transform-origin: bottom left;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    overflow: hidden;
}

.watsi__box.watsi__box--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.watsi__header {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    padding: 20px;
    position: relative;
    color: white;
}

.watsi__powered {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.watsi__powered svg {
    width: 60px;
    height: 12px;
    fill: white;
}

.watsi__close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.watsi__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.watsi__close::before,
.watsi__close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: white;
    border-radius: 1px;
}

.watsi__close::before {
    transform: rotate(45deg);
}

.watsi__close::after {
    transform: rotate(-45deg);
}

.watsi__box__scroll {
    max-height: 300px;
    overflow-y: auto;
}

.watsi__box__content {
    padding: 25px;
}

.watsi__message {
    background: linear-gradient(135deg, #e3f2fd 0%, #e0f2f1 100%);
    padding: 18px;
    border-radius: 15px;
    border-left: 4px solid #1e88e5;
    font-size: 16px;
    line-height: 1.5;
    color: #0d47a1;
    position: relative;
    animation: watsiFadeInMessage 0.5s ease-out;
}

@keyframes watsiFadeInMessage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.watsi__message::before {
    content: '💬';
    position: absolute;
    top: -8px;
    left: 15px;
    background: #1e88e5;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Botón de acción en el chat */
.watsi__action {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    display: flex;
    gap: 10px;
}

.watsi__action__button {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5 0%, #26a69a 100%);
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    animation: watsiGentlePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.watsi__action__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: watsiShimmer 2.5s infinite;
}

.watsi__action__button:hover {
    background: linear-gradient(135deg, #1565c0 0%, #00695c 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.4);
    animation-play-state: paused;
}

.watsi__action__button--blue {
    background: #2196f3;
    animation-delay: 1.5s;
}

.watsi__action__button--blue::before {
    animation-delay: 1.2s;
}

.watsi__action__button--blue:hover {
    background: #1976d2;
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.4);
}

@keyframes watsiGentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }
}

@keyframes watsiShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Animaciones */
@keyframes watsiPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

.watsi__button__open {
    animation: watsiPulse 2s infinite;
}

/* Responsive */
@media (max-width: 480px) {
    .watsi__box {
        width: calc(100vw - 20px);
        left: 10px;
        bottom: 15px;
    }

    .watsi__button {
        bottom: 15px;
        left: 15px;
    }

    .watsi__action {
        flex-direction: column;
    }

    .watsi__action__button {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* Ocultar en dispositivos móviles si deseas */
@media (max-width: 768px) {
    .watsi__button,
    .watsi__box {
        display: none !important;
    }
}

/* Navegación lateral con transiciones suaves mejoradas */
.side-nav {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-nav.show {
    opacity: 0.8;
    visibility: visible;
}

.side-nav:hover {
    opacity: 1 !important;
}

.nav-point {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(4, 76, 140, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(4, 76, 140, 0.2);
}

.nav-point:hover {
    background: var(--secondary-blue);
    transform: scale(1.4);
    box-shadow: 0 0 12px rgba(4, 164, 220, 0.6);
    border-color: rgba(255, 255, 255, 1);
}

.nav-point.active {
    background: var(--primary-blue);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(4, 76, 140, 0.5);
    border-color: rgba(255, 255, 255, 1);
}

.nav-point .tooltip {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(4, 76, 140, 0.3);
}

.nav-point .tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--primary-blue);
}

.nav-point:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .side-nav {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
}

/* ===================== Cambios de la revisión (Inicio) ===================== */

/* 7. Pantalla de carga solo la primera vez que se abre la página en la sesión */
.sin-splash #loading-splash-screen { display: none !important; }

/* 9. En celular el texto del hero fluye sin cortes raros */
@media (max-width: 768px) { .br-escritorio { display: none; } }

/* 12. Teléfonos que marcan al tocarlos: se ven igual */
a.tel { color: inherit; text-decoration: none; }
a.tel:hover { text-decoration: underline; }
@media (hover: none) { a.tel { text-decoration: underline dotted; text-underline-offset: 3px; } }

/* 10 y 11. Lo que se usa con teclado muestra dónde está el foco */
.hero-slide-content:focus-visible, .hero-indicator:focus-visible, .tramite-icon:focus-visible,
.faq-question:focus-visible, .nav-point:focus-visible { outline: 3px solid #04a4dc; outline-offset: 3px; }
.hero-slide-content[role="link"] { cursor: pointer; }

/* 37. Enlaces directos: la sección no queda debajo del encabezado fijo */
body > section[id] { scroll-margin-top: 80px; }

/* 34. Aviso importante arriba del hero */
.aviso-inicio { background: #fff4e5; border-bottom: 3px solid #f59e0b; color: #7c2d12; }
.aviso-inicio[hidden] { display: none; }
.aviso-inicio-in {
    max-width: 1200px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.aviso-inicio-in > i { font-size: 1.3rem; color: #d97706; flex-shrink: 0; }
.aviso-inicio-in p { margin: 0; flex: 1 1 260px; line-height: 1.45; font-size: 0.98rem; }
.aviso-inicio-ver {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 20px;
    background: #d97706; color: #fff; font-weight: 700; font-size: 0.9rem; text-decoration: none; white-space: nowrap;
}
.aviso-inicio-ver:hover { background: #b45309; color: #fff; }
.aviso-inicio-cerrar {
    border: none; background: none; color: #7c2d12; font-size: 1.6rem; line-height: 1; cursor: pointer;
    padding: 0 4px; opacity: 0.7;
}
.aviso-inicio-cerrar:hover { opacity: 1; }

/* 33. Noticias automáticas: mismas tarjetas de antes, ahora con foto y etiqueta */
.news-image { position: relative; display: block; background: linear-gradient(135deg, #044c8c, #04a4dc); }
.news-sin-foto-icono { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: rgba(255, 255, 255, 0.35); }
.news-tag {
    position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 20px; background: rgba(4, 76, 140, 0.92); color: #fff;
    font-size: 0.78rem; font-weight: 700;
}
.news-nuevo {
    position: absolute; top: 12px; right: 12px; z-index: 2; padding: 4px 10px; border-radius: 20px;
    background: #75b42b; color: #fff; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
}
.news-content h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-cargando { min-height: 420px; background: linear-gradient(90deg, #eef2f6 25%, #f7f9fb 50%, #eef2f6 75%); background-size: 200% 100%; animation: noticias-cargando 1.4s ease infinite; }
@keyframes noticias-cargando { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.news-vacio { grid-column: 1 / -1; text-align: center; color: var(--dark-gray); }
.news-todas { text-align: center; margin-top: 40px; }

/* 35. ¿Qué pozo abastece mi colonia? */
.mi-colonia-section { padding: 0 0 50px; }
.mi-colonia-card {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start;
    background: linear-gradient(135deg, #eaf6fd, #f1f8ea); border: 1px solid #d6ebf7; border-radius: 20px;
    padding: 32px; box-shadow: 0 10px 30px rgba(4, 76, 140, 0.08);
}
.mi-colonia-texto h2 { color: var(--primary-blue); font-size: 1.7rem; margin: 0 0 10px; line-height: 1.25; }
.mi-colonia-texto h2 i { color: #04a4dc; margin-right: 6px; }
.mi-colonia-texto p { margin: 0; color: var(--dark-gray); line-height: 1.6; }
.mi-colonia-buscador { position: relative; }
.mi-colonia-campo { position: relative; }
.mi-colonia-campo > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #04a4dc; font-size: 1.1rem; pointer-events: none; }
#buscarColonia {
    width: 100%; padding: 15px 18px 15px 48px; border: 2px solid #cfe3f1; border-radius: 30px;
    font: inherit; font-size: 1rem; background: #fff; color: #1f2d3d; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
#buscarColonia { padding-right: 110px; }
#buscarColonia::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.mi-colonia-borrar {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: none; border-radius: 22px;
    background: #e8f4fb; color: var(--primary-blue); font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s;
}
.mi-colonia-borrar:hover { background: #d3ebf8; }
.mi-colonia-borrar:focus-visible { outline: 3px solid #04a4dc; outline-offset: 2px; }
.mi-colonia-borrar[hidden] { display: none; }
#buscarColonia:focus { border-color: #04a4dc; box-shadow: 0 0 0 4px rgba(4, 164, 220, 0.15); }
#listaColonias {
    position: absolute; left: 0; right: 0; top: 58px; z-index: 20; margin: 0; padding: 6px; list-style: none;
    background: #fff; border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15); max-height: 300px; overflow-y: auto;
}
#listaColonias[hidden] { display: none; }
#listaColonias li { padding: 10px 14px; border-radius: 10px; cursor: pointer; color: #1f2d3d; }
#listaColonias li[aria-selected="true"], #listaColonias li[data-i]:hover { background: #e8f4fb; color: var(--primary-blue); }
#listaColonias li.sin-opciones { cursor: default; color: #6b7785; font-size: 0.92rem; }
.colonia-resultado { margin-top: 16px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 6px 18px rgba(4, 76, 140, 0.08); }
.colonia-titulo { margin: 0 0 10px; color: #1f2d3d; }
.colonia-pozos { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.colonia-pozos li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; background: #f6fafd; border-radius: 10px; }
.colonia-pozos strong { color: var(--primary-blue); }
.colonia-estado { font-size: 0.85rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; border: 1px solid; }
.e-24h { background: #e8f5e9; color: #1b5e20; border-color: #4caf50; }
.e-sinparo { background: #e3f2fd; color: #0d47a1; border-color: #2196f3; }
.e-activo { background: #fff8e1; color: #bf360c; border-color: #ff9800; }
.e-restringido { background: #fce4ec; color: #880e4f; border-color: #e91e63; }
.e-interconectado { background: #f3e5f5; color: #4a148c; border-color: #9c27b0; }
.e-apoyo { background: #f5f5f5; color: #616161; border-color: #bdbdbd; }
.colonia-nota { margin: 0 0 14px; color: #1f2d3d; line-height: 1.55; }
.colonia-mapa {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 22px;
    background: var(--primary-blue); color: #fff; font-weight: 700; font-size: 0.92rem; text-decoration: none;
}
.colonia-mapa:hover { background: #04a4dc; color: #fff; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 768px) {
    .mi-colonia-section { padding: 0 0 35px; }
    .mi-colonia-card { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; }
    .mi-colonia-texto h2 { font-size: 1.4rem; }
}

/* 36. Abierto / cerrado */
.estado-horario {
    display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 8px; padding: 4px 12px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700; line-height: 1.3;
}
.estado-horario[hidden] { display: none; }
.estado-horario::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.estado-horario.abierto { background: #e6f6ec; color: #1e7a3c; }
.estado-horario.pronto { background: #fff3e0; color: #b45309; }
.estado-horario.cerrado { background: #fdecec; color: #b42318; }

/* 39. ¿No tienes tu referencia? */
.link-referencia { display: block; margin: 8px 0 0 28px; font-size: 0.85rem; color: #546e7a; }
.link-referencia a { color: #d4338b; font-weight: 600; text-decoration: none; border-bottom: 1px dashed #d4338b; }
.link-referencia a:hover { color: #b61b74; border-bottom-style: solid; }

/* 16. Adornos en pausa fuera de pantalla y sin movimiento si el celular lo pide */
.anim-pausada *, .anim-pausada *::before, .anim-pausada *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
