@media (min-width: 769px) {
        html {
            zoom: 0.9;
        }
    }

        :root {
            --medium-blue: #3a74a6;
            --dark-gray: #444444;
        }

        .container {
            width: 100%;
        }

        /* Sección Hero */

        /* Sección de Servicios */

        /* Sección de información */

        /* Sección de estadísticas */

        /* Sección de noticias */

        /* Sección de contacto rápido */

        /* Media queries para responsividad */

        body {
    line-height: 1.6;
}

/* Para el header - OVERRIDE específico */
.capas-header,
.capas-header * {
    line-height: normal !important;
}
        :root {
            --accent-green: #8cd867;
        }

        /* Hero de preguntas frecuentes */
        .faq-hero {
            position: relative;
            background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
            min-height: 600px;
            overflow: hidden;
            color: var(--white);
            padding-bottom: 50px;
        }

        /* Botón de regreso */
        .back-button {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 10;
        }

        .btn-back {
            display: flex;
            align-items: center;
            gap: 5px;
            background-color: rgba(255, 255, 255, 0.2);
            color: var(--white);
            padding: 8px 15px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .btn-back:hover {
            background-color: var(--white);
            color: var(--primary-green);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }

        /* Decoración del hero */
        .faq-hero-decoration {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(40px);
            animation: blobMovement 20s infinite alternate ease-in-out;
        }

        @keyframes blobMovement {
            0% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(50px, 20px) scale(1.1); }
            66% { transform: translate(-30px, -20px) scale(0.9); }
            100% { transform: translate(20px, 40px) scale(1.05); }
        }

        .blob-1 {
            top: -100px;
            left: -100px;
            width: 300px;
            height: 300px;
            background: var(--accent-green);
            opacity: 0.2;
            animation-delay: 0s;
        }

        .blob-2 {
            bottom: -150px;
            right: 10%;
            width: 350px;
            height: 350px;
            background: var(--light-green);
            opacity: 0.15;
            animation-delay: -5s;
        }

        .blob-3 {
            top: 30%;
            right: -80px;
            width: 200px;
            height: 200px;
            background: var(--medium-green);
            opacity: 0.2;
            animation-delay: -10s;
        }

        /* Partículas flotantes */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .particle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            animation: particleFloat 15s infinite linear;
        }

        .particle:nth-child(1) {
            top: 20%;
            left: 10%;
            width: 6px;
            height: 6px;
            animation-duration: 25s;
            animation-delay: 0s;
        }

        .particle:nth-child(2) {
            top: 60%;
            left: 20%;
            width: 8px;
            height: 8px;
            animation-duration: 35s;
            animation-delay: -5s;
        }

        .particle:nth-child(3) {
            top: 40%;
            left: 60%;
            width: 5px;
            height: 5px;
            animation-duration: 40s;
            animation-delay: -10s;
        }

        .particle:nth-child(4) {
            top: 70%;
            left: 80%;
            width: 7px;
            height: 7px;
            animation-duration: 20s;
            animation-delay: -7s;
        }

        .particle:nth-child(5) {
            top: 10%;
            left: 70%;
            width: 9px;
            height: 9px;
            animation-duration: 30s;
            animation-delay: -3s;
        }

        @keyframes particleFloat {
            0% {
                transform: translateY(0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-800px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Patrones decorativos */
        .pattern {
            position: absolute;
            opacity: 0.04;
            z-index: 1;
        }

        .pattern-1 {
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M32 40a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm0-2a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-6v-1h-1v1h1zm-1-2h1v-5h-1v5z'/%3E%3Cpath d='M64 40a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm0-2a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-6v-1h-1v1h1zm-1-2h1v-5h-1v5z'/%3E%3Cpath d='M16 72a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm0-2a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-6v-1h-1v1h1zm-1-2h1v-5h-1v5z'/%3E%3Cpath d='M48 72a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm0-2a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-6v-1h-1v1h1zm-1-2h1v-5h-1v5z'/%3E%3C/g%3E%3C/svg%3E");
            background-size: 80px 80px;
        }

        /* Contenido del hero */
        .faq-hero-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 100px 20px 50px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
            position: relative;
            z-index: 2;
        }

        .faq-hero-text {
            position: relative;
            z-index: 3;
            padding-right: 20px;
        }

        .faq-hero-badge {
            display: inline-block;
            background-color: var(--accent-green);
            padding: 8px 16px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--dark-green);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .faq-hero h1 {
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 20px;
            font-weight: 800;
            letter-spacing: -0.5px;
        }

        .faq-hero h1 span {
            display: block;
            color: var(--accent-green);
            position: relative;
            margin-top: 5px;
        }

        .faq-hero p {
            font-size: 1.1rem;
            margin-bottom: 30px;
            opacity: 0.9;
            line-height: 1.7;
        }

        /* Contenedor de imagen con forma única y animación */
        .faq-hero-img {
            position: relative;
            z-index: 2;
            perspective: 1000px;
        }

        .faq-img-wrapper {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
            border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
            transform-style: preserve-3d;
            animation: morphShape 15s linear infinite alternate, float 6s ease-in-out infinite;
            transition: all 0.5s ease;
            border: 5px solid rgba(255, 255, 255, 0.1);
        }

        @keyframes morphShape {
            0% {
                border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
            }
            25% {
                border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
            }
            50% {
                border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
            }
            75% {
                border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            }
            100% {
                border-radius: 40% 60% 50% 50% / 40% 60% 40% 60%;
            }
        }

        @keyframes float {
            0% {
                transform: translateY(0px) rotateY(-5deg) rotateX(2deg);
            }
            50% {
                transform: translateY(-15px) rotateY(3deg) rotateX(-2deg);
            }
            100% {
                transform: translateY(0px) rotateY(-5deg) rotateX(2deg);
            }
        }

        .faq-img-wrapper::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -10px;
            right: -10px;
            bottom: -10px;
            border-radius: inherit;
            background: linear-gradient(45deg, var(--accent-green), transparent, var(--accent-green), transparent);
            background-size: 200% 200%;
            animation: gradientBorder 8s linear infinite;
            z-index: -1;
            filter: blur(10px);
            opacity: 0.4;
        }

        @keyframes gradientBorder {
            0% {
                background-position: 0% 0%;
            }
            100% {
                background-position: 200% 200%;
            }
        }

        .faq-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 2s ease;
            transform: scale(1.05);
        }

        .faq-img-wrapper:hover img {
            transform: scale(1.15);
        }

        /* Onda inferior */
        .faq-hero-wave {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            line-height: 0;
            z-index: 1;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .faq-hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                padding-top: 80px;
            }

            .faq-hero-text {
                padding-right: 0;
            }

            .faq-img-wrapper {
                height: 350px;
                margin: 0 auto;
                max-width: 500px;
            }
        }

        @media (max-width: 768px) {
            .faq-hero h1 {
                font-size: 2.5rem;
            }

            .faq-img-wrapper {
                height: 300px;
            }
        }

        @media (max-width: 576px) {
            .faq-hero-content {
                padding: 70px 20px 50px;
            }

            .faq-hero h1 {
                font-size: 2rem;
            }
        }

