/* --- Reset y Estilos Globales --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

textarea{
    resize: none;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #555;
    background-color: #f8f9fa; /* Color de fondo general */
}
a{
    text-decoration: none;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
}

/* --- Banner Superior --- */
.top-banner {
    background-image: url("media/berns-1.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    width: 100%;
    height: 500px;
}

/* --- Sección Hero --- */
.hero-section {
    background-color: #fff;
    padding: 60px 0;
}

.hero-container {
    display: flex;
    gap: 40px;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo{
    border-radius: 8px;
}

.hearing-aids-img {
    margin-top: 30px;
    border-radius: 8px;
}

.hero-right {
    flex: 1.5;
}

.hero-right h1 {
    font-size: 2.4rem;
    color: #35809D;
    font-weight: 600;
    line-height: 1;
    margin-top: 20px;
    margin-bottom: 0px;
}

.hero-right h2 {
    font-size: 2.4rem;
    color: #316980;
    font-weight: normal;
    line-height: 1;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hero-right h3 {
    font-size: 2.4rem;
    color: #3994AF;
    font-weight: normal;
    line-height: 1;
    margin-top: 0px;
    margin-bottom: 50px;
}

.hero-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #79CEF3;
    color: white;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 70px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #3994AF;
}


/* --- Sección de Turnos (Appointment) --- */
.appointment-section {
    background-image: linear-gradient(#79CEF3, #3994AF);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* Para contener la imagen de la mano */
    padding: 100px 28%;
}

.hand-image {
    position: relative;
    margin-top: -1500px;
    left: -40px;
    height: 900px;
    z-index: 1;
    pointer-events: none; /* Evita que la imagen interfiera con el mouse */
}

.form-content {
    text-align: center;
}

.form-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.form-content p {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

form input::placeholder,
form select,
form textarea::placeholder {
    color: #888;
}

.form-row {
    display: flex;
    gap: 15px;
}

form textarea {
    height: 100px;
}

.form-content-submit{
    font-size: 1.1rem;
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.form-content-submit:hover{
    color: #3aa9b7;
}

/* --- Sección Soluciones y Footer --- */
.solutions-section {
    background-color: #fff;
    text-align: center;
    padding: 40px 0;
    font-weight: 500;
    color: #252e5c;
}

footer {
    background-color: #fff;
    padding-bottom: 40px;
}

.footer-container {
    text-align: center;
}

.footer-logo {
    text-align: center;
    color: #252e5c;
    font-size: 2.5rem;
    font-weight: 700;
}
.footer-logo img{
    width: 30%;
}


/* --- Media Queries para Responsividad --- */
@media (max-width: 1257px) {
    .hand-image {
        display: none;
    }

    .appointment-section {
        padding: 100px 20%;
    }

}


@media (max-width: 768px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-right {
        margin-top: 30px;
    }
    .top-banner{
        width: 100%;
        height: 250px;
        background-position: 90% 50%;
    }
    
    .footer-logo img{
        width: 60%;
    }

    .hand-image {
        display: none; /* Oculta la mano en tablets y móviles para no saturar */
    }

    .form-content {
        width: 100%;
        padding: 0 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .appointment-section {
        padding: 100px 5%;
    }
}

@media (max-width: 480px) {
    .hero-right h1 {
        font-size: 1.8rem;
    }

    .hero-right h2 {
        font-size: 1.8rem;
    }

    .hero-right h3 {
        font-size: 1.8rem;
    }

    .form-content h2 {
        font-size: 2rem;
    }

    .appointment-section {
        padding: 100px 2%;
    }
}