/* View: Views/Home/GreenLand.cshtml */
:root {
    --ap-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ap-ink: #1d1d1f;
    --ap-grey: #6e6e73;
    --ap-line: #e4edf5;
    --ap-surface: #f5f5f7;
    --cyan: #009FDA;
    --ls-tight: -.03em;
    --ls-snug: -.015em;
    --lh-tight: 1.05;
}
#header.fixed-top {
    background-color: rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ap-line);
}
#header.fixed-top a, #header.fixed-top .nav-link,
#header.fixed-top .navbar-nav .nav-link, #header.fixed-top li a { color: var(--ap-ink) !important; }
.titolo-interno, h2.home {
    font-family: var(--ap-font) !important;
    font-weight: 600 !important;
    color: var(--ap-ink);
    line-height: var(--lh-tight) !important;
    letter-spacing: var(--ls-tight);
}
.titolo-interno span, h2.home span { color: var(--cyan); }
#hero_comuni .hero-comuni-stats { justify-content: center; }

#hero_comuni {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    text-align: center;
    overflow: hidden;
    padding: clamp(120px, 14vw, 180px) 20px clamp(72px, 10vw, 120px);
}
#hero_comuni::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -30%;
    left: 50%;
    width: 72%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.12), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
#hero_comuni .container { position: relative; z-index: 1; }
#hero_comuni h1 {
    font-family: var(--ap-font);
    font-size: clamp(2.6rem, 6vw, 5rem) !important;
    font-weight: 600 !important;
    color: var(--ap-ink) !important;
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 auto 20px;
    max-width: 940px;
}
#hero_comuni h1 span { color: var(--cyan); }
.hero-comuni-divider { width: 56px; height: 3px; border: 0; border-radius: 3px; background: var(--cyan); margin: 0 auto 34px; opacity: 1; }
.hero-comuni-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-cta-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--ap-ink); color: #fff; font-family: var(--ap-font); font-size: 16px; font-weight: 500;
    padding: 16px 30px; border-radius: 980px; text-decoration: none; transition: background .2s, transform .15s;
}
.hero-cta-dark:hover { background: #000; color: #fff; transform: translateY(-1px); text-decoration: none; }
.hero-cta-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: #fff; color: var(--ap-ink); border: 1px solid var(--ap-line); font-family: var(--ap-font); font-size: 16px; font-weight: 500;
    padding: 15px 28px; border-radius: 980px; text-decoration: none; transition: border-color .2s, transform .15s;
}
.hero-cta-ghost:hover { border-color: #b8b8c0; color: var(--ap-ink); transform: translateY(-1px); text-decoration: none; }

.sez-label-white {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.sez-label-blu {
    font-size: 11px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-comuni-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--ap-line);
}
.hero-comuni-stat .stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
    font-family: Montserrat, sans-serif;
}
.hero-comuni-stat .stat-label {
    font-size: 0.72rem;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

.gl-cta-band-wrap { background: var(--ap-surface); padding: clamp(64px, 9vw, 120px) 0; }
.gl-cta-band {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #e7f6fd 0%, #f3fbff 55%, #ffffff 100%);
    border: 1px solid #d4ecfa; border-radius: 32px; padding: clamp(48px, 7vw, 100px) 24px; text-align: center;
}
.gl-cta-band::before {
    content: ""; position: absolute; z-index: 0; top: -45%; left: 50%; width: 70%; aspect-ratio: 1;
    transform: translateX(-50%); background: radial-gradient(circle, rgba(0,159,218,.20), transparent 65%);
    filter: blur(54px); pointer-events: none;
}
.gl-cta-band > * { position: relative; z-index: 1; }
.gl-cta-band .eyebrow { font-family: var(--ap-font); font-size: 12px; font-weight: 700; color: var(--ap-grey); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.gl-cta-band h2 { font-family: var(--ap-font); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; color: var(--ap-ink); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); margin: 0 auto 16px; max-width: 780px; }
.gl-cta-band h2 span { color: var(--cyan); }
.gl-cta-band p { font-family: var(--ap-font); font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--ap-grey); line-height: 1.7; margin: 0 auto 30px; max-width: 620px; }
.gl-cta-phone {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--ap-ink); color: #fff; font-family: var(--ap-font); font-size: 16px; font-weight: 500;
    padding: 16px 32px; border-radius: 980px; text-decoration: none; transition: background .2s, transform .15s;
}
.gl-cta-phone:hover { background: #000; color: #fff; transform: translateY(-1px); text-decoration: none; }

.divisore-minimal {
    border: none;
    border-top: 1px solid #e4edf5;
    margin: 0;
    opacity: 1;
}

.btn-outlineWHI {
    color: #fff !important;
    border: 1px solid #fff !important;
    padding: 20px 20px;
}
.btn-outlineWHI:hover {
    background-color: #009FDA;
    color: #fff !important;
}

.sez-intro-comuni {
    padding: 96px 0;
    background: #fff;
}
.intro-img-wrap {
    height: 100%;
    min-height: 360px;
}
.intro-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.intro-garanzie-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e4edf5;
}
.intro-garanzia-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: rgb(61,90,110);
    font-weight: 600;
    line-height: 1.4;
}
.fg-icon {
    width: 36px;
    height: 36px;
    background: rgb(224,240,250);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #009FDA;
    flex-shrink: 0;
}

