/*
Theme Name: Pasteurlab CA Theme
Author: Pasteur Laboratorios Clínico de Colombia SAS
Description: Tema base compatible con Elementor y Gutenberg
Version: 1.0.0
Text Domain: pasteurlabca.com
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.header {
    width: 100%;
    background-color: #003282;
    padding-left: 50px;
    padding-right: 30px;
    position: sticky;
    /* mantiene el flujo y evita saltos */
    top: 0;
    z-index: 1000;
    transition:
        background-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease,
        /*height .25s ease,*/
        padding .25s ease;
}

/* Compatibilidad con admin bar de WP */
body.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* Al hacer scroll (agrega .is-scrolled por JS) */
.header.is-scrolled {
    background: rgba(0, 57, 130, 0.92);
    /* tu azul con transparencia */
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    backdrop-filter: saturate(140%) blur(6px);
    /* opcional, si quieres glassy */
    /* “shrink” */
}

/* Ocultar al hacer scroll hacia abajo (agrega .is-hidden por JS) */
.header.is-hidden {
    transform: translateY(-100%);
}

/* Opcional: estilos de elementos internos cuando está scrolleado */
.header.is-scrolled .logo-image {}

.header .logo-image {
    /*transition: max-height .25s ease;*/
}

.content-header {
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-image {
    width: 60%;
    height: auto;
}

.content-menu {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.menu {
    color: white;
    text-decoration: none;
}

.menu li {
    list-style: none;
    display: inline;
    padding: 5px 10px;
}

.menu li a {
    color: white;
    text-decoration: none;
}


.menu-buttons {
    display: flex;
    justify-content: flex-end;
}

.menu-buttons-list {
    list-style: none;
    display: flex;
}

.menu-button {
    margin-left: 10px;
}

.menu-button a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #007bff;
    border-radius: 5px;
}

#search-input {
    display: flex;
    align-items: center;
    background-color: white;
    border: none;
    outline: none;
    padding: 5px 10px;
    border-radius: 17px !important;
}

#search-input:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-search {
    border: none;
    background-color: transparent;
}

.btn-search i {
    color: white;
    border: none;
    border-radius: 17px !important;
    padding: 5px 10px;
    font-size: 20px;
}

#btnResultadosEnLinea {
    color: #00245f;
    text-decoration: none;
    padding: 5px 10px;
    background-color: #ffffff;
    border-top-right-radius: 17px;
    border-bottom-right-radius: 17px;
    font-weight: bold;
}

#btnResultadosEnLinea:hover {
    background-color: #e2f4ff;
}

#btnIconResltadoEnLinea {
    color: white;
    background-color: #00245f;
}

#btnIconResltadoEnLinea:focus {
    box-shadow: 0 0 0px rgba(0, 123, 255, 0.5);
}

.banner-1 {
    width: 100%;
    height: 100vh;
    background-image: url('assets/img/back-1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-1 .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.espacio-banner-1 {
    width: 100%;
    height: 40px;
    background-color: #009de0;
}


/* Swiper ocupa todo el alto disponible */
.banner-1 .swiper-wrapper,
.banner-1 .swiper-slide {
    height: 100%;
}

/* Fondos y contenido */
.banner-1 .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay y contenido */
.banner-1 .banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .28);
    z-index: 1;
}

.banner-1 .banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100%;
    display: flex;
    align-items: center;
    padding-inline: clamp(16px, 3vw, 48px);
}

/* Tipografías fluidas */
.banner-1 .banner-title {
    font-size: clamp(22px, 4.2vw, 48px);
    line-height: 1.1;
    margin: 0 0 8px;
}

.banner-1 .banner-subtitle {
    font-size: clamp(14px, 2.1vw, 20px);
    max-width: 60ch;
    margin: 0 0 16px;
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px !important;
    height: 70px !important;
    color: #4879c717 !important;
    font-size: 12px !important;
    /*background-color: #ffffff7c;*/
    border-radius: 20px;
}

.swiper-button-prev,
.swiper-button-next:hover {
    color: #4879c770 !important;
}

.section-info-1 {
    width: 100%;
    height: 80px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
    flex-wrap: wrap;
    margin-top: -50px;
    z-index: 2;
}

