/* Variables CSS */
:root {
    --azul-cielo: #51B8F1;
    --azul-profundo: #143B67;
    --sombra-tenue: 0 2px 10px rgba(0, 0, 0, 0.08);
}
a{
    color: white;
}
a:hover{
    color: white;
    text-decoration: none;
}
/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #F4F9FD;
}

/* Clases reutilizables de títulos y textos */
.titulo-1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: var(--azul-profundo);
}

.titulo-2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 35px;
    color: var(--azul-profundo);
}

.texto-1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: var(--azul-profundo);
}

.titulo-1-blanco {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: white;
}

.titulo-3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: var(--azul-profundo);
}

/* Navbar Container */
.navbar-container {
    position: relative;
    width: 100%;
    z-index: 1000;
}

/* Parte superior del navbar */
.navbar-top {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-top-icon {
    color: white;
    margin-right: 8px;
    font-size: 16px;
}

.navbar-top-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.navbar-top-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-top-link:hover {
    color: white;
    text-decoration: underline;
    opacity: 0.9;
}

.navbar-top-contact {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

/* Dropdown de idiomas */
.navbar-top-dropdown {
    margin-left: 15px;
}

.navbar-top-dropdown-btn {
    background: none;
    border: none;
    color: white;
    padding: 0;
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.navbar-top-dropdown-btn:focus {
    box-shadow: none;
    outline: none;
}

.navbar-top-dropdown-btn::after {
    margin-left: 8px;
    border-top-color: white;
}

.navbar-top-dropdown-btn span {
    margin-right: 8px;
}

.navbar-flag {
    width: 20px;
    height: auto;
    margin-left: 5px;
}

.navbar-top-dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 5px;
}

.navbar-top-dropdown-item {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 8px 15px;
}

.navbar-top-dropdown-item span {
    margin-right: 8px;
}

.navbar-top-dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Estilos para el navbar superior - 3 columnas */
.navbar-top-row {
    min-height: 80px;
}

.navbar-logo-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-logo {
    height: 60px;
    width: auto;
}

.navbar-contact-col {
    display: flex;
    /* align-items: center; */
}

.navbar-contact-group {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.navbar-contact-item {
    margin-bottom: 15px;
}

.navbar-contact-item:last-child {
    margin-bottom: 0;
}

.navbar-contact-icon-wrapper {
    margin-right: 12px;
    flex-shrink: 0;
    background-color: var(--azul-cielo);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-contact-icon {
    color: white;
    font-size: 18px;
}

.navbar-contact-content {
    flex: 1;
}

.navbar-contact-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--azul-profundo);
    margin-bottom: 5px;
}

.navbar-contact-line {
    border-bottom: 1px dashed var(--azul-cielo);
    margin-bottom: 5px;
    width: 100%;
}

.navbar-contact-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--azul-profundo);
    line-height: 1.4;
}

.navbar-extra-col {
    /* Columna adicional para futuros elementos */
}

/* Parte inferior del navbar - Menú */
.navbar-menu {
    position: relative;
    width: 100%;
    background-color: var(--azul-cielo);
    padding: 0;
    z-index: 1000;
}

.navbar-menu.fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-menu .container {
    padding: 0 15px;
}

.navbar-menu .navbar {
    padding: 0;
}

