:root {
    --green: #13a538;
    --green2: #0f7f2d;
    --dark: #101725;
    --muted: #5e6b7e;
    --soft: #eef3f0;
    --line: #dfe8e2;
    --white: #fff;
    --shadow: 0 18px 50px rgba(16,23,37,.12);
    --radius: 22px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Montserrat,Bahnschrift,Arial,sans-serif;
    background: #f3f6f5;
    color: var(--dark);
    font-weight: 400
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1180px,92%);
    margin: 0 auto
}

.topbar {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid #edf1ee;
    position: sticky;
    top: 0;
    z-index: 50
}

.nav-wrap {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 28px
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 600;
    background: url(../img/logocmont.png) no-repeat center/contain;
    height: 60px;
    width: 250px;
}

.logo span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #e8f8ed;
    color: var(--green);
    display: grid;
    place-items: center
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px
}

.nav a {
    padding: 13px 16px;
    border-radius: 15px;
    color: #596579;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    gap: 8px;
    align-items: center
}

.nav a.active,.nav a:hover {
    /* background: #e8f8ed; */
    color: var(--green)
}

.nav-wa {
    background: var(--green);
    color: #fff;
    padding: 13px 16px;
    border-radius: 15px;
    font-weight: 600;
    display: flex;
    gap: 8px
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: #000000;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 26px;
}

.hero {
    position: relative;
    min-height: 720px;
    height: 100vh;

    background:
        url('../img/sfondo-carmont-azienda.jpg')
        center center / cover
        no-repeat;

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

    text-align: center;
    color: #fff;

    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-color: rgba(0, 0, 0, 0.55);

    z-index: -1;
    pointer-events: none;
}
.hero-inner {
    padding: 90px 0 70px;
    z-index: 1;
}

.pill {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 9px 18px;
    color: #13a538;
    /* border-radius: 999px; */
    /* background: rgba(19,165,56,.18); */
    font-weight: 600;
    font-size: 20px;
}

.hero h1 {
    font-size: clamp(48px,7vw,92px);
    line-height: .96;
    margin: 28px auto 22px;
    font-weight: 600;
    letter-spacing: -4px
}

.hero h1 span {
    color: var(--green)
}

.hero p {
    font-size: clamp(18px,2vw,24px);
    line-height: 1.45;
    max-width: 760px;
    margin: 0 auto 34px;
    font-weight: 500
}

.hero-actions,.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 17px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    min-height: 56px
}

.btn.primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 16px 30px rgba(19,165,56,.25)
}

.btn.primary:hover {
    background: var(--green2);
    transform: translateY(-2px)
}

.btn.white {
    background: #fff;
    color: var(--dark)
}

.btn.dark {
    background: #102018;
    color: #fff
}

.btn.light {
    background: #fff;
    color: var(--dark)
}

.section {
    padding: 78px 0
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px
}

.section-head h2 {
    font-size: clamp(32px,4vw,44px);
    margin: 0 0 14px;
    font-weight: 600;
    letter-spacing: -1.5px
}

.section-head p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0
}

.request-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
    border: 1px solid #e8eee9
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px
}

.field label span {
    color: #e3342f
}

.field input,.field select,.field textarea {
    width: 100%;
    height: 48px;
    border: 1px solid #cfd9d3;
    border-radius: 12px;
    background: #fbfcfc;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    color: #263043;
    outline: none;
    transition: .2s
}

.field textarea {
    height: 118px;
    padding-top: 14px;
    resize: vertical
}

.field input:focus,.field select:focus,.field textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(19,165,56,.12)
}

.privacy {
    grid-column: 1/-1;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: #263043
}

.privacy input {
    width: 19px;
    height: 19px;
    accent-color: var(--green);
    margin-top: 2px
}

.privacy small {
    display: block;
    color: var(--muted);
    margin-top: 6px
}

.submit-row {
    grid-column: 1/-1
}

.submit-row .btn {
    width: 100%;
    font-size: 15px
}

.form-message {
    display: none;
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: #e8f8ed;
    color: #0d6b27;
    font-weight: 600
}

.products-grid,.features-grid,.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 22px
}

.card,.review,.feature {
    background: #fff;
    border: 1px solid #e2eae5;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 35px rgba(16,23,37,.06)
}

