
/* =========================
   CONTACTO SECTION
========================= */

.contacto {
    display: grid;
    grid-template-columns: 57% 43%;
    min-height: calc(100vh - 80px);
    width: 100%;
}

/* LEFT SIDE */

.contacto-info {
    position: relative;
    display: flex;
    align-items: center;
    padding: 35px 10%;

    background:
        linear-gradient(
            90deg,
            rgba(25, 19, 15, 0.94) 0%,
            rgba(32, 24, 18, 0.85) 55%,
            rgba(32, 24, 18, 0.35) 100%
        ),
        url("images/contacto.jpg");

    background-size: cover;
    background-position: center;
    color: var(--white);
}

.contacto-info-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
}

.contacto-label {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brown-light);
}

.contacto-label::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.contacto-info h2 {
    margin: 20px 0 15px;
    font-size: clamp(34px, 3vw, 52px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: var(--white);
}

.contacto-description {
    max-width: 440px;
    margin-bottom: 30px;

    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.83);
}

/* CONTACT DETAILS */

.contacto-details {
    display: flex;
    flex-direction: column;
    gap: 12px;

}

.contacto-detail {
    display: flex;
    align-items: center;
    gap: 22px;

    min-height: 65px;
    padding: 8px;

    border: 1px solid rgba(217, 185, 157, 0.25);
    border-radius: 10px;

    background: rgba(20, 16, 13, 0.25);
    color: var(--white);
    text-decoration: none;

    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

a.contacto-detail:hover {
    background: rgba(193, 144, 102, 0.16);
    border-color: var(--brown-light);
    transform: translateX(5px);
}

.contacto-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    background: rgba(193, 144, 102, 0.15);
    border: 1px solid rgba(217, 185, 157, 0.25);
    border-radius: 10px;
    color: var(--brown-light);
}

.contacto-detail-icon svg {
    width: 24px;
    height: 24px;
}

.contacto-detail-text {
    flex: 1;
    min-width: 0;
}

.contacto-detail-text span {
    display: block;
    margin-bottom: 6px;

    font-size: 11px;
    letter-spacing: 2px;
    color: var(--brown-light);
}

.contacto-detail-text p {
    margin: 0;
    font-size: 17px;
    color: var(--white);
    overflow-wrap: anywhere;
}

.contacto-detail-arrow {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: var(--brown-light);
}

.contacto-bottom {
    margin-top: 20px;
}

.contacto-bottom-line {
    display: block;
    width: 160px;
    height: 1px;
    margin-bottom: 20px;
    background: var(--brown-light);
}

.contacto-bottom p {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
    color: var(--brown-light);
}


/* RIGHT SIDE */

.contacto-form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px 7%;
    background: #f4f0eb;
}

.contacto-form-content {
    width: 100%;
    max-width: 560px;

    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.45);

    border: 1px solid rgba(100, 80, 65, 0.08);
    border-radius: 14px;
}

.contacto-form-content .contacto-label {
    color: var(--brown-medium);
}

.contacto-form-content h2 {
    margin: 25px 0 12px;

    font-size: clamp(30px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #25201c;
}

.contacto-form-description {
    margin-bottom: 28px;

    font-size: 15px;
    line-height: 1.7;
    color: #69615b;
}

/* FORM FIELDS */

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacto-field {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacto-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.contacto-field label span {
    color: #a36f4d;
}

.contacto-field input,
.contacto-field select,
.contacto-field textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 15px;

    border: 1px solid #d3cbc4;
    border-radius: 4px;
    outline: none;

    background: transparent;
    color: #25201c;

    font: inherit;
    font-size: 14px;

    transition: border-color 0.3s ease,
                background 0.3s ease;
}

.contacto-field input:focus,
.contacto-field select:focus,
.contacto-field textarea:focus {
    border-color: var(--brown-medium);
    background: rgba(255, 255, 255, 0.65);
}

.contacto-field textarea {
    min-height: 110px;
    resize: vertical;
}

.contacto-field select {
    cursor: pointer;
}

/* SUBMIT BUTTON */

.contacto-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    width: 100%;
    margin-top: 5px;
    padding: 18px 24px;

    border: 1px solid transparent;
    border-radius: 3px;

    background: var(--brown-medium);
    color: var(--white);

    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;

    transition: background 0.3s ease,
                transform 0.3s ease;
}

.contacto-submit:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}

.contacto-submit svg {
    width: 19px;
    height: 19px;
}

/* PRIVACY TEXT */

.contacto-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    color: #817a74;
}

.contacto-privacy svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}



/* =========================
   CONTACTO RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .contacto {
        grid-template-columns: 1fr 1fr;
        scroll-margin-top: 80px;
    }

    .contacto-info {
        padding: 65px 7%;
    }

    .contacto-form-wrapper {
        padding: 55px 5%;
    }

    .contacto-form-content {
        padding: 25px;
    }

    .contacto-info h2 {
        font-size: clamp(38px, 4vw, 56px);
    }
}

@media (max-width: 768px) {
    .contacto {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        scroll-margin-top: 0px;
    }
    .contacto-label{
        padding-top: 20px;
    }
    .contacto-info {
        padding: 70px 7%;
    }

    .contacto-info-content {
        max-width: 100%;
    }

    .contacto-info h2 {
        font-size: clamp(38px, 8vw, 58px);
    }

    .contacto-form-wrapper {
        padding: 55px 5%;
    }

    .contacto-form-content {
        max-width: 600px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contacto-info {
        padding: 55px 6%;
    }

    .contacto-label {
        font-size: 10px;
        letter-spacing: 2px;
        gap: 12px;
    }

    .contacto-info h2 {
        font-size: 40px;
    }

    .contacto-detail {
        gap: 12px;
    }

    .contacto-detail-icon {
        width: 50px;
        height: 50px;
    }

    .contacto-detail-text p {
        font-size: 14px;
    }

    .contacto-form-wrapper {
        padding: 40px 4%;
    }

    .contacto-form-content h2 {
        font-size: 32px;
    }
}
@media (min-width: 1101px) {

    /* CONTACTO SECTION */
    .contacto {
        grid-template-columns: 57% 43%;
        height: 100vh;
        min-height: 0;
    }

    /* LEFT SIDE */
    .contacto-info {
        padding: 95px 8% 25px;
        min-height: 0;
    }

    .contacto-info-content {
        transform: none;
    }

    /* RIGHT SIDE */
    .contacto-form-wrapper {
        padding: 95px 5% 20px;
        min-height: 0;
    }

    .contacto-form-content {
        padding: 20px 25px;
        transform: none;
    }

    .contacto-form-content h2 {
        margin: 12px 0 8px;
        font-size: 34px;
    }

    .contacto-form-description {
        margin-bottom: 12px;
        line-height: 1.5;
    }

    /* FORM */
    .contacto-form {
        gap: 12px;
    }

    .contacto-field {
        gap: 5px;
    }

    .contacto-field input,
    .contacto-field select {
        padding: 13px 18px;
        font-size: 15px;
    }

    .contacto-field textarea {
        height: 75px;
        min-height: 75px;
        padding: 13px 18px;
        font-size: 15px;
    }

    /* BUTTON */
    .contacto-submit {
        padding: 14px 24px;
        margin-top: 0;
        font-size: 14px;
    }
}

/* CONTACTO — DESKTOP ONLY */

@media (min-width: 1025px) {
    .contacto-description {
        max-width: 550px;
    }
}