/* AlergoBajío - Global Stylesheet */

* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f7fa;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar-custom {
    background-color: #1e53a5 !important;
    padding: 1rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.navbar-custom .navbar-brand img {
    height: 90px;
    width: auto;
}
.navbar-custom .nav-link {
    color: white !important;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
}
.navbar-custom .nav-link:hover {
    opacity: 0.8;
}
.navbar-custom .dropdown-menu {
    background-color: white;
    border: none;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.navbar-custom .dropdown-item {
    color: #1e53a5;
    font-size: 0.9rem;
}
.navbar-custom .dropdown-item:hover {
    background-color: #f0f0f0;
}
.btn-whatsapp {
    background-color: #27AE60 !important;
    color: white !important;
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    border: none;
}
.btn-whatsapp:hover {
    background-color: #1e8449 !important;
}
@media (max-width: 768px) {
    .navbar-custom .navbar-brand img { height: 70px; }
    .navbar-custom .navbar-toggler { border-color: rgba(255,255,255,0.5); }
    .navbar-custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .navbar-custom .navbar-collapse {
        background-color: #1e53a5;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 5px;
    }
    .navbar-custom .nav-link { text-align: right; }
    .navbar-custom .dropdown-menu {
        background-color: rgba(255,255,255,0.1);
        box-shadow: none;
        border: none;
    }
    .navbar-custom .dropdown-item {
        color: white;
        text-align: right;
    }
    .navbar-custom .dropdown-item:hover { background-color: rgba(255,255,255,0.2); }
    .btn-whatsapp {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* ===========================
   WHATSAPP FLOAT BUTTON
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
    border: 2px solid white;
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    background-color: #20b958;
    color: white;
}
.whatsapp-float span { display: inline; }
.whatsapp-float i { font-size: 1.5rem; }
@media (max-width: 768px) {
    .whatsapp-float {
        padding: 10px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
    }
    .whatsapp-float span { display: none; }
    .whatsapp-float i { font-size: 1.8rem; margin: 0; }
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: #1e53a5;
    color: white;
    padding: 50px 0 20px;
}
.footer-logo img {
    height: 70px;
    width: auto;
}
.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.footer-contact i {
    margin-right: 10px;
    color: #6FCF97;
}
.footer-contact p {
    margin-bottom: 8px;
}
.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s;
}
.footer-social a:hover {
    background-color: #6FCF97;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}
@media (max-width: 768px) {
    .footer { text-align: center; }
    .footer-logo { text-align: center; }
    .footer h5 { margin-top: 20px; }
}

/* ===========================
   INDEX.HTML - Carrusel
   =========================== */
.carousel-item { height: 600px; }
.carousel-item img { object-fit: cover; height: 100%; width: 100%; }
.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    left: 5%;
    right: auto;
    text-align: left;
    width: 90%;
    max-width: 500px;
    background: rgba(0,0,0,0.4);
    padding: 20px 30px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}
.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}
.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}
.carousel-caption .btn-whatsapp {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
}
@media (max-width: 768px) {
    .carousel-item { height: 400px; }
    .carousel-caption { left: 5%; width: 85%; padding: 15px 20px; }
    .carousel-caption h1 { font-size: 1.5rem; }
    .carousel-caption p { font-size: 0.9rem; }
}

/* ===========================
   INDEX - Servicios Cards
   =========================== */
.servicios-section { padding: 80px 0; background-color: white; }
.servicios-title {
    text-align: center;
    margin-bottom: 60px;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2.5rem;
}
.servicio-card {
    background-color: #f5f7fa;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.servicio-icon {
    font-size: 3.5rem;
    color: #6FCF97;
    margin-bottom: 20px;
}
.servicio-card h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.servicio-card p {
    color: #4A5568;
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}
.btn-ver-mas {
    background-color: #27AE60;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s;
    margin-top: 10px;
    align-self: center;
}
.btn-ver-mas:hover {
    background-color: #1e8449;
    transform: scale(1.05);
}

/* ===========================
   INDEX - Por qué AlergoBajío
   =========================== */
