
/* =========================================
   LA CONCA FILM COMMISSION
   CONTACTE — MODEL A
========================================= */

.contact-section {
    background: #F0F0EE;
    color: #191919;
    padding: 80px 6% 110px;
    font-family: "DM Sans", sans-serif;
}

/* ETIQUETES */

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 55px;
}

.contact-line {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #B9A17C;
}

.contact-small-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    line-height: 1.6;
    color: #806A49;
}

/* DISTRIBUCIÓ */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: clamp(40px, 8vw, 130px);
}

/* INFORMACIÓ */

.contact-information {
    animation: contactEntrance 1s ease both;
}

.contact-information h1 {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(65px, 8.5vw, 145px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -.035em;
    margin: 0 0 35px;
}

.contact-information h1 em {
    font-weight: 400;
}

.contact-intro {
    max-width: 470px;
    color: #666;
    font-size: 17px;
    line-height: 1.85;
}

.contact-invitation {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 36px;
    margin-top: 20px;
}

.contact-details {
    border-top: 1px solid #D8D8D4;
    margin-top: 55px;
    padding-top: 30px;
    max-width: 470px;
}

.contact-details h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.15;
    margin: 18px 0;
}

.contact-details p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 3px 0;
}

.contact-external {
    display: inline-block;
    color: #191919;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #B9A17C;
    padding-bottom: 6px;
    margin-top: 25px;
    transition: color .3s;
}

.contact-external:hover {
    color: #806A49;
}

/* FORMULARI */

.contact-form-wrapper {
    border-left: 1px solid #D8D8D4;
    padding-left: clamp(25px, 4vw, 65px);
    animation: contactEntrance 1s .2s ease both;
    min-width: 0;
}

.contact-form-wrapper h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(42px, 4.5vw, 70px);
    font-weight: 400;
    line-height: .95;
    margin: 22px 0;
}

.contact-form-description {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 35px;
}

.contact-field {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field label {
    font-size: 12px;
    font-weight: 600;
    color: #191919;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    box-sizing: border-box;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #BDBDB7;
    border-radius: 0;
    background: transparent;
    color: #191919;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    padding: 14px 0;
    transition: border-color .3s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #757575;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-bottom-color: #806A49;
    box-shadow: 0 1px 0 #806A49;
}

.contact-field select {
    cursor: pointer;
}

.contact-field select option {
    background: #F0F0EE;
    color: #191919;
}

.contact-field textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.7;
}

.contact-counter {
    text-align: right;
    color: #666;
    font-size: 10px;
}

/* PRIVACITAT */

.contact-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-privacy input {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #191919;
    cursor: pointer;
}

.contact-privacy label {
    font-size: 12px;
    line-height: 1.7;
    color: #666;
    cursor: pointer;
}

/* BOTÓ */

.contact-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 19px 24px;
    border: 1px solid #191919;
    border-radius: 0;
    background: #191919;
    color: #FFFFFF;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .4s, color .4s;
}

.contact-arrow {
    font-size: 21px;
    transition: transform .4s;
}

.contact-submit:hover {
    background: #B9A17C;
    border-color: #B9A17C;
    color: #191919;
}

.contact-submit:hover .contact-arrow {
    transform: translate(3px, -3px);
}

.contact-submit:focus-visible,
.contact-external:focus-visible,
.contact-discover:focus-visible {
    outline: 2px solid #806A49;
    outline-offset: 5px;
}

.contact-required {
    font-size: 11px;
    color: #666;
    margin-top: -12px;
}

/* ESTAT DEL FORMULARI */

.contact-status {
    border-left: 2px solid #B9A17C;
    padding: 15px;
    background: #E5E2DA;
    font-size: 13px;
    line-height: 1.7;
}

.contact-status[hidden] {
    display: none;
}

.contact-demo-notice {
    font-size: 11px;
    color: #666;
    line-height: 1.7;
}

/* TANCAMENT */

.contact-closing {
    background: #191919;
    color: #FFFFFF;
    text-align: center;
    padding: 100px 6%;
}

.contact-closing .contact-small-label {
    color: #B9A17C;
}

.contact-closing h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(55px, 9vw, 130px);
    font-weight: 400;
    line-height: .9;
    margin: 30px 0 40px;
}

.contact-discover {
    display: inline-block;
    border: 1px solid #B9A17C;
    padding: 16px 25px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    transition: background .3s, color .3s;
}

.contact-discover:hover {
    background: #B9A17C;
    color: #191919;
}

/* ANIMACIONS */

@keyframes contactEntrance {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .contact-information h1 {
        font-size: clamp(60px, 8vw, 95px);
    }

    .contact-form-wrapper {
        padding-left: 25px;
    }

}

@media (max-width: 750px) {

    .contact-section {
        padding: 45px 5% 70px;
    }

    .contact-eyebrow {
        margin-bottom: 35px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-information h1 {
        font-size: clamp(56px, 12vw, 105px);
    }

    .contact-intro {
        font-size: 15px;
    }

    .contact-details {
        margin-top: 35px;
    }

    .contact-form-wrapper {
        border-left: 0;
        border-top: 1px solid #D8D8D4;
        padding-left: 0;
        padding-top: 40px;
    }

    .contact-closing {
        padding: 70px 5%;
    }

}

@media (prefers-reduced-motion: reduce) {

    .contact-information,
    .contact-form-wrapper {
        animation: none;
    }

    .contact-submit,
    .contact-arrow,
    .contact-discover {
        transition: none;
    }

}
