/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --azul-cielo: #37B3CC;
    --negro-tenue: #010101;
    --azul-profundo: #143B67;
    --sombra-tenue: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* ============================================
   ESTILOS GENERALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--negro-tenue);
}
a{
    color: white;
}
a:hover{
    color: white;
    text-decoration: none;
}
/* ============================================
   CLASES UNIVERSALES - TÍTULOS
   ============================================ */
.section-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--negro-tenue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* ============================================
   CLASES UNIVERSALES - TEXTOS
   ============================================ */
.section-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--negro-tenue);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   CLASES UNIVERSALES - BOTONES
   ============================================ */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: none;
    background: var(--azul-cielo);
    color: white;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(55, 179, 204, 0.4);
    color: white !important;
    background: var(--azul-cielo) !important;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid var(--negro-tenue);
    background: transparent;
    color: var(--negro-tenue);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(1, 1, 1, 0.2);
    color: var(--negro-tenue) !important;
    background: transparent !important;
    border-color: var(--negro-tenue) !important;
    text-decoration: none;
}

.section-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 16px;
    font-weight: 500;
    color: var(--negro-tenue);
}

.checklist li i {
    color: var(--azul-cielo);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 16px;
}

.checklist li span {
    line-height: 1.5;
}

/* ============================================
   ESPACIADO ENTRE SECCIONES
   ============================================ */
.section-spacing {
    padding: 5rem 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    padding: 1rem 0;
    box-shadow: var(--sombra-tenue);
}

.navbar-logo {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--negro-tenue) !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--azul-cielo) !important;
    text-decoration: none;
}

.navbar-nav .nav-link.active {
    color: var(--azul-cielo) !important;
}

/* Navbar fijo al hacer scroll */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background-image: url('img/dr-esteban-castro-bg-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.hero-title {
    font-size: 45px;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .text-highlight {
    color: var(--azul-cielo);
}

.hero-text {
    font-size: 17px;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}
/* Reviews Section */
.reviews-container {
    padding: 100px 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;
}
.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;
}

/* ============================================
   DOCTOR SECTION
   ============================================ */
.doctor-image {
    width: 100%;
    height: auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 0;
}

.service-column {
    padding: 4rem 2rem;
    text-align: center;
}

.service-column-1 {
    background-color: #3DC5DF;
}

.service-column-2 {
    background-color: #39BAD3;
}

.service-column-3 {
    background-color: #37B3CC;
}

.service-column-4 {
    background-color: #35ACC4;
}

.service-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */
/* Tablet */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 50px;
    }
    
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 0.5rem 0.75rem !important;
    }
}