.navbar-menu .navbar-nav {
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.navbar-link {
    color: white !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0 15px;
    padding: 15px 10px !important;
    transition: background-color 0.3s ease;
}

.navbar-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-link.active {
    background-color: #2BB2E0 !important;
    color: white !important;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */
.hero-section {
    margin-top: 0;
    position: relative;
    padding-bottom: 0;
}

.hero-background {
    background-image: url('img/bg-dr-esteban-castro-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #03314B;
    opacity: 0.55;
    z-index: 1;
}

.hero-background .container {
    position: relative;
    z-index: 2;
    padding: 80px 15px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
}

.hero-title-main {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: white;
    background-color: var(--azul-cielo);
    border-radius: 9999px;
    padding: 15px 40px;
    margin-bottom: 20px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: white;
    background-color: #000000;
    border-radius: 9999px;
    padding: 15px 40px;
    margin-bottom: 30px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn-primary {
    background-color: var(--azul-cielo);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 9999px;
    padding: 12px 30px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn-primary:hover {
    background-color: var(--azul-cielo);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--azul-profundo);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    border: 1px solid var(--azul-profundo);
    border-radius: 9999px;
    padding: 12px 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn-secondary:hover {
    background-color: transparent;
    color: var(--azul-profundo);
    border-color: var(--azul-profundo);
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


/* Reviews Section */
.reviews-container {
    padding: 80px 0;
}

/* Attention Section */
.attention-section {
    padding: 80px 0;
}

.attention-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #272727;
    margin-bottom: 30px;
    line-height: 1.6;
}

.attention-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.attention-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.attention-check {
    color: var(--azul-cielo);
    font-size: 16px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.attention-list li span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    color: #272727;
    line-height: 1.5;
}

.attention-section .hero-btn-primary {
    margin-bottom: 0;
}

/* Sección Atención Médica Confiable */
.reliable-section {
    padding: 80px 0;
}

.reliable-section .hero-buttons {
    justify-content: flex-start;
}

.reliable-image {
    width: 100%;
    height: auto;
    border-top-right-radius: 180px;
    box-shadow: var(--sombra-tenue);
    object-fit: cover;
}

/* Sección Experiencia Médica */
.experience-section {
    padding: 80px 0;
}

.experience-section .hero-buttons {
    justify-content: flex-start;
}

.experience-image {
    width: 100%;
    height: auto;
    border-top-right-radius: 180px;
    box-shadow: var(--sombra-tenue);
    object-fit: cover;
}

/* Clase reutilizable para títulos de sección */
.titulo-section {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 40px;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.3;
}

.titulo-section span {
    color: var(--azul-cielo);
}

.titulo-section-white {
    color: white;
}

.titulo-section-white span {
    color: #000000;
}

/* Sección Especialidad Médica en Lesiones Articulares */
.specialties-section {
    padding: 80px 0;
}

.specialty-card {
    background-color: var(--azul-cielo);
    box-shadow: var(--sombra-tenue);
    border-radius: 10px;
    padding: 40px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
}

.specialty-card-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.specialty-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: white;
    margin-bottom: 15px;
}

.specialty-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: white;
    line-height: 1.5;
    margin: 0;
}

/* Sección Enfoque Médico */
.approach-section {
    position: relative;
    width: 100%;
}

.approach-background {
    background-image: url('img/bg-dr-esteban-castro-bg-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
}

.approach-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.approach-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
}

.approach-btn {
    background-color: #000000;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    border-radius: 9999px;
    padding: 12px 30px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.approach-btn:hover {
    background-color: #000000;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-card {
    background-color: white;
    box-shadow: var(--sombra-tenue);
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card-top-left {
    border-top-left-radius: 45px;
}

.feature-card-top-right {
    border-top-right-radius: 45px;
}

.feature-card-bottom-left {
    border-bottom-left-radius: 45px;
}

.feature-card-bottom-right {
    border-bottom-right-radius: 45px;
}

.feature-card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--azul-profundo);
    margin-bottom: 12px;
}

.feature-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #272727;
    line-height: 1.5;
    margin: 0;
}

/* Lesions Section */
.lesions-section {
    background-color: var(--azul-cielo);
    margin: 80px 0;
    padding: 80px 0;
}

.lesions-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    margin-bottom: 40px;
    line-height: 1.6;
}

.lesion-card {
    background-color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom: 2px solid #99E0F2;
    box-shadow: var(--sombra-tenue);
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: default;
}

.lesion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lesion-card-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.lesion-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--azul-profundo);
    margin-bottom: 12px;
}

.lesion-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #272727;
    line-height: 1.5;
    margin: 0;
}

/* Tabs Section */
.tabs-section {
    padding: 80px 0;
}

.tabs-intro {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #272727;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Custom Tabs Navigation */
.custom-tabs {
    border: none;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.custom-tabs .nav-item {
    margin: 0 10px 10px 0;
}

.custom-tab {
    background-color: white;
    color: var(--azul-profundo);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    box-shadow: var(--sombra-tenue);
    padding: 12px 25px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: default;
}

.custom-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    color: var(--azul-profundo);
    text-decoration: none;
    background-color: white;
}

.custom-tab.active,
.custom-tab.active:hover,
.custom-tab.active:focus {
    background-color: var(--azul-cielo) !important;
    color: white !important;
    box-shadow: var(--sombra-tenue);
}

.custom-tab.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Tab Content Panel */
.custom-tab-content {
    margin-top: 0;
}

.custom-tab-panel {
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--sombra-tenue);
    padding: 40px;
}

