/* ==========================================================
   PAGINE CONTATTI / INFORMAZIONI / PREVENTIVO
   BIOECOTERMO
========================================================== */

.contact-page {
    width: 100%;
    overflow-x: hidden;
    background: #f3f4f0;
    color: #171a17;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    box-sizing: border-box;
}

/* ==========================================================
   HERO
========================================================== */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 105px;
    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(243, 111, 0, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 25% 55%,
            rgba(80, 186, 50, 0.09),
            transparent 42%
        ),
        #080a08;
    color: #ffffff;
}

.contact-hero::before {
    position: absolute;
    top: -260px;
    right: -170px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 50%;
    content: "";
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: end;
    gap: 90px;
}

.contact-hero .section-label,
.contact-content .section-label {
    margin: 0 0 18px;
    color: #55b637;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-hero h1 {
    max-width: 920px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(62px, 7vw, 108px);
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .86;
    text-transform: uppercase;
}

.contact-hero h1 span {
    display: block;
    color: #55b637;
}

.contact-hero__intro {
    max-width: 560px;
    padding-bottom: 8px;
}

.contact-hero__intro p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 17px;
    line-height: 1.7;
}

.contact-hero__intro p + p {
    margin-top: 18px;
}

/* ==========================================================
   CONTENUTO
========================================================== */

.contact-content {
    padding: 100px 0 125px;
    background: #f3f4f0;
}

.contact-content__grid {
    display: grid;
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: start;
}

/* ==========================================================
   COLONNA CONTATTI
========================================================== */

.contact-info {
    position: sticky;
    top: 120px;
    padding: 48px;
    background: #0d100d;
    color: #ffffff;
}

.contact-info__heading {
    margin-bottom: 38px;
}

.contact-info__heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .92;
    text-transform: uppercase;
}

.contact-info__heading h2 span {
    display: block;
    color: #55b637;
}

.contact-info__list {
    border-top: 1px solid rgba(255,255,255,.14);
}

.contact-info__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.contact-info__number {
    color: #f36f00;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.contact-info__item p {
    margin: 0 0 7px;
    color: rgba(255,255,255,.5);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-info__item a,
.contact-info__item address {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.contact-info__item a:hover {
    color: #55b637;
}

.contact-info__note {
    margin-top: 32px;
    padding: 24px;
    border-left: 3px solid #f36f00;
    background: rgba(255,255,255,.04);
}

.contact-info__note span {
    display: block;
    margin-bottom: 10px;
    color: #55b637;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-info__note p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================================
   FORM PANEL
========================================================== */

.contact-form-panel {
    padding: 52px;
    border: 1px solid #dde0da;
    background: #ffffff;
}

.contact-form-panel__heading {
    margin-bottom: 36px;
}

.contact-form-panel__heading h2 {
    margin: 0;
    color: #171a17;
    font-size: clamp(46px, 4.7vw, 72px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .9;
    text-transform: uppercase;
}

.contact-form-panel__heading h2 span {
    display: block;
    color: #55b637;
}

.contact-form-panel__heading > p:last-child {
    max-width: 620px;
    margin: 20px 0 0;
    color: #666c65;
    font-size: 15px;
    line-height: 1.65;
}

/* ==========================================================
   MESSAGGI
========================================================== */

.contact-form-message {
    display: grid;
    gap: 5px;
    margin-bottom: 28px;
    padding: 18px 20px;
    border-left: 4px solid;
}

.contact-form-message strong {
    font-size: 15px;
}

.contact-form-message span {
    color: #5f655f;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-message--success {
    border-color: #55b637;
    background: #f1f8ee;
}

.contact-form-message--error {
    border-color: #f36f00;
    background: #fff4ea;
}

/* ==========================================================
   FORM
========================================================== */

.contact-form {
    position: relative;
}

.contact-form__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-form__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 9px;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form__field label {
    color: #343934;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
    width: 100%;
    border: 1px solid #d5d9d2;
    outline: none;
    background: #f7f8f5;
    color: #171a17;
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}

.contact-form__field input,
.contact-form__field select {
    min-height: 56px;
    padding: 0 16px;
}

.contact-form__field textarea {
    min-height: 190px;
    padding: 16px;
    resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus,
.contact-form__field select:focus {
    border-color: #55b637;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(85,182,55,.11);
}

.contact-form__field textarea::placeholder {
    color: #969c95;
}

.contact-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    color: #626861;
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.contact-form__privacy input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #55b637;
}

.contact-form__privacy a {
    color: #171a17;
    font-weight: 800;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    padding-top: 28px;
    border-top: 1px solid #e1e4de;
}

.contact-form__submit {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 24px;
    border: 0;
    background: #55b637;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 180ms ease,
        transform 180ms ease;
}

.contact-form__submit b {
    font-size: 23px;
    font-weight: 400;
    transition: transform 180ms ease;
}

.contact-form__submit:hover {
    background: #171a17;
    transform: translateY(-2px);
}

.contact-form__submit:hover b {
    transform: translateX(5px);
}

.contact-form__footer p {
    max-width: 320px;
    margin: 0;
    color: #838983;
    font-size: 11px;
    line-height: 1.5;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .contact-hero__grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-hero__intro {
        max-width: 720px;
    }

    .contact-content__grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .contact-hero {
        padding: 120px 0 75px;
    }

    .contact-hero h1 {
        font-size: clamp(48px, 14vw, 72px);
    }

    .contact-content {
        padding: 65px 0 85px;
    }

    .contact-info,
    .contact-form-panel {
        padding: 32px 24px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form__field--full {
        grid-column: 1;
    }

    .contact-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form__submit {
        width: 100%;
    }

    .contact-form__footer p {
        max-width: none;
    }

}

/* ==========================================================
   MOBILE PICCOLO
========================================================== */

@media (max-width: 480px) {

    .contact-info,
    .contact-form-panel {
        padding: 26px 18px;
    }

    .contact-info__item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
    }

    .contact-info__item a,
    .contact-info__item address {
        font-size: 16px;
    }

    .contact-form-panel__heading h2 {
        font-size: 44px;
    }

}