/*
 * Vino Delicato - contact page (/contact)
 * Template: Magento_Contact/templates/form.phtml
 */

.contact-index-index .column.main {
    max-width: 100%;
    margin: 0 auto;
}

.vd-contact {
    color: #474747;
}

.vd-contact__lead {
    max-width: 640px;
    margin: -.5rem auto 2.5rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #5C5C5C;
}

.vd-contact__grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .vd-contact__grid {
        grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
        gap: 2rem;
    }
}

/* ---------- form card ---------- */
.vd-contact__form {
    padding: 1.75rem 1.25rem;
    background: #FFFEFC;
    border: 1px solid #EEE8DF;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(78, 57, 32, .04), 0 8px 24px rgba(78, 57, 32, .06);
    height: 100%;
}

@media (min-width: 768px) {
    .vd-contact__form {
        padding: 2.5rem 2.75rem;
    }
}

.vd-contact__form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.vd-contact__heading {
    display: block;
    width: 100%;
    padding: 0;
}

.vd-contact__eyebrow {
    display: block;
    margin-bottom: .5rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8F6D43;
}

.vd-contact__title {
    display: block;
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
    color: #1F1F1F;
}

.vd-contact__title::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin-top: .875rem;
    background: #C19B6C;
}

.vd-contact__intro {
    margin: 1rem 0 1.75rem;
    font-size: .9375rem;
    line-height: 1.7;
}

.vd-contact__fields {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .vd-contact__fields {
        grid-template-columns: 1fr 1fr;
    }

    .vd-contact__field--full,
    .vd-contact__fields > :not(.field) {
        grid-column: 1 / -1;
    }
}

.vd-contact__fields .field {
    margin: 0;
}

.vd-contact__fields .label {
    display: flex;
    align-items: baseline;
    gap: .375rem;
    margin-bottom: .5rem;
    font-size: .875rem;
    font-weight: 600;
    color: #333333;
}

.vd-contact__fields .field.required > .label::after {
    color: #A32E42;
}

.vd-contact__optional {
    font-size: .75rem;
    font-weight: 400;
    color: #8A8A8A;
}

.vd-contact__fields .form-input {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    font-size: .9375rem;
    color: #1F1F1F;
    background: #FDFBF7;
    border: 1px solid #D9D2C8;
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.vd-contact__fields textarea.form-input {
    min-height: 11rem;
    resize: vertical;
    line-height: 1.6;
}

.vd-contact__fields .form-input:hover {
    border-color: #C19B6C;
}

.vd-contact__fields .form-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #8F6D43;
    box-shadow: 0 0 0 3px rgba(193, 155, 108, .25);
}

.vd-contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.5rem;
}

.vd-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-width: 180px;
}

.vd-contact__submit svg {
    transition: transform .15s;
}

.vd-contact__submit:hover svg {
    transform: translateX(3px);
}

.vd-contact__privacy {
    flex: 1 1 260px;
    margin: 0;
    font-size: .8125rem;
    line-height: 1.6;
    color: #6B6B6B;
}

.vd-contact a {
    color: #8F6D43;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vd-contact a:hover {
    color: #5A1E2D;
}

/* ---------- info column ---------- */
.vd-contact__aside {
    display: grid;
    gap: 1.25rem;
    height: 100%;
}

@media (min-width: 640px) and (max-width: 1023px) {

    .vd-contact__card--dark {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .vd-contact__aside {
        position: sticky;
        top: 1.5rem;
    }
}

.vd-contact__card {
    padding: 1.5rem;
    background: #FFFEFC;
    border: 1px solid #EEE8DF;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(78, 57, 32, .04), 0 8px 24px rgba(78, 57, 32, .06);
    font-size: .9375rem;
    line-height: 1.65;
}

.vd-contact__card p {
    margin: 0;
}

.vd-contact__card--dark {
    padding: 1.75rem;
    color: #F4ECE1;
    background: linear-gradient(150deg, #5A1E2D 0%, #42141F 100%);
    border: 0;
    box-shadow: 0 8px 24px rgba(66, 20, 31, .18);
}

.vd-contact__card--dark .vd-contact__eyebrow {
    color: #DEC8AA;
}

.vd-contact__company {
    margin: 0 0 1.25rem;
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.35;
    color: #FFFFFF;
}

.vd-contact__list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vd-contact__list li {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    margin: 0;
}

.vd-contact__list address {
    font-style: normal;
    color: #474747;
    opacity: 1;
    padding-top: .375rem;
}

.vd-contact__list a {
    padding-top: .375rem;
    color: #474747;
    text-decoration: none;
    word-break: break-word;
}

.vd-contact__card--dark .vd-contact__list a:hover {
    color: #DEC8AA;
    text-decoration: underline;
}

.vd-contact__icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #5A1E2D;
    background: rgba(255, 255, 255, .08);
    border: 1px solid #5A1E2D;
}

.vd-contact__icon--light {
    width: 32px;
    height: 32px;
    color: #5A1E2D;
    background: #FFFEFC;
    border-color: #5A1E2D;
}

.vd-contact__card-title {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .875rem;
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: #5A1E2D;
}

.vd-contact__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vd-contact__links li {
    margin: 0;
    border-bottom: 1px solid #EADBC7;
}

.vd-contact__links li:last-child {
    border-bottom: 0;
}

.vd-contact .vd-contact__links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .625rem 0;
    color: #333333;
    text-decoration: none;
}

.vd-contact .vd-contact__links a::after {
    content: "\2192";
    color: #C19B6C;
    transition: transform .15s;
}

.vd-contact .vd-contact__links a:hover {
    color: #5A1E2D;
}

.vd-contact .vd-contact__links a:hover::after {
    transform: translateX(3px);
}