.custom-tab-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.custom-tab-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #272727;
    margin-bottom: 25px;
    line-height: 1.6;
}

.custom-tab-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.custom-tab-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.custom-tab-check {
    color: var(--azul-cielo);
    font-size: 16px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.custom-tab-list li span {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13.5px;
    color: #272727;
    line-height: 1.5;
}

/* CTA and Testimonials Section */
.cta-testimonials-section {
    margin: 80px 0 0 0;
}

.cta-section {
    background-color: var(--azul-profundo);
    padding: 80px 0;
}

.cta-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonials-section {
    background-color: var(--azul-cielo);
    padding: 80px 0;
}

.testimonials-intro {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Testimonials Carousel */
#testimonialsCarousel {
    margin-bottom: 0;
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    display: none;
}

#testimonialsCarousel .carousel-inner {
    padding: 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--sombra-tenue);
    padding: 30px 25px;
    text-align: left;
}

.testimonial-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #000000;
    margin-bottom: 8px;
    text-align: left;
}

.testimonial-role {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--azul-profundo);
    margin-bottom: 15px;
    text-align: left;
}

.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    margin: 0 0 15px 0;
    text-align: left;
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-top: 15px;
}

.testimonial-stars i {
    color: var(--azul-cielo);
    font-size: 16px;
}

/* Testimonios: mostrar solo el primero en móvil */
.testimonial-mobile-only {
    display: block;
}

.testimonial-desktop-only {
    display: none;
}

@media (min-width: 992px) {
    .testimonial-mobile-only {
        display: block;
    }
    
    .testimonial-desktop-only {
        display: block;
    }
}

/* Sección Tratamientos Especializados */
.treatments-section {
    padding: 80px 0;
}

.treatments-intro {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #272727;
    margin-bottom: 40px;
    line-height: 1.6;
}

.treatment-card {
    background-color: var(--azul-cielo);
    border-radius: 15px;
    box-shadow: var(--sombra-tenue);
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.treatment-icon {
    color: white;
    font-size: 40px;
    margin-bottom: 20px;
}

.treatment-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
}

.treatment-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: white;
    line-height: 1.5;
    margin: 0;
}

/* Custom Carousel Indicators */
.custom-carousel-indicators {
    position: relative;
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.custom-carousel-indicators li {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    margin: 0;
    text-indent: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-carousel-indicators li.active {
    background-color: white;
    width: 16px;
    height: 16px;
}

.custom-carousel-indicators li:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-intro {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #272727;
    margin-bottom: 40px;
    line-height: 1.6;
}

.faq-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    background-color: var(--azul-cielo);
    border-radius: 5px;
    box-shadow: var(--sombra-tenue);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    padding-right: 60px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:focus {
    outline: none;
    box-shadow: none;
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: absolute;
    right: 25px;
}

.faq-icon-minus {
    display: none;
}

.faq-question:not(.collapsed) .faq-icon-plus {
    display: none;
}

.faq-question:not(.collapsed) .faq-icon-minus {
    display: block;
}

.faq-question:not(.collapsed) {
    border-bottom: 1px solid white;
}

.faq-answer {
    padding: 20px 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: white;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    padding: 80px 0 0 0;
}

.map-location {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--azul-profundo);
    margin-bottom: 10px;
}

.map-phone {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #272727;
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    height: 450px;
    margin-top: 40px;
    padding: 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    display: block;
}

/* Footer Section */
.footer-section {
    background-color: #36404B;
    padding: 60px 0;
    margin-top: 0;
}

.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: white;
    margin-bottom: 15px;
}

.footer-title-social {
    margin-top: 30px;
}

.footer-border {
    height: 2px;
    background: linear-gradient(to right, var(--azul-cielo) 50%, white 50%);
    margin-bottom: 20px;
    width: 100%;
}

