/* ======================================== */
/* === ESTILOS PÁGINA INICIO (welcome.css) === */
/* ======================================== */

/* --- HERO, APPOINTMENT, TESTIMONIALS, CERTIFICATIONS, CTA --- */
.hero {
    background-color: #FFFFFF;
    padding: 32px 180px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
    color: #495B4A;
    /* 'background' en Figma usualmente se refiere al color del texto */
    max-width: 896px;
    /* Usamos max-width para que sea responsivo */

    /* NOTA: Se ajustó de 100% a 1.5 para mejor legibilidad en varias líneas */
    line-height: 1.5;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #495B4A;
    text-align: center;
}

/* .video-container {
    position: relative;
    width: 100%;
    max-width: 896px;
    aspect-ratio: 896 / 419;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-container>img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    transition: transform 0.3s ease;
}

.video-container:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
} */

.video-container {
    position: relative;
    width: 100%;
    max-width: 896px;
    aspect-ratio: 896 / 419;
    /* Mantiene la proporción del video */
    border-radius: 16px;
    overflow: hidden;
    /* Asegura que el iframe tenga bordes redondeados */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.appointment-section {
    background: linear-gradient(180deg, #495B4A 18.75%, #506453 40.87%, #5A6F5F 71.63%, #698772 100%);
    padding: 40px 180px;
}

.appointment-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.appointment-intro {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 663px;
    width: 100%;
}

.appointment-intro img {
    width: 174px;
    height: 174px;
    border-radius: 12px;
    object-fit: cover;
}

.appointment-intro-text {
    max-width: 457px;
}

.appointment-intro-text .step,
.appointment-intro-text h2,
.appointment-intro-text p {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
}

.appointment-intro-text .step {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 16px;
}

.appointment-intro-text h2 {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.appointment-intro-text p {
    font-weight: 400;
    font-size: 14px;
    color: #FAFAFA;
}

.appointment-section {
    background: linear-gradient(180deg, #495B4A 18.75%, #506453 40.87%, #5A6F5F 71.63%, #698772 100%);
    padding: 40px 180px;
}

.appointment-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.appointment-intro {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 663px;
    width: 100%;
}

.appointment-intro img {
    width: 174px;
    height: 174px;
    border-radius: 12px;
    object-fit: cover;
}

.appointment-intro-text {
    max-width: 457px;
}

.appointment-intro-text .step {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.appointment-intro-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 16px;
}

.appointment-intro-text p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #FAFAFA;
}

.appointment-form {
    width: 100%;
    max-width: 664px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 15px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFFFFF;
}

.form-group input::placeholder {
    color: #FFFFFF;
    opacity: 1;
}

.form-group select {
    padding-right: 50px;
}

.form-group select option {
    background-color: #495B4A;
    color: #FFFFFF;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 30%;
    transform: translateY(50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.form-address-info {
    grid-column: 1 / -1;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #FAFAFA;
    margin-top: 8px;
    line-height: 1.6;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 16px;
}

.form-submit .btn {
    background-color: #8DE39B;
    color: #495B4A;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    border-radius: 12px;
}

.form-submit .btn:hover {
    background-color: #79d187;
}

#hora {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
}

.patient-testimonials {
    background: linear-gradient(180deg, #698772 0%, #657C6E 23.56%, #556959 41.35%, #495B4A 62.98%);
    padding: 40px 180px 32px 180px;
}

.patient-testimonials .section-title {
    color: #FFFFFF;
}

.patient-testimonials .section-title strong {
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 510px;
    margin: 0 auto;
}

/* .testimonial-card {
    position: relative;
    height: 458px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.03);
}

.testimonial-card .testimonial-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card .play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .play-button-wrapper {
    transform: translate(-50%, -50%) scale(1.1);
}

.testimonial-card .play-button-wrapper img {
    width: 40px;
    height: auto;
} */

.testimonial-card {
    position: relative;
    height: 458px;
    border-radius: 8px;
    overflow: hidden;
    /* Asegura que el iframe tenga bordes redondeados */
    background-color: #333;
    /* Color de fondo mientras carga el video */
}

.specialist-testimonials {
    background: #FFFFFF;
    padding: 40px 180px 32px 180px;
}

.specialist-testimonials .section-title {
    color: #495B4A;
}

.specialist-testimonials .section-title strong {
    font-weight: 500;
}

.certifications {
    background: linear-gradient(180deg, #698772 4.33%, #6C8976 29.33%, #73907E 49.52%, #698772 78.85%);
    padding: 40px 0 32px 0;
    overflow: hidden;
}

.certifications .container {
    max-width: 1440px;
    padding: 0 180px;
}

.certifications .section-title {
    color: #FFFFFF;
}

.certifications .section-title strong {
    font-weight: 500;
}

.certifications-slider {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}


.slider-controls {
    width: 100%;
    max-width: 896px;
    margin: 40px auto 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 0 180px;
    box-sizing: border-box;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 48px;
    height: 48px;
    margin: 0;
    background-color: rgba(73, 91, 74, 0.35);
    border-radius: 50%;
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(73, 91, 74, 0.6);
}

.swiper-button-prev {
    background-image: url('../images/ep_arrow-left-bold.png');
}

.swiper-button-next {
    background-image: url('../images/ep_arrow-right-bold.png');
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}



.final-cta {
    background-color: #FFFFFF;
    padding: 32px 180px;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 75px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-image img {
    width: 242px;
    height: 242px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 583px;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #495B4A;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    width: fit-content;
    padding: 12px 24px;
    border-radius: 12px;
    background-color: #8DE39B;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #495B4A;
    text-align: center;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #79d187;
}

/* --- RESPONSIVE PARA SECCIONES DE INICIO --- */
@media (max-width: 1200px) {

    .hero,
    .appointment-section,
    .patient-testimonials,
    .specialist-testimonials,
    .final-cta {
        padding-left: 60px;
        padding-right: 60px;
    }

    .certifications .container,
    .slider-controls {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 992px) {

    .hero,
    .appointment-section,
    .patient-testimonials,
    .specialist-testimonials,
    .final-cta {
        padding-left: 40px;
        padding-right: 40px;
    }

    .certifications .container,
    .slider-controls {
        padding-left: 40px;
        padding-right: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-submit {
        text-align: center;
    }
}

@media (max-width: 768px) {

    .hero-title,
    .appointment-intro-text h2,
    .cta-content h2 {
        font-size: 20px;
    }

    .appointment-intro {
        flex-direction: column;
        text-align: center;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .cta-image img {
        width: 180px;
        height: 180px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-button {
        margin: 0 auto;
    }

    .hero,
    .appointment-section,
    .patient-testimonials,
    .specialist-testimonials,
    .final-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .certifications .container,
    .slider-controls {
        padding-left: 20px;
        padding-right: 20px;
    }
}