/* Header Héroe - Imagen Completa y Título Central */
.contacto-hero {
    background-image:
        linear-gradient(rgba(45, 20, 5, 0.7), rgba(93, 52, 25, 0.8)),
        url("../src/contacto_bg.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: white;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.2);
}

.contacto-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 4.5rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.contacto-title span {
    color: var(--yellow-orange-1);
}

/* Base de Secciones */
.contacto-content-wrap {
    background-color: #f7f9fa;
}

.contacto-section-block {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout Centrado */
.contacto-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

/* Info de contacto */
.contacto-info-cards {
    width: 100%;
}

.contacto-description {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.info-cards-row {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.info-card {
    flex: 1;
    min-width: 250px;
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    border-top: 5px solid var(--yellow-orange-1);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(237, 132, 5, 0.15);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(
        135deg,
        var(--yellow-orange-1) 0%,
        var(--yellow-orange-2) 100%
    );
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(237, 132, 5, 0.3);
}

.info-card-content span {
    display: block;
}

.info-label {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-brown);
    margin-bottom: 0.3rem;
}

.info-text {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.info-text a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--yellow-orange-2);
}

/* Área de Formulario */
.contacto-form-wrapper {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(93, 52, 25, 0.1);
    position: relative;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contacto-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        90deg,
        var(--primary-brown) 0%,
        var(--yellow-orange-1) 100%
    );
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.contacto-form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-brown);
    margin-bottom: 2rem;
    font-style: italic;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
    font-size: 0.95rem;
}

.form-input {
    padding: 1rem 1.2rem;
    border: 2px solid #eaeaea;
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow-orange-1);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(237, 132, 5, 0.1);
}

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

.submit-btn {
    background: linear-gradient(
        135deg,
        var(--yellow-orange-1) 0%,
        var(--yellow-orange-2) 100%
    );
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-heading);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(237, 132, 5, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(237, 132, 5, 0.4);
    filter: brightness(1.1);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Responsividad Contacto Moderno */
@media (max-width: 1024px) {
    .contacto-title {
        font-size: 3.5rem;
    }
    .contacto-grid {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    .contacto-form-wrapper {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contacto-hero {
        padding: 6rem 1rem 4rem;
    }
    .contacto-title {
        font-size: 2.8rem;
    }
    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .contacto-section-block {
        padding: 4rem 1.5rem;
    }
    .contacto-form-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    .contacto-form-wrapper::before {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    .info-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        border-left: 1px solid #eaeaea;
        border-top: 5px solid var(--yellow-orange-1);
    }
    .info-card:hover {
        transform: translateY(-5px) translateX(0);
    }
}