.footer-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: white;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-text strong {
    font-weight: 600;
}

.footer-disclaimer {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 15px;
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon i {
    font-size: 18px;
}

.footer-social-icon:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer Segunda Fila */
.footer-row-2 {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-title-center {
    text-align: center;
}

.footer-border-center {
    height: 2px;
    background: linear-gradient(to right, white 0%, white 35%, var(--azul-cielo) 35%, var(--azul-cielo) 65%, white 65%, white 100%);
    margin: 15px auto 25px auto;
    width: 100%;
    max-width: 100%;
}

.footer-sitemap {
    margin-bottom: 40px;
}

.footer-sitemap-links {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 11px;
    color: white;
    text-align: center;
    margin: 0;
    line-height: 1.8;
}

.footer-more-info {
    margin-bottom: 40px;
}

.footer-link-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: white;
    margin-bottom: 15px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4rem;
    margin: 0;
}

.footer-link-column {
    min-width: 0;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
    line-height: 1.5;
}

.footer-link:last-child {
    margin-bottom: 0;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
    opacity: 0.8;
}

.footer-border-white {
    height: 1px;
    background-color: white;
    width: 100%;
    margin: 30px 0;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
}

.footer-copyright-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: white;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-copyright-text:last-child {
    margin-bottom: 0;
}

.review-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--sombra-tenue);
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-card-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #46494E;
    margin-bottom: 15px;
}

.review-card-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.review-card-rating {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 23px;
    color: #46494E;
    margin-bottom: 10px;
}

.review-card-percentage {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 25px;
    color: #46494E;
    margin-bottom: 10px;
}

.review-card-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #46494E;
    margin-bottom: 15px;
    line-height: 1.4;
}

.review-card-opinions {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #46494E;
    margin-bottom: 15px;
}