.sez-offriamo-comuni {
    background: #f8fbfd;
    padding: 96px 0;
}
.card-vantaggio {
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    padding: 32px 28px;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
}
.card-vantaggio:hover {
    box-shadow: 0 8px 32px rgba(0,60,120,.09);
    transform: translateY(-3px);
}
.card-vantaggio .cv-icon {
    width: 52px;
    height: 52px;
    background: #e8f4fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #009FDA;
    margin-bottom: 20px;
}
.card-vantaggio h4 {
    font-size: .95rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 8px;
}
.card-vantaggio p {
    font-size: .87rem;
    color: #6e6e73;
    margin-bottom: 0;
    line-height: 1.65;
}

.sez-percorso-comuni {
    background: #fff;
    padding: 96px 0;
}

.sez-partners-comuni {
    background: #000;
    padding: 64px 0;
    text-align: center;
}
.sez-partners-comuni h2 {
    color: #fff;
    margin-bottom: 10px;
}
.sez-partners-comuni .partner-intro {
    color: rgba(255,255,255,.82);
    max-width: 620px;
    margin: 0 auto 40px;
}
.logo-box-fv {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 16px;
}
.logo-box-fv img {
    max-height: 45px;
    max-width: 100px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    object-fit: contain;
}
.partner-footer-note {
    color: rgba(255,255,255,.75);
    text-align: center;
    margin-top: 24px;
}

.sez-ppp-comuni {
    background: #f8fbfd;
    padding: 96px 0;
}
.card-ppp {
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    padding: 32px 28px;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
    text-align: center;
}
.card-ppp:hover {
    box-shadow: 0 8px 32px rgba(0,60,120,.09);
    transform: translateY(-3px);
}
.card-ppp .cv-icon {
    width: 52px;
    height: 52px;
    background: #e8f4fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #009FDA;
    margin: 0 auto 20px;
}
.card-ppp h4 {
    font-size: .95rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 10px;
}
.card-ppp p {
    font-size: .87rem;
    color: #6e6e73;
    line-height: 1.7;
    margin: 0;
}