.porque-section {
    position: relative;
    padding: 80px 0;
    background-color: #003a95;
    overflow: hidden;
}
.porque-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('/img/porque_alergo_bajio.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}
.molecular-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.porque-section .container {
    position: relative;
    z-index: 2;
}
.porque-title {
    text-align: center;
    margin-bottom: 60px;
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
}
.valor-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.valor-card:hover { transform: translateY(-5px); }
.valor-icon {
    font-size: 3.5rem;
    color: #6FCF97;
    margin-bottom: 20px;
}
.valor-card h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.valor-card p {
    color: #4A5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===========================
   INDEX - Educación
   =========================== */
.educativa-section { padding: 80px 0; background-color: white; }
.educativa-title {
    text-align: center;
    margin-bottom: 20px;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2.5rem;
}
.educativa-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #4A5568;
    font-size: 1.2rem;
}
.tema-card {
    background-color: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.tema-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30,83,165,0.1);
}
.tema-imagen {
    height: 200px;
    overflow: hidden;
}
.tema-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.tema-card:hover .tema-imagen img { transform: scale(1.05); }
.tema-contenido {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.tema-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6FCF97, #4CAF50);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 10px rgba(111,207,151,0.3);
}
.tema-card h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.tema-card p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}
.btn-leer-mas {
    background-color: transparent;
    color: #1e53a5;
    border: 2px solid #1e53a5;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    align-self: flex-start;
}
.btn-leer-mas:hover {
    background-color: #1e53a5;
    color: white;
}

/* ===========================
   INDEX - Testimonios
   =========================== */
.testimonios-organicos-section { padding: 80px 0; background-color: #f5f7fa; }
.testimonios-organicos-title {
    text-align: center;
    margin-bottom: 20px;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2.5rem;
}
.testimonios-organicos-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: #4A5568;
    font-size: 1.2rem;
}
.testimonios-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonio-item {
    flex: 0 0 auto;
    width: 300px;
    transition: transform 0.3s ease;
    transform: translateY(var(--y, 0)) rotate(var(--rotation, 0deg));
}
.testimonio-item:hover {
    transform: translateY(calc(var(--y, 0) - 5px)) rotate(0deg);
    z-index: 10;
}
.testimonio-card-organico {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.02);
    transition: box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonio-card-organico:hover { box-shadow: 0 20px 30px -5px rgba(30,83,165,0.2); }
