/* --- Variables de Diseño --- */
:root {
    --primary-color: #0077b6;
    --primary-hover: #03045e;
    --secondary-color: #00b4d8;
    --accent-color: #90e0ef;
    --text-dark: #2b2d42;
    --text-light: #f8f9fa;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --black: #000000;
}

/* --- Reset Estándar --- */
* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

body {
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Botones --- */
.btn-primary, .btn-secondary, .btn-primary-outline {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-primary-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Header & Navbar --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

/* SOLO en tablets y PC */
@media (min-width: 768px) {
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.85), rgba(0, 180, 216, 0.85)), 
                url('https://images.unsplash.com/photo-1581093458791-9f3c3900df4b?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* --- Títulos de Sección --- */
.section-title {
    text-align: center;
    margin: 4rem 0 2rem 0;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
}

/* --- Sección de Servicios --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* --- Sección de Resultados (Buscador) --- */
.results-search {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.results-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.results-text, .results-form-box {
    flex: 1;
    min-width: 300px;
}

.results-text h2 {
    font-size: 2rem;
    color: var(--primary-hover);
    margin-bottom: 1rem;
}

.results-form-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 119, 182, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-hover);
}

/* Mensajes de interacción JS */
.message-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hidden {
    display: none;
}

/* --- Formulario de Contacto --- */
.contact {
    margin-bottom: 5rem;
}

.contact-form {
    background-color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.contact-form select, .contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-family: inherit;
}

/* --- Footer --- */
/* --- Footer Clínico Interlab --- */
.footer-clinico {
    background-color: #0a2540; /* Azul marino profundo, transmite seriedad médica */
    color: #e6f0fa;
    padding: 4rem 0 0 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--secondary-color, #00b4d8);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

/* Columna de Marca */
.footer-col-brand .footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col-brand .footer-logo span {
    color: #00b4d8; /* Resalte en celeste */
}

.footer-col-brand .footer-logo i {
    color: #00b4d8;
    margin-right: 0.5rem;
}

.footer-tagline {
    font-style: italic;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 280px;
}

/* Columnas de Información */
.footer-col h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Pequeña línea decorativa bajo los títulos */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #00b4d8;
}

.footer-col p {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}

/* Enlaces de Contacto */
.footer-contact-links {
    list-style: none;
    padding: 0;
}

.footer-contact-links li {
    margin-bottom: 0.75rem;
}

.footer-contact-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-contact-links a:hover {
    color: #ffffff;
    transform: translateX(3px); /* Efecto sutil al pasar el mouse */
}

.footer-contact-links a i {
    color: #00b4d8;
}

/* Barra de Créditos Inferior */
.footer-bottom {
    background-color: #031525;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748b;
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
}

.footer-socials a {
    color: #64748b;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover {
    color: #00b4d8;
    transform: scale(1.1);
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
    .footer-clinico {
        padding-top: 3rem;
    }
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* --- Responsividad Básica --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==========================================
   SECCIÓN NOSOTROS - INTERLAB
   ========================================== */

/* Hero de Nosotros */
.about-hero {
    background: linear-gradient(135deg, #0a2540 0%, #0077b6 100%);
    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.about-hero .subtitle {
    font-size: 1.2rem;
    color: #90e0ef;
    font-weight: 300;
}

/* Introducción / Misión / Visión */
.about-intro {
    padding: 4rem 0;
}

.about-story {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-story h2 {
    color: #0a2540;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.mv-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f5;
    text-align: center;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 2.5rem;
    color: #00b4d8;
    margin-bottom: 1rem;
}

.mv-card h3 {
    color: #0a2540;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.mv-card p {
    color: #64748b;
    font-size: 0.95rem;
    text-align: left;
}

/* Destacado de Oncología */
.oncology-highlight {
    background-color: #f4f7f6;
    padding: 5rem 0;
}

.oncology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
}

.oncology-text .badge {
    background-color: #00b4d8;
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.oncology-text h2 {
    color: #0a2540;
    font-size: 2.2rem;
    margin: 1rem 0;
}

.oncology-text p {
    color: #475569;
    margin-bottom: 1.5rem;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #0a2540;
    font-weight: 500;
}

.check-list li i {
    color: #0077b6;
}

.oncology-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.stat-box {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    box-shadow: 0 10px 35px rgba(0,0,0,0.03);
}

.stat-box h3 {
    font-size: 3rem;
    color: #0077b6;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Programa Comunitario */
.community-program {
    padding: 5rem 0;
}

.program-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    padding: 3.5rem;
    border-left: 6px solid #00b4d8;
}

.program-info h2 {
    color: #0a2540;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.program-info h2 span {
    color: #00b4d8;
}

.program-benefits h4 {
    margin: 1.5rem 0 0.75rem 0;
    color: #0a2540;
}

.program-benefits ul {
    list-style: none;
    padding: 0;
}

.program-benefits li {
    margin-bottom: 0.5rem;
    color: #475569;
    font-size: 0.95rem;
}

.program-benefits li i {
    color: #00b4d8;
    margin-right: 0.5rem;
}

.program-targets {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
}

.program-targets h3 {
    color: #0a2540;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.target-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.target-item {
    background-color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    color: #475569;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.target-item i {
    color: #0077b6;
}

/* Liderazgo / Equipo Médico */
.team-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.member-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    overflow: hidden;
    border-top: 4px solid #0a2540;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-info {
    padding: 2.5rem;
}

.member-info h3 {
    color: #0a2540;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.member-info .role {
    color: #00b4d8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.member-info hr {
    border: none;
    height: 1px;
    background-color: #e2e8f0;
    margin: 1.5rem 0;
}

.member-cv {
    list-style: none;
    padding: 0;
}

.member-cv li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.member-cv li i {
    color: #0077b6;
    margin-right: 0.5rem;
}

.dt-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Diseño Adaptativo para Tablets y Móviles */
@media (max-width: 992px) {
    .program-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.2rem; }
    .oncology-stats { flex-direction: column; gap: 1rem; }
}

/* ==========================================
   PÁGINA: PANEL PREVENTIVO GENERAL
   ========================================== */

/* Hero de la Sección */
.panel-hero {
    background: linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.95)), 
                url('https://images.unsplash.com/photo-1579154204601-01588f35116f?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    color: #ffffff;
    padding: 4.5rem 0;
    text-align: center;
}

.panel-badge {
    background-color: #00b4d8;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-hero h1 {
    font-size: 2.6rem;
    margin: 1rem 0 0.5rem 0;
}

.panel-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    font-weight: 300;
}

/* Distribución General (Grid de 2 columnas) */
.panel-overview {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
    align-items: start;
}

.panel-about h2 {
    color: #0a2540;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.panel-about p {
    color: var(--black);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Caja de Importancia (Alerta Médica sutil) */
.panel-importance {
    background-color: #fff8e1;
    border-left: 4px solid #ffb300;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.panel-importance h3 {
    color: #b78103;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-importance ul {
    list-style: none;
    padding: 0;
}

.panel-importance li {
    font-size: 0.95rem;
    color: #5d4037;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.panel-importance li i {
    font-size: 0.5rem;
    margin-top: 0.5rem;
    color: #ffb300;
}

/* Tarjeta Lateral de Lista de Exámenes */
.panel-list-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: sticky;
    top: 100px;
}

.panel-list-card h3 {
    color: #0a2540;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exams-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.exams-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.exams-list li i {
    color: #0077b6;
    width: 20px;
}

.btn-panel-cta {
    display: block;
    text-align: center;
    background-color: #0077b6;
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-panel-cta:hover {
    background-color: #0a2540;
}

/* Objetivos del Panel */
.panel-goals {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.goal-item {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    text-align: center;
}

.goal-item i {
    font-size: 2.2rem;
    color: #00b4d8;
    margin-bottom: 1rem;
}

.goal-item h4 {
    color: #0a2540;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.goal-item p {
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.5;
    text-align: left;
}

/* Segmentación de Público (Target) */
.panel-target {
    padding: 5rem 0;
}

.target-row {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.target-box {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
}

.target-header {
    padding: 1.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.target-header i { font-size: 1.8rem; }
.target-header h3 { font-size: 1.3rem; margin: 0; }

.bg-child { background: linear-gradient(135deg, #00b4d8, #0077b6); }
.bg-adult { background: linear-gradient(135deg, #0a2540, #004466); }

.target-body {
    padding: 2rem;
}

.target-body p {
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 1rem;
}

.target-body ul {
    list-style: none;
    padding: 0;
}

.target-body li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.target-body li i {
    color: #00b4d8;
    margin-top: 0.25rem;
}

/* Banner de Prevención del Pie */
.panel-prevention-footer {
    background-color: #0a2540;
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.prevention-banner h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.prevention-banner p {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.prevention-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prevention-tags span {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prevention-tags span i {
    color: #00b4d8;
}

/* Ajustes de Responsividad */
@media (max-width: 992px) {
    .panel-overview {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .panel-list-card {
        position: relative;
        top: 0;
    }
}

/* --- Configuración del Dropdown (Menú Desplegable) --- */

/* Asegura que el contenedor padre sea la referencia de posición */
.nav-links li.dropdown {
    position: relative;
}

/* Pequeño icono de flecha al lado de la palabra Servicios */
.dropdown-toggle i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* El menú oculto por defecto */
.dropdown-menu {
    position: absolute;
    top: 100%; /* Se posiciona justo debajo del botón */
    left: 0;
    background-color: #ffffff;
    min-width: 240px; /* Ancho del submenú */
    list-style: none;
    padding: 0.5rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border-top: 3px solid #0077b6; /* Línea de color azul corporativo */
    
    /* Efecto oculto pero listo para animar */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1100;
}

/* Estilo de los enlaces internos del submenú */
.dropdown-menu li a {
    color: #2b2d42 !important; /* Color de texto oscuro */
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Efecto Hover para las opciones del submenú */
.dropdown-menu li a:hover {
    background-color: #f4f7f6;
    color: #0077b6 !important; /* Cambia a azul al pasar el mouse */
}

/* === EL TRUCO: Mostrar el menú al hacer HOVER === */
.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Sube suavemente a su posición */
}

/* Opcional: Rota la flecha hacia arriba cuando el menú está abierto */
.nav-links li.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* ==========================================
   PÁGINA: PANEL METABÓLICO INTEGRAL
   ========================================== */

/* Fondo específico para el Hero Metabólico */
.bg-metabolico {
    background: linear-gradient(rgba(11, 28, 48, 0.92), rgba(3, 21, 37, 0.97)), 
                url('https://images.unsplash.com/photo-1532187863486-abf9d39d6618?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-alerta {
    background-color: #e63946 !important; /* Rojo clínico para destacar control avanzado */
}

/* Bloque Informativo Clínico */
.panel-importance-clinical {
    background-color: #f1f5f9;
    border-left: 4px solid #0077b6;
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.5rem;
}

.panel-importance-clinical h3 {
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.panel-importance-clinical h3 i {
    color: #e63946;
}

.panel-importance-clinical ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.panel-importance-clinical li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.panel-importance-clinical li i {
    color: #0077b6;
    font-size: 0.8rem;
}

.highlight-text {
    font-weight: 600;
    color: #0f172a;
    font-style: italic;
    border-top: 1px dashed #cbd5e1;
    padding-top: 0.75rem;
    margin-bottom: 0 !important;
}

/* Modificación de la tarjeta lateral para acomodar más exámenes */
.card-metabolico {
    border-top: 4px solid #e63946 !important;
}

.list-double {
    display: grid;
    grid-template-columns: 1fr; /* Una sola columna fluida bien estructurada */
    gap: 0.25rem;
}

.list-double li {
    padding: 0.5rem 0 !important;
    font-size: 0.95rem;
}

.bg-cta-metabolico {
    background-color: #e63946 !important;
}

.bg-cta-metabolico:hover {
    background-color: #0a2540 !important;
}

/* Grid de Detecciones */
.detection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detect-card {
    background-color: #ffffff;
    padding: 2.2rem 1.75rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.detect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #00b4d8;
}

.detect-icon {
    font-size: 2rem;
    color: #0077b6;
    margin-bottom: 1rem;
}

.detect-card h4 {
    color: #0a2540;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.detect-card p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

/* Matriz Metabólica de Destinatarios */
.metabolic-matrix {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.matrix-box h3 {
    color: #0a2540;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrix-box h3 i { color: #0077b6; }

.matrix-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.matrix-tags span {
    background-color: #e6f0fa;
    color: #0077b6;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 119, 182, 0.15);
}

.target-list-bg {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.target-clinical-list {
    list-style: none;
    padding: 0;
}

.target-clinical-list li {
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.target-clinical-list li i {
    color: #38bdf8;
}

/* Adaptabilidad de la Página */
@media (max-width: 868px) {
    .metabolic-matrix {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================
   PÁGINA: PANEL CÁNCER GASTROINTESTINAL
   ========================================== */

/* Fondo de la sección de cabecera */
.bg-gastro {
    background: linear-gradient(rgba(10, 23, 44, 0.93), rgba(12, 38, 56, 0.96)), 
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-oncologia {
    background-color: #7209b7 !important; /* Púrpura oncológico / preventivo corporativo */
}

.card-gastro {
    border-top: 4px solid #7209b7 !important;
}

.card-note {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bg-cta-gastro {
    background-color: #7209b7 !important;
}

.bg-cta-gastro:hover {
    background-color: #0a2540 !important;
}

/* Diseño de las tarjetas de tamizaje específico */
.tamizaje-secciones {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.tamizaje-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.tamizaje-card {
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.tamizaje-header {
    padding: 2rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tamizaje-header i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.tamizaje-header span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    display: block;
}

.tamizaje-header h3 {
    font-size: 1.35rem;
    margin: 0;
    font-weight: 600;
}

/* Colores específicos de los encabezados internos */
.bg-gastrico {
    background: linear-gradient(135deg, #023e8a, #0077b6);
}

.bg-colorrectal {
    background: linear-gradient(135deg, #4c1d95, #7209b7);
}

.tamizaje-body {
    padding: 2.5rem 2rem;
    flex-grow: 1;
}

.tamizaje-body h4 {
    color: #0f172a;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    border-left: 3px solid #00b4d8;
    padding-left: 0.5rem;
}

.context-p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.block-info-sub {
    margin-bottom: 1.75rem;
}

.block-info-sub:last-child {
    margin-bottom: 0;
}

.block-info-sub h5 {
    color: #0a2540;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.block-info-sub p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Listas internas del submenú */
.sub-check-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.sub-check-list li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: start;
    gap: 0.6rem;
    line-height: 1.4;
}

.sub-check-list li i {
    color: #00b4d8;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

/* Ajustes para la tarjeta del Colon */
.bg-colorrectal + .tamizaje-body h4 {
    border-color: #7209b7;
}

.bg-colorrectal + .tamizaje-body .sub-check-list li i {
    color: #7209b7;
}

/* Banner de Estadísticas Finales */
.gastro-stats-banner {
    background-color: #0f172a;
    color: #ffffff;
    padding: 4.5rem 0;
}

.banner-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-big-number {
    font-size: 5.5rem;
    font-weight: 800;
    color: #00b4d8;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
}

.stat-banner-text {
    flex: 1;
    min-width: 300px;
}

.stat-banner-text h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.stat-banner-text p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1.05rem;
}

.stat-banner-text strong {
    color: #ffffff;
}

/* Adaptabilidad Móvil */
@media (max-width: 768px) {
    .banner-flex {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .stat-big-number {
        font-size: 4.5rem;
    }
}

/* ==========================================
   PÁGINA: TAMIZAJE DE CÁNCER DE PRÓSTATA
   ========================================== */

/* Fondo específico para el Hero de Próstata */
.bg-prostata {
    background: linear-gradient(rgba(10, 25, 47, 0.92), rgba(16, 44, 79, 0.96)), 
                url('https://images.unsplash.com/photo-1579684389782-64d84b5e901a?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-masculina {
    background-color: #00b4d8 !important; /* Azul celeste / cian representativo de la salud masculina */
    color: #ffffff !important;
}

/* Caja de importancia clínica */
.importance-box-prostata {
    background-color: #f0f7ff;
    border-left: 4px solid #0077b6;
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.5rem;
}

.importance-box-prostata h3 {
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.importance-box-prostata h3 i {
    color: #023e8a;
}

.importance-box-prostata p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

.highlight-text-prostata {
    font-weight: 600;
    color: #023e8a;
    margin-top: 0.75rem;
    margin-bottom: 0 !important;
    font-size: 0.95rem;
}

/* Modificaciones de la tarjeta lateral del examen */
.card-prostata {
    border-top: 4px solid #00b4d8 !important;
}

.requisitos-prostata {
    background-color: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin: 1.25rem 0;
}

.requisitos-prostata p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
    margin: 0;
}

.requisitos-prostata i {
    color: #00b4d8;
}

.bg-cta-prostata {
    background-color: #023e8a !important;
    color: #ffffff !important;
}

.bg-cta-prostata:hover {
    background-color: #00b4d8 !important;
}

/* Grid inferior de objetivos y destinatarios */
.prostata-details-section {
    background-color: #f8fafc;
    padding: 4.5rem 0;
}

.prostata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.prostata-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
}

.bg-card-light {
    background-color: #f1f5f9;
}

.p-card-icon {
    font-size: 2.2rem;
    color: #023e8a;
    margin-bottom: 1rem;
}

.p-card-icon.color-alt {
    color: #00b4d8;
}

.prostata-card h3 {
    color: #0a2540;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.p-card-lead {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Listado de objetivos */
.p-bullet-list {
    list-style: none;
    padding: 0;
}

.p-bullet-list li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.25rem;
}

.p-bullet-list li::before {
    content: "■";
    color: #00b4d8;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

/* Contenedores de edad visuales */
.target-age-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.age-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.age-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #023e8a;
    line-family: sans-serif;
    min-width: 50px;
}

.age-text {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.4;
}

.p-card-footnote {
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.4;
    border-top: 1px solid #cbd5e1;
    padding-top: 1rem;
    margin: 0;
}

.p-card-footnote i {
    color: #023e8a;
}

/* ==========================================
   PÁGINA: TAMIZAJE CÁNCER CERVICOUTERINO
   ========================================== */

/* Fondo específico para el Hero de Cervicouterino */
.bg-cervico {
    background: linear-gradient(rgba(10, 37, 34, 0.92), rgba(12, 54, 48, 0.96)), 
                url('https://images.unsplash.com/photo-1581594693702-fbdc51b2763b?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-femenina {
    background-color: #0096c7 !important; /* Tono turquesa clínico */
    color: #ffffff !important;
}

/* Enfoque Dual Box Layout */
.cervico-dual-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cervico-mini-card {
    background-color: #f0fdf4; /* Fondo verde muy sutil */
    border: 1px solid #bbf7d0;
    padding: 1.5rem;
    border-radius: 8px;
}

.cervico-mini-card h5 {
    color: #166534;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cervico-mini-card p {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

/* Modificación de la tarjeta lateral */
.card-cervico {
    border-top: 4px solid #10b981 !important; /* Verde esmeralda de prevención */
}

.requisitos-cervico {
    background-color: #fafafa;
    padding: 0.85rem;
    border-radius: 6px;
    border: 1px dashed #d1d5db;
    margin: 1.25rem 0;
}

.requisitos-cervico p {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    margin: 0;
}

.bg-cta-cervico {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

.bg-cta-cervico:hover {
    background-color: #0b3630 !important;
}

/* Grilla intermedia */
.cervico-details-section {
    background-color: #f9fafb;
    padding: 4.5rem 0;
}

.cervico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.cervico-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    border: 1px solid #e5e7eb;
}

.bg-light-cervico {
    background-color: #f3f4f6;
}

.c-card-icon {
    font-size: 2.2rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.c-card-icon.color-alt {
    color: #0096c7;
}

.cervico-card h3 {
    color: #111827;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.objective-callout {
    background-color: #f9fafb;
    border-left: 3px solid #10b981;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0 6px 6px 0;
}

.objective-callout p {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* Lista del bloque destinatarios */
.cervico-bullet-list {
    list-style: none;
    padding: 0;
}

.cervico-bullet-list li {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.85rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.25rem;
}

.cervico-bullet-list li::before {
    content: "✓";
    color: #0096c7;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Sección de Impacto de Salud Pública (Baja) */
.public-health-banner {
    background-color: #0b1f1c;
    color: #ffffff;
    padding: 5rem 0;
}

.header-health {
    text-align: center;
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.header-health h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.header-health p {
    color: #9ca3af;
    font-size: 1.05rem;
    line-height: 1.6;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.pillar-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.pillar-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.p-num {
    font-size: 1.1rem;
    font-weight: bold;
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: monospace;
}

.pillar-item h4 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.pillar-item p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   PÁGINA: DIAGNÓSTICO MOLECULAR Y ONCOPANELES
   ========================================== */

/* Fondo del Hero Molecular */
.bg-molecular {
    background: linear-gradient(rgba(13, 22, 47, 0.94), rgba(7, 14, 33, 0.97)), 
                url('https://images.unsplash.com/photo-1530026405186-ed1ea0ac7a63?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-molecular-tech {
    background-color: #3f37c9 !important; /* Azul índigo de biotecnología */
    color: #ffffff !important;
}

/* Caja de importancia molecular */
.molecular-importance-box {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.molecular-importance-box h3 {
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.molecular-importance-box h3 i {
    color: #3f37c9;
}

.molecular-importance-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.molecular-importance-box li {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.molecular-importance-box li:last-child {
    margin-bottom: 0;
}

/* Tarjeta Lateral de Oncopaneles */
.card-molecular {
    border-top: 4px solid #3f37c9 !important;
}

.panel-card-lead-text {
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.panel-option-box {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.panel-option-box .opt-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.panel-option-box .opt-genes {
    font-size: 1.1rem;
    color: #0f172a;
}

.panel-option-box .opt-genes strong {
    color: #3f37c9;
    font-size: 1.3rem;
}

.card-note-molecular {
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
    margin: 1rem 0 1.5rem 0;
    text-align: center;
    line-height: 1.3;
}

.bg-cta-molecular {
    background-color: #3f37c9 !important;
    color: #ffffff !important;
}

.bg-cta-molecular:hover {
    background-color: #0f172a !important;
}

/* Sección Intermedia de Detalles */
.molecular-details-section {
    background-color: #f8fafc;
    padding: 5rem 0;
}

.molecular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem;
}

.molecular-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    border: 1px solid #e2e8f0;
}

.bg-card-dark-tech {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
}

.molecular-card h3 {
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bg-card-dark-tech h3 {
    color: #ffffff;
}

.bg-card-dark-tech h3 i {
    color: #3f37c9;
}

.card-intro-p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.card-intro-p.text-light {
    color: #94a3b8;
}

/* Bullet list */
.molecular-bullet-list {
    list-style: none;
    padding: 0;
}

.molecular-bullet-list li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.molecular-bullet-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #3f37c9;
}

/* Etiquetas de Tipos de Cáncer */
.cancer-types-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cancer-types-tags span {
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Sub-bloque destinatarios internos */
.molecular-target-box h5 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.molecular-target-box ul {
    list-style: none;
    padding: 0;
}

.molecular-target-box li {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.molecular-target-box li i {
    color: #3f37c9;
    font-size: 0.75rem;
}

/* ==========================================
   BLOQUE FINAL: SECCIÓN CONCLUSIÓN GENERAL
   ========================================== */
.interlab-conclusion-section {
    background-color: #ffffff;
    padding: 6rem 0;
    border-top: 1px solid #e2e8f0;
}

.conclusion-wrapper {
    max-width: 800px !important;
    margin: 0 auto;
    text-align: center;
}

.conclusion-icon {
    font-size: 3rem;
    color: #0077b6;
    margin-bottom: 1rem;
}

.conclusion-wrapper h2 {
    font-size: 2.2rem;
    color: #0a2540;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.conclusion-divider {
    width: 60px;
    height: 4px;
    background-color: #00b4d8;
    margin: 0 auto 2.5rem auto;
    border-radius: 2px;
}

.conclusion-grid-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-conclusion {
    font-size: 1.2rem;
    color: #1e293b;
    line-height: 1.7;
    font-weight: 500;
    border-left: 4px solid #00b4d8;
    padding-left: 1.5rem;
}

.sub-conclusion {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
}

.conclusion-badge-footer {
    margin-top: 3.5rem;
}

.conclusion-badge-footer span {
    background-color: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* ==========================================
   PÁGINA: MARCADORES TUMORALES
   ========================================== */

/* Fondo específico para el Hero de Marcadores */
.bg-marcadores {
    background: linear-gradient(rgba(12, 30, 54, 0.93), rgba(15, 23, 42, 0.96)), 
                url('https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-analitica {
    background-color: #1e3a8a !important; /* Azul cobalto clínico */
    color: #ffffff !important;
}

/* Caja de criterios iniciales */
.criterio-uso-box {
    background-color: #f8fafc;
    border-left: 4px solid #1e3a8a;
    padding: 2rem;
    border-radius: 0 10px 10px 0;
    margin-top: 1.5rem;
}

.criterio-uso-box h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.criterio-uso-box h3 i { color: #b91c1c; }

.utilidad-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.utilidad-mini-grid span {
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.utilidad-mini-grid span i {
    color: #0284c7;
    font-size: 0.85rem;
}

/* Modificaciones de la tarjeta lateral */
.card-marcadores {
    border-top: 4px solid #1e3a8a !important;
}

.bg-cta-marcadores {
    background-color: #1e3a8a !important;
    color: #ffffff !important;
}

.bg-cta-marcadores:hover {
    background-color: #0f172a !important;
}

/* Sección de Objetivos Intermedia */
.marcadores-objetivos-section {
    background-color: #f1f5f9;
    padding: 5rem 0;
}

.section-title-center {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title-center h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.section-title-center p {
    color: #64748b;
    font-size: 1rem;
}

.h-line {
    width: 50px;
    height: 3px;
    background-color: #0284c7;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.obj-3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.obj-box {
    background-color: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.num-step {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(2, 132, 199, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.obj-box h4 {
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.obj-box p {
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.6;
    margin: 0;
}

/* Catálogo de Fichas Técnicas */
.catalogo-marcadores {
    padding: 5rem 0;
}

.marcadores-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.m-tech-card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.m-tech-header {
    background-color: #f8fafc;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #cbd5e1;
}

.m-tech-header h4 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin: 0;
}

.m-tech-header span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
}

.m-tech-body {
    padding: 1.5rem;
}

.m-tech-body p {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.m-tech-body p:last-child {
    margin-bottom: 0;
}

.m-tech-body p i {
    color: #0284c7;
    margin-right: 0.25rem;
}

/* Sección de Destinatarios Doble */
.marcadores-target-section {
    background-color: #f8fafc;
    padding: 4.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.target-2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.t-box {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.border-blue { border-top: 4px solid #1e3a8a; }
.border-silver { border-top: 4px solid #94a3b8; }

.t-box h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.t-box ul {
    list-style: none;
    padding: 0;
}

.t-box li {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: start;
    gap: 0.6rem;
    line-height: 1.4;
}

.t-box li i {
    color: #1e3a8a;
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.matrix-tags-marcadores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.matrix-tags-marcadores span {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Modificaciones Banner Final */
.bg-cobalto { background-color: #0f172a !important; }
.color-oro { color: #eab308 !important; }

/* Pie de Página - Conclusión */
.conclusion-marcadores-footer {
    padding: 4rem 0;
    text-align: center;
    max-width: 750px !important;
}

.conclusion-marcadores-footer p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.conclusion-marcadores-footer p i {
    color: #0284c7;
}

.final-paragraph {
    font-size: 1.05rem !important;
    color: #0f172a !important;
    font-weight: 600;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

/* ==========================================
   PÁGINA: ASESORÍA GENÉTICA ONCOLÓGICA
   ========================================== */

/* Fondo específico para el Hero de Asesoría */
.bg-asesoria {
    background: linear-gradient(rgba(10, 25, 47, 0.94), rgba(7, 18, 36, 0.97)), 
                url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-clinical {
    background-color: #059669 !important; /* Verde esmeralda clínico */
    color: #ffffff !important;
}

/* Bloque destacado hiper temprano */
.hiper-temprano-callout {
    background-color: #f0fdf4;
    border-left: 4px solid #059669;
    padding: 2rem;
    border-radius: 0 8px 8px 0;
    margin-top: 2rem;
}

.hiper-temprano-callout h4 {
    color: #065f46;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clinical-inline-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.clinical-inline-list li {
    font-size: 0.9rem;
    color: #047857;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Modificaciones de la tarjeta lateral */
.card-asesoria {
    border-top: 4px solid #059669 !important;
}

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.appointment-features .feat-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
}

.appointment-features .feat-item i {
    color: #059669;
}

.bg-cta-asesoria {
    background-color: #059669 !important;
    color: #ffffff !important;
}

.bg-cta-asesoria:hover {
    background-color: #0f172a !important;
}

/* Línea de división verde */
.h-line-green {
    width: 50px;
    height: 3px;
    background-color: #059669;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

/* Grilla del Proceso Técnico */
.proceso-clinico-section {
    background-color: #f8fafc;
    padding: 5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.proceso-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.p-step-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.p-step-card .p-icon {
    width: 50px;
    height: 50px;
    background-color: #f0fdf4;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.25rem auto;
    font-size: 1.3rem;
}

.p-step-card h5 {
    color: #0f172a;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.p-step-card p {
    font-size: 0.85rem;
    color: black;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Alcance y división doble */
.scope-genetics {
    padding: 5rem 0;
}

.scope-grid-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.scope-block h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scope-block h3 i {
    color: #059669;
}

.scope-block p {
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.clinical-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.c-tag {
    background-color: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.bg-light-clinical {
    background-color: #f8fafc;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.clinical-check-list {
    list-style: none;
    padding: 0;
}

.clinical-check-list li {
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.clinical-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
}

.clinical-check-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================
   SECCIÓN: FICHA CURRICULAR DEL MÉDICO
   ========================================== */
.doctor-profile-section {
    background-color: #0f172a;
    padding: 5rem 0;
    color: #ffffff;
}

.doctor-card-wrapper {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
}

.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .doctor-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .doctor-identity { text-align: center; }
}

.doc-avatar-box {
    width: 90px;
    height: 90px;
    background-color: rgba(5, 150, 105, 0.15);
    color: #059669;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(5, 150, 105, 0.3);
}

@media (max-width: 768px) { .doc-avatar-box { margin: 0 auto 1.5rem auto; } }

.doctor-identity h4 {
    font-size: 1.45rem;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
}

.doc-title {
    font-size: 0.9rem;
    color: #059669;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 1rem;
}

.doc-experience {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) { .doc-experience { justify-content: center; } }

.doctor-cv h5 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.mt-doc-fields {
    margin-top: 2rem;
}

.cv-academic-list {
    list-style: none;
    padding: 0;
}

.cv-academic-list li {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: start;
    gap: 0.6rem;
    line-height: 1.4;
}

.cv-academic-list li i {
    color: #059669;
    margin-top: 0.25rem;
}

.doc-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.doc-fields-grid span {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.doc-fields-grid span i {
    color: #059669;
    font-size: 0.8rem;
}

/* Grilla de Beneficios Finales */
.benefits-section {
    padding: 5rem 0;
}

.benefits-4-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.b-card {
    text-align: center;
    padding: 1.5rem;
}

.b-card i {
    font-size: 2rem;
    color: #059669;
    margin-bottom: 1rem;
}

.b-card h6 {
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.b-card p {
    font-size: 0.85rem;
    color: var(--black);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Banner de Cierre */
.bg-clinical-dark {
    background-color: #0b1329 !important;
}

.text-green {
    color: #059669 !important;
}

/* ==========================================
   PÁGINA: CLUB DE BENEFICIOS Y CENTRO MÉDICO
   ========================================== */

/* Fondo del Hero del Club */
.bg-club {
    background: linear-gradient(rgba(14, 34, 25, 0.93), rgba(15, 23, 42, 0.96)), 
                url('https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-comunidad {
    background-color: #10b981 !important; /* Verde comunitario */
    color: #ffffff !important;
}

/* Sección de Comunas */
.cobertura-territorial {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.cobertura-territorial h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cobertura-territorial h3 i {
    color: #10b981;
}

.cobertura-territorial p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.comunas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}

.comunas-grid span {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.comunas-grid span i {
    color: #ef4444; /* Ícono de geolocalización en rojo suave */
    font-size: 0.8rem;
}

/* Tarjeta Lateral de Registro */
.card-club {
    border-top: 4px solid #10b981 !important;
}

.form-link-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.form-link-box i {
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.link-form-ins {
    color: #047857;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: underline;
}

.link-form-ins:hover {
    color: #0f172a;
}

.form-link-box span {
    font-size: 0.8rem;
    color: #475569;
}

.club-contact-info {
    border-top: 1px dashed #cbd5e1;
    padding-top: 1.25rem;
}

.club-contact-info h5 {
    color: #0f172a;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.club-contact-info p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.club-contact-info p i {
    color: #10b981;
}

.club-contact-info p i.fa-whatsapp {
    color: #25d366;
}

.club-dir {
    font-size: 0.8rem !important;
    line-height: 1.4;
    color: #64748b !important;
    margin-top: 0.75rem;
}

.bg-cta-club {
    background-color: #10b981 !important;
    color: #ffffff !important;
}

.bg-cta-club:hover {
    background-color: #0f172a !important;
}

/* Sección de Cuadrícula de Ventajas */
.club-ventajas-section {
    background-color: #f1f5f9;
    padding: 5rem 0;
}

.h-line-green-leaf {
    width: 50px;
    height: 3px;
    background-color: #10b981;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.ventajas-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.v-box {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.v-icon-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.v-icon-title i {
    font-size: 1.4rem;
    color: #10b981;
}

.v-icon-title h4 {
    color: #0f172a;
    font-size: 1.15rem;
    margin: 0;
}

.v-box p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   SECCIÓN: CENTRO MÉDICO (INFRAESTRUCTURA)
   ========================================== */
.centro-medico-infraestructura {
    background-color: #ffffff;
    padding: 6rem 0;
}

.info-centro-wrapper {
    border-top: 1px solid #e2e8f0;
    padding-top: 5rem;
}

.centro-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .centro-grid-layout { grid-template-columns: 1fr; gap: 3.5rem; }
}

.sub-block-title {
    font-size: 0.85rem;
    color: #0077b6;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.centro-identity-text h2 {
    font-size: 2.2rem;
    color: #0a2540;
    font-weight: 700;
    margin-bottom: 1rem;
}

.h-line-left-blue {
    width: 40px;
    height: 4px;
    background-color: #0077b6;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.lead-centro {
    font-size: 1.15rem;
    color: #1e293b;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.centro-identity-text p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.interlab-slogan {
    background-color: #f0f9ff;
    border-left: 4px solid #0077b6;
    padding: 1rem 1.5rem;
    border-radius: 0 6px 6px 0;
    margin-top: 2rem;
}

.interlab-slogan span {
    font-size: 0.95rem;
    color: #0369a1;
    font-weight: 600;
    font-style: italic;
}

/* Tarjetas de Pilares */
.centro-pilares-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pilar-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    border-radius: 10px;
}

.pilar-card h5 {
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pilar-card h5 i {
    color: #0077b6;
}

.pilar-card p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   PÁGINA: SERVICIOS CLÍNICOS GENERALES
   ========================================== */

/* Fondo del Hero */
.bg-servicios-clinicos {
    background: linear-gradient(rgba(11, 27, 48, 0.94), rgba(15, 23, 42, 0.96)), 
                url('https://images.unsplash.com/photo-1516549655169-df83a0774514?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover !important;
}

.badge-clinico-general {
    background-color: #0284c7 !important; /* Azul clínico corporativo */
    color: #ffffff !important;
}

/* Modificaciones de la Tarjeta Lateral */
.card-servicios-clinicos {
    border-top: 4px solid #0284c7 !important;
}

.atencion-prestadores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.badge-prevision {
    background-color: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-note-clinical {
    font-size: 0.78rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.4;
    margin: 1rem 0 1.5rem 0;
}

.bg-cta-clinico {
    background-color: #0284c7 !important;
    color: #ffffff !important;
}

.bg-cta-clinico:hover {
    background-color: #0f172a !important;
}

/* Grilla de Especialidades */
.catalogo-servicios-section {
    background-color: #f8fafc;
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.h-line-blue-clinical {
    width: 50px;
    height: 3px;
    background-color: #0284c7;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.medical-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-medical-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-medical-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border-color: #cbd5e1;
}

.s-card-icon {
    width: 45px;
    height: 45px;
    background-color: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.service-medical-card h4 {
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-medical-card p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Sección Oscura Avanzada: Oncología y Precisión */
.precision-oncology-section {
    background-color: #0f172a;
    padding: 6rem 0;
}

.text-white h2 {
    color: #ffffff !important;
}

.h-line-green-clinical {
    width: 50px;
    height: 3px;
    background-color: #10b981;
    margin: 1rem auto 0 auto;
    border-radius: 2px;
}

.oncology-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.onco-tech-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    border-radius: 10px;
}

.onco-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.onco-header i {
    color: #10b981;
    font-size: 1.4rem;
}

.onco-header h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.onco-tech-box p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Bloque Final: Compromiso Comunitario */
.interlab-compromiso-comunitario {
    background-color: #ffffff;
    padding: 6rem 0;
}

.compromiso-wrapper {
    max-width: 800px !important;
    margin: 0 auto;
    text-align: center;
}

.compromiso-icon-box {
    font-size: 3.5rem;
    color: #0284c7;
    margin-bottom: 1rem;
}

.compromiso-wrapper h2 {
    font-size: 2.2rem;
    color: #0a2540;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.compromiso-divider {
    width: 60px;
    height: 4px;
    background-color: #10b981;
    margin: 0 auto 2.5rem auto;
    border-radius: 2px;
}

.compromiso-main-text {
    font-size: 1.2rem;
    color: #1e293b;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.compromiso-sub-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

.compromiso-footer-badge {
    margin-top: 3.5rem;
}

.compromiso-footer-badge span {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Btn de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Responsive para celulares */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
    z-index: 9999;
    transition: .3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 30px;
        bottom: 15px;
        right: 15px;
    }
}

/* Mapa y sección de contacto */
.contacto {
    padding: 80px 5%;
    background: #f8f9fa;
}

.contacto-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.contacto-info {
    flex: 1;
}

.contacto-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contacto-info p {
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

.datos-contacto {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dato {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.dato a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.dato a:hover {
    text-decoration: underline;
}

.contacto-mapa {
    flex: 1.5;
}

.contacto-mapa iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

/* Responsive */
@media (max-width: 768px) {
    .contacto-contenido {
        flex-direction: column;
    }

    .contacto-info {
        text-align: center;
    }

    .dato {
        justify-content: center;
    }

    .contacto-mapa iframe {
        height: 350px;
    }
}

/* Afiche de portada */
.hero2 {
    width: 100%;
}

.hero2 img {
    width: 100%;
    height: auto;
    display: block;
}

/* Afiche2 */

.afiche {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    max-width: 750px;
    margin: 0 auto;
    padding: 80px 5%;
}

.afiche-texto {
    flex: 1;
}

.afiche-texto h2 {
    font-size: 2.5rem;
    color: #0077b6;
    margin-bottom: 20px;
}

.afiche-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.afiche-imagen {
    flex: 1;
}

.afiche-imagen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* --- Sección General de Liderazgo --- */
.seccion-liderazgo {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
}

.contenedor-titulos {
  text-align: center;
  margin-bottom: 45px;
}

.contenedor-titulos h2 {
  color: #006699; /* Azul corporativo InterLab */
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contenedor-titulos p {
  color: #666666;
  font-size: 1rem;
}

/* --- Cuadrícula Grid (2x2 en pantallas grandes, 1 columna en móvil) --- */
.cuadricula-profesionales {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

/* --- Tarjeta Profesional --- */
.tarjeta-profesional {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #002855; /* Borde superior oscuro como tu diseño */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto sutil al pasar el mouse */
.tarjeta-profesional:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- Contenedor de Foto --- */
.contenedor-foto {
  flex: 0 0 180px; /* Ancho fijo para la imagen de perfil */
  background-color: #f7fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #edf2f7;
}

.contenedor-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la foto no se deforme */
}

/* --- Información de la Tarjeta --- */
.info-profesional {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-profesional h3 {
  color: #002855;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.info-profesional .cargo {
  color: #00a3e0; /* Azul claro / celeste de acento */
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  display: block;
}

.info-profesional .descripcion {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* --- Listado de Hitos/Iconos --- */
.lista-hitos {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #edf2f7;
  padding-top: 15px;
}

.lista-hitos li {
  color: #4a5568;
  font-size: 0.85rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

/* Simulación de icono check azul previo a cada texto */
.lista-hitos li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a3e0;
  font-weight: bold;
}

/* --- Adaptación para Dispositivos Móviles --- */
@media (max-width: 600px) {
  .cuadricula-profesionales {
    grid-template-columns: 1fr;
  }
  
  .tarjeta-profesional {
    flex-direction: column; /* La foto se posiciona arriba en celulares */
  }
  
  .contenedor-foto {
    flex: 0 0 200px;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #edf2f7;
  }
}

/* --- Botón de WhatsApp para Agendamiento --- */
.btn-whatsapp {
    display: inline-block;
    background-color: #25d366; /* Color oficial WhatsApp */
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp:hover {
    background-color: #1ebd56;
    color: #ffffff;
}

.btn-whatsapp:active {
    transform: scale(0.98);
}

/* --- Botón de Contacto Administrativo --- */
.btn-contacto-admin {
    display: inline-block;
    background-color: #475569; /* Tono gris corporativo */
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.btn-contacto-admin:hover {
    background-color: #334155;
    color: #ffffff;
}

/* --- Cita destacada (Blockquote) de Leonardo --- */
.motivacion-admin {
    background-color: #f8fafc;
    border-left: 4px solid #2a9d8f; /* Tu verde esmeralda */
    margin: 14px 0;
    padding: 10px 14px;
    font-style: italic;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
    border-radius: 0 8px 8px 0;
}