/* Contacto Page Styles */

.contacto_container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 100px;
}

.contacto_hero {
    display: flex;
    width: 100%;
    min-height: 40vh;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6A8921 0%, #5a7319 100%);
    padding: 80px 20px;
}

.contacto_hero_content {
    text-align: center;
    max-width: 800px;
}

.contacto_hero_content h1 {
    font-family: 'black';
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.contacto_hero_content p {
    font-family: 'regular';
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
}

.contacto_seccion {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.contacto_contenido {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacto_contenido h2 {
    font-family: 'black';
    font-size: 2.5rem;
    color: #6A8921;
    text-align: center;
    margin-bottom: 20px;
}

.contacto_contenido h3 {
    font-family: 'black';
    font-size: 1.2rem;
    color: #6A8921;
    margin-bottom: 10px;
}

.contacto_contenido p {
    font-family: 'regular';
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

/* Info Grid */
.info_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.info_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    transition: transform 0.3s ease;
}

.info_item:hover {
    transform: translateY(-5px);
}

.info_icono {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #6A8921;
    border-radius: 50%;
    margin-bottom: 20px;
}

.info_icono img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.info_texto h3 {
    margin-bottom: 15px;
}

.info_texto p {
    font-size: 0.95rem;
    color: #333;
}

/* Formulario */
.seccion_formulario {
    background: #f9f9f9;
}

.contacto_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.form_row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form_group label {
    font-family: 'regular';
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
}

.form_group input,
.form_group select,
.form_group textarea {
    font-family: 'regular';
    font-size: 1rem;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: #ffffff;
    transition: border-color 0.3s ease;
}

.form_group input:focus,
.form_group select:focus,
.form_group textarea:focus {
    outline: none;
    border-color: #6A8921;
}

.form_group textarea {
    resize: vertical;
}

.form_submit {
    font-family: 'black';
    font-size: 1.1rem;
    color: #ffffff;
    background: #6A8921;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    transition: background 0.3s ease;
    align-self: center;
}

.form_submit:hover {
    background: #5a7319;
}

/* Redes Sociales */
.seccion_redes {
    background: #ffffff;
}

.redes_links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.red_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.red_link:hover {
    transform: translateY(-5px);
}

.red_link img {
    width: 50px;
    height: 50px;
    transition: filter 0.3s ease;
}

.red_link:hover img {
    filter: brightness(0.8);
}

.red_link span {
    font-family: 'regular';
    font-size: 0.9rem;
    color: #6A8921;
}

/* Alternating Backgrounds */
.seccion_info {
    background-color: #ffffff;
}

/* Responsive Styles */

/* Desktop Large (min-width: 1367px) */
@media (min-width: 1367px) {
    .contacto_container {
        padding-top: 100px;
    }
}

/* Desktop Medium (1281px - 1366px) */
@media (min-width: 1281px) and (max-width: 1366px) {
    .contacto_container {
        padding-top: 100px;
    }

    .contacto_hero_content h1 {
        font-size: 2.8rem;
    }

    .contacto_contenido h2 {
        font-size: 2.3rem;
    }
}

/* Desktop Small (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .contacto_container {
        padding-top: 70px;
    }

    .contacto_hero_content h1 {
        font-size: 2.5rem;
    }

    .contacto_contenido h2 {
        font-size: 2.1rem;
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .contacto_container {
        padding-top: 70px;
    }

    .contacto_contenido {
        width: 90%;
    }

    .contacto_hero_content h1 {
        font-size: 2.3rem;
    }

    .contacto_contenido h2 {
        font-size: 2rem;
    }

    .info_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .contacto_container {
        padding-top: 70px;
    }

    .contacto_contenido {
        width: 90%;
    }

    .contacto_hero_content h1 {
        font-size: 2rem;
    }

    .contacto_contenido h2 {
        font-size: 1.8rem;
    }

    .contacto_seccion {
        padding: 60px 20px;
    }

    .info_grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form_row {
        grid-template-columns: 1fr;
    }
}

/* Mobile Small (320px - 480px) */
@media (min-width: 320px) and (max-width: 480px) {
    .contacto_container {
        padding-top: 60px;
    }

    .contacto_contenido {
        width: 90%;
    }

    .contacto_hero_content h1 {
        font-size: 1.8rem;
    }

    .contacto_hero_content p {
        font-size: 1rem;
    }

    .contacto_contenido h2 {
        font-size: 1.5rem;
    }

    .contacto_contenido h3 {
        font-size: 1.1rem;
    }

    .contacto_seccion {
        padding: 40px 20px;
    }

    .info_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info_item {
        padding: 25px 20px;
    }

    .form_row {
        grid-template-columns: 1fr;
    }

    .form_submit {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .redes_links {
        gap: 20px;
    }

    .red_link img {
        width: 40px;
        height: 40px;
    }
}