:root {
    --primary: #1B3A2D;
    --primary-light: #244D3A;
    --secondary: #3D5A4C;
    --accent: #C8272E;
    --accent-light: #E04850;
    --accent-dark: #A01E24;
    --green: #2A7D4F;
    --green-light: #3DA566;
    --bg: #F7FAF8;
    --bg-alt: #EEF3F0;
    --foreground: #1A2B22;
    --muted: #4D6A5A;
    --border: #D8E4DD;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px -4px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 48px -8px rgba(0,0,0,0.15);
}

body { font-family: 'Open Sans', sans-serif; color: var(--foreground); background: var(--bg); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.15; }

.rv {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.rv.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .parallax-img { transform: none !important; }
}

.btn-c {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: 'Poppins', sans-serif; font-weight: 600;
    border-radius: 50px; text-decoration: none; border: none; cursor: pointer;
    transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.btn-c:hover { text-decoration: none; }
.btn-c--primary { background: var(--accent); color: #fff; padding: 0.8rem 2rem; font-size: 0.9375rem; }
.btn-c--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,39,46,0.3); }
.btn-c--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); padding: 0.7rem 1.75rem; font-size: 0.9375rem; }
.btn-c--outline:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-c--glass { background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: #fff; padding: 0.6rem 1.4rem; font-size: 0.875rem; }
.btn-c--glass:hover { background: rgba(255,255,255,0.25); color: #fff; transform: translateY(-1px); }
.btn-c--sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }

.navbar#mainNav { background: transparent; border-bottom: 1px solid transparent; padding: 1rem 0; transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, padding 0.35s; }
.navbar#mainNav.solid { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); padding: 0.6rem 0; }
.navbar#mainNav .vb-logo { height: 50px; width: auto; }
.navbar#mainNav .navbar-brand { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; color: #fff !important; display: flex; align-items: center; gap: 0.5rem; transition: color 0.35s; }
.navbar#mainNav.solid .navbar-brand { color: var(--primary) !important; }
.navbar#mainNav .nav-link { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.875rem; color: rgba(255,255,255,0.85) !important; padding: 0.4rem 0.75rem !important; border-radius: var(--radius-sm); transition: color 0.25s; }
.navbar#mainNav .nav-link:hover { color: #fff !important; }
.navbar#mainNav.solid .nav-link { color: var(--secondary) !important; }
.navbar#mainNav.solid .nav-link:hover { color: var(--green) !important; }
.navbar#mainNav .navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar#mainNav .navbar-toggler-icon { filter: invert(1); }
.navbar#mainNav.solid .navbar-toggler { border-color: var(--border); }
.navbar#mainNav.solid .navbar-toggler-icon { filter: none; }
@media (max-width: 1199.98px) {
    .navbar#mainNav .navbar-collapse { background: var(--white); padding: 1rem; border-radius: var(--radius); margin-top: 0.5rem; box-shadow: var(--shadow-lg); }
    .navbar#mainNav .navbar-collapse .nav-link { color: var(--secondary) !important; }
    .navbar#mainNav .navbar-collapse .nav-link:hover { color: var(--green) !important; }
}

.sec { padding: 5rem 0; }
.sec-tag { font-family:'Poppins',sans-serif; font-weight:600; font-size:0.8125rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.06em; }
.sec-title { font-size: 2rem; margin: 0.5rem 0 1rem; }
.sec-sub { color: var(--muted); max-width: 640px; }

.page-header { padding: 8rem 0 4rem; background: var(--primary); color: #fff; }
.page-header h1 { color: #fff; }
.page-header .lead { color: rgba(255,255,255,0.85); max-width: 640px; }
@media (max-width: 768px) { .page-header { padding: 7rem 0 3rem; } }

.hero { position: relative; min-height: 80vh; min-height: 80dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 115%; object-fit: cover; display: block; will-change: transform; }
.hero-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,45,0.3) 0%, rgba(27,58,45,0.85) 100%); }
.hero-inner { position: relative; z-index: 1; padding-bottom: 4rem; width: 100%; color: #fff; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.875rem; margin-bottom: 1rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); }
.hero h1 .hl { color: var(--green-light); }
.hero .lead { color: rgba(255,255,255,0.85); max-width: 560px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.stats-strip { padding: 2.5rem 0; }
.stat-block { text-align: center; }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.25rem; color: var(--primary); }
.stat-num .unit { font-size: 1.25rem; }
.stat-desc { color: var(--muted); font-size: 0.9375rem; }
.stat-divider { width: 1px; height: 48px; background: var(--border); margin: 0 2rem; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1.25rem; }
.bento-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.bento-card--tall { grid-row: span 2; }
.bento-card__img { position: absolute; inset: 0; }
.bento-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bento-card__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,45,0.1) 0%, rgba(27,58,45,0.92) 100%); }
.bento-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; }
.bento-card__body h3 { font-size: 1.125rem; color: #fff; margin-bottom: 0.35rem; }
.bento-card__body p { font-size: 0.875rem; color: rgba(255,255,255,0.85); margin: 0; }
.bento-card__icon { width: 32px; height: 32px; color: var(--green-light); margin-bottom: 0.5rem; }
.bento-card__icon svg, .bento-card__icon img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 768px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } .bento-card--tall { grid-row: span 1; } }

