﻿/* =========================================================
   STREGA
   HELP / CONTACT / DOCUMENT PAGES
========================================================= */


/* =========================================================
   HERO
========================================================= */

.help-hero {
    padding: 8rem 0 7rem;
    color: var(--strega-paper);
    background: linear-gradient( 145deg, var(--strega-green-deep), var(--strega-brown-deep) );
}


.help-hero__inner {
    width: min( calc(100% - 3rem), var(--content-width) );
    margin: 0 auto;
}


.help-hero__title {
    max-width: 800px;
    margin: 0.8rem 0 0;
    font-size: clamp( 4rem, 8vw, 7rem );
    font-weight: 400;
    line-height: 0.92;
}


.help-hero__intro {
    max-width: 620px;
    margin: 2rem 0 0;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-page {
    padding: 9rem 0;
    background: var(--strega-paper);
}


.contact-page__inner {
    width: min( calc(100% - 3rem), 1180px );
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp( 4rem, 8vw, 7rem );
}


.contact-page__copy {
    max-width: 440px;
}


    .contact-page__copy h2 {
        margin: 0.6rem 0 2rem;
        font-size: clamp( 2.8rem, 4.5vw, 4.8rem );
        font-weight: 400;
        line-height: 0.98;
    }


    .contact-page__copy p {
        margin: 0 0 1.5rem;
        line-height: 1.7;
    }


.contact-page__lead {
    font-size: 1.2rem;
}


/* =========================================================
   FORM
========================================================= */

.contact-page__form {
    min-width: 0;
}


.help-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}


.help-field {
    display: grid;
    gap: 0.5rem;
}


.help-field--full {
    grid-column: 1 / -1;
}


.help-field label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


.help-field input,
.help-field select,
.help-field textarea {
    width: 100%;
    border: 1px solid var(--strega-line);
    border-radius: 0;
    color: var(--strega-ink);
    background: #fff;
    font: inherit;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}


.help-field input,
.help-field select {
    min-height: 54px;
    padding: 0 1rem;
}


.help-field textarea {
    min-height: 190px;
    padding: 1rem;
    resize: vertical;
}


    .help-field input:focus,
    .help-field select:focus,
    .help-field textarea:focus {
        outline: none;
        border-color: var(--strega-brown);
        box-shadow: 0 0 0 1px var(--strega-brown);
    }


.help-field span {
    min-height: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
}


.help-field
.field-validation-error {
    color: #8a342c;
}


.help-validation {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}


    .help-validation ul {
        margin: 0;
        padding-left: 1.2rem;
    }


/* =========================================================
   SUBMIT
========================================================= */

.help-submit {
    min-height: 54px;
    margin-top: 2rem;
    padding: 0 1.75rem;
    border: 1px solid var(--strega-brown);
    color: var(--strega-paper);
    background: var(--strega-brown);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}


    .help-submit:hover {
        border-color: var(--strega-brown-deep);
        background: var(--strega-brown-deep);
    }


    .help-submit:focus-visible {
        outline: 2px solid var(--strega-brown);
        outline-offset: 3px;
    }


/* =========================================================
   SUCCESS
========================================================= */

.help-success {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(38, 57, 45, 0.25);
    background: rgba(38, 57, 45, 0.08);
    line-height: 1.5;
}


/* =========================================================
   DOCUMENT PAGES
========================================================= */

.help-document {
    min-height: 70vh;
    padding: 8rem 0;
    background: var(--strega-paper);
}


.help-document__inner {
    width: min( calc(100% - 3rem), 1000px );
    margin: 0 auto;
}


.help-document__header {
    max-width: 760px;
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--strega-line);
}


    .help-document__header h1 {
        margin: 0.7rem 0 0;
        font-size: clamp( 3rem, 6vw, 5.5rem );
        font-weight: 400;
        line-height: 0.95;
    }


.help-document__body {
    width: min( 100%, 700px );
}


    .help-document__body h2 {
        margin: 3.5rem 0 1rem;
        font-size: clamp( 1.7rem, 3vw, 2.3rem );
        font-weight: 400;
        line-height: 1.15;
    }


        .help-document__body h2:first-of-type {
            margin-top: 0;
        }


    .help-document__body h3 {
        margin: 2.5rem 0 0.8rem;
        font-size: 1.35rem;
        font-weight: 400;
    }


    .help-document__body p {
        margin-bottom: 1.4rem;
        font-size: 1.08rem;
        line-height: 1.75;
    }


    .help-document__body ul,
    .help-document__body ol {
        margin: 1.25rem 0 1.75rem;
        padding-left: 1.75rem;
        font-size: 1.05rem;
        line-height: 1.7;
    }


    .help-document__body li {
        margin-bottom: 0.65rem;
    }


    .help-document__body a {
        text-decoration: underline;
        text-underline-offset: 0.15em;
    }


    .help-document__body .text-link {
        display: inline-block;
        margin-top: 1rem;
    }


.help-document__updated {
    margin-bottom: 3rem !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .contact-page__inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }


    .contact-page__copy {
        max-width: 650px;
    }
}


@media (max-width: 640px) {

    .help-hero {
        padding: 6rem 0 5rem;
    }


    .help-hero__inner,
    .contact-page__inner,
    .help-document__inner {
        width: calc(100% - 2rem);
    }


    .help-hero__title {
        font-size: clamp( 3.5rem, 17vw, 5rem );
    }


    .contact-page,
    .help-document {
        padding: 5rem 0;
    }


    .help-form-grid {
        grid-template-columns: 1fr;
    }


    .help-field--full {
        grid-column: auto;
    }


    .help-document__header {
        margin-bottom: 3.5rem;
        padding-bottom: 3rem;
    }
}
