/* RESET UNIVERSAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Montserrat', sans-serif;
}
html {
    scroll-behavior: smooth; /* Hace que el deslizamiento sea suave y elegante */
    scroll-padding-top: 130px; /* Compensa la altura de tu navbar fijo para que no tape los títulos */
}
/*INICIO*/
.hero-mosaic {
    margin-top: 85px; 
    position: relative;
    width: 100%;
    height: 95vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a; 
    overflow: hidden;
}
.hero-mosaic__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 30, 48, 0.6); 
    z-index: 2; 
}
.hero-mosaic__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1; 
}
.hero-mosaic__content {
    position: relative;
    z-index: 10; 
    text-align: center;
}
.hero-mosaic__title {
    font-size: 3.5rem; 
    font-weight: 300;
    color: #FFFFFF; 
    margin: 0;
    line-height: 1.2;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); 
}
.text-teal {
    color: #4A90E2; 
    font-weight: 700;
}
/*NAVBAR*/
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #4A90E2;
    cursor: pointer;
}
.header-clinica {
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    position: fixed;
    top: 0; 
    left: 0; 
    z-index: 1000;
}
.top-bar {
    background-color: #f8f9fa; 
    border-bottom: 1px solid #eeeeee;
    padding: 8px 0;
    font-size: 0.75rem;
}
.top-bar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar__socials a {
    color: #555555;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.top-bar__socials a:hover {
    color: #4A90E2; 
    transform: scale(1.1);
}
.top-bar__info, .top-bar__socials {
    display: flex;
    gap: 20px;
    align-items: center;
}
.top-bar__info a {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
}
.top-bar__info a:hover {
    color: #4A90E2;
}
.social-icon {
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}
.social-icon:hover {
    transform: scale(1.2);
}
.main-nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-nav__logo {
    height: 60px; 
    width: auto;
    object-fit: contain;
}
.main-nav__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px; 
}
.main-nav__link {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}
.main-nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #4A90E2;
    transition: width 0.3s ease;
}
.main-nav__link:hover {
    color: #4A90E2;
}
.main-nav__link:hover::after {
    width: 100%;
}
.main-nav__btn {
    background-color: #4A90E2; 
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 25px; 
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.main-nav__btn:hover {
    background-color: #357ABD; 
    transform: translateY(-2px);
}
/**NOSOTROS**/
.about {
    position: relative;
    padding: 100px 20px;
    background-color: #FFFFFF;
    overflow: hidden;
}
.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; 
    gap: 80px;
    position: relative;
    z-index: 10; 
}
.about__images {
    flex: 1;
    position: relative;
}
.about__images::before,
.about__images::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #5599C8; 
    z-index: 0;
}
.about__images::before {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
}
.about__images::after {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
}
.about__image-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}
.about__image-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
    transition: transform 0.3s ease;
}
.about__image-grid img:hover {
    transform: translateY(-5px); 
}
.about__content {
    flex: 1; 
}
.about__title {
    font-size: 2.5rem;
    color: #5599C8; 
    margin-bottom: 25px;
    font-weight: 600;
}
.about__text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444444; 
    margin-bottom: 20px;
    text-align: justify;
}
.about__text strong {
    color: #222222;
}
.about__bg-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-color: #F0F4F8; 
    border-radius: 300px 0 0 300px; 
    z-index: 1;
}
/**MISION Y VISION**/
.mision-vision {
    position: relative;
    background-color: #63A39B; 
    padding: 100px 20px 140px 20px; 
    overflow: hidden;
}
.mv__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 10;
}
.mv__image-wrapper {
    flex: 1;
    position: relative;
    max-width: 600px; 
    transform: translateX(-40px);
}
.mv__img {
    width: 100%;
    height: auto;
    border-radius: 4px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.2); 
    display: block;
}
.mv__image-wrapper::before,
.mv__image-wrapper::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #FFFFFF; 
    z-index: 0;
}
.mv__image-wrapper::before {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
}
.mv__image-wrapper::after {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
}
.mv__content {
    flex: 1;
}
.mv__block {
    margin-bottom: 50px; 
}
.mv__block:last-child {
    margin-bottom: 0;
}
.mv__title {
    color: #FFD100;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.mv__text {
    color: #FFFFFF; 
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify; 
}
.wave-divider {
    position: absolute;
    bottom: -1px; 
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px; 
}
/*VALORES*/
.valores {
    position: relative;
    padding: 20px 20px 120px 20px;
    background-color: #63A39B;
    overflow: hidden;
    background-image: url('fondo.jpg'); 
    background-size: cover; 
    background-position: top left; 
    background-repeat: no-repeat; 
    overflow: hidden;
}
.valores__container {
    max-width: 1000px; 
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.valores__content {
    max-width: 600px; 
    margin: 0 auto 25px auto; 
    text-align: center;
}
.valores__title {
    font-size: 2.5rem;
    color: #FFD100; 
    margin-bottom: 15px;
    font-weight: 600;
}
.valores__text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #FFFFFF; 
    font-weight: 500;
}
.valores__image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px; 
    margin: 0 auto; 
}
.valores__img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.valores__image-wrapper::before,
.valores__image-wrapper::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #5599C8;
    z-index: -1;
}
.valores__image-wrapper::before {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
}
.valores__image-wrapper::after {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
}
/*SERVICIOS*/
.servicios {
    padding: 100px 20px;
    background-color: #F8F9FA;
    text-align: center;
}
.servicios__header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}
.servicios__main-title {
    font-size: 2.2rem;
    color: #333333;
    font-weight: 400;
    margin-bottom: 20px;
}
.servicios__subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
}
.servicios__desc {
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
}
.servicios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.servicio-card:nth-child(even) {
    margin-top: 80px; 
}
.servicio-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    justify-content: flex-start;
    height: 100%;
}
.servicio-card__icon {
    font-size: 2.5rem;
    color: #333333;
    margin-bottom: 15px;
}
.servicio-card__title {
    color: #63A39B; 
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.servicio-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.8;
    min-height: 80px; 
}
.servicio-card__img {
    margin-top: auto !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 20px 20px 0 0; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@keyframes fadeUpReveal {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.scroll-anim {
    animation: fadeUpReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%; 
}
/*TABLA DE PROCEDIMIENTOS*/
.procedimientos-info {
    padding: 80px 20px;
    background-color: #FFFFFF;
}
.proc__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}
.proc__header h2 {
    color: #5599C8;
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.proc__header p {
    color: #666666;
    font-size: 1.1rem;
}
.proc__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.proc__card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #EEEEEE;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proc__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.proc__card-header {
    background-color: #63A39B; 
    color: #FFFFFF;
    padding: 25px 20px;
    text-align: center;
}
.proc__card-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #FFD100; 
}
.proc__card-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}
.proc__card-body {
    padding: 25px;
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.6;
}
.proc__item {
    margin-bottom: 20px;
}
.proc__item h4 {
    color: #333333;
    font-size: 1.05rem;
    margin-bottom: 5px;
}
.proc__note {
    background-color: #F0F4F8;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #5599C8;
    margin-top: 20px;
}
.proc__list {
    list-style: none;
}
.proc__list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.proc__list i {
    color: #63A39B;
}
/*CONSULTAS*/
.consultas-accordion {
    padding: 80px 20px;
    background-color: #F8F9FA; 
}
.consultas__container {
    max-width: 900px;
    margin: 0 auto;
}
.consultas__main-title {
    color: #63A39B; 
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.accordion-item {
    background-color: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.accordion-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.accordion-header::-webkit-details-marker {
    display: none;
}
.accordion-header {
    list-style: none; 
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: #F0F4F8; 
}
.accordion-title {
    display: flex;
    align-items: center;
    gap: 15px;
}
.accordion-title i {
    font-size: 1.8rem;
    color: #5599C8; 
    width: 35px; 
    text-align: center;
}
.accordion-title h3 {
    font-size: 1.2rem;
    color: #333333;
    margin: 0;
    font-weight: 700;
}
.accordion-arrow {
    color: #63A39B;
    font-size: 1.2rem;
    transition: transform 0.3s ease; 
}
details[open] .accordion-arrow {
    transform: rotate(180deg);
}
.accordion-content {
    padding: 0 25px 25px 75px; 
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}
.accordion-content p {
    margin-bottom: 15px;
}
.accordion-content p:last-child {
    margin-bottom: 0;
}
details[open] .accordion-content {
    animation: fadeInDown 0.4s ease-in-out;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/*HEMODIÁLISIS*/
.hemodialisis-info {
    padding: 100px 20px;
    background-color: #FFFFFF;
}
.hemo__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; 
}
.hemo__row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.hemo__row--reverse {
    flex-direction: row-reverse;
}
.hemo__visual, .hemo__content {
    flex: 1;
}
.hemo__title {
    color: #63A39B;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.hemo__subtitle {
    color: #333333;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.hemo__text {
    color: #444444;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}
.hemo__margin-top {
    margin-top: 40px; 
}
.hemo__quote {
    border-left: 4px solid #5599C8;
    padding-left: 20px;
    margin-top: 30px;
}
.hemo__quote p {
    color: #5599C8;
    font-size: 1.15rem;
    font-weight: 500;
}
.hemo__highlight-box {
    background-color: #F0F4F8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #E2E8F0;
}
.hemo__highlight-box p {
    color: #63A39B;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}
.hemo__single-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.hemo__mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}
.hemo__mini-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.hemo__mini-grid img:nth-child(2),
.hemo__mini-grid img:nth-child(3) {
    height: 180px;
    margin-top: 20px;
}
/*FOOTER Y CONTACTO*/
.footer-clinica {
    background-color: #F8F9FA; 
    padding-top: 80px;
    position: relative; 
}
.footer__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}
.footer__logo {
    height: 80px; 
    width: auto;
    margin-bottom: 20px;
}
.footer__title {
    font-size: 2.2rem;
    color: #333333;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 25px;
}
.footer__subtitle {
    font-size: 1.1rem;
    color: #222222;
    line-height: 1.6;
}
.footer__subtitle strong {
    font-size: 1.2rem;
}
.footer__content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 50px;
    padding: 0 20px 80px 20px;
}
.footer__info {
    color: #333333;
    font-size: 1rem;
    line-height: 1.8;
}
.footer__info-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111111;
}
.footer__contact-lines {
    margin: 20px 0;
}
.footer__email {
    font-size: 1.1rem;
    color: #111111;
}
.footer__map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}
.footer__map iframe {
    display: block; 
}
.footer__bottom-stripe {
    width: 100%;
    height: 60px; 
    background-color: #5599C8;
}
/*FORMULARIO MODAL*/
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 63, 0.7); 
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px); 
}
.modal-overlay.activo {
    display: flex; 
    animation: fadeIn 0.3s ease-in-out;
}
.modal-content {
    background-color: #FFFFFF;
    width: 100%;
    max-width: 800px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh; 
    overflow-y: auto; 
}
.cerrar-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.2rem;
    color: #888888;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}