/* Móvil */
@media (max-width: 767.98px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar-logo {
        height: 45px;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 0.75rem 0 !important;
        text-align: left;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }
    
    /* Hero en móvil */
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-section .row {
        text-align: center;
    }
    
    .hero-title {
        font-size: 28px;
        text-align: center;
    }
    
    .hero-text {
        font-size: 15px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-hero {
        font-size: 15px;
        padding: 0.65rem 1.5rem;
    }
    
    /* Doctor Section en móvil */
    .section-spacing {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 28px;
        text-align: center;
        margin-bottom: 2rem !important;
    }
    
    .section-text {
        font-size: 15px;
        text-align: center;
    }
    
    .checklist {
        text-align: left;
    }
    
    .section-buttons {
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 15px;
        padding: 0.65rem 1.5rem;
    }
    
    /* FAQ Section en móvil */
    .faq-button {
        padding: 1rem !important;
    }
    
    .faq-question {
        font-size: 14px !important;
    }
    
    .faq-body {
        padding: 1rem !important;
    }
    
    .faq-answer {
        font-size: 14px !important;
    }
    
    /* Map Section en móvil */
    .map-section {
        padding: 3rem 0 0 !important;
    }
    
    .map-container {
        padding-bottom: 1.5rem !important;
    }
    
    .map-location {
        font-size: 14px !important;
    }
    
    .map-phone {
        font-size: 14px !important;
    }
    
    .map-wrapper iframe {
        height: 300px !important;
    }
    
    /* Services Section en móvil */
    .service-column {
        padding: 3rem 1.5rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .service-text {
        font-size: 15px;
    }
    
    /* Specialized Care Section en móvil */
    .custom-tabs {
        flex-direction: column;
        border-radius: 5px;
    }
    
    .custom-tabs .nav-item {
        flex: none;
        width: 100%;
    }
    
    .custom-tabs .nav-link {
        font-size: 14px;
        padding: 0.75rem 1rem;
        width: 100%;
        border-radius: 0;
    }
    
    .custom-tabs .nav-item:first-child .nav-link {
        border-radius: 5px 5px 0 0;
    }
    
    .custom-tabs .nav-item:last-child .nav-link {
        border-radius: 0 0 5px 5px;
    }
    
    .tab-content-card {
    padding: 2rem 1.5rem !important;
    }
    
    .tab-content-title {
        font-size: 24px !important;
        text-align: center;
    }
    
    .tab-content-text {
        font-size: 15px !important;
        text-align: center;
    }
    
    .tab-checklist {
        text-align: left;
    }
    
    .tab-content-card .mt-4 {
        text-align: center;
    }
    
    /* CTA Section en móvil */
    .cta-section {
        padding: 3rem 0 !important;
        min-height: auto !important;
    }
    
    .cta-title {
        font-size: 28px !important;
    }
    
    .cta-text {
        font-size: 15px !important;
    }
    
    /* Features Section en móvil */
    .features-title {
        font-size: 28px !important;
        margin-bottom: 2rem !important;
    }
    
    .feature-icon {
        max-width: 100px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .feature-text {
        font-size: 14px !important;
    }
     /* 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-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .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 !important;
        gap: 30px !important;
        justify-items: center !important;
        text-align: center !important;
    }
    
    .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;
    }
}

/* ============================================
   SPECIALIZED CARE SECTION (TABS)
   ============================================ */
.custom-tabs {
    border: none;
    box-shadow: var(--sombra-tenue);
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.custom-tabs .nav-item {
    flex: 1;
    min-width: 0;
}

.custom-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    background-color: var(--azul-cielo);
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-tabs .nav-link:hover {
    background-color: white;
    color: var(--azul-cielo);
    text-decoration: none;
}

.custom-tabs .nav-link.active {
    background-color: white;
    color: var(--azul-cielo);
}

.custom-tabs .nav-link.active:hover {
    background-color: white;
    color: var(--azul-cielo);
}

.custom-tab-content {
    margin-top: 0;
}

.tab-content-card {
    background-color: white;
    box-shadow: var(--sombra-tenue);
    border-radius: 0 0 5px 5px;
    padding: 3rem;
}

.tab-content-title {
    font-size: 30px;
    font-weight: 600;
    color: var(--negro-tenue);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.tab-content-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--negro-tenue);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tab-checklist {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.tab-checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 13px;
    font-weight: 500;
    color: var(--negro-tenue);
}

.tab-checklist li:last-child {
    margin-bottom: 0;
}

.tab-checklist li i {
    color: var(--azul-cielo);
    margin-right: 0.75rem;
    margin-top: 0.15rem;
    font-size: 16px;
}

.tab-checklist li span {
    line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background-image: url('img/dr-esteban-castro-bg-cta.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    min-height: 350px;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    font-size: 37px;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-title {
    font-size: 40px;
    font-weight: 600;
    color: var(--negro-tenue);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.features-row {
    justify-content: center;
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 100%;
    max-width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--negro-tenue);
    margin: 0;
    line-height: 1.4;
}
/* Video Carousel Section */
.video-carousel-section .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.video-carousel-section .section-text {
    text-align: center;
    margin-bottom: 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: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0.5rem;
    z-index: 10;
}

.video-marquee-control:hover {
    background-color: transparent;
    transform: scale(1.2);
}

.video-marquee-control:active {
    transform: scale(0.9);
}

.video-marquee-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.video-marquee-control i {
    pointer-events: none;
    color: var(--azul-cielo);
    font-size: 32px;
    transition: color 0.3s ease;
}

.video-marquee-control:hover i {
    color: var(--azul-cielo);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--azul-cielo);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-header {
    border: none;
}

.faq-button {
    width: 100%;
    background-color: var(--azul-cielo);
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.faq-button:hover,
.faq-button:focus {
    background-color: var(--azul-cielo);
    color: white;
    text-decoration: none;
    outline: none;
    box-shadow: var(--sombra-tenue);
}

.faq-button:not(.collapsed) {
    background-color: var(--azul-cielo);
    color: white;
    border-bottom: 1px solid white;
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    margin: 0;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 20px;
    color: inherit;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-button.collapsed .faq-icon.fa-plus {
    display: inline-block;
}

.faq-button.collapsed .faq-icon.fa-times {
    display: none;
}

.faq-button:not(.collapsed) .faq-icon.fa-plus {
    display: none;
}

.faq-button:not(.collapsed) .faq-icon.fa-times {
    display: inline-block;
}

.faq-body {
    background-color: var(--azul-cielo);
    padding: 1.5rem;
    padding-top: 1.5rem;
}

.faq-answer {
    font-size: 15px;
    font-weight: 500;
    color: white;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: 5rem 0 0;
}

.map-container {
    padding-bottom: 2rem;
}

.map-location {
    font-size: 16px;
    font-weight: 600;
    color: var(--negro-tenue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.map-phone {
    font-size: 15px;
    font-weight: 500;
    color: var(--negro-tenue);
    margin-bottom: 0;
    text-align: center;
}

.map-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}
/* Footer Section */
.footer-section {
    background-color: #212121;
    padding: 60px 0;
    margin-top: 0;
    position: relative;
}

.footer-section .container {
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: block;
}

.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: 20px;
}

.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-sitemap-links a {
    color: white;
    text-decoration: none;
    transition: none;
}

.footer-sitemap-links a:hover,
.footer-sitemap-links a:focus {
    color: white;
    text-decoration: none;
    background-color: transparent;
}

.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;
}
 /* Botón flotante de WhatsApp */
 .whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-size: 32px;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-btn i {
    z-index: 2;
}

.whatsapp-tooltip {
    position: absolute;
    left: 75px;
    background-color: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: normal;
    text-align: left;
    min-width: 140px;
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-tooltip {
        left: 70px;
        font-size: 13px;
        padding: 8px 12px;
        min-width: 120px;
    }
}