.stat-box {
    font-family: 'Montserrat', sans-serif !important;
    background: #003282;
    /* azul oscuro */
    color: white;
    border-radius: 70px;
    text-align: center;
    font-size: 35px;
    position: relative;
    width: 250px;
    box-shadow: 0 8px 0 0 #00cfff;
    /* línea curva inferior simulada */
    font-weight: bold !important;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: 50px;
    margin-right: 50px;
}

.stat-box h2 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.stat-box p {
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
    font-size: 0.95rem;
}

.banner-1-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0px;
    width: 100%;
    height: 255px;
    z-index: 1;
    margin-top: -30px;
}

.section-info-2 {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.servicios-container {
    padding-top: 15%;
    padding-bottom: 15%;
}

/* tarjeta base */
.servicio-box {
    position: relative;
    width: 300px;
    border-radius: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-top: 100px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 20px;
    float: left;
    height: 200px;
    margin-right: 50px;
    margin-right: 50px;
}

/* ícono */
.servicio-box .icono {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* colores de fondo para tarjetas */
.azul {
    background-color: #003c8c;
}

.verde {
    background-color: #009688;
}

.morado {
    background-color: #9c27b0;
}

.amarillo {
    background-color: #f9a825;
}

/* fondos de íconos (más oscuros) */
.fondo-azul {
    background-color: #003c8c;
}

.fondo-verde {
    background-color: #009688;
}

.fondo-morado {
    background-color: #9c27b0;
}

.fondo-amarillo {
    background-color: #f9a825;
}

/* CARDS EXÁMENES */

.section-info-3 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #003282;
    padding: 50px;
}

.content-cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.cards-section {
    position: relative;
    width: 15%;
    height: 200px !important;
}

.cards-section-body {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 10px 20px;
    font-size: 17px;
    background: #009DE0;
    background: linear-gradient(180deg, rgba(0, 157, 224, 1) 0%, rgba(0, 157, 224, 1) 50%, rgb(0, 141, 211) 100%);
}

.cards-icon-top {
    margin-bottom: -20px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
}

.cards-icon-top img {
    margin-top: -12px;
}

#btnIrResultados {
    position: absolute;
    bottom: 15px;
    /* distancia desde el fondo del contenedor */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 15px;
    border: 2px solid #fff;
}

#btnIrResultados:hover {
    background-color: #fff;
    color: #003282;
}

.content-header-cards {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-header-cards h2 {
    width: 100%;
    color: #00cfff;
    text-align: center;
    font-size: 40px;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.content-header-cards p {
    width: 100%;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    display: block;
}

.section-info-4 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 50px 20px;
}

.noticias {
    background-color: #ffffff;
    padding: 60px 20px;
    font-family: 'Arial', sans-serif;
}

.noticias .container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.noticias h2 {
    font-size: 2rem;
    color: #002f6c;
    margin-bottom: 40px;
    font-weight: bold;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card-item {
    background-color: #003e85;
    color: #ffffff;
    padding: 30px 20px;
    border-radius: 20px 0px 40px 0px;
    width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
}

.card-item h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
    color: #3bc3ff;
}

.card-item p {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: left;
}

.btnCards {
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 5px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: background 0.3s ease;
    background-color: #009de0;
}

.icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.title-section-notice {
    color: #003982;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.content-footer {
    width: 80%;
    margin: auto;
}

.footer {
    width: 100%;
    background-color: #eaeaea;
    padding: 20px;
    color: white;
    text-align: center;
}

.footer img {
    width: 100%;
}

.barLogoResponsive {
    display: none;
}

.content-footer {
    padding-left: 150px;
    padding-right: 150px;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* ====== Single Post ====== */
.post-view {
    --ink: #0f172a;
    --muted: #64748b;
    --ring: rgba(0, 0, 0, .08);
}

.post-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.post-hero__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.post-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-title {
    font-size: clamp(28px, 4.4vw, 48px);
    line-height: 1.1;
    margin: 0;
    color: var(--ink);
}

/* Meta */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
}

.post-meta__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-meta__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 8px var(--ring);
}

.post-meta__label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    line-height: 1;
}

.post-meta__name {
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
}

.post-meta__name:hover {
    text-decoration: underline;
}