.cerrar-modal:hover {
    color: #E74C3C; 
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.contacto__container {
    max-width: 800px; 
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.contacto__header {
    text-align: center;
    margin-bottom: 30px;
}
.contacto__header h2 {
    font-size: 2.2rem;
    color: #333333;
    margin-bottom: 10px;
}
.contacto__header p {
    color: #666666;
    font-size: 1.05rem;
}
.form-medico {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.input-box label {
    font-size: 0.95rem;
    color: #444444;
    margin-bottom: 8px;
    font-weight: 600;
}
.input-box input, 
.input-box select, 
.input-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDDDDD; 
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333333;
    background-color: #FAFAFA;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.input-box input:focus, 
.input-box select:focus, 
.input-box textarea:focus {
    outline: none;
    border-color: #4A90E2; 
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}
.input-box textarea {
    resize: vertical;
    min-height: 120px;
}
.btn-submit-container {
    text-align: center;
    margin-top: 10px;
}
.btn-enviar-medico {
    background-color: #4A90E2;
    color: #FFFFFF;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn-enviar-medico:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
}
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .contacto__container {
        padding: 25px 20px;
    }
}
/*DISEÑO RESPONSIVE (MÓVILES Y TABLETS PEQUEÑAS)*/
@media (max-width: 768px) {   
    /* 1. NAVEGACIÓN Y TOP BAR */
    .top-bar__text, .contact-info span {
        display: none; 
    }
    .top-bar__socials {
        width: 100%;
        justify-content: center;
        gap: 25px;
    }  
    .main-nav__container {
        flex-direction: row;
        justify-content: space-between; 
        flex-wrap: wrap; 
    }   
    .menu-toggle {
        display: block; 
    } 
    .main-nav__menu {
        display: none; 
        flex-direction: column; 
        width: 100%; 
        text-align: center;
        padding-top: 15px;
        gap: 20px;
    }
    .main-nav__menu.activo {
        display: flex; 
        animation: fadeIn 0.3s ease-in-out;
    }
    /* 2. TEXTO DE BIENVENIDA (HERO) */
    .hero-mosaic__title {
        font-size: 2.2rem; 
        padding: 0 20px;
    }
    /* 3. NOSOTROS (Imágenes y Texto) */
    .about__container {
        flex-direction: column;
        gap: 40px;
    }
    .about__bg-shape {
        width: 100%;
        border-radius: 0;
    }
    /* 4. MISIÓN Y VISIÓN */
    .mv__container {
        flex-direction: column;
        gap: 40px;
    }
    .mv__image-wrapper {
        transform: none; 
        width: 100%;
    }

    /* 5. SERVICIOS (De 4 columnas a 1 sola) */
    .servicios__grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .servicio-card:nth-child(even) {
        margin-top: 0; 
    }

    /* 6. PROCEDIMIENTOS (De 3 columnas a 1 sola) */
    .proc__grid {
        grid-template-columns: 1fr;
    }

    /* 7. HEMODIÁLISIS (Acomodo de fotos y texto) */
    .hemo__row, 
    .hemo__row--reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    /* 8. FOOTER */
    .footer__content {
        grid-template-columns: 1fr; 
        gap: 40px;
        text-align: center;
    }
    .footer__map iframe {
        height: 300px; 
    }
} 
.main-nav__menu.activo {
        display: flex !important; 
        animation: fadeIn 0.3s ease-in-out;
    }
/* =========================================
   CORRECCIÓN MOSAICO QUIÉNES SOMOS - RUTA MÉDICA
   ========================================= */
.about__image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mantiene las 2 columnas */
    gap: 15px; /* Espacio bonito entre las fotos */
    align-items: center; /* Si una foto es más alta, centra la otra para que no se vea disparejo */
}

.about__image-grid img {
    width: 100% !important;
    height: auto !important; /* ¡LA CLAVE! Respeta la proporción original de la foto */
    object-fit: contain !important; /* Prohíbe cualquier tipo de recorte */
    border-radius: 10px;
}