.carousel-wrap { position: relative; }
.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 0.5rem; cursor: grab; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.carousel-card { position: relative; flex: 0 0 220px; height: 260px; border-radius: var(--radius); overflow: hidden; }
.carousel-card__img { position: absolute; inset: 0; }
.carousel-card__img img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.carousel-card__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,45,0.05) 0%, rgba(27,58,45,0.9) 100%); }
.carousel-card__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: #fff; font-weight: 600; font-size: 0.9375rem; }
.carousel-card__label span { display: flex; align-items: center; gap: 0.5rem; }
.carousel-card__label svg, .carousel-card__label img { width: 18px; height: 18px; flex-shrink: 0; object-fit: contain; }
.carousel-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--secondary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.carousel-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.carousel-btn svg { width: 20px; height: 20px; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -2rem; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.timeline-year { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--green); margin-bottom: 0.25rem; }
.timeline-text { color: var(--muted); }

.cert-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); height: 100%; }
.cert-card__visual { height: 64px; display: flex; align-items: center; margin-bottom: 1rem; }
.cert-card__visual img { max-height: 100%; max-width: 140px; object-fit: contain; }
.cert-card__text-logo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; }
.cert-card h4 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.cert-card p { color: var(--muted); font-size: 0.9375rem; margin: 0; }

.partner-block { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2rem; }
.partner-block__header { padding: 2rem; color: #fff; }
.partner-block__header h2 { color: #fff; margin: 0; }
.partner-block__header p { color: rgba(255,255,255,0.8); margin: 0.25rem 0 0; }
.partner-block__body { background: #fff; padding: 2rem; }
.partner-sub { margin-bottom: 1.5rem; }
.partner-sub:last-child { margin-bottom: 0; }
.partner-sub h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.partner-sub p { color: var(--muted); margin: 0; }
.green-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.green-list li { position: relative; padding-left: 1.25rem; color: var(--muted); margin-bottom: 0.4rem; }
.green-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tech-pill { display: inline-block; background: var(--bg-alt); color: var(--primary); font-size: 0.8125rem; font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 50px; margin: 0 0.4rem 0.4rem 0; }

.filter-bar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); padding: 1rem 0; }
.filter-bar__inner { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill { background: var(--bg-alt); border: none; border-radius: 50px; padding: 0.5rem 1.25rem; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.875rem; color: var(--muted); cursor: pointer; }
.filter-pill.active { background: var(--green); color: #fff; }
.project-card { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; background: #fff; }
.project-card__img { height: 220px; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.project-card:hover .project-card__img img { transform: scale(1.05); }
.project-card__body { padding: 1.25rem; }
.project-card__body h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.project-card__body p { color: var(--muted); font-size: 0.875rem; margin: 0; }
.project-hero { position: relative; height: 60vh; min-height: 360px; }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-hero__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,58,45,0.1) 0%, rgba(27,58,45,0.9) 100%); }
.project-hero__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 0; color: #fff; }
.project-hero__badge { display: inline-block; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); padding: 0.35rem 0.9rem; border-radius: 50px; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.75rem; }

.fv-widget .stat-block { background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem; }

.clivati-footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 3.5rem 0 0; }
.clivati-footer h6 { font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; margin-bottom: 1rem; font-size: 0.9375rem; }
.clivati-footer h6 .hl { color: var(--green-light); }
.clivati-footer p { font-size: 0.9375rem; }
.clivati-footer ul { list-style: none; padding: 0; margin: 0; }
.clivati-footer ul li { margin-bottom: 0.5rem; }
.clivati-footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.875rem; transition: color 0.25s; }
.clivati-footer ul a:hover { color: var(--green-light); }
.clivati-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding: 1.25rem 0; font-size: 0.8125rem; }
.clivati-footer .foot-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.25s; }
.clivati-footer .foot-bottom a:hover { color: var(--green-light); }

