/*Estilo contenido medico*/

:root {
    /*
                --color-uno: #FFFFFF;
                --color-dos: #FFFFFF;
                --color-tres: #FFFFFF;
                --color-cuatro: #1840ae;
                */
    --color-uno: #EFF6FF;
    --color-dos: #FFFFFF;
    --color-tres: #EFF6FF;
    --color-cuatro: #FFFFFF;
    --primary-blue: #1E88E5;
    --dark-blue: #0D47A1;
    --light-blue: #E3F2FD;
    --green: #4CAF50;
    --orange: #FF9800;
    --gray: #757575;
    --light-gray: #f5f5f5;
    --blue-tech: #1655ff;
    --cyan-tech: #8DD2F0;
    --dark-tech: #0f2a44;
}

.main_index {
    background-color: #fff;
}

.program-card {
    border-radius: 25px;
    overflow: hidden;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: none;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-header {
    padding: 20px 20px 10px;
    color: white;
    position: relative;
}

.program-header h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.age-badge {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 27, 89);
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.age-badge-dos {
    background-color: rgb(0, 27, 89);
    color: rgb(255, 255, 255);
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.program-img-container {
    height: 300px;
    overflow: hidden;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

.program-body {
    padding: 25px 20px;
}

.program-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.program-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-read-more {
    border-radius: 30px;
    padding: 8px 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid;
}

/* Colores específicos para cada categoría */
.uno-card .program-header {
    background-color: var(--color-uno);
}

.uno-card .btn-read-more {
    background-color: var(--color-uno);
    border-color: var(--color-uno);
    color: #0F2A44;
}

.uno-card .btn-read-more:hover {
    background-color: transparent;
    color: var(--color-uno);
}


.dos-card .btn-read-more {
    background-color: var(--color-dos);
    border-color: var(--color-dos);
    color: #0B2F5F;
}

.dos-card .btn-read-more:hover {
    background-color: transparent;
    color: var(--color-dos);
}

.tres-card .program-header {
    background-color: var(--color-tres);
}

.tres-card .btn-read-more {
    background-color: var(--color-tres);
    border-color: var(--color-tres);
    color: #FFFFFF;
}

.tres-card .btn-read-more:hover {
    background-color: transparent;
    color: var(--color-tres);
}


.cuatro-card .btn-read-more {
    background-color: var(--color-cuatro);
    border-color: var(--color-cuatro);
    color: white;
}

.cuatro-card .btn-read-more:hover {
    background-color: transparent;
    color: var(--color-cuatro);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-uno), var(--color-dos), var(--color-tres));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.medicos-menu-uno {
    color: #2e2e2e;
    font-weight: 700;
    font-size: x-large;
}

.medicos-menu-dos {
    color: #0B3C6F;
}

.medicos-menu-tres {
    color: #f1f8ff;
}

.medicos-menu-cuatro {
    color: #FFFFFF;
}

/* Responsive adicional */
@media (max-width: 768px) {

    .program-card {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .program-header {
        padding: 12px 14px;
    }

    .program-header h4 {
        font-size: 1rem;
    }

    .age-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

}

/* ===== MENU HORIZONTAL MEDICOS ===== */
.menu-wrapper {
    position: relative;
}

.menu-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 36px;
}

.menu-scroll::-webkit-scrollbar {
    display: none;
}

.menu-scroll {
    scrollbar-width: none;
}

.menu-scroll .program-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1655FF;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(22, 85, 255, 0.35);
}

.scroll-btn.left {
    left: 0;
}

.scroll-btn.right {
    right: 0;
}

@media (min-width: 992px) {
    .menu-scroll {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        overflow: visible;
        padding: 0;
    }

    .menu-scroll .program-card {
        width: auto;
    }

    .scroll-btn {
        display: none;
    }
}

/* Header Superior */
.top-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header-cta {
    background-color: var(--green);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

/* Hero Section */
.hero-section {
    background: #f8fbff;
    color: #102C55;
    padding: 60px 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(156, 234, 255, 0.689);
}

/* Servicios Grid - Estilo similar a la imagen */
.services-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark-blue);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(82, 174, 255, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-header {
    padding: 0px 0px 15px;

}

.service-title {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #102C55;
}

.service-subtitle {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.service-body {
    padding: 20px 25px;
}

.service-feature {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.feature-label {
    font-weight: 600;
    color: #555;
}

.feature-value {
    color: var(--primary-blue);
    font-weight: 600;
}

.service-hours {
    background-color: var(--light-blue);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    color: var(--dark-blue);
}

.btn-see-all {
    background-color: transparent;
    color: #1655ff;
    border: 2px solid #1655ff;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
}

.btn-see-all:hover {
    background-color: #b0c5ff;
    color: #1655ff;
}

/* Suscripción Section */
.subscribe-section {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.subscribe-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.subscribe-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.subscribe-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.email-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-subscribe {
    background-color: var(--green);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: #3d8b40;
}

.subscribe-note {
    color: var(--gray);
    font-size: 0.9rem;
}



/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.badge {
    background-color: var(--orange);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 10px;
}


/* ===== MENU HORIZONTAL PACIENTES ===== */

.services-wrapper {
    position: relative;
}

.services-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 36px;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.services-scroll {
    scrollbar-width: none;
}

.services-scroll .service-card {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: start;
}

/* Reutilizamos los mismos botones */
.services-wrapper .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.35);
}

.services-wrapper .scroll-btn.left {
    left: 0;
}

.services-wrapper .scroll-btn.right {
    right: 0;
}

/* ===== DESKTOP: VOLVER A GRID ===== */
@media (min-width: 992px) {
    .services-scroll {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        overflow: visible;
        padding: 0;
    }

    .services-scroll .service-card {
        width: auto;
    }

    .services-wrapper .scroll-btn {
        display: none;
    }
}


/* ===== SECTION ===== */
.otros-servicios {
    padding: 45px 0;

}

.otros-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 56px;
    color: var(--dark-tech);
}

/* ===== CARD PRINCIPAL ===== */
.servicio-marketing {

    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 24px 60px rgba(15, 42, 68, 0.12);
    position: relative;
    overflow: hidden;
}

/* Glow decorativo */
.servicio-marketing::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;

    top: -120px;
    right: -120px;
    opacity: 0.35;
}

/* Layout */
.marketing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Imagen */
.marketing-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;

}