/* 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;
    }
}

/* Estilos para el botón de volver arriba con ondas sutiles y periódicas (mismo diseño, nuevo nombre) */
.back-to-top-pulse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
}

.back-to-top-pulse svg {
    transition: transform 0.3s ease;
}

.back-to-top-pulse:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    box-shadow: 0 6px 20px rgba(4, 76, 140, 0.4);
    transform: translateY(0) scale(1.05);
}

.back-to-top-pulse:hover svg {
    transform: translateY(-3px);
}

.back-to-top-pulse.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ondas más sutiles y periódicas */
.back-to-top-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--secondary-blue);
    opacity: 0;
    z-index: -1;
    animation: subtle-ripple 4s 2s ease-out infinite;
}

@keyframes subtle-ripple {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    15% {
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Brillo periódico para el botón */
.back-to-top-pulse.visible {
    animation: subtle-glow 6s ease infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(4, 76, 140, 0.3);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(4, 164, 220, 0.5);
    }
}

/* Ajustes responsivos */
@media screen and (max-width: 768px) {
    .back-to-top-pulse {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .back-to-top-pulse {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

    :root {            /* Azul principal */          /* Azul secundario */
        --light-blue: #b5e1f5;              /* Azul claro */
        --dark-blue: #044c8c;               /* Azul oscuro */           /* Verde principal */
        --secondary-green: #3cb371;         /* Verde secundario */             /* Verde claro */
        --dark-green: #1e5f37;              /* Verde oscuro */

        --extra-light-bg: #f2f9fc;          /* Fondo muy claro */
        --border-color: #d4e6f1;
    }

    * {
        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(--text-color);
    }

    .faq-section {
        padding: 60px 0;
        background-color: var(--light-gray);
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Título e introducción */
    .faq-intro {
        text-align: center;
        margin-bottom: 40px;
    }

    .main-title {
        font-size: 2.5rem;
        color: var(--dark-blue);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

    .main-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
        border-radius: 2px;
    }

    .intro-text {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.1rem;
        line-height: 1.6;
        color: var(--text-color);
        opacity: 0.9;
    }

    /* Categorías de preguntas */
    .faq-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 40px;
        justify-content: center;
    }

    .category-button {
        background-color: var(--white);
        border: 2px solid var(--border-color);
        color: var(--text-color);
        padding: 12px 24px;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .category-button i {
        font-size: 1.1rem;
        color: var(--primary-blue);
        transition: all 0.3s ease;
    }

    .category-button:hover {
        background-color: var(--extra-light-bg);
        border-color: var(--primary-blue);
    }

    .category-button:hover i {
        transform: scale(1.1);
    }

    .category-button.active {
        background: var(--primary-blue);
        color: var(--white);
        border-color: var(--primary-blue);
    }

    .category-button.active i {
        color: var(--white);
    }

    /* Títulos de categoría */
    .category-title {
        color: var(--dark-blue);
        font-size: 1.8rem;
        margin: 30px 0 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--light-green);
    }

    /* Acordeón de preguntas */
    .faq-accordion {
        background-color: var(--white);
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        padding: 30px;
    }

    .faq-item {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-item:hover {
        border-color: var(--secondary-blue);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: var(--extra-light-bg);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .faq-question h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary-blue);
        margin: 0;
    }

    .icon-plus {
        position: relative;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .icon-plus::before,
    .icon-plus::after {
        content: '';
        position: absolute;
        background-color: var(--primary-blue);
        transition: all 0.3s ease;
    }

    .icon-plus::before {
        top: 9px;
        left: 0;
        width: 20px;
        height: 2px;
    }

    .icon-plus::after {
        top: 0;
        left: 9px;
        width: 2px;
        height: 20px;
    }

    .active .icon-plus::after {
        transform: rotate(90deg);
        opacity: 0;
    }

    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: var(--white);
        padding: 0 20px;
    }

    .faq-answer p {
        margin: 15px 0;
        line-height: 1.6;
    }

    .faq-item.active .faq-question {
        background-color: var(--primary-green);
    }

    .faq-item.active .faq-question h4 {
        color: var(--white);
    }

    .faq-item.active .icon-plus::before,
    .faq-item.active .icon-plus::after {
        background-color: var(--white);
    }

    .faq-item.active .faq-answer {
        max-height: 1000px;
        padding: 20px;
    }

    /* Listas en respuestas */
    .faq-answer ul,
    .faq-answer ol {
        margin: 15px 0;
        padding-left: 20px;
    }

    .faq-answer li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

    /* Enlaces de redes sociales */
    .social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 15px 0;
        list-style: none;
        padding: 0;
    }

    .social-links li a {
        display: inline-block;
        padding: 8px 15px;
        background-color: var(--extra-light-bg);
        color: var(--primary-blue);
        text-decoration: none;
        border-radius: 20px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .social-links li a:hover {
        background-color: var(--primary-blue);
        color: var(--white);
    }

    /* Botón de regresar */
    .return-button-container {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .return-button {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: var(--white);
        color: var(--primary-green);
        border: 2px solid var(--primary-green);
        padding: 12px 25px;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .return-button i {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .return-button:hover {
        background-color: var(--primary-green);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(46, 139, 87, 0.2);
    }

    .return-button:hover i {
        transform: translateX(-5px);
    }
    @media (max-width: 768px) {
        .main-title {
            font-size: 2rem;
        }

        .intro-text {
            font-size: 1rem;
        }

        .faq-categories {
            justify-content: flex-start;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .category-button {
            font-size: 0.9rem;
            padding: 10px 16px;
            white-space: nowrap;
        }

        .faq-accordion {
            padding: 20px;
        }

        .faq-question h4 {
            font-size: 1rem;
        }
    }

    /* Estilos para el botón de regresar */
    .extra-contact-section .return-button-container {
        display: flex;
        justify-content: center;
        margin-top: 50px;
    }

    .extra-contact-section .return-button {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: var(--white);
        color: var(--primary-green);
        border: 2px solid var(--primary-green);
        padding: 12px 25px;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .extra-contact-section .return-button i {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .extra-contact-section .return-button:hover {
        background-color: var(--primary-green);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(48, 124, 104, 0.3);
    }

    .extra-contact-section .return-button:hover i {
        transform: translateX(-5px);
    }

    @media (max-width: 576px) {
        .extra-contact-section .return-button {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
    }

    :root {
        --primary-blue: #044c8c;
        --secondary-blue: #04a4dc;
        --primary-green: #307c68;
        --light-green: #74b42c;
        --medium-green: #4a9a74;
        --white: #ffffff;
        --light-gray: #f5f7fa;
        --medium-gray: #e1e5eb;
        --text-color: #2d3748;
        --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .extra-contact-section {
        background: linear-gradient(135deg, rgba(4, 76, 140, 0.05) 0%, rgba(48, 124, 104, 0.05) 100%);
        padding: 10px 0;
        position: relative;
        overflow: hidden;
    }

    .extra-contact-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="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="%23307c68" opacity="0.1"/><circle cx="50" cy="50" r="1.5" fill="%23044c8c" opacity="0.1"/></svg>');
        background-size: 100px;
        pointer-events: none;
    }

    .contact-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Introducción */
    .contact-intro {
        text-align: center;
        margin-bottom: 60px;
        position: relative;
    }

    .contact-intro-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        background: var(--white);
        border-radius: 50%;
        margin: 0 auto 25px;
        box-shadow: 0 10px 30px rgba(4, 76, 140, 0.1);
        color: var(--primary-blue);
        position: relative;
    }

    .contact-intro-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px dashed var(--primary-blue);
        animation: rotate 20s linear infinite;
    }

    @keyframes rotate {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    .contact-title {
        font-size: 2.5rem;
        color: var(--primary-blue);
        margin-bottom: 15px;
        font-weight: 700;
    }

    .contact-subtitle {
        font-size: 1.2rem;
        color: var(--text-color);
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.8;
    }

    /* Tarjetas de contacto */
    .contact-options {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .contact-card {
        background: var(--white);
        border-radius: 20px;
        padding: 35px 30px;
        box-shadow: var(--card-shadow);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .contact-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
    }

    .contact-card.phone::before {
        background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    }

    .contact-card.email::before {
        background: linear-gradient(to right, var(--secondary-blue), var(--light-green));
    }

    .contact-card.virtual::before {
        background: linear-gradient(to right, var(--light-green), var(--primary-green));
    }

    .contact-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .card-icon {
        margin-bottom: 25px;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--light-gray);
        border-radius: 15px;
        color: var(--primary-blue);
        transition: all 0.3s ease;
    }

    .contact-card:hover .card-icon {
        background: var(--primary-blue);
        color: var(--white);
        transform: scale(1.05);
    }

    .contact-card.email:hover .card-icon {
        background: var(--secondary-blue);
    }

    .contact-card.virtual:hover .card-icon {
        background: var(--primary-green);
    }

    .contact-card h3 {
        font-size: 1.5rem;
        color: var(--text-color);
        margin-bottom: 20px;
        font-weight: 600;
    }

    /* Tarjeta de teléfono */
    .contact-list {
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
    }

    .contact-list li {
        font-size: 1.2rem;
        color: var(--primary-blue);
        margin-bottom: 10px;
        font-weight: 600;
    }

    .contact-schedule {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-color);
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px dashed var(--medium-gray);
    }

    /* Tarjeta de correo */
    .contact-email {
        display: inline-block;
        font-size: 1.2rem;
        color: var(--primary-blue);
        text-decoration: none;
        font-weight: 600;
        margin-bottom: 20px;
        transition: all 0.3s ease;
    }

    .contact-email:hover {
        color: var(--light-green);
    }

    .email-note {
        background: var(--light-gray);
        padding: 15px;
        border-radius: 10px;
        margin-top: auto;
    }

    .email-note p {
        color: var(--text-color);
        margin: 0;
        font-size: 0.95rem;
    }

    /* Tarjeta virtual */
    .virtual-assistant-desc {
        color: var(--text-color);
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .virtual-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: linear-gradient(to right, var(--primary-green), var(--medium-green));
        color: var(--white);
        padding: 14px 20px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-top: auto;
    }

    .virtual-button:hover {
        background: linear-gradient(to right, var(--medium-green), var(--primary-green));
        box-shadow: 0 5px 15px rgba(48, 124, 104, 0.3);
        transform: translateY(-3px);
    }

    /* Responsive */
    @media (max-width: 992px) {
        .extra-contact-section {
            padding: 60px 0;
        }

        .contact-title {
            font-size: 2.2rem;
        }

        .contact-options {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .contact-options {
            grid-template-columns: 1fr;
            max-width: 450px;
            margin: 0 auto;
        }

        .contact-card {
            padding: 25px 20px;
        }

        .contact-title {
            font-size: 1.8rem;
        }

        .contact-subtitle {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 576px) {
        .extra-contact-section {
            padding: 40px 0;
        }

        .contact-intro-icon {
            width: 60px;
            height: 60px;
        }

        .contact-title {
            font-size: 1.6rem;
        }

        .contact-list li {
            font-size: 1.1rem;
        }

        .contact-email {
            font-size: 1.1rem;
            word-break: break-all;
        }

        .virtual-button {
            padding: 12px 16px;
        }
    }

    .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;
    }

/* ===== Cambios de la revisión ===== */

/* 8. Botón "Ver todos los trámites / delegaciones" (antes estilo en línea repetido 9 veces) */
.btn-sutil-wrap { margin-top: 15px; text-align: right; }
.btn-sutil {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
    background-color: #f8f9fa; color: #307c68; text-decoration: none; border-radius: 15px;
    font-size: 0.85rem; font-weight: 500; border: 1px solid #e9ecef; transition: all 0.3s ease;
}
.btn-sutil:hover, .btn-sutil:focus-visible {
    background-color: #307c68; color: white; transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 124, 104, 0.3);
}

/* 9. En celular, "Regresar" ya no queda pegado a "Centro de Ayuda" */
@media (max-width: 768px) {
    .faq-hero-content { padding-top: 95px; }
}

/* 10. Espacio entre la pregunta y el "+" ; 11. se ve cuál tiene el foco con teclado */
.faq-question { gap: 15px; }
.faq-question:focus-visible { outline: 3px solid var(--secondary-blue); outline-offset: -3px; }
.faq-item { scroll-margin-top: 100px; }

/* 14. Ícono de "estás aquí" en el menú */
.capas-dropdown-item .icono-aqui { width: 1em; height: 1em; vertical-align: -0.125em; }

/* 25. Buscador */
.faq-buscador { position: relative; max-width: 560px; margin: 0 auto 25px; }
.faq-buscador > i {
    position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
    color: var(--primary-blue); font-size: 1.1rem; pointer-events: none;
}
.faq-buscador input {
    width: 100%; padding: 14px 50px; border: 2px solid var(--border-color); border-radius: 30px;
    font-size: 1rem; background: var(--white); color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-buscador input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(4, 76, 140, 0.12); }
.faq-buscador input::-webkit-search-cancel-button { display: none; }
.faq-buscador-limpiar {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border: none; border-radius: 50%;
    background: var(--extra-light-bg); color: var(--primary-blue); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.faq-buscador-limpiar[hidden] { display: none; }
.faq-estado { margin: 0 0 20px; font-weight: 600; color: var(--primary-blue); }
.faq-estado a { color: var(--primary-green); }

/* 29. Número de preguntas en cada categoría: globito en la esquina, sin hacer más ancho el botón */
.faq-categories { padding-top: 9px; margin-top: -9px; }
.category-button { position: relative; }
.cat-num {
    position: absolute; top: -9px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 11px; border: 2px solid var(--white); background: var(--primary-green); color: var(--white);
    font-size: 0.7rem; font-weight: 700; line-height: 18px; text-align: center; pointer-events: none;
}

/* 26. Copiar enlace de cada pregunta */
.faq-acciones { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.btn-copiar {
    display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; background: none;
    border: 1px dashed var(--border-color); border-radius: 15px; color: #6c757d;
    font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.3s ease;
}
.btn-copiar:hover, .btn-copiar:focus-visible { color: var(--primary-blue); border-color: var(--primary-blue); }
.btn-copiar.copiado { color: var(--primary-green); border: 1px solid var(--primary-green); }

/* 27. Teléfonos: se ven igual, pero al tocarlos se marca */
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; } }

/* 12. Animaciones de adorno: en pausa fuera de pantalla y apagadas si el celular pide menos movimiento */
.anim-pausada *, .anim-pausada *::before, .anim-pausada *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
    .blob, .particle, .faq-img-wrapper, .faq-img-wrapper::before, .contact-intro-icon::after,
    .watsi__button__open, .watsi__action__button, .watsi__action__button::before,
    .back-to-top-pulse, .back-to-top-pulse::before, .capas-bubble { animation: none !important; }
}
