
.hero-section .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero-section .hero-content h2 {
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
}

.hero-section .hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hero-section .btn.btn-primary {
    font-size: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.hero-section {
    position: relative;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.1rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto; /* auto para que la sección crezca según contenido */
        padding: 2rem 1rem; /* un poco más de padding para que respire */
        align-items: center; /* centra verticalmente el contenido si es más alto */
    }

    .hero-section .hero-content {
        padding: 1.5rem 1rem;
        max-width: 90%;
    }

    .hero-section .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-section .hero-content h2 {
        font-size: 1.1rem;
    }
}

.hero-section .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen sin deformarla */
    object-position: center; /* Puedes ajustar: top/center/bottom */
    filter: brightness(0.7);
    z-index: 0;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 1rem;
    background-color: rgba(80, 80, 80, 0.5);
    border-radius: 0.5rem;
}
.hero-section .btn.btn-primary {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-section .btn.btn-primary:hover,
.hero-section .btn.btn-primary:focus {
    background-color: #222222; /* un negro un poco más claro al hacer hover */
    border-color: #222222;
    color: #ffffff;
}




/* Sección de especialidades */
.specialties-section {
    background-color: #fff;
    color: #333;
    padding: 50px 0;
}

.specialties-flex {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.specialty-box {
    flex: 1 1 30%;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.specialty-box:hover {
    transform: translateY(-5px);
}

.specialty-box img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

.specialty-box h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #8B4513;
}

.specialty-box p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
}

.btn-discover {
    display: inline-block;
    background-color: #8B4513;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-discover:hover {
    background-color: #A0522D;
}

@media (max-width: 768px) {
    .specialties-flex {
        flex-direction: column;
        align-items: center;
    }

    .specialty-box {
        width: 100%;
        margin-bottom: 30px;
    }
}







/* Encuéntranos */
.find-us-section {
    position: relative;
    background-image: url('/images/home/baner_page_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.find-us-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.find-us-section .content-overlay {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

/* Título */
.find-us-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white; /* dorado para destacar */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Contenedor del mapa */
.find-us-section .map-container iframe {
    width: 100%;
    height: 500px; /* Más alto, para que no sea pequeño */
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Responsive: mapa más pequeño en móvil */
@media (max-width: 768px) {
    .find-us-section h2 {
        font-size: 1.8rem;
    }

    .find-us-section .map-container iframe {
        height: 300px;
    }
}









/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.25rem;
    }

    .specialties-section .col-md-4 {
        margin-bottom: 2rem;
    }
}
