/* ===== CONTENEDOR PRINCIPAL ===== */
.contacto__container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem 2rem;
    background: #fff;
}

.contacto__content {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.contacto__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #222;
    font-weight: 600;
}

.contacto__subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* ===== BOXES DE INFO (TELÉFONO Y CORREO) ===== */
.contacto__info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contacto__item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.contacto__item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    background: #fff;
    border-color: #ddd;
}

.contacto__icon {
    font-size: 1.8rem;
    color: #333;
    background: #fff;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.contacto__detalle {
    text-align: left;
}

.contacto__detalle h3 {
    margin: 0 0 0.3rem 0;
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacto__link {
    font-size: 1.05rem;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contacto__link:hover {
    color: #555;
    text-decoration: underline;
}

/* ===== FORMULARIO ===== */
.contacto__form--wrapper {
    margin-top: 2rem;
    text-align: left;
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.form__title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #222;
    font-weight: 600;
}

.contacto__form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form__group label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.form__group input,
.form__group select,
.form__group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafafa;
    transition: all 0.2s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: #222;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.form__group--checkbox label {
    margin: 0;
    cursor: pointer;
}

.form__group--checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form__submit {
    padding: 1rem 2rem;
    background: #222;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form__submit:hover {
    background: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form__submit:active {
    transform: translateY(0);
}

.form__estado {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    min-height: 1.2rem;
}

.form__estado--enviando { color: #888; }
.form__estado--exito { color: #2a7a2a; }
.form__estado--error { color: #c0392b; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .contacto__container {
        padding: 2rem 1rem;
    }

    .contacto__title {
        font-size: 2rem;
    }

    .contacto__subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contacto__info {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .contacto__item {
        padding: 1.2rem;
    }

    .form__title {
        font-size: 1.5rem;
    }
}