.osm-map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.osm-map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

.img-band { position: relative; height: clamp(320px, 45vh, 520px); overflow: hidden; }
.img-band img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; }
.img-band__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(27,58,45,0.08) 0%, rgba(27,58,45,0.55) 100%); }
.img-band__text { position: absolute; bottom: 2.5rem; left: 0; right: 0; z-index: 1; text-align: center; color: #fff; }
.img-band__text h3 { font-size: clamp(1.25rem, 3vw, 2rem); margin-bottom: 0.5rem; color: #fff; }
.img-band__text p { color: rgba(255,255,255,0.75); font-size: 0.9375rem; max-width: 480px; margin: 0 auto; }

.cta-band { position: relative; overflow: hidden; padding: 6rem 0; text-align: center; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; }
.cta-band__grad { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,58,45,0.92) 0%, rgba(36,77,58,0.88) 100%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1.0625rem; max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }

.comp-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; height: 100%; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s; }
.comp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.comp-card__icon { width: 48px; height: 48px; background: rgba(42,125,79,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.comp-card__icon svg { width: 24px; height: 24px; color: var(--green); }
.comp-card__icon img { width: 24px; height: 24px; }
@media (min-width: 768px) { .servizi-list--2col { column-count: 2; column-gap: 3rem; } .servizi-list--2col li { break-inside: avoid; } }
.comp-card h4 { font-size: 1.0625rem; color: var(--primary); margin-bottom: 0.5rem; }
.comp-card p { color: var(--muted); font-size: 0.875rem; margin: 0; line-height: 1.6; }

.servizi-list { list-style: none; padding: 0; margin: 0; }
.servizi-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; color: var(--foreground); }
.servizi-list li:last-child { border-bottom: none; }
.servizi-list li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.social-sec { background: var(--bg-alt); }

.sec--dark { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; }
.sec--dark .sec-tag { color: var(--green-light); background: rgba(61,165,102,0.15); }
.sec--dark .sec-title { color: #fff; }
.sec--dark .sec-sub { color: rgba(255,255,255,0.75); }
.sec--alt { background: var(--bg-alt); }

.step-card { position: relative; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 2rem 1.75rem; height: 100%; transition: background 0.3s, transform 0.3s; }
.step-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.step-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.5rem; color: rgba(255,255,255,0.12); line-height: 1; margin-bottom: 0.75rem; }
.step-card h4 { font-size: 1.125rem; color: #fff; margin-bottom: 0.5rem; }
.step-card p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin: 0; line-height: 1.6; }

.scale-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; text-align: center; box-shadow: var(--shadow); height: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.scale-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.scale-card__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(42,125,79,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.scale-card__icon svg { width: 28px; height: 28px; color: var(--green); }
.scale-card h4 { font-size: 1.125rem; color: var(--primary); margin-bottom: 0.5rem; }
.scale-card p { color: var(--muted); font-size: 0.9375rem; margin: 0; line-height: 1.6; }

.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; }
.contact-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(42,125,79,0.07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item__icon svg { width: 18px; height: 18px; color: var(--green); }
.contact-info-item__label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.1rem; }
.contact-info-item__value { font-size: 0.9375rem; color: var(--primary); }
.contact-info-item__value a { color: var(--primary); text-decoration: none; transition: color 0.25s; }
.contact-info-item__value a:hover { color: var(--green); }
.directions-box { background: var(--bg-alt); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.directions-box h4 { font-size: 0.9375rem; color: var(--primary); margin-bottom: 0.5rem; }
.directions-box p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.6; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.form-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 0.5rem; }
.form-card > p { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.5rem; }

.aiuti-banner { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 3rem 0; text-align: center; }
.aiuti-banner p { font-size: 0.8125rem; color: var(--muted); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.aiuti-banner a { color: var(--green); text-decoration: none; }
.aiuti-banner a:hover { text-decoration: underline; }

/* Gravity Forms: allinea al form-control del mockup */
.form-card .gform_wrapper .gfield_label { display: block; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.8125rem; color: var(--foreground); margin-bottom: 0.35rem; }
.form-card .gform_wrapper input[type=text], .form-card .gform_wrapper input[type=email], .form-card .gform_wrapper input[type=tel], .form-card .gform_wrapper select, .form-card .gform_wrapper textarea { width: 100%; padding: 0.65rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'Open Sans', sans-serif; font-size: 0.9375rem; color: var(--foreground); background: var(--bg); transition: border-color 0.25s, box-shadow 0.25s; }
.form-card .gform_wrapper input:focus, .form-card .gform_wrapper select:focus, .form-card .gform_wrapper textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(42,125,79,0.1); outline: none; }
.form-card .gform_wrapper .gform_footer input[type=submit] { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Poppins', sans-serif; font-weight: 600; border-radius: 50px; text-decoration: none; border: none; cursor: pointer; background: var(--accent); color: #fff; padding: 0.8rem 2rem; font-size: 0.9375rem; transition: background 0.25s, transform 0.25s; }
.form-card .gform_wrapper .gform_footer input[type=submit]:hover { background: var(--accent-dark); transform: translateY(-2px); }
.form-card .gform_wrapper .gform_fields { row-gap: 1.5rem; }
.form-card .gform_wrapper .gchoice { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-card .gform_wrapper input[type=checkbox] { appearance: auto; width: 1.1em; height: 1.1em; flex-shrink: 0; margin-top: 0.2em; accent-color: var(--green); }
.form-card .gform_wrapper .gchoice label { font-size: 0.8125rem; line-height: 1.5; }
.form-card .gform_wrapper .gfield--type-checkbox > legend { display: none; }
.form-card .gform_wrapper .gform_required_legend { display: none; }

.contact-col { display: flex; flex-direction: column; }
.contact-col .osm-map-wrap { flex: 1; }
.contact-col .osm-map-wrap iframe { height: 100%; min-height: 300px; }

/* Aiuti di stato: tabelle dati, su schermi stretti ogni riga diventa una scheda etichettata */
.aiuti-table { font-size: 0.8125rem; }
.aiuti-table th { font-family: 'Poppins', sans-serif; color: var(--primary); vertical-align: bottom; }
.aiuti-table tfoot th, .aiuti-table tfoot td { border-top: 2px solid var(--primary); font-weight: 700; }
.aiuti-di-stato .accordion .accordion-body { padding-top: 1.5rem; padding-bottom: 2rem; }
@media (max-width: 1199.98px) {
    .aiuti-table thead { display: none; }
    .aiuti-table, .aiuti-table tbody, .aiuti-table tfoot, .aiuti-table tr { display: block; width: 100%; }
    .aiuti-table tr { border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 1.25rem; }
    .aiuti-table td, .aiuti-table tfoot th { display: flex; gap: 1rem; justify-content: space-between; border: 0; padding: 0.3rem 0; text-align: right; background: none; }
    .aiuti-table td::before { content: attr(data-label); flex: 0 0 38%; font-weight: 600; color: var(--primary); text-align: left; }
    .aiuti-table tfoot th, .aiuti-table tfoot td { border-top: 0; }
    .aiuti-table tfoot th { text-align: left; }
}
.aiuti-di-stato .accordion-flush .accordion-item { margin-bottom: 1rem; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.aiuti-di-stato .accordion-button:not(.collapsed) { background: var(--bg-alt); color: var(--primary); box-shadow: none; }
.aiuti-di-stato .accordion-button { font-family: 'Poppins', sans-serif; font-weight: 600; }