.card i,.feature i {
    font-size: 28px;
    color: var(--green);
    margin-bottom: 18px
}

.card h3,.feature h3,.review h3 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 600
}

.card p,.feature p,.review p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0
}

.wide-band {
    background: #dfe6e2;
    padding: 72px 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.stat {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    text-align: center
}

.stat strong {
    display: block;
    font-size: 38px;
    color: var(--green);
    font-weight: 600
}

.stat span {
    color: var(--muted);
    font-weight: 500
}

.reviews-grid {
    grid-template-columns: repeat(2,1fr)
}

.review-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e8f8ed;
    color: var(--green);
    display: grid;
    place-items: center;
    font-weight: 600
}

.review-user {
    display: flex;
    gap: 16px;
    align-items: center
}

.stars {
    color: var(--green);
    white-space: nowrap
}

.cta-section {
    background: linear-gradient(135deg,rgba(19,165,56,.94),rgba(9,96,34,.94)),url('../img/parts-bg.svg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 82px 0
}

.cta-box h2 {
    font-size: clamp(34px,5vw,54px);
    line-height: 1.05;
    margin: 0 0 18px;
    font-weight: 600;
    letter-spacing: -1.5px
}

.cta-box p {
    font-size: 19px;
    max-width: 760px;
    margin: 0 auto 30px;
    line-height: 1.5
}

.footer {
    background: #fff;
    padding: 68px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr .8fr;
    gap: 70px
}

.footer p,.footer small,.footer a {
    color: #5e6b7e;
    line-height: 1.7
}

.footer h3 {
    font-size: 18px;
    font-weight: 600
}

.footer-grid>div:last-child a {
    display: block;
    margin: 12px 0
}

.footer i {
    color: var(--green);
    width: 24px
}

.copyright {
    border-top: 1px solid #edf1ee;
    margin-top: 48px;
    padding-top: 22px;
    color: #7a8594;
    font-size: 14px
}

.floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: 0 16px 35px rgba(19,165,56,.35);
    z-index: 60
}

.page-hero {
    padding: 92px 0;
    background: linear-gradient(135deg,#0f2016,#13a538);
    color: #fff;
    text-align: center
}

.page-hero h1 {
    font-size: clamp(38px,5vw,62px);
    font-weight: 600;
    margin: 0 0 12px
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.55
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center
}

.image-panel {
    min-height: 380px;
    border-radius: 24px;
    background: url('../img/chisiamo.jpg') center/cover no-repeat;
    box-shadow: var(--shadow)
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2eae5
}

.contact-card p {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--muted)
}

.contact-card i {
    color: var(--green);
    margin-top: 4px
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: .8
}

.loading:after {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin-left: 10px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width: 900px) {
    .topbar {
        height:auto
    }

    .nav-wrap {
        min-height: 70px;
        flex-wrap: wrap
    }

    .menu-btn {
        display: grid;
        place-items: center;
        margin-left: auto
    }

    .nav-wa span,.nav a span {
        /* display: none; */
        color: #000;
    }

    .nav {
        display: none;
        width: 100%;
        order: 4;
        margin: 0;
        grid-template-columns: repeat(5,1fr);
        gap: 8px
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        color: #000;
    }

    .nav a {
        justify-content: center;
        padding: 13px
    }

    .nav-wa {
        padding: 12px;
        margin-left: 0
    }

    .hero {
        min-height: 650px
    }

    .form-grid,.split,.contact-grid {
        grid-template-columns: 1fr
    }

    .products-grid,.features-grid,.stats {
        grid-template-columns: repeat(2,1fr)
    }

    .reviews-grid {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .request-card {
        padding: 22px
    }

    .hero h1 {
        letter-spacing: -2px
    }
}

@media(max-width: 560px) {
    .products-grid,.features-grid,.stats {
        grid-template-columns:1fr
    }

    .hero-actions .btn,.cta-actions .btn {
        width: 100%
    }

    .hero p,.section-head p {
        font-size: 16px
    }

    .section {
        padding: 55px 0
    }

    .logo strong {
        font-size: 18px
    }

    .floating-wa {
        width: 52px;
        height: 52px
    }
}