.review-stars {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.review-stars i {
    font-size: 16px;
}

.review-stars-yellow i {
    color: #FBEE01;
}

.review-stars-green i {
    color: #00C3A5;
}

.btn-ver-mas {
    background-color: var(--azul-cielo);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    border-radius: 5px;
    padding: 8px 20px;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-ver-mas:hover {
    background-color: var(--azul-cielo);
    color: white;
    text-decoration: none;
    box-shadow: var(--sombra-tenue);
    transform: translateY(-2px);
}

.review-seal-img {
    max-width: 100%;
    height: auto;
}

.review-text-quote {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 15px;
    color: var(--azul-profundo);
    text-align: center;
    margin: 0;
}

/* Hero Responsive */
@media (max-width: 991.98px) {
    .hero-background {
        min-height: 500px;
    }
    
    .hero-content {
        min-height: 400px;
    }
    
    .hero-title-main {
        font-size: 28px;
        padding: 12px 30px;
    }
    
    .hero-title-sub {
        font-size: 24px;
        padding: 12px 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-btn-primary {
        width: auto;
    }
}

/* Responsive - Móvil (consolidado) */
@media (max-width: 767.98px) {
    body {
        /* El padding se ajusta dinámicamente con JavaScript */
    }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Navbar móvil */
    .navbar-top {
        padding: 15px 0;
    }
    
    .navbar-top-row {
        min-height: auto;
    }
    
    .navbar-logo-col {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .navbar-logo {
        height: 50px;
    }
    
    .navbar-contact-col {
        margin-bottom: 15px;
    }
    
    .navbar-contact-item {
        margin-bottom: 20px;
    }
    
    .navbar-contact-item:last-child {
        margin-bottom: 0;
    }
    
    .navbar-contact-icon {
        font-size: 18px;
    }
    
    .navbar-contact-label {
        font-size: 14px;
    }
    
    .navbar-contact-value {
        font-size: 12px;
    }
    
    .navbar-extra-col {
        display: none;
    }
    
    .navbar-menu {
        padding: 0;
    }
    
    .navbar-menu .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-link {
        margin: 0;
        padding: 12px 15px !important;
        text-align: center;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-link:last-child {
        border-bottom: none;
    }
    
    /* Títulos y textos móvil */
    .titulo-1 {
        font-size: 28px;
    }
    
    .texto-1 {
        font-size: 15px;
    }
    
    /* Hero móvil */
    .hero-background {
        min-height: 400px;
    }
    
    .hero-background .container {
        padding: 40px 15px;
    }
    
    .hero-content {
        min-height: 300px;
    }
    
    .hero-title-main {
        font-size: 20px;
        padding: 10px 20px;
        margin-bottom: 15px;
    }
    
    .hero-title-sub {
        font-size: 18px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    
    .hero-btn-primary {
        font-size: 15px;
        padding: 10px 25px;
    }
    
    /* Reviews móvil */
    .reviews-container {
        padding: 40px 20px;
    }
    
    .review-card {
        margin-bottom: 20px;
    }
    
    .review-seal-img {
        margin-bottom: 20px;
        max-width: 150px;
    }
    
    .review-text-quote {
        font-size: 14px;
        padding: 0 15px;
    }
    
    /* Reliable Section móvil */
    .reliable-section {
        padding: 40px 20px;
    }
    
    .reliable-section .titulo-section {
        text-align: center;
    }
    
    .reliable-section .hero-buttons {
        justify-content: center;
    }
    
    .reliable-image {
        border-top-right-radius: 100px;
        margin-bottom: 30px;
    }
    
    .titulo-section {
        font-size: 28px;
    }
    
    /* Experience Section móvil */
    .experience-section {
        padding: 40px 20px;
    }
    
    .experience-section .titulo-section {
        text-align: center;
    }
    
    .experience-section .hero-buttons {
        justify-content: center;
    }
    
    .experience-image {
        border-top-right-radius: 100px;
        margin-top: 30px;
    }
    
    /* Specialties Section móvil */
    .specialties-section {
        padding: 40px 20px;
    }
    
    .specialty-card {
        margin-bottom: 20px;
        padding: 30px 15px;
    }
    
    .specialty-card-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    
    .specialty-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .specialty-card-text {
        font-size: 11px;
    }
    
    /* Attention Section móvil */
    .attention-section {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .attention-section > .row > div:first-child {
        text-align: center;
    }
    
    .titulo-2 {
        font-size: 28px;
        text-align: center;
    }
    
    .attention-text {
        font-size: 14px;
        text-align: center;
    }
    
    .attention-list {
        text-align: left;
        display: inline-block;
    }
    
    .attention-list li span {
        font-size: 13px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .feature-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .attention-section .hero-btn-primary {
        margin-top: 20px;
    }
    
    /* Lesions Section móvil */
    .lesions-section {
        margin: 40px 0;
        padding: 40px 20px;
    }
    
    .titulo-1-blanco {
        font-size: 32px;
    }
    
    .lesions-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .lesion-card {
        margin-bottom: 20px;
    }
    
    .lesion-card-icon {
        width: 70px;
        height: 70px;
    }
    
    .lesion-card-title {
        font-size: 16px;
    }
    
    .lesion-card-text {
        font-size: 12px;
    }
    
    /* Tabs Section móvil */
    .tabs-section {
        padding: 40px 20px;
    }
    
    .titulo-1 {
        font-size: 32px;
    }
    
    .tabs-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .custom-tabs {
        flex-direction: column;
    }
    
    .custom-tabs .nav-item {
        margin: 0 0 10px 0;
        width: 100%;
    }
    
    .custom-tab {
        width: 100%;
        text-align: center;
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .custom-tab-panel {
        padding: 30px 20px;
    }
    
    .custom-tab-image {
        margin-bottom: 30px;
    }
    
    .titulo-3 {
        font-size: 24px;
        text-align: center;
    }
    
    .custom-tab-text {
        font-size: 15px;
        text-align: center;
    }
    
    .custom-tab-list {
        text-align: left;
        display: inline-block;
    }
    
    .custom-tab-list li span {
        font-size: 13px;
    }
    
    .tabs-section .hero-btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    /* CTA and Testimonials móvil */
    .cta-testimonials-section {
        margin: 40px 0 0 0;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .testimonials-section {
        padding: 40px 20px;
    }
    
    .cta-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .testimonials-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .testimonial-name {
        font-size: 18px;
    }
    
    .testimonial-role {
        font-size: 13px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .testimonial-stars i {
        font-size: 14px;
    }
    
    .custom-carousel-indicators {
        margin-top: 20px;
    }
    
    /* Treatments Section móvil */
    .treatments-section {
        padding: 40px 20px;
    }
    
    .treatments-intro {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .treatment-card {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    
    .treatment-icon {
        font-size: 35px;
        margin-bottom: 15px;
    }
    
    .treatment-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .treatment-text {
        font-size: 12px;
    }
    
    /* FAQ Section móvil */
    .faq-section {
        padding: 40px 20px;
    }
    
    .faq-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .faq-image {
        margin-bottom: 30px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 18px 20px;
    }
    
    .faq-answer {
        padding: 18px 20px;
        font-size: 12px;
    }
    
    /* Map Section móvil */
    .map-section {
        padding: 40px 20px;
    }
    
    .map-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .titulo-2 {
        font-size: 28px;
    }
    
    .map-location {
        font-size: 15px;
    }
    
    .map-phone {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .map-container {
        height: 350px;
        margin-top: 30px;
    }
    
    /* Footer móvil */
    .footer-section {
        padding: 40px 20px;
        text-align: center;
    }
    
    .footer-section .container > .row > div {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-section .container > .row > div:last-child {
        margin-bottom: 0;
    }
    
    .footer-title {
        font-size: 16px;
        text-align: center;
    }
    
    .footer-text {
        font-size: 11px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-social {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-social-icon {
        width: 36px;
        height: 36px;
    }
    
    .footer-social-icon i {
        font-size: 16px;
    }
    
    .footer-row-2 {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .footer-sitemap {
        margin-bottom: 30px;
    }
    
    .footer-sitemap-links {
        font-size: 10px;
        line-height: 1.6;
    }
    
    .footer-more-info {
        margin-bottom: 30px;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
        text-align: center;
    }
    
    .footer-link-column {
        width: 100%;
    }
    
    .footer-links-group {
        align-items: center;
    }
    
    .footer-link-title {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .footer-link {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .footer-border-white {
        margin: 25px 0;
    }
    
    .footer-copyright {
        padding-top: 15px;
    }
    
    .footer-copyright-text {
        font-size: 12px;
    }
}


/* Video Carousel Section */
.video-carousel-section {
    padding: 80px 0;
}

.video-carousel-header {
    margin-bottom: 40px;
}

.video-carousel-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #272727;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-marquee-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.video-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.video-marquee-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.video-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: var(--sombra-tenue);
    overflow: hidden;
    transition: transform 0.3s ease;
}

@media (max-width: 767.98px) {
    .video-card {
        flex: 0 0 100%;
    }
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.video-frame {
    width: 100%;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-frame.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 56.25%; /* Mantener aspect ratio */
    overflow: hidden;
}

.video-frame.embed-responsive::before {
    display: none; /* No usar el pseudo-elemento de Bootstrap */
}

.video-frame.embed-responsive-16by9 {
    padding-bottom: 56.25%;
}

.video-frame iframe,
.video-frame embed,
.video-frame object,
.video-frame video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-frame .embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Preview Styles */
.video-preview {
    cursor: pointer;
    position: relative;
    background-color: #f0f0f0; /* Color de fondo temporal mientras carga la imagen */
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    z-index: 1;
}

.video-preview:hover .video-thumbnail {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-play-button:hover {
    background-color: var(--azul-cielo);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.video-play-button i {
    color: var(--azul-profundo);
    font-size: 24px;
    margin-left: 4px; /* Ajuste visual para centrar el icono */
    transition: color 0.3s ease;
}

.video-play-button:hover i {
    color: white;
}

.video-preview.playing .video-thumbnail,
.video-preview.playing .video-play-button {
    display: none;
}

.video-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--azul-profundo);
    padding: 20px;
    margin: 0;
    line-height: 1.4;
}

.video-marquee-control {
    background-color: white;
    border: 2px solid var(--azul-cielo);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--azul-cielo);
    font-size: 20px;
    z-index: 10;
}

.video-marquee-control:hover {
    background-color: var(--azul-cielo);
    color: white;
    transform: scale(1.1);
}

.video-marquee-control:active {
    transform: scale(0.95);
}

.video-marquee-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.video-marquee-control i {
    pointer-events: none;
}