
/* ==========================================================================
   SECCIÓN HERO FORM - LUXURY GLASSMORPHISM (image_ed3d1f.jpg)
   ========================================================================== */

.aylluweb__hero-form {
    width: 100%;
    min-height: 720px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    /* Suave desempeño mobile */
    display: flex;
    align-items: center;
    padding: 90px 0;
    /* Padding generoso para lucir la composición */
    box-sizing: border-box;
    position: relative;
}

.aylluweb__hero-form-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.aylluweb__hero-form-grid {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    /* Alinea el título inferior de la captura con la base de la tarjeta */
    gap: 40px;
}

/* --------------------------------------------------------------------------
   COLUMNA IZQUIERDA - TEXTO INFERIOR
   -------------------------------------------------------------------------- */
.aylluweb__hero-form-left {
    flex: 0 0 45%;
    max-width: 45%;
    padding-bottom: 20px;
    /* Margen inferior estético */
}

.aylluweb__hero-form-main-title {
    font-family: 'Georgia', serif;
    font-size: 46px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    /* Protege lectura sobre fondos claros */
    letter-spacing: -0.5px;
}

/* --------------------------------------------------------------------------
   COLUMNA DERECHA - TARJETA TRANSLÚCIDA
   -------------------------------------------------------------------------- */
.aylluweb__hero-form-right {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
}

.aylluweb__hero-form-card {
    width: 100%;
    max-width: 520px;
    background: rgb(255 255 255 / 49%);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    /* Bordes notablemente redondeados */
    padding: 40px 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.aylluweb__hero-form-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px;
}

.aylluweb__hero-form-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
    /* Fina línea separadora de la captura */
    margin-bottom: 25px;
}

/* --------------------------------------------------------------------------
   ESTILOS DE LOS CAMPOS DEL FORMULARIO
   -------------------------------------------------------------------------- */
.aylluweb__hero-form-element {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Espacio uniforme entre filas */
}

.aylluweb__form-row {
    display: flex;
    width: 100%;
    gap: 15px;
    /* Espaciado entre Celular y Correo */
}

.aylluweb__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aylluweb__form-group.width-full {
    width: 100%;
}

.aylluweb__form-group.width-half {
    width: 50%;
}

.aylluweb__form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.aylluweb__form-group input {
    width: 100%;
    height: 42px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    padding: 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #2b2b2b;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Enfoques interactivos refinados */
.aylluweb__form-group input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Estilo para el input de fecha nativo */
.aylluweb__form-group input[type="date"] {
    color: #666666;
}

/* Contenedor del Botón */
.aylluweb__form-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Botón Ovalado Negro Exacto */
.aylluweb__form-btn-submit {
    width: 85%;
    /* No ocupa todo el ancho, mantiene proporción compacta de captura */
    height: 46px;
    background-color: #0b0c0d;
    /* Negro profundo satinado */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    /* Botón tipo píldora/óvalo completo */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.aylluweb__form-btn-submit:hover {
    background-color: #232527;
    transform: translateY(-1px);
}

/* ==========================================================================
   MÓVIL ADAPTATIVO (MÁXIMA OPTIMIZACIÓN RESPONSIVA)
   ========================================================================== */

@media (max-width: 1024px) {
    .aylluweb__hero-form-main-title {
        font-size: 36px;
    }

    .aylluweb__hero-form-card {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    .aylluweb__hero-form {
        padding: 60px 0;
        min-height: auto;
    }

    .aylluweb__hero-form-right{
        width: 100%;
    }

    /* Inversión y apilamiento para lectura natural en móviles */
    .aylluweb__hero-form-grid {
        flex-direction: column-reverse;
        /* El título de sueños se mantiene abajo o arriba según prioridad, aquí se coloca orgánico */
        align-items: center;
        gap: 40px;
    }

    .aylluweb__hero-form-left,
    .aylluweb__hero-form-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .aylluweb__hero-form-left {
        text-align: center;
        padding-bottom: 0;
    }

    .aylluweb__hero-form-main-title {
        font-size: 30px;
    }

    .aylluweb__hero-form-card {
        max-width: 100%;
        border-radius: 20px;
        padding: 30px 20px;
    }

    /* Los campos split (Celular/Correo) pasan a 100% individual para evitar colapsos */
    .aylluweb__form-row {
        flex-direction: column;
        gap: 16px;
    }

    .aylluweb__form-group.width-half {
        width: 100%;
    }

    .aylluweb__form-btn-submit {
        width: 100%;
        /* En móviles el botón completo es mejor para área de toque (UX) */
    }
}

/* ==========================================================================
   SECCIÓN: UBICACIÓN Y CONTACTO (Flujo Vertical)
   ========================================================================== */

.aylluweb__ubicacion-contacto {
    width: 100%;
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 80px;
}

/* --- Títulos --- */
.aylluweb__ubicacion-header {
    margin-bottom: 40px;
}

.aylluweb__ubicacion-titulo,
.aylluweb__ubicacion-titulo-contacto {
    font-family: 'Georgia', serif;
    /* Cambiar a la variable tipográfica serif si tienes una en style.css */
    font-size: 40px;
    color: #797979;
    /* Tono grisáceo de la imagen */
    font-weight: 500;
    margin: 0;
}

/* --- Contenedor del Mapa --- */
.aylluweb__ubicacion-mapa {
    width: 100%;
    height: 450px;
    position: relative;
    line-height: 0;
    /* Elimina márgenes fantasma debajo del iframe */
}

/* Reset del Iframe para que sea 100% responsivo */
.aylluweb__ubicacion-mapa iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* --- Franja Beige Inferior --- */
.aylluweb__ubicacion-franja {
    background-color: #e6e3da;
    /* Tono beige extraído de la imagen */
    padding: 40px 20px;
    width: 100%;
}

.aylluweb__ubicacion-texto {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: #666666;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto;
}

/* --- Bloque Footer de Contacto --- */
.aylluweb__ubicacion-footer {
    padding-top: 60px;
}

.aylluweb__ubicacion-titulo-contacto {
    margin-bottom: 30px;
}

/* Botón Píldora "Agenda tu Cita" */
.aylluweb__btn-agenda {
    display: inline-block;
    background-color: #82817d;
    /* Grisáceo/Topó del botón */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 40px;
    border-radius: 50px;
    /* Borde redondeado completo */
    text-decoration: none;
    transition: all 0.3s ease;
}

.aylluweb__btn-agenda:hover {
    background-color: #6b6a67;
    color: #ffffff;
    transform: translateY(-2px);
    /* Ligero efecto de elevación */
}

/* ==========================================================================
   MEDIA QUERIES (Mobile First & Responsividad)
   ========================================================================== */
@media (max-width: 768px) {
    .aylluweb__ubicacion-contacto {
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .aylluweb__ubicacion-titulo,
    .aylluweb__ubicacion-titulo-contacto {
        font-size: 30px;
    }

    /* Reducimos la altura del mapa para que no ocupe toda la pantalla del móvil */
    .aylluweb__ubicacion-mapa {
        height: 350px;
    }

    .aylluweb__ubicacion-franja {
        padding: 30px 15px;
    }

    .aylluweb__ubicacion-texto {
        font-size: 15px;
    }

    .aylluweb__ubicacion-footer {
        padding-top: 40px;
    }
}