/* === NEW HOME STYLES V6 (CORRECTED) === */

:root {
    --main-orange: #f5843b;
    --main-green: #5cb85c;
    --dark-green-nav: #30884b;
    --button-green: #62b865; /* Nuevo color para el botón */
    --text-color: #58585b;
    --white: #ffffff;
    --gris-contact: #f5f5f5;
    --hero-bg: #eaf5ec;
    --btn-acceso-border: #f5843b; /* Naranja para el borde */
    --btn-registro-bg: #f5843b; /* Naranja para el fondo */
}

body {
    font-family: sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

/* --- Header Styles --- */
.header-top {
    background-color: var(--white);
}

.header-logo {
    height: 80px;
}

.header-tagline {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.3;
}

.header-contact-bar {
    background-color: var(--gris-contact);
    padding: 0.4rem 0;
    font-size: 1rem;
    height: 54px;
    align-content: center;
}
.header-contact-bar .contacto {
    color: var(--main-orange);
    text-decoration: none;
    font-weight: 600;
}
.header-contact-bar .contacto .fa {
    color: var(--main-orange);
}

.header-contact-bar a {
    color: var(--main-green);
    text-decoration: none;
    font-weight: 600;
}

.header-contact-bar .fa {
    color: var(--main-green);
}

.main-nav {
    background-color: var(--dark-green-nav);
}

.margen-header {
    padding-left: 40px;
    padding-right: 40px;    
}

.margen-header2 {
    padding-left: 20px;
    padding-right: 20px;    
}

.header-v4 .main-nav .nav-item {
    border-right: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
}

.header-v4 .main-nav .nav-item:last-child {
    border-right: none;
}

.header-v4 .main-nav .container-fluid {
    padding: 0 2rem; /* Añadir padding horizontal */
}

.header-v4 .main-nav .nav-link {
    color: var(--white);
    padding: 0.5rem 3rem;
    font-size: 0.95rem;
    border-right: none; /* Se mueve al nav-item */
}

.header-v4 .main-nav .nav-link.active {
    background-color: var(--main-green);
}

.header-v4 .main-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}


.mobile-header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-header-tagline {
    font-size: 0.7rem; /* Reducir aún más para que quepa */
    color: #6c757d;
    line-height: 1.2;
}

.btn-mi-cuenta {
    background-color: var(--main-orange);
    color: var(--white);
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
}

.navbar-toggler {
    background-color: var(--main-green);
    border-radius: 0.5rem;
    padding: 0.3rem 0.4rem;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
    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, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Modal de Acceso --- */
.ma-form {
    padding: 2rem;
}

.ma-form .titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #71997e;
    margin-bottom: 1rem;
}