.sez-ottieni-comuni {
    background: #000;
    padding: 96px 0;
}
.feature-box-conto {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: background .2s;
}
.feature-box-conto:hover { background: rgba(255,255,255,.16); }
.feature-box-conto i {
    font-size: 32px;
    color: #1d1d1f;
    margin-bottom: 14px;
    display: block;
}
.feature-box-conto h4 {
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.feature-box-conto p {
    font-size: .86rem;
    color: rgba(255,255,255,.75);
    margin: 0;
    line-height: 1.65;
}

.sez-cer-esistenti {
    background: rgb(248,251,253);
    padding: 96px 0;
}
.cer-logo-card {
    background: #fff;
    border: 1px solid rgb(228,237,245);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
    height: 100%;
}
.cer-logo-card:hover {
    box-shadow: 0 6px 24px rgba(0,60,120,.10);
    transform: translateY(-2px);
    text-decoration: none;
}
.cer-logo-card .cer-logo-wrap {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cer-logo-card img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}
.cer-logo-card .cer-nome {
    font-size: .78rem;
    font-weight: 600;
    color: rgb(61,90,110);
    text-align: center;
    line-height: 1.4;
}
.cer-logo-card .cer-cta {
    font-size: .75rem;
    font-weight: 700;
    color: #009FDA;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cer-swiper {
    padding-bottom: 48px !important;
}
.cer-swiper .swiper-slide {
    height: auto;
}
.cer-swiper .swiper-pagination-bullet {
    background: #009FDA;
}
.cer-swiper .swiper-pagination-bullet-active {
    background: #009FDA;
    opacity: 1;
}

.sez-myopencer-comuni {
    background: #f8fbfd;
    padding: 96px 0;
}
.sez-myopencer-comuni h3 {
    font-family: Montserrat, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
}
.sez-myopencer-comuni p {
    font-size: .93rem;
    color: #6e6e73;
    line-height: 1.75;
}
.sez-myopencer-comuni img {
    border-radius: 14px;
}

.sez-motivi-comuni {
    background: #fff;
    padding: 96px 0;
}
.motivo-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
}
.motivo-card:hover {
    box-shadow: 0 8px 32px rgba(0,60,120,.09);
    transform: translateY(-3px);
}
.motivo-card .motivo-icon {
    width: 64px;
    height: 64px;
    background: #e8f4fb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #009FDA;
    margin: 0 auto 20px;
}
.motivo-card h4 {
    font-size: .9rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .5px;
    color: #009FDA;
    margin-bottom: 10px;
}
.motivo-card p {
    font-size: .87rem;
    color: #6e6e73;
    line-height: 1.65;
    margin: 0;
}

.sez-faq-comuni {
    background: #f8fbfd;
    padding: 96px 0;
}
.sez-faq-comuni .accordion-item {
    border: 1px solid #e4edf5 !important;
    border-radius: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}
.sez-faq-comuni .accordion-button {
    font-weight: 600;
    font-size: .95rem;
    color: #1d1d1f !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 10px !important;
}
.sez-faq-comuni .accordion-button:not(.collapsed) {
    color: #009FDA !important;
    background: #f0f8ff !important;
}
.sez-faq-comuni .accordion-button::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23007fbf' d='M1.5 6L8 12l6.5-6'/%3E%3C/svg%3E");
}
.sez-faq-comuni .accordion-body {
    font-size: .9rem;
    color: #6e6e73;
    line-height: 1.7;
    background: #fff;
    border-top: 1px solid #e4edf5;
}
.sez-faq-comuni .accordion-body ul {
    padding-left: 18px;
    margin-top: 8px;
}
.sez-faq-comuni .accordion-body ul li { margin-bottom: 4px; }

@media (max-width: 991px) {
    .intro-img-wrap { min-height: 280px; }
    .intro-garanzie-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero-comuni-stats { gap: 24px; }
    .sez-intro-comuni, .sez-offriamo-comuni, .sez-percorso-comuni,
    .sez-ppp-comuni, .sez-ottieni-comuni, .sez-myopencer-comuni,
    .sez-motivi-comuni, .sez-faq-comuni, .sez-cer-esistenti { padding: 64px 0; }
    .intro-garanzie-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .intro-garanzie-row { grid-template-columns: 1fr; }
}
