/* ======================================
                  CONTACTO
======================================= */

.contact-hero {
    padding: 150px 0 90px;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(229, 28, 115, 0.13),
            transparent 32%
        ),
        #fafafa;
}


.contact-hero-container {
    max-width: 760px;
}


.contact-hero h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    color: #222222;
}


.contact-hero p {
    max-width: 650px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #666666;
}



/* ======================================
             SECCIÓN CONTACTO
======================================= */

.contact-section {
    padding: 100px 0;
    background: #ffffff;
}


.contact-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
    gap: 80px;
    align-items: start;
}



/* ======================================
           INFORMACIÓN CONTACTO
======================================= */

.contact-info h2 {
    margin: 12px 0 20px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: #222222;
}


.contact-info > p {
    max-width: 500px;
    margin-bottom: 35px;
    color: #666666;
    line-height: 1.8;
}


.contact-info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    margin-bottom: 25px;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    background: #ffffff;
}


.contact-info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(229, 28, 115, 0.10);
    color: #E51C73;
    font-size: 1.3rem;
    font-weight: 700;
}


.contact-info-card span {
    display: block;
    margin-bottom: 4px;
    color: #888888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.contact-info-card a {
    color: #222222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}


.contact-info-card a:hover {
    color: #E51C73;
}


.contact-note {
    padding: 25px;
    border-left: 4px solid #E51C73;
    border-radius: 0 14px 14px 0;
    background: #fafafa;
}


.contact-note strong {
    display: block;
    margin-bottom: 8px;
    color: #222222;
}


.contact-note p {
    margin: 0;
    color: #666666;
    line-height: 1.7;
}



/* ======================================
                FORMULARIO
======================================= */

.contact-form-container {
    padding: 42px;
    border: 1px solid #eeeeee;
    border-radius: 24px;
    background: #ffffff;
    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.07);
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.form-group label {
    color: #333333;
    font-size: 0.92rem;
    font-weight: 600;
}


.form-group label span,
.required-note span {
    color: #E51C73;
}


.form-group label small {
    margin-left: 5px;
    color: #999999;
    font-size: 0.76rem;
    font-weight: 400;
}


.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 15px 16px;
    background: #fafafa;
    color: #222222;
    font-family: inherit;
    font-size: 0.96rem;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.form-group textarea {
    min-height: 190px;
    resize: vertical;
    line-height: 1.6;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: #E51C73;
    background: #ffffff;
    box-shadow:
        0 0 0 4px
        rgba(229, 28, 115, 0.08);
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}


.word-counter {
    text-align: right;
    color: #999999;
    font-size: 0.78rem;
}


.word-counter.limit-exceeded {
    color: #c62828;
    font-weight: 600;
}



/* ======================================
              BOTÓN ENVIAR
======================================= */

.contact-submit {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 12px;
    background: #E51C73;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.contact-submit:hover {
    transform: translateY(-2px);
    background: #cf1767;
    box-shadow:
        0 12px 30px
        rgba(229, 28, 115, 0.25);
}


.contact-submit span {
    font-size: 1.2rem;
}


.required-note {
    margin: -8px 0 0;
    text-align: center;
    color: #999999;
    font-size: 0.76rem;
}



/* ======================================
                ALERTAS
======================================= */

.form-alert {
    margin-bottom: 25px;
    padding: 17px 20px;
    border-radius: 12px;
    line-height: 1.6;
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}


.form-alert ul {
    margin:
        8px
        0
        0
        18px;
}


.form-alert-success {
    border: 1px solid #b9dfc2;
    background: #edf8ef;
    color: #257038;
}


.form-alert-error {
    border: 1px solid #f1c2c2;
    background: #fff1f1;
    color: #a62b2b;
}


.form-alert-hide {
    opacity: 0;
    transform: translateY(-8px);
}



/* ======================================
               ANTI-SPAM
======================================= */

.website-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}



/* ======================================
                RESPONSIVE
======================================= */

@media (
    max-width: 900px
) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .contact-info {
        max-width: 650px;
    }

}



@media (
    max-width: 650px
) {

    .contact-hero {
        padding:
            125px
            0
            70px;
    }


    .contact-section {
        padding:
            70px
            0;
    }


    .contact-form-container {
        padding: 28px 22px;
        border-radius: 20px;
    }


    .form-row {
        grid-template-columns: 1fr;
    }

}



@media (
    max-width: 390px
) {

    .contact-hero h1 {
        font-size: 2.25rem;
    }


    .contact-form-container {
        padding:
            24px
            18px;
    }


    .contact-info-card {
        align-items: flex-start;
    }


    .contact-info-card a {
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

}