.testimonio-header { display: flex; align-items: center; margin-bottom: 15px; }
.testimonio-foto {
    width: 50px; height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #6FCF97;
}
.testimonio-header h4 {
    color: #1e53a5;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 1.1rem;
}
.badge-verificada {
    display: inline-block;
    background-color: #27AE60;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    border-radius: 30px;
    margin-bottom: 3px;
}
.testimonio-estrellas { color: #FFD700; font-size: 0.85rem; }
.testimonio-texto {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 15px 0;
    flex-grow: 1;
}
.testimonio-fecha {
    color: #a0aec0;
    font-size: 0.8rem;
    border-top: 1px dashed #e2e8f0;
    padding-top: 12px;
    margin-top: auto;
}
.btn-ver-todos {
    background-color: transparent;
    color: #1e53a5;
    border: 2px solid #1e53a5;
    border-radius: 30px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-ver-todos:hover { background-color: #1e53a5; color: white; }
@media (max-width: 768px) {
    .testimonios-grid { flex-direction: column; align-items: center; }
    .testimonio-item { width: 100%; max-width: 400px; transform: none !important; }
}

/* ===========================
   INDEX - CTA
   =========================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e53a5 0%, #2a6bcb 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-title { font-size: 3rem; font-weight: 700; margin-bottom: 20px; }
.cta-subtitle { font-size: 1.5rem; margin-bottom: 40px; }
.btn-cta {
    background-color: #27AE60;
    color: white;
    border-radius: 50px;
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-cta:hover { background-color: #1e8449; transform: translateY(-3px); }
@media (max-width: 768px) {
    .cta-title { font-size: 2rem; }
    .cta-subtitle { font-size: 1.2rem; margin-bottom: 30px; }
    .btn-cta { padding: 0.8rem 2rem; font-size: 1.1rem; }
}

/* ===========================
   CONTACTO
   =========================== */
.contacto-section { padding: 60px 0; background-color: #f5f7fa; }
.contacto-title {
    text-align: center;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.contacto-subtitle {
    text-align: center;
    color: #4A5568;
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.sucursal-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.sucursal-header {
    padding: 20px 25px;
    color: white;
    text-align: center;
}
.sucursal-header.la-martinica { background: linear-gradient(135deg, #1e53a5, #2a6bcb); }
.sucursal-header.hospital-angeles { background: linear-gradient(135deg, #27AE60, #2ecc71); }
.sucursal-header i { font-size: 2rem; margin-bottom: 10px; display: block; }
.sucursal-header h3 { margin: 0; font-size: 1.3rem; font-weight: 700; }
.sucursal-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.sucursal-info { flex-grow: 1; }
.sucursal-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 12px;
}
.sucursal-info-item i {
    color: #1e53a5;
    font-size: 1.1rem;
    margin-top: 3px;
    min-width: 20px;
}
.sucursal-info-item h6 {
    font-weight: 600;
    color: #1e53a5;
    margin-bottom: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.sucursal-info-item p {
    color: #4A5568;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
.sucursal-info-item a {
    color: #1e53a5;
    text-decoration: none;
    font-weight: 500;
}
.sucursal-info-item a:hover { color: #27AE60; }
.sucursal-info-item:last-child { margin-bottom: 0; }
.sucursal-map {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}
.sucursal-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
}
.sucursal-whatsapp {
    display: block;
    text-align: center;
    background-color: #27AE60;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.sucursal-whatsapp:hover { background-color: #1e8449; color: white; }
.sucursal-whatsapp i { margin-right: 8px; }

/* ===========================
   ESPECIALISTAS
   =========================== */
.especialistas-section { padding: 60px 0; background-color: #f5f7fa; }
.especialistas-title {
    text-align: center;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.doctor-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
}
.doctor-card:hover { transform: translateY(-5px); }
.circulo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #1e53a5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circulo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.circulo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}
.circulo:hover { border-color: #27AE60; }
.doctor-card h4 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.doctor-card p {
    color: #4A5568;
    font-size: 0.95rem;
}
.doctor-card .btn-ver-mas {
    margin-top: 15px;
}

/* ===========================
   DR. ULISES GARCÍA
   =========================== */
.perfil-wrapper { padding: 60px 0; background-color: #f5f7fa; }
.perfil-main { padding: 20px 0; }
.perfil-topbar {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    border-radius: 20px;
    padding: 30px;
    color: white;
    margin-bottom: 40px;
    gap: 30px;
}
.perfil-topbar-foto-wrapper {
    flex-shrink: 0;
}
.perfil-topbar-foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.perfil-topbar-info { flex: 2; }
.perfil-topbar-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.perfil-topbar-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}
.perfil-topbar-estrellas {
    margin-top: 8px;
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 3px;
}
.perfil-topbar-contacto {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.perfil-topbar-contacto a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
}
.perfil-topbar-contacto a:hover { opacity: 1; }
.perfil-topbar-acciones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.perfil-topbar-redes {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.perfil-topbar-redes a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
}
.perfil-topbar-redes a:hover { opacity: 1; }

.info-card-horizontal {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.info-card-horizontal:last-child { margin-bottom: 0; }
.info-card-icon-horizontal {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.info-card-content-horizontal h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.info-card-content-horizontal p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.contacto-section { padding: 60px 0; background-color: #f5f7fa; }
.contacto-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.contacto-item i {
    color: #1e53a5;
    font-size: 1.2rem;
    min-width: 25px;
}
.contacto-item p {
    color: #4A5568;
    margin: 0;
    font-size: 0.95rem;
}
.contacto-text { margin-top: 20px; }
.contacto-text a { color: #1e53a5; text-decoration: none; font-weight: 500; }
.contacto-text a:hover { color: #27AE60; }

.certificacion {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0f7ff;
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 10px;
}
.certificacion i { color: #1e53a5; }
.certificacion span { color: #4A5568; font-size: 0.9rem; }

.badge-interes {
    display: inline-block;
    background-color: #e8f5e9;
    color: #27AE60;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    margin: 5px;
}
.badge-interes:hover { background-color: #c8e6c9; }
.badge-interes i { margin-right: 5px; }

.logros-section { padding: 60px 0; background-color: white; }
.logros-title {
    text-align: center;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 40px;
}
.logro-card {
    text-align: center;
    padding: 25px 15px;
    background: #f8fafc;
    border-radius: 15px;
    height: 100%;
}
.logro-icon {
    font-size: 2.5rem;
    color: #1e53a5;
    margin-bottom: 15px;
}
.logro-content h4 {
    color: #1e53a5;
    font-weight: 700;
    margin-bottom: 5px;
}
.logro-content p {
    color: #4A5568;
    font-size: 0.9rem;
}

.galeria-section { padding: 60px 0; background-color: #f5f7fa; }
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.galeria-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.galeria-item:hover { transform: scale(1.03); }
.galeria-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.btn-whatsapp-topbar {
    background-color: #27AE60;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}
.btn-whatsapp-topbar:hover { background-color: #1e8449; color: white; }
.btn-whatsapp-topbar i { font-size: 1.2rem; }

@media (max-width: 768px) {
    .perfil-topbar {
        flex-direction: column;
        text-align: center;
    }
    .perfil-topbar-contacto { justify-content: center; }
    .perfil-topbar-redes { justify-content: center; }
    .perfil-topbar-acciones { align-items: center; }
    .info-card-horizontal { flex-direction: column; text-align: center; }
}

/* ===========================
   EDUCACIÓN - Índice
   =========================== */
.educacion-section { padding: 60px 0; background-color: #f5f7fa; }
.educacion-title {
    text-align: center;
    color: #1e53a5;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.educacion-subtitle {
    text-align: center;
    color: #4A5568;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ===========================
   SERVICIOS - Páginas internas
   =========================== */
.hero-servicio {
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.hero-servicio h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.hero-servicio p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 25px;
    opacity: 0.9;
}
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #27AE60;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background-color 0.3s;
}
.btn-hero:hover { background-color: #1e8449; color: white; }
.btn-hero i { font-size: 1.2rem; }

.seccion { padding: 60px 0; }
.seccion-titulo {
    text-align: center;
    margin-bottom: 40px;
}
.seccion-titulo h2 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 10px;
}
.seccion-titulo p {
    color: #4A5568;
    font-size: 1.05rem;
}
.seccion-titulo.text-start { text-align: left; }

.sintoma-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}
.sintoma-card:hover { transform: translateY(-5px); }
.sintoma-icon {
    font-size: 2.5rem;
    color: #1e53a5;
    margin-bottom: 15px;
}
.sintoma-card h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.sintoma-card p {
    color: #4A5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.servicio-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.paso-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}
.paso-numero {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.paso-texto h4 {
    color: #1e53a5;
    font-weight: 700;
    margin-bottom: 5px;
}
.paso-texto p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.beneficio-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6FCF97, #4CAF50);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.beneficio-text h4 {
    color: #1e53a5;
    font-weight: 700;
    margin-bottom: 3px;
    font-size: 1.05rem;
}
.beneficio-text p {
    color: #4A5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.testimonio-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
}
.testimonio-card .testimonio-foto {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: block;
}
.testimonio-card p {
    color: #4A5568;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.testimonio-autor h5 {
    color: #1e53a5;
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 1rem;
}
.testimonio-autor span {
    color: #6FCF97;
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-final {
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    text-align: center;
    padding: 60px 0;
}
.cta-final h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}
.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #27AE60;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}
.btn-cta-final:hover { background-color: #1e8449; color: white; }
.btn-cta-final i { font-size: 1.3rem; }

/* ===========================
   EDUCACIÓN - Páginas internas
   =========================== */
.educacion-articulo { padding: 60px 0; background-color: #f5f7fa; }
.articulo-header {
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}
.articulo-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.articulo-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.card-con-imagen {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    min-height: 200px;
}
.card-con-imagen:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.12); }
.card-imagen {
    flex: 0 0 40%;
    max-width: 40%;
    overflow: hidden;
    display: block;
    position: relative;
}
.card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
}
.card-contenido {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-contenido h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.card-contenido p {
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.concepto-card-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.concepto-icon-circular {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.concepto-imagen-circular {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.concepto-texto h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.concepto-texto p {
    color: #4A5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.alergeno-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
.alergeno-imagen {
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.alergeno-imagen h3 {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.alergeno-imagen img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.alergeno-contenido {
    padding: 20px;
}
.alergeno-contenido h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.alergeno-contenido p {
    color: #4A5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.alergeno-lista {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.alergeno-lista li {
    padding: 5px 0;
    color: #4A5568;
    font-size: 0.9rem;
}
.alergeno-lista li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #27AE60;
    margin-right: 8px;
}

/* Sintoma cards (same style as alergeno) */
.sintoma-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.sintoma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.sintoma-imagen {
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.sintoma-imagen h3 {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}
.sintoma-imagen img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.sintoma-contenido {
    padding: 20px;
}
.sintoma-contenido h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.sintoma-lista {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.sintoma-lista li {
    padding: 5px 0;
    color: #4A5568;
    font-size: 0.9rem;
}
.sintoma-lista li i {
    color: #1e53a5;
    margin-right: 8px;
    min-width: 18px;
}

.cita-con-imagen {
    display: flex;
    align-items: stretch;
    border-radius: 15px;
    overflow: hidden;
    margin: 30px 0;
    min-height: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.cita-imagen-fondo {
    flex: 0 0 50%;
    background-size: cover;
    background-position: center;
    min-height: 250px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.cita-contenido {
    flex: 1;
    padding: 30px;
    background: linear-gradient(135deg, #1e53a5, #2a6bcb);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cita-contenido h3 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.cita-contenido p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

.nota-visual {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 10px;
    padding: 20px 25px;
    margin: 25px 0;
}
.nota-visual p {
    color: #4A5568;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}
.nota-visual i { color: #ff9800; margin-right: 8px; }

.cta-con-imagen {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin: 40px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-color: rgba(0,0,0,0.55);
}
.cta-con-imagen::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(30,83,165,0.7), rgba(0,0,0,0.6));
    z-index: 1;
}
.cta-con-imagen .cta-imagen-fondo {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    object-fit: cover;
}
.cta-contenido {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
    text-align: center;
    width: 100%;
}
.cta-contenido h2 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.cta-contenido p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.btn-cta-visual {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #27AE60;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-cta-visual:hover { background-color: #1e8449; color: white; transform: translateY(-3px); }
.btn-cta-visual i { font-size: 1.2rem; }

.volver-link {
    color: #1e53a5;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    transition: color 0.3s;
}
.volver-link:hover { color: #1e8449; text-decoration: none; }

@media (max-width: 768px) {
    .card-con-imagen { flex-direction: column; }
    .card-imagen { flex: none; max-width: 100%; height: 200px; position: relative; }
    .card-imagen img { position: relative; height: 200px; }
    .cita-con-imagen { flex-direction: column; }
    .cita-imagen-fondo { flex: none; min-height: 200px; }
    .concepto-card-horizontal { flex-direction: column; text-align: center; }
    .alergeno-imagen { height: 180px; }
    .sintoma-imagen { height: 180px; }
}

/* ===========================
   PROSEMA - Shared content styles
   =========================== */
.prosema-content h2 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.6rem;
    margin: 30px 0 15px;
}
.prosema-content h3 {
    color: #1e53a5;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 25px 0 10px;
}
.prosema-content p {
    color: #4A5568;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}
.prosema-content ul, .prosema-content ol {
    color: #4A5568;
    padding-left: 20px;
    margin-bottom: 15px;
}
.prosema-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.prosema-content strong { color: #1e53a5; }
.prosema-content blockquote {
    border-left: 4px solid #1e53a5;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f0f7ff;
    border-radius: 0 10px 10px 0;
}
.prosema-content blockquote p {
    margin: 0;
    font-style: italic;
    color: #1e53a5;
}

/* ===========================
   FAQ / Accordion styles
   =========================== */
.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-item h3 {
    margin: 0;
    padding: 15px 20px;
    background: #f8fafc;
    color: #1e53a5;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}
.faq-item p {
    padding: 0 20px 15px;
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   SHARED UTILITIES
   =========================== */
.shadow { box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.rounded-4 { border-radius: 15px; }
