/* ==========================================================
   TGO — CONTACT PAGE
   contact.css
   ========================================================== */


/* ==========================================================
   CONTACT MAIN
   ========================================================== */

.contact-main {
    background: var(--color-light, #f1f2f3);
    color: #111;
}


/* ==========================================================
   CONTACT SECTION
   ========================================================== */

.contact-section {
    width: 100%;
    padding: 100px 24px 0;
}

.contact-container {
    width: min(1060px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);

    gap: 55px;
    align-items: center;
}


/* ==========================================================
   LEFT COLUMN
   ========================================================== */

.contact-info {
    padding-top: 24px;
}


/* TITLE */

.contact-heading h1 {
    margin: 0;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.03em;
}

.contact-heading-line {
    display: block;

    width: 120px;
    height: 1px;

    margin-top: 27px;

    background: #151515;
}


/* INTRO */

.contact-intro {
    margin: 20px 0 38px;

    max-width: 390px;

    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #161616;
}


/* ==========================================================
   CONTACT DETAILS
   ========================================================== */

.contact-detail {
    display: flex;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 28px;
}

.contact-icon {
    width: 42px;
    min-width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: #111;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.contact-detail-text {
    display: flex;
    flex-direction: column;

    gap: 4px;

    padding-top: 2px;

    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.contact-detail-text strong {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 2px;
}

.contact-detail-text span {
    display: block;
}

.contact-detail-text a {
    color: #111;
    text-decoration: none;

    transition:
        color .25s ease,
        text-shadow .25s ease;
}

.contact-detail-text a:hover {
    color: var(--color-red, #d11a2a);
    text-shadow: 0 0 8px rgba(209,26,42,.25);
}


/* ==========================================================
   FORM CONTAINER
   ========================================================== */

.contact-form-wrapper {
    border: 1px solid #111;

    padding: 19px;

    background: rgba(255,255,255,.15);
}


/* ==========================================================
   FORM
   ========================================================== */

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
}


/* ==========================================================
   FORM FIELD
   ========================================================== */

.form-field {
    position: relative;

    width: 100%;
    height: 41px;

    margin-bottom: 19px;

    border: 1px solid #222;

    display: flex;
    align-items: center;

    background: rgba(255,255,255,.25);
}

.form-field svg {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    margin-left: 8px;
    margin-right: 10px;

    fill: none;
    stroke: #111;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    color: #111;

    box-sizing: border-box;
}

.form-field input,
.form-field select {
    height: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #111;
    opacity: 1;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    color: var(--color-red, #d11a2a);
}


/* ==========================================================
   SELECT
   ========================================================== */

.form-select select {
    appearance: none;
    cursor: pointer;

    padding-right: 35px;
}

.form-select::after {
    content: "⌄";

    position: absolute;
    right: 18px;
    top: 50%;

    transform: translateY(-55%);

    font-size: 15px;
    pointer-events: none;
}


/* ==========================================================
   MESSAGE
   ========================================================== */

.form-message {
    height: 142px;

    align-items: flex-start;
}

.form-message svg {
    margin-top: 8px;
}

.form-message textarea {
    height: 100%;

    padding: 10px 10px 10px 0;

    resize: none;

    line-height: 1.5;
}


/* ==========================================================
   FORM BOTTOM
   ========================================================== */

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 2px;
}


/* PRIVACY */

.privacy-check {
    display: flex;
    align-items: center;

    gap: 7px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;

    cursor: pointer;
}

.privacy-check input {
    appearance: none;

    width: 20px;
    height: 20px;

    margin: 0;

    border: 1px solid #222;

    background: transparent;

    cursor: pointer;
}

.privacy-check input:checked {
    position: relative;
}

.privacy-check input:checked::after {
    content: "✓";

    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--color-red, #d11a2a);

    font-size: 15px;
    font-weight: 600;
}

.privacy-check a {
    color: var(--color-red, #d11a2a);
    text-decoration: underline;
}


/* ==========================================================
   SUBMIT BUTTON - Disattivate le personalizzazioni ed utilizzate quelle dei pulsanti della HomePage
   ========================================================== */

/*.contact-submit {
    min-width: 240px;
    height: 42px;

    border: 1px solid var(--color-red, #d11a2a);

    background: transparent;

    color: var(--color-red, #d11a2a);

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .02em;

    cursor: pointer;

    transition:
        background-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

.contact-submit span {
    margin-left: 8px;
}

.contact-submit:hover {
    background: var(--color-red, #d11a2a);
    color: #fff;

    box-shadow: 0 0 16px rgba(209,26,42,.22);
}*/


/* ==========================================================
   FEATURES BAR
   ========================================================== */

.contact-features {
    width: min(1060px, 100%);

    margin: 18px auto 0;

    padding: 20px 0 15px;

    border-top: 1px solid #222;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}


/* FEATURE */

.contact-feature {
    min-height: 58px;

    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 0 24px;

    border-right: 1px solid #222;
}

.contact-feature:first-child {
    padding-left: 5px;
}

.contact-feature:last-child {
    border-right: 0;
}


/* FEATURE ICON */

.feature-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: #111;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* FEATURE TEXT */

.contact-feature strong {
    display: block;

    margin-bottom: 7px;

    font-family: "Oswald", sans-serif;
    font-size: 11px;
    font-weight: 500;

    letter-spacing: .03em;
}

.contact-feature p {
    margin: 0;

    max-width: 185px;

    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    line-height: 1.55;
}


/* ==========================================================
   HOVER DETAILS
   ========================================================== */

.contact-feature:hover .feature-icon svg {
    stroke: var(--color-red, #d11a2a);

    filter: drop-shadow(
        0 0 4px rgba(209,26,42,.25)
    );

    transition:
        stroke .25s ease,
        filter .25s ease;
}

.contact-feature:hover strong {
    color: var(--color-red, #d11a2a);

    transition: color .25s ease;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {

    .contact-section {
        width: 100%;
		padding: 100px 24px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-info {
        padding-top: 0;
    }

    .contact-intro {
        max-width: 600px;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    .contact-features {
        grid-template-columns: 1fr 1fr;

        row-gap: 20px;

        padding-top: 25px;
    }

    .contact-feature:nth-child(2) {
        border-right: 0;
    }

    .contact-feature:nth-child(3),
    .contact-feature:nth-child(4) {
        padding-top: 15px;
    }
}


@media (max-width: 600px) {

    .contact-section {
		width: 100%;
		padding: 100px 18px 0;
    }

    .contact-heading h1 {
        font-size: 42px;
    }

    .contact-heading-line {
        width: 90px;
        margin-top: 20px;
    }

    .contact-intro {
        font-size: 12px;
    }

    .contact-detail {
        margin-bottom: 23px;
    }

    .contact-form-wrapper {
        padding: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .privacy-check {
        align-items: flex-start;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-features {
        grid-template-columns: 1fr;

        margin-top: 25px;
    }

    .contact-feature,
    .contact-feature:first-child,
    .contact-feature:nth-child(3),
    .contact-feature:nth-child(4) {
        padding: 12px 5px;

        border-right: 0;
        border-bottom: 1px solid rgba(0,0,0,.2);
    }

    .contact-feature:last-child {
        border-bottom: 0;
    }
}