/* Estilos específicos para la landing Contacto */

/* 1. Hero Section */
.contacto-hero {
    position: relative;
    padding: 200px 0;
    color: var(--color-text-inverse);
    text-align: center;
    overflow: hidden;
}

.contacto-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/8-Contacto/orion-contacto-hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.contacto-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.contacto-hero .container {
    position: relative;
    z-index: 2;
}

.contacto-hero h1 {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 0;
}

/* Responsivo */
@media (max-width: 992px) {
    .contacto-hero {
        padding: 140px 0;
    }

    .contacto-hero h1 {
        font-size: 44px;
    }
}

/* 2. Intro Section */
.contacto-intro {
    padding: 100px 0;
    background-color: var(--color-background-light);
}

.contacto-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Columna Izquierda */
.contacto-subtitle {
    color: var(--color-primary);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}

.contacto-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 32px;
}

.contacto-text {
    margin-bottom: 40px;
}

.contacto-text p {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.contacto-social p {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 16px;
    line-height: 1.4;
}

.contacto-social .social-icons {
    display: flex;
    gap: 12px;
}

.contacto-social .social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Columna Derecha */
.contacto-intro-details {
    display: flex;
    flex-direction: column;
}

.detail-item {
    padding: 32px 0;
    border-bottom: 1px solid #D1D1D1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item:first-child {
    border-top: 1px solid #D1D1D1;
}

.detail-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-main);
}

.detail-value {
    font-size: 24px;
    color: var(--color-text-main);
    font-weight: 400;
}

/* Responsivo */
@media (max-width: 992px) {
    .contacto-intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contacto-title {
        font-size: 36px;
    }

    .detail-item {
        padding: 24px 0;
    }

    .detail-value {
        font-size: 20px;
    }
}

/* 3. Form Section */
.contacto-form-section {
    position: relative;
    padding: 0 0 100px 0;
    background-color: var(--color-background-light);
    overflow: hidden;
}

.contacto-form-bg {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    z-index: 1;
    pointer-events: none;
}

.contacto-form-bg img {
    width: 100%;
    height: auto;
    opacity: 0.8;
    /* Ajuste basado en visualización */
}

.contacto-form-section .container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
}

.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 0;
    line-height: 1.4;
}

.contacto-form {
    width: 100%;
    max-width: 800px;
    /* Reduje el ancho para que se vea más centrado y contenido */
    margin: 0 auto;
    position: relative;
    /* Para posicionar el recaptcha */
}

.form-grid-wrapper {
    display: block;
    /* Cambio de flex a block para manejar el recaptcha por separado */
    margin-bottom: 40px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 18px 24px;
    border: none;
    border-radius: 8px;
    background-color: var(--color-surface-white);
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A0A0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.recaptcha-container {
    position: absolute;
    right: -100px;
    /* Flotando a la derecha fuera del flujo del form */
    bottom: 120px;
    /* Alineado cerca de la base del textarea */
    width: 80px;
}

.recaptcha-mock {
    text-align: center;
}

.recaptcha-mock img {
    width: 48px;
    margin-bottom: 4px;
}

.recaptcha-mock p {
    font-size: 10px;
    color: #757575;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.form-actions {
    display: flex;
    justify-content: center;
}

.btn-enviar {
    background-color: var(--color-secondary);
    color: var(--color-text-inverse);
    border: none;
    padding: 12px 60px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-transform: uppercase;
    /* Match previous style or mockup */
}

.btn-enviar:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 1100px) {
    .recaptcha-container {
        right: -60px;
    }
}

@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .recaptcha-container {
        position: static;
        /* En mobile vuelve al flujo normal */
        margin: 20px auto 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* 4. Map Section */
.contacto-map {
    width: 100%;
    line-height: 0;
}

.contacto-map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
}

@media (max-width: 768px) {
    .contacto-map iframe {
        height: 350px;
    }
}