/* ===== PHARMA TECH ===== */
.pharma-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-tech), var(--cyan-tech));
    color: #fff;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
    box-shadow: 0 0 0 rgba(141, 210, 240, 0.7);
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(141, 210, 240, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(141, 210, 240, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(141, 210, 240, 0);
    }
}

.pharma-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--blue-tech), var(--blue-tech));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

/* Texto */
.marketing-content p {
    font-size: 1.05rem;
    color: #4a5d73;

    margin-bottom: 28px;
}

/* ===== SUB CARDS ===== */
.sub-servicios,
.sub-servicios-cien {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.sub-servicios {
    grid-template-columns: 1fr 1fr;
}

.sub-card {

    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
    transition: all 0.3s ease;
}

.sub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(22, 85, 255, 0.2);
}

.sub-card img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.sub-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-tech);
}

/* ===== PHARMA CORE ===== */
.sub-card-pharma {
    border: 1.5px solid rgba(22, 85, 255, 0.4);
    background: linear-gradient(145deg, #ffffff, #eef4ff);

}

.sub-card-pharma h4 {
    color: var(--blue-tech);
    font-weight: 800;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .marketing-layout {
        grid-template-columns: 1fr;
    }

    .marketing-img img {
        height: 260px;
    }

    .sub-servicios {
        grid-template-columns: 1fr;
    }
}

.pharma-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    /* para responsive */
}

.footer {
    background: #f6faff;
    padding: 64px 24px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo img {
    height: 42px;
    margin-bottom: 24px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 32px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: left;
}

.contact-col {
    text-align: center;
}

.marketing-col {
    text-align: end;
}


.footer-col h4 {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #6B7280;
    text-decoration: none;
}

.footer-col a:hover {
    color: #111827;
}

.footer-social {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 0;
    margin: 0px 0;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.footer-social a {
    font-size: 20px;
    color: #9CA3AF;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
}

.footer-countries {
    font-size: 13px;
    color: #9CA3AF;
}

.footer-social img {
    width: 30px;
    height: 30px;
    display: block;
}


/* 📱 MÓVIL */
@media (max-width: 767px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0px;
        text-align: center;
        justify-items: center;
    }

    .contact-col {
        text-align: center;
    }

    .marketing-col {
        text-align: center;
    }

}