.post-meta__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    color: var(--muted);
}

.post-meta__list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.post-meta__list i {
    font-size: 16px;
}

.post-content {
    color: #1f2937;
    font-size: 18px;
    line-height: 1.75;
}

.post-content h2 {
    font-size: clamp(22px, 3vw, 32px);
    margin-top: 1.6em;
}

.post-content h3 {
    font-size: clamp(18px, 2.4vw, 24px);
    margin-top: 1.4em;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-content figure {
    margin: 1.2em 0;
}

.post-content blockquote {
    border-left: 4px solid #009de0;
    background: #f1f8fc;
    padding: 12px 16px;
    border-radius: 8px;
    color: #0b3b61;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0b3b61;
    background: #e6f4fb;
    padding: 6px 10px;
    border-radius: 999px;
    text-decoration: none;
}

.post-tag:hover {
    background: #d6eef9;
}

/* Responsive */
@media (max-width: 768px) {
    .post-meta {
        gap: 12px 16px;
    }

    .post-meta__list {
        gap: 8px 12px;
    }
}


/* RESPONSIVE */

@media (max-width: 430px) {

    .banner-1 {
        width: 100%;
        height: 10vh !important;
    }

    .content-header {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .logo-image {
        width: 80%;
    }

    .barLogoResponsive {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .content-menu {
        display: none;
        transform: translateX(-500px);
        transition: transform 0.3s ease-in-out;
    }

    .content-menu.active {
        display: block;
        transform: translateX(0px);
        transition: transform 0.3s ease-in-out;
    }

    .menu-buttons-list {
        flex-direction: column;
        align-items: center;
    }

    .stat-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .servicio-box {
        width: 100%;
    }

    #search-input {
        margin-bottom: 10px;
    }

    .menu-buttons-list {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #btnResultadosEnLinea {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    #btnIconResltadoEnLinea {
        text-align: center;
        margin-top: 10px;
    }

    .menu {
        width: 100%;
        text-align: center;
    }

    .menu .menu-list {
        width: 100%;
        justify-content: center;
    }

    .menu .menu-list li {
        width: 100%;
        display: block;
        text-align: center;
    }

    .banner-1 .wave {
        display: none;
    }

    .section-info-1 {
        padding: 0px;
        width: 100%;
        background-color: #003982;
        height: auto !important;
    }

    .stats-container {
        width: 100%;
        background-color: #003982;
        margin-top: 10px;
    }

    .espacio-banner-1 {
        display: none;
    }

    /* más limpio en móvil */

    .header {
        position: fixed;
    }

}

@media (max-width: 415px) {

    .content-header {
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .barLogoResponsive {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .content-menu {
        display: none;
        transform: translateX(-500px);
        transition: transform 0.3s ease-in-out;
    }

    .content-menu.active {
        display: block;
        transform: translateX(0px);
        transition: transform 0.3s ease-in-out;
    }

    .menu-buttons-list {
        flex-direction: column;
        align-items: center;
    }

    .stat-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .servicio-box {
        width: 100%;
    }

    #search-input {
        margin-bottom: 10px;
    }

    .menu-buttons-list {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #btnResultadosEnLinea {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    #btnIconResltadoEnLinea {
        text-align: center;
        margin-top: 10px;
    }

    .menu {
        width: 100%;
        text-align: center;
    }

    .menu .menu-list {
        width: 100%;
        justify-content: center;
    }

    .menu .menu-list li {
        width: 100%;
        display: block;
        text-align: center;
    }

    .banner-1 .wave {
        display: none;
    }

    .section-info-1 {
        padding: 0px;
        width: 100%;
        background-color: #003982;

    }

    .stats-container {
        width: 100%;
        background-color: #003982;
        margin-top: 10px;
    }

    .espacio-banner-1 {
        display: none;
    }

    /* más limpio en móvil */

    .header {
        position: fixed;
    }

}

@media (max-width: 400px) {

    .content-header {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .barLogoResponsive {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .content-menu {
        display: none;
        transform: translateX(-500px);
        transition: transform 0.3s ease-in-out;
    }

    .content-menu.active {
        display: block;
        transform: translateX(0px);
        transition: transform 0.3s ease-in-out;
    }

    .menu-buttons-list {
        flex-direction: column;
        align-items: center;
    }

    .stat-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .servicio-box {
        width: 100%;
    }

    #search-input {
        margin-bottom: 10px;
    }

    .menu-buttons-list {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    #btnResultadosEnLinea {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    #btnIconResltadoEnLinea {
        text-align: center;
        margin-top: 10px;
    }

    .menu {
        width: 100%;
        text-align: center;
    }

    .menu .menu-list {
        width: 100%;
        justify-content: center;
    }

    .menu .menu-list li {
        width: 100%;
        display: block;
        text-align: center;
    }

    .banner-1 .wave {
        display: none;
    }

    .section-info-1 {
        padding: 0px;
        width: 100%;
        background-color: #003982;

    }

    .stats-container {
        width: 100%;
        background-color: #003982;
        margin-top: 10px;
    }

    .espacio-banner-1 {
        display: none;
    }

    /* más limpio en móvil */

    .header {
        position: fixed;
    }

}

@media (max-width: 800px) {

    .stat-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .servicio-box {
        width: 100%;
    }

    .banner-1 {
        width: 100%;
        height: 300px;
    }

    .banner-1 .wave {
        display: none;
    }

    .section-info-1 {
        padding: 0px;
        width: 100%;
        background-color: #003982;

    }

    .stats-container {
        width: 100%;
        background-color: #003982;
        margin-top: 10px;
    }

    .espacio-banner-1 {
        display: none;
    }


    /* más limpio en móvil */

}

@media (max-width: 768px) {
    .stat-box {
        width: 90%;
        margin: 20px auto;
        font-size: 24px;
        padding: 20px;
    }

    .cards-section {
        width: 80%;
    }

    .servicio-box {
        width: 90%;
        margin: 20px auto;
    }

    .card-item {
        width: 90%;
        margin: 10px auto;
    }

    .content-header-cards h2 {
        font-size: 28px;
    }

    .content-header-cards p {
        font-size: 16px;
    }

    .section-info-1,
    .section-info-2,
    .section-info-3,
    .section-info-4 {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .stats-container,
    .servicios-container,
    .content-cards,
    .cards {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .banner-1-section {
        height: auto;
        position: relative;
        margin-top: 0;
    }

    .barLogoResponsive {
        display: block;
    }

    .section-info-2 {
        padding: 0px;
    }

    .servicios-container {
        width: 100%;
        padding: 50px;
    }

    .content-cards {
        padding: 40px;
    }

    .cards-section {
        width: 100%;
        padding: 0rem;
    }

    .servicio-box {
        width: 100%;
    }

    .footer {
        width: 100%;
        padding: 0px;
    }

    .cards-section-body {
        padding: 10px;
    }

    .btnCards {
        text-align: center;
        padding: 10px;
    }

    .content-footer {
        width: 100%;
        padding: 50px;
    }

    .content-footer img {
        margin-top: 30px;
    }

}

@media (max-width: 1920px) {
    .espacio-banner-1 {
        width: 100%;
        height: 100px;
        background-color: #009de0;
        margin-bottom: -60px !important;
    }
}

@media (max-width: 1600px) {
    .espacio-banner-1 {
        width: 100%;
        height: 100px;
        background-color: #009de0;
        margin-bottom: -60px !important;
    }
}

/* ===========================
   SECCIÓN ESPECIALIDADES
   =========================== */
.especialidades-grid {
  width: 100%;
  background: #fff;
  padding: 60px 40px;
}
.especialidades-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.especialidad-card {
  background: linear-gradient(180deg, #009DE0 0%, #008DD3 100%);
  border-radius: 0 0 35px 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.especialidad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.especialidad-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.especialidad-card h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px;
  margin: 0;
}
.especialidad-card p {
  color: #fff;
  font-size: 14px;
  padding: 0 15px 15px;
  margin: 0;
}
.btn-vermas {
  display: inline-block;
  background: #fff;
  color: #003282;
  border-radius: 25px;
  font-weight: 600;
  padding: 6px 20px;
  margin: 0 15px 20px;
  text-decoration: none;
  transition: all .3s ease;
}
.btn-vermas:hover {
  background: #e2f4ff;
  color: #00245f;
}

/* Responsive */
@media (max-width: 768px) {
  .especialidades-grid {
    padding: 40px 20px;
  }
  .especialidad-card img {
    height: 180px;
  }
}


/* ===========================
   FIX RESPONSIVE ELEMENTOR + GRID
   =========================== */

/* Neutraliza paddings dobles entre Elementor y tu sección */
.especialidades-page .elementor {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* Evita que Elementor corte o comprima el grid */
.especialidades-page .especialidades-grid {
  max-width: 100%;
  overflow: visible;
  padding: 40px 5vw;
  box-sizing: border-box;
}

/* Ajustes móviles */
@media (max-width: 768px) {
  .especialidades-page .especialidades-grid {
    padding: 30px 20px;
  }

  .especialidades-page .especialidades-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .especialidad-card img {
    height: 180px !important;
  }

  .especialidad-card h3 {
    font-size: 15px;
  }

  .especialidad-card p {
    font-size: 13px;
  }
}

/* Corrige desbordes en Elementor si agregas banners o sliders arriba */
.elementor-section {
  overflow: hidden;
}

/* ===========================
   Intercalado de colores en cards de especialidades
   =========================== */

/* Azul oscuro (por defecto) */
.especialidad-card {
  background: linear-gradient(180deg, #003282 0%, #0049a5 100%);
}

/* Azul claro para cada segunda card */
.especialidad-card:nth-child(2n) {
  background: linear-gradient(180deg, #009DE0 0%, #008DD3 100%);
}

/* Opcional: animación hover */
.especialidad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Mantén el texto blanco en todos */
.especialidad-card h3,
.especialidad-card p {
  color: #fff;
}

/* ===========================
   MENÚ PRINCIPAL Y SUBMENÚS - PASTEURLAB
   =========================== */
.menu-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.menu-list > li {
  position: relative;
}

.menu-list > li > a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
}

.menu-list > li:hover > a {
  color: #00bfff;
}

/* Submenús ocultos por defecto */
.menu-list li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #003282;
  padding: 10px 0;
  list-style: none;
  min-width: 180px;
  border-radius: 0 0 10px 10px;
  z-index: 999;
}

/* Estilos para los links del submenú */
.menu-list li ul.sub-menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.menu-list li ul.sub-menu li a:hover {
  background-color: #0049a5;
}

/* Mostrar submenú al pasar el mouse */
.menu-list li:hover > ul.sub-menu {
  display: block;
}

/* Flecha ▼ para ítems con hijos */
.menu-list > li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 10px;
  color: #00bfff;
  margin-left: 4px;
}

/* ===========================
   MENÚ HAMBURGUESA RESPONSIVE
   =========================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Estado activo (cruz) */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Desktop */
.menu-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}
.menu-list > li {
  position: relative;
}
.menu-list > li > a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px;
  display: block;
  transition: color 0.3s ease;
}
.menu-list > li:hover > a {
  color: #00bfff;
}

/* Submenús desktop */
.menu-list li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #003282;
  list-style: none;
  padding: 10px 0;
  border-radius: 0 0 10px 10px;
  min-width: 180px;
}
.menu-list li:hover > ul.sub-menu {
  display: block;
}
.menu-list li ul.sub-menu li a {
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
}
.menu-list li ul.sub-menu li a:hover {
  background: #0049a5;
}

/* Indicador ▼ */
.menu-list > li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 10px;
  color: #00bfff;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .content-menu {
    position: relative;
  }

  .menu-list {
    display: none;
    flex-direction: column;
    background-color: #003282;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
    gap: 0;
  }

  .menu-list.active {
    display: flex;
  }

  .menu-list li {
    width: 100%;
    text-align: center;
  }

  .menu-list li a {
    color: #fff;
    padding: 12px 0;
    display: block;
    font-size: 16px;
  }

  /* Submenús móviles */
  .menu-list li ul.sub-menu {
    position: static;
    background: #0049a5;
    display: none;
    border-radius: 0;
    padding: 0;
  }

  .menu-list li.open > ul.sub-menu {
    display: block;
  }

  .menu-list > li.menu-item-has-children > a::after {
    content: " ▸";
  }
  .menu-list > li.open > a::after {
    content: " ▾";
  }
}