.ma-form .separator {
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.ma-form .form-label {
    color: var(--main-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ma-form .form-control {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border-color: #ced4da;
}

.ma-form ._acc_recupera a {
    color: var(--main-orange);
    font-size: 0.9rem;
    text-decoration: none;
}

.ma-form .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.ma-form ._acc_btn_registrate {
    background-color: var(--main-orange);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 2rem;
}

.ma-form ._acc_btn {
    background-color: var(--main-green);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 2rem;
}

.modal-footer ._acc_cerrar {
    background-color: #6c757d;
    color: white;
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

/* --- Button Styles --- */
.btn-acceso {
    background-color: transparent;
    border: 1px solid var(--main-orange);
    color: var(--main-orange);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-acceso:hover {
    background-color: var(--main-orange);
    color: white;
}

.btn-registro {
    background-color: var(--main-orange);
    border: 1px solid var(--main-orange);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-registro:hover {
    color: var(--white);
    background-color: var(--main-orange);
    filter: brightness(90%);
}

.btn-empresas {
    background-color: var(--main-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 0.4rem 1.5rem;
    white-space: nowrap;
}
.btn-empresas:hover {
    background-color: var(--main-green);
    color: var(--white);
    filter: brightness(90%);
}

.btn-reserva {
    background-color: var(--main-orange);
    border-color: var(--main-orange);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 0.4rem 1.5rem;
    white-space: nowrap;
}
.btn-reserva:hover {
    background-color: var(--main-orange);
    color: var(--white);
    filter: brightness(90%);
}

/* --- Carousel Styles --- */
.slide-text-content {
    background-color: var(--white);
    padding: 2rem;
}

a.itemLnk {
    text-decoration: none;
    color: inherit;
}

.mobile-break {
    display: none;
}

/* --- Info Ribbon --- */
.info-ribbon-mobile {
    background-color: #fef4ea;
    padding: 1rem 0;
    text-align: center;
}

.info-ribbon-mobile h1 {
    font-size: 1rem;
    color: var(--main-orange);
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

.info-ribbon {
    background-color: #fef4ea;
    padding: 2.1rem 0;
    border-top: 1px solid #f0eada;
    border-bottom: 1px solid #f0eada;
    margin: 10px 30px;
}

.info-ribbon h1 {
    font-size: 1.8rem;
    color: var(--main-orange);
    text-align: center;
    font-weight: 600;
    margin: 0;
    font-style: italic;
}

/* --- Service Intro Section --- */
.service-intro-section .h5 {
    font-size: 2rem;
    font-weight: 100;
    color: var(--text-color);
    line-height: 0.6;
}
.service-intro-section .text-orange {
    color: var(--main-orange);
    font-weight: 700;
    font-style: italic;
}
.service-intro-section .text-green {
    color: var(--main-green);
    font-weight: 700;
    font-style: italic;
}
.service-intro-section .lead {
    font-size: 2rem;
}

/* --- Full Width Image Section --- */
.full-width-image-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.full-width-image-section img {
    width: 100%;
    height: auto;
    opacity: 1;
}

/* --- Feature Cards Section --- */
.feature-cards-section {
    background-color: #f8f9fa;
}

.feature-card {
    background-color: #fff8f3;
    border: 1px solid #b3b3b3;
    border-radius: 1rem;
    padding: 1rem 1rem;
    text-align: center;
    height: 116px;
}

.feature-icon {
    background-color: #ffc68d;
    border-radius: 0.75rem;
    width: 45px;
    height: 40px;
    margin: 0 auto 0.7rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .icono {
    font-size: 2rem;
}

.feature-card p {
    font-weight: 600;
    color: #694f5b;
    font-size: 0.93rem;
}

/* --- Testimonials Section --- */
.testimonials-section .section-title-black {
    font-weight: 700;
    font-size: 3.2rem;
}

.testimonials-section .lead-text {
    font-size: 1.7rem;
    color: #6c757d;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    height: 100%;
    text-align: center; /* Centrar todo el texto */
}

.testimonial-card .stars {
    color: #fabb05;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
}

.testimonial-card a {
    color: var(--text-color);
    text-decoration: underline;
    margin-bottom: 1.5rem;
    display: block;
}

.author-info {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-info img {
    border-radius: 50%;
    margin: 0 auto 0.5rem auto; /* Centrar y añadir margen inferior */
    display: block;
    width: 40px;
    height: 40px;
}

.author-info strong {
    display: block; /* Apilar verticalmente */
    font-size: 0.9rem;
}

.author-info small {
    color: #6c757d;
    font-size: 0.8rem;
    display: block; /* Apilar verticalmente */
}

/* --- Contact Form Section --- */
.contact-form-section {
    background-color: #d7d7d7;
}

.form-container {
    max-width: 1000px;
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
}

.form-header {
    background-color: var(--main-green);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.form-header p {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.form-body {
    padding: 1rem;
}

.form-body p {
    text-align: justify;
}

.form-body .form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

.g-recaptcha-placeholder {
    border: 1px solid #ccc;
    padding: 1rem;
    text-align: center;
    border-radius: 0.25rem;
    background-color: #f9f9f9;
    color: #666;
}

.btn-submit-form {
    background-color: #adb5bd;
    color: var(--white);
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    border: none;
}
.btn-submit-form:hover {
    background-color: #adb5bd;
    color: var(--white);
    filter: brightness(90%);
}

/* --- Therapist Videos Section --- */
.video-card .video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border: 5px solid var(--main-green);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 5px var(--white);
}

.video-card .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem; /* Ajustar el radio para que se vea bien con el "gap" */
}

.video-card .video-title-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: lighter;
    display: block;
    text-align: center;
}

.video-card .video-title-link .fa {
    color: var(--main-orange);
    margin-right: 0.5rem;
}

/* --- Important Notice Section --- */
.important-notice-section {
    background-color: #eeeeee;
}

.important-notice-section p {
    font-size: 0.9rem;
    color: var(--text-color);
    text-align: center;
}

/* --- Floating Buttons --- */
.whatsapp-float.compensate-for-scrollbar,
.booking-float.compensate-for-scrollbar {
    /* El padding será añadido por JavaScript */
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.booking-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-image: linear-gradient(to right, #fadd38 0%, #ff914c 100%);
    color: var(--white);
    padding: 0.6rem 1.6rem;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}
.booking-float:hover {
    color: var(--white);
    opacity: 0.9;
    filter: brightness(90%);
}
.booking-float .fa {
    font-size: xxx-large;
}

/* --- News Section --- */
.news-section .section-title-black {
    font-size: 1.8rem;
}

.news-section .text-orange {
    color: var(--main-orange);
    text-decoration: none;
    font-weight: 600;
}

.news-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: var(--white);
    height: 100%;
    display: flex; /* Añadido para consistencia de altura */
    flex-direction: column; /* Añadido para consistencia de altura */
}

.news-card .card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.news-card-header {
    min-height: 5.4rem;
}

.news-card-content {
    flex-grow: 1; /* Empuja el footer hacia abajo */
}

.news-card .card-title {
    color: var(--main-orange);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-card .card-text {
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-footer a {
    color: var(--main-orange);
    text-decoration: underline;
}

/* --- Therapist Videos Section --- */
.therapist-videos-section .section-title-orange {
    font-size: 3rem;
    color: var(--main-orange);
    font-weight: 600;
}

/* --- Final Info Section --- */
.final-info-section {
    margin: 10px 8rem 3rem;
}

.final-info-container {
    display: flex;
    align-items: center;
    gap: 2rem; /* Espacio entre el texto y el ícono */
}

.final-info-text {
    flex-grow: 1;
    background-color: #fff8f3;
    border: 1px solid #c8c6c4;
    border-radius: 1rem;
    padding: 1rem;
}

.final-info-text p {
    font-size: 1.2rem;
    color: #8a878eeb;
}

.final-info-icon .icono-camara-video {
    font-size: 8rem;
}

/* --- Professionals Ribbon --- */
.professionals-ribbon {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.btn-conocenos {
    background-color: #62b865;
    border-color: #62b865;
    color: var(--white);
    border-radius: 1.5rem;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0 2rem;
    min-width: 25%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-conocenos:hover {
    background-color: #62b865;
    color: var(--white);
    filter: brightness(90%);
}

.grey-divider {
    border: none;
    border-top: 2px solid #e6e6e6;
    opacity: 1;
    margin: 2rem auto 0 auto;
}

/* --- Booking Ribbon --- */
.booking-ribbon {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.btn-reserva-lg {
    background-color: var(--main-orange);
    color: var(--white);
    border-radius: 1.5rem;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0 2rem;
    min-width: 25%;
    display: inline-flex; /* Usar flexbox */
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    text-decoration: none; /* Quitar subrayado del enlace */
}
.btn-reserva-lg:hover {
    background-color: var(--main-orange);
    color: var(--white);
    filter: brightness(90%);
}
.orange-divider {
    border: none;
    border-top: 3px solid var(--main-orange);
    opacity: 1;
    margin: 2rem auto 0 auto;
}

/* --- Specialist Intro Section --- */
.specialist-intro-section .section-title-orange {
    color: var(--main-orange);
    font-weight: 700;
    font-size: 2.6rem;
}

.specialist-intro-section .specialist-icon {
    font-size: 6rem;
}

.specialist-intro-section .lead-text {
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* --- Specialties Section --- */
.specialties-section .specialties-subtitle {
    font-size: 1.6rem;
    color: var(--main-orange);
    font-style: italic;
    font-weight: 700;
}

.specialties-section .specialty-col {
    display: flex;
    flex-direction: column;
}

.specialty-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 500;
    padding-left: 70px;
}

.specialty-item:hover {
    color: var(--text-color);
    filter: brightness(90%);
}

.specialty-item .icono {
    font-size: 3rem;
    margin-right: 1rem;
}

/* --- Mobile Menu Buttons --- */
.btn-mobile-main, .btn-mobile-secondary {
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}

.btn-mobile-main {
    background-color: var(--main-green);
}

.btn-mobile-secondary {
    background-color: #a5d6a7; /* Verde más claro */
}

/* --- Why Choose Us Section --- */
.video-container {
    border: 5px solid var(--main-green);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    box-shadow: inset 0 0 0 5px var(--white);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem; /* Ajustar el radio para que se vea bien con el "gap" */
}

.video-link {
    color: var(--text-color);
    text-decoration: none;
}
.video-link .fa {
    color: var(--main-orange);
}

.info-cards-container {
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    height: 100%;
}

.why-choose-us-section .section-title {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--main-orange);
}

.info-card {
    background-color: var(--white);
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: left;
    height: 100%;
    display: flex;
    align-items: center;
}

.info-card-icon {
    font-size: 2.5rem; /* Controla el tamaño del SVG */
    margin-right: 1rem;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* --- Hero Section Styles --- */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 0.5rem;
    bottom: 1.5rem;
    left: 5%;
    right: 5%;
}

.hero-section {
    background-color: var(--hero-bg);
    padding: 3rem 0;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--dark-green-nav);
}

.hero-title strong {
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

/* --- Footer V6 Styles --- */
footer {
    background-color: var(--dark-green-nav);
    color: var(--white) !important;
    font-size: 0.8rem;
    position: relative;
}

.footer-container {
    position: relative;
}

.footer-backing-text {
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
}

.main-footer-content {
    padding-top: 2rem; /* Espacio debajo del texto de respaldo */
}

footer .footer-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0rem;
    margin-top: 0;
}

.footer-logo {
    max-width: 170px;
    font-size: 11rem;
    height: 67px;
}

.footer-divider {
    border-top: 1px solid rgba(255,255,255);
    opacity: 1;
    margin-top: 0px;
    margin-bottom: 0px;
}

.footer-links a, .footer-contact a, .footer-address a {
    color: var(--white);
    text-decoration: none;
    line-height: 1.8;
}

footer a[href^="mailto:"] {
    color: var(--white) !important; /* Forzar el color blanco para los links de email */
}

.footer-links a:hover, .footer-contact a:hover, .footer-address a:hover {
    text-decoration: underline;
}

.footer-contact .fa {
    margin-right: 0.3rem;
}

.footer-address h6 .fa {
    margin-right: 0.5rem;
}

.footer-address p {
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.social-icons-footer a {
    font-size: 2rem;
    margin-right: 0.2rem;
}

.todasEdades {
    color: var(--main-green);
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: 600;
    font-style: italic;
}

.footer-logo-container .logo-text-above {
    font-size: 0.7rem;
    margin-bottom: -4px;
}

.footer-logo-container .logo-text-below {
    font-size: 0.7rem;
    margin-bottom: -2px;
}

@media (min-width: 768px) {
    .specialties-section .specialty-col {
        border-right: 1px solid #dee2e6;
    }
    .specialties-section .specialty-col:last-child {
        border-right: none;
    }
}

@media (max-width: 991.98px) {
    .carousel-item .inside {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    .carousel-item .contenido {
        background: white !important;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 20%;
        margin: 0px auto;
    }
    .carousel-item .inside .contenido * {
        text-align: center;
        font-size: 2.8vw !important;
        width: auto;
    }
    .carousel-item .img-container-1 {
        width: 65%; /* Ajustar el ancho de la imagen */
    }

    #heroCarousel .carousel-indicators {
        bottom: -16px;
    }
    #heroCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ccc;
    }
    #heroCarousel .carousel-indicators .active {
        background-color: var(--main-orange);
    }

    .footer-col-main, .footer-info-col, .footer-sucursales-col {
        text-align: center;
        margin-bottom: 3rem;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

.copyright {
    background-color: #2a7d45;
}

@media (max-width: 767.98px) {
    /* --- Header Mobile --- */
    .header-tagline {
        display: none; /* Ocultar tagline en móvil */
    }
    .header-top .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* --- Hero Mobile --- */
    .slide-text-content {
        display: none !important; /* Ocultar el texto del slider en móvil */
    }
    .carousel-item .col-md-9 {
        width: 100%;
    }
    .carousel-item a {
        text-decoration: none;
        color: unset;
    }
    .carousel-item hr {
        border-top: unset;
        opacity: unset;
    }
    /* --- Section Titles & Text Mobile --- */
    .info-ribbon h1, .service-intro-section .h5, .service-intro-section .lead, .specialist-intro-section .section-title-orange, .specialist-intro-section .lead-text  {
        font-size: 0.82rem !important;
        line-height: 1.1 !important;
        text-align: justify;
    }
    .specialties-section .specialties-subtitle {
        font-size: 0.9rem !important;
    }

    /* --- Why Choose Us Mobile --- */
    .info-cards-container {
        margin-top: 2rem;
        padding: 0.3rem !important;
    }

    /* --- Specialties Mobile --- */
    .specialties-section .specialty-col {
        border-right: none;
        padding-left: 0 !important; /* Reset padding */
        align-items: flex-start; /* Alinear a la izquierda en móvil */
    }
    .specialties-section .specialty-col.with-border {
        border-right: 1px solid #dee2e6;
    }

    .specialties-section .specialty-item {
        padding-left: 15px;
        font-size: 1rem;
    }

    /* --- Testimonials Mobile --- */
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
        background-color: #6c757d;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }
    #testimonialCarousel .carousel-control-prev {
        left: -5px;
    }
    #testimonialCarousel .carousel-control-next {
        right: -5px;
    }

    .row.g-4.justify-content-center > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* --- Final Info Mobile --- */
    .final-info-section {
        margin: 10px 0.5rem 3rem;
    }

    .final-info-section.d-md-none {
        margin: 1rem 1rem;
        text-align: left;
    }

    .final-info-icon-container .icono-camara-video {
        font-size: 4rem;
        color: white;
    }

    .final-info-section.d-md-none p {
        font-size: 0.8rem;
    }

    .final-info-icon-container .icono-camara-video {
        font-size: 5rem;
        color: white;
    }

    .d-md-none .final-info-section p {
        font-size: 1rem;
    }

    /* --- Footer Mobile --- */
    .d-md-none .social-icons-footer img {
        width: 40px;
        height: 40px;
    }

    .logo-block {
        display: inline-block;
        text-align: left;
    }

    .logo-block p {
        margin-bottom: 0.25rem;
    }

    .logo-block .footer-logo {
        width: 141px;
    }

    .footer-divider-mobile {
        border-top: 2px solid white;
        opacity: unset;
    }

    .sucursales-mobile .sucursal-item {
        margin-bottom: 2rem;
    }

    .sucursales-mobile .sucursal-item .fa-map-marker {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .sucursales-mobile .sucursal-item .footer-title {
        font-weight: bold;
        font-size: 1.2rem;
        margin: 0;
    }

    .sucursales-mobile .sucursal-item p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 0;
    }
    .sucursales-mobile .sucursal-item p a {
        color: white;
    }

    .copyright-mobile p {
        padding-bottom: 1rem;
        font-size: 0.9rem;
        margin: 0;
    }

    .horario-mobile {
        margin-top: 2rem;
    }

    .horario-mobile .footer-title {
        font-weight: bold;
        font-size: 1.2rem;
        margin-top: 3rem;
        margin-bottom: 0.5rem;
    }

    .horario-mobile ul {
        display: inline-block;
        text-align: left;
        padding-left: 0;
        list-style: disc;
        margin-top: 8px;
    }

    .horario-mobile ul li {
        line-height: normal;
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    /* --- Floating Buttons --- */
    .whatsapp-float {
        bottom: 80px;
    }

    .booking-float {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    .booking-float .fa {
        font-size: x-large;
    }

    .btn-reserva-lg {
        height: 45px;
        font-size: 1.2rem;
    }

    .booking-ribbon {
        padding: unset;
    }

    .why-choose-us-section {
        padding-top: 1rem !important;
        padding-bottom: 0 !important;
    }

    .info-card {
        padding: 0.4rem
    }

    .info-card-icon {
        font-size: 1.5rem;
    }

    .info-card-title {
        font-size: 0.65rem;
    }

    .why-choose-us-section .section-title {
        padding-top: 10px;
        margin-bottom: 1rem !important;
        font-size: 0.9rem;
    }

    .specialist-intro-section .specialist-icon {
        font-size: 5rem;
    }

    .specialist-intro-section {
        padding-top: 0.1rem !important;
        padding-bottom: 0.1rem !important;
    }

    .specialty-item .icono {
        font-size: 2rem;
    }

    .btn-conocenos {
        height: 50px;
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }

    .professionals-ribbon {
        padding: unset;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .full-width-image-section {
        padding: 0rem 0 1rem 0;
    }

    .grey-divider {
        margin: 1.5rem auto 1.5rem 0;
    }

    .feature-cards-4 {
        padding-right: calc(var(--bs-gutter-x) * .2);
        padding-left: calc(var(--bs-gutter-x) * .2);
        margin-top: calc(var(--bs-gutter-y) * .2);
    }

    .specialties-section {
        padding-bottom: 0.5rem !important;
    }

    .testimonials-section {
        background-color: #f2f2f2;
        padding-top: 1rem !important;
        padding-bottom: 2rem !important;
    }

    .testimonials-section .section-title-black {
       font-weight: 800;
       font-size: 1.2rem;
   }

   .testimonials-section .lead-text {
        font-size: 0.9rem;
    }
    
    .testimonials-section .text-center {
        margin-bottom: 1.5rem !important;
    }

    .testimonial-card p {
        font-size: 1.3rem;
    }

    .testimonial-card a {
        font-size: 1.2rem;
        text-decoration: underline;
    }

    .final-info-section {
        padding: 0.5rem;
    }

    .contact-form-section {
        padding-top: 1rem !important;
    }

    .news-section {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
    }

    .news-section .section-title-black {
        font-size: 1.2rem !important;
        font-weight: 600;
    }
 
    .therapist-videos-section .text-center {
        margin-bottom: 1rem !important;
    }

    .therapist-videos-section .section-title-orange {
        font-size: 1.2rem !important;
    }

    .footer-logo {
        font-size: 11rem;
        height: 56px;
    }

    footer {
        font-size: 2rem;
    }

    footer p {
        font-size: 0.55rem;
        margin-top: -4px !important;
        margin-bottom: -4px !important;
    }

    .todasEdades {
        font-size: 1.5rem;
    }
    
    .mobile-break {
        display: inline;
    }

    .btn-registro {
        padding: 0.5rem 0.5rem;
    }
}

/* --- Restructured Flexbox Footer --- */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    padding-left: 15px;
    padding-right: 15px;
}

.footer-backing-text p {
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    margin: 0;
    color: var(--white);
}

.footer-socials-container {
    font-size: 1.7rem;
    text-align: left;
}

.footer-socials-container .footer-title {
    font-weight: 100;
    margin-bottom: 0rem;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1rem 0;
}

.footer-bottom-item {
    flex: 1 1 auto;
}

/* Override previous absolute positioning */
.footer-backing-text {
    position: static;
    text-align: center;
}



/* --- Custom Dropdown Styles --- */
.main-nav .dropdown-menu {
    background-color: var(--dark-green-nav);
    border-radius: 0 0 0.25rem 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 0;
}

.main-nav .dropdown-item {
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.main-nav .dropdown-item:last-child {
    border-bottom: none;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background-color: var(--main-green);
    color: var(--white);
}

.main-nav .dropdown-toggle::after {
    color: var(--white);
}

/* --- Testimonial Modal Styles --- */
#testimonialModal .modal-content {
    border-radius: 1rem;
    border: none;
}

#testimonialModal .modal-header {
    background-color: var(--main-orange);
    color: var(--white);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

#testimonialModal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#testimonialModal .modal-body {
    padding: 2rem;
}

#testimonialModal #testimonialModalStars {
    color: #fabb05;
    font-size: 1.5rem;
}

#testimonialModal #testimonialModalText {
    font-size: 1.1rem;
    text-align: justify;
}

/* Mobile Header Button Height Fix */
.mobile-header .btn-acceso,
.mobile-header .btn-registro {
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}
