/* ==========================================================
   Erva Infissi – design system
   Palette dal biglietto: blu ERVA, azzurro/ciano, giallo-verde
   ========================================================== */
:root {
	--navy: #0B2350;
	--blue: #1D4FA3;
	--blue-600: #173F85;
	--cyan: #2BB0DA;
	--cyan-50: #EAF6FB;
	--cyan-100: #D3EDF7;
	--lime: #B5CB1F;
	--lime-600: #94A80F;
	--ink: #17202E;
	--muted: #556175;
	--line: #DCE5EC;
	--bg: #F5F8FA;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px rgba(11, 35, 80, .08);
	--shadow-lg: 0 24px 60px rgba(11, 35, 80, .16);
	--font-h: 'Outfit', system-ui, sans-serif;
	--font-b: 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
body, body.et_divi_theme { font-family: var(--font-b); color: var(--ink); font-size: 17px; line-height: 1.7; background: var(--white); }
body #page-container { overflow-x: clip; }
.erva-page h1, .erva-page h2, .erva-page h3, .erva-page h4,
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--navy); font-weight: 700; line-height: 1.15; padding-bottom: 0; letter-spacing: -.01em; }
.erva-page p { padding-bottom: 0; margin: 0 0 1em; }
.erva-page p:last-child { margin-bottom: 0; }
.erva-page a { color: var(--blue); }
.erva-page ul { padding: 0; list-style: none; }
.erva-page img { display: block; max-width: 100%; height: auto; }

/* Le sezioni Divi diventano contenitori neutri: la griglia la gestisce .erva-wrap */
.et_pb_section.erva-sec { padding: 0 !important; background: transparent; }
.et_pb_section.erva-sec > .et_pb_row { width: 100%; max-width: none; padding: 0 !important; margin: 0; }
.et_pb_section.erva-sec .et_pb_column { margin: 0 !important; width: 100% !important; }
.et_pb_section.erva-sec .et_pb_text { margin: 0 !important; }
.et_pb_section.erva-sec .et_pb_text_inner { width: 100%; }

.erva-wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.erva-block { padding: clamp(64px, 8vw, 110px) 0; }
.erva-block--tight { padding: clamp(48px, 6vw, 72px) 0; }
.erva-bg-soft { background: var(--bg); }
.erva-bg-cyan { background: linear-gradient(180deg, var(--cyan-50), #fff); }
.erva-bg-navy { background: var(--navy); color: #C9D6EA; }
.erva-bg-navy h2, .erva-bg-navy h3 { color: #fff; }

/* ---------- Tipografia ---------- */
.erva-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px !important; }
.erva-eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--lime); box-shadow: 0 8px 0 -0px rgba(181, 203, 31, .45); }
.erva-bg-navy .erva-eyebrow, .erva-hero .erva-eyebrow { color: var(--cyan); }
.erva-h2 { font-size: clamp(30px, 3.6vw, 46px) !important; margin-bottom: 18px; }
.erva-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 680px; }
.erva-head { margin-bottom: clamp(36px, 4vw, 56px); }
.erva-head--center { text-align: center; }
.erva-head--center .erva-lead { margin-left: auto; margin-right: auto; }
.erva-head--center .erva-eyebrow { justify-content: center; }

/* ---------- Pulsanti ---------- */
.erva-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.erva-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--font-h); font-weight: 600; font-size: 16px; text-decoration: none !important; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; border: 2px solid transparent; }
.erva-btn:hover { transform: translateY(-2px); }
.erva-btn--primary { background: var(--lime); color: var(--navy) !important; box-shadow: 0 8px 22px rgba(181, 203, 31, .35); }
.erva-btn--primary:hover { background: #C4D93A; }
.erva-btn--blue { background: var(--blue); color: #fff !important; }
.erva-btn--blue:hover { background: var(--blue-600); }
.erva-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.erva-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.erva-btn--outline { border-color: var(--blue); color: var(--blue) !important; }
.erva-btn--outline:hover { background: var(--blue); color: #fff !important; }
.erva-btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.erva-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy); }
.erva-hero__media, .erva-hero__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.erva-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 35, 80, .94) 0%, rgba(11, 35, 80, .78) 45%, rgba(29, 79, 163, .35) 100%); }
.erva-hero__inner { padding: clamp(90px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); max-width: 720px; }
.erva-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 68px) !important; font-weight: 800; margin-bottom: 22px; }
.erva-hero h1 em { font-style: normal; color: var(--lime); }
.erva-hero p { font-size: clamp(17px, 1.5vw, 20px); color: #D7E3F4; max-width: 600px; }
.erva-hero--page .erva-hero__inner { padding: clamp(80px, 9vw, 130px) 0 clamp(64px, 7vw, 100px); }
.erva-hero--page h1 { font-size: clamp(34px, 4.6vw, 56px) !important; }
.erva-crumbs { font-size: 14px; color: #A9BCD9; margin-bottom: 18px !important; }
.erva-crumbs a { color: #fff !important; text-decoration: none; }
.erva-hero__stripes { position: absolute; right: -40px; bottom: 50px; display: grid; gap: 12px; justify-items: end; z-index: 0; opacity: .9; }
.erva-hero__stripes span { display: block; height: 12px; border-radius: 6px; background: var(--lime); }
.erva-hero__stripes span:nth-child(1) { width: 220px; } .erva-hero__stripes span:nth-child(2) { width: 170px; opacity: .75; } .erva-hero__stripes span:nth-child(3) { width: 120px; opacity: .5; }

.erva-trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 40px !important; font-size: 15px; color: #D7E3F4; }
.erva-trust li { display: flex; align-items: center; gap: 8px; }
.erva-trust li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2350' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

/* ---------- Barra vantaggi ---------- */
.erva-usp { position: relative; z-index: 2; margin-top: -54px; }
.erva-usp ul { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin: 0; }
.erva-usp li { padding: 28px 26px; border-right: 1px solid var(--line); }
.erva-usp li:last-child { border-right: 0; }
.erva-usp strong { display: block; font-family: var(--font-h); font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.erva-usp span { font-size: 15px; color: var(--muted); line-height: 1.5; display: block; }

/* ---------- Card prodotti ---------- */
.erva-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.erva-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none !important; color: var(--ink) !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.erva-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.erva-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cyan-50); }
.erva-card__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.erva-card:hover .erva-card__img img { transform: scale(1.04); }
.erva-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.erva-card h3 { font-size: 22px !important; margin-bottom: 8px; }
.erva-card p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.erva-card__more { margin-top: auto; padding-top: 18px; font-family: var(--font-h); font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.erva-card__more::after { content: "→"; transition: transform .2s; }
.erva-card:hover .erva-card__more::after { transform: translateX(4px); }
.erva-card__tag { position: absolute; top: 16px; left: 16px; background: var(--lime); color: var(--navy); font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }

/* ---------- Split immagine/testo ---------- */
.erva-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.erva-split + .erva-split { margin-top: clamp(64px, 8vw, 110px); }
.erva-split--rev .erva-split__media { order: 2; }
.erva-split__media { position: relative; }
.erva-split__media img { width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.erva-split__media::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 45%; height: 45%; border-radius: var(--radius-lg); background: repeating-linear-gradient(180deg, var(--lime) 0 8px, transparent 8px 18px); opacity: .55; z-index: -1; }
.erva-split--rev .erva-split__media::before { left: auto; right: -18px; }
.erva-split h2, .erva-split h3 { font-size: clamp(28px, 3vw, 40px) !important; margin-bottom: 18px; }
.erva-split p { color: var(--muted); }

.erva-checks { margin: 22px 0 0 !important; display: grid; gap: 12px; }
.erva-checks li { position: relative; padding-left: 34px; line-height: 1.55; }
.erva-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4FA3' stroke-width='3.2'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }
.erva-checks strong { color: var(--navy); }

/* ---------- Feature grid ---------- */
.erva-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.erva-features--4 { grid-template-columns: repeat(4, 1fr); }
.erva-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.erva-bg-navy .erva-feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.erva-feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cyan-50); color: var(--blue); margin-bottom: 20px; }
.erva-bg-navy .erva-feature__icon { background: rgba(43, 176, 218, .16); color: var(--cyan); }
.erva-feature__icon svg { width: 26px; height: 26px; }
.erva-feature h3 { font-size: 20px !important; margin-bottom: 8px; }
.erva-feature p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.erva-bg-navy .erva-feature p { color: #B7C6DE; }

/* ---------- Processo ---------- */
.erva-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.erva-step { position: relative; padding-top: 70px; }
.erva-step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-h); font-weight: 800; font-size: 46px; line-height: 1; color: var(--cyan); }
.erva-step::after { content: ""; position: absolute; top: 22px; left: 76px; right: 0; height: 2px; background: linear-gradient(90deg, rgba(43, 176, 218, .5), transparent); }
.erva-step:last-child::after { display: none; }
.erva-step h3 { font-size: 20px !important; margin-bottom: 8px; }
.erva-step p { font-size: 15.5px; color: #B7C6DE; line-height: 1.6; }

/* ---------- Banda Schüco ---------- */
.erva-brand-band { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 40px; box-shadow: var(--shadow); }
.erva-brand-band__logo { font-family: var(--font-h); font-weight: 800; font-size: 34px; letter-spacing: .12em; color: var(--navy); border-right: 1px solid var(--line); padding-right: 36px; }
.erva-brand-band__logo small { display: block; font-size: 12px; letter-spacing: .1em; font-weight: 700; color: #fff; background: var(--lime-600); border-radius: 4px; padding: 3px 8px; margin-top: 6px; text-align: center; }
.erva-brand-band h3 { font-size: 22px !important; margin-bottom: 4px; }
.erva-brand-band p { color: var(--muted); font-size: 15.5px; }

/* ---------- Zone servite ---------- */
.erva-zones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }
.erva-zones li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 15px; font-weight: 500; color: var(--navy); }
.erva-bg-navy .erva-zones li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Gallery ---------- */
.erva-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.erva-gallery figure { margin: 0; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--cyan-50); }
.erva-gallery img { width: 100%; height: 100% !important; object-fit: cover; }

/* ---------- FAQ ---------- */
.erva-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.erva-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 26px; transition: box-shadow .2s; }
.erva-faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.erva-faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative; font-family: var(--font-h); font-weight: 600; font-size: 18px; color: var(--navy); }
.erva-faq summary::-webkit-details-marker { display: none; }
.erva-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--cyan-50); color: var(--blue); display: grid; place-items: center; font-size: 20px; transition: transform .2s; }
.erva-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.erva-faq details > div { padding: 0 0 24px; color: var(--muted); }

/* ---------- CTA ---------- */
.erva-cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%); color: #D7E3F4; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.erva-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(43, 176, 218, .18); }
.erva-cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 42px) !important; margin-bottom: 12px; }
.erva-cta .erva-btns { margin-top: 0; justify-content: flex-end; position: relative; }
.erva-cta__phones { font-family: var(--font-h); font-size: 15px; color: #A9BCD9; margin-top: 14px !important; }
.erva-cta__phones a { color: #fff !important; font-weight: 600; text-decoration: none; }

/* ---------- Contatti ---------- */
.erva-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.erva-contact__list { display: grid; gap: 14px; margin: 26px 0 0 !important; }
.erva-contact__item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none !important; color: var(--ink) !important; transition: box-shadow .2s, border-color .2s; }
a.erva-contact__item:hover { box-shadow: var(--shadow); border-color: transparent; }
.erva-contact__item .erva-feature__icon { margin: 0; flex: none; }
.erva-contact__item small { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.erva-contact__item strong { font-family: var(--font-h); font-size: 19px; color: var(--navy); }
.erva-form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 44px); }

/* Form Divi */
.erva-form .et_pb_contact_form_container, .erva-form { padding: 0 !important; }
.erva-form .et_pb_contact_main_title { font-family: var(--font-h); font-size: 26px; color: var(--navy); margin-bottom: 20px; }
.erva-form .et_pb_contact_field input, .erva-form .et_pb_contact_field textarea, .erva-form .et_pb_contact_field select, .erva-form .et_pb_contact_captcha { background: var(--bg) !important; border: 1px solid var(--line) !important; border-radius: 10px !important; padding: 14px 16px !important; font-size: 16px !important; color: var(--ink) !important; font-family: var(--font-b) !important; }
.erva-form .et_pb_contact_field input:focus, .erva-form .et_pb_contact_field textarea:focus { border-color: var(--cyan) !important; background: #fff !important; outline: 3px solid rgba(43, 176, 218, .2); }
.erva-form .et_pb_contact_submit { background: var(--lime) !important; color: var(--navy) !important; border: 0 !important; border-radius: 999px !important; font-family: var(--font-h) !important; font-weight: 600 !important; font-size: 17px !important; padding: 12px 34px !important; }
.erva-form .et_pb_contact_submit::after { display: none; }
.erva-form .et_contact_bottom_container { float: none; text-align: left; margin-top: 10px; }
.erva-map { margin-top: 26px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.erva-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Header Divi ---------- */
#main-header { box-shadow: 0 1px 0 var(--line) !important; }
#top-header { background: var(--navy) !important; }
#top-header, #top-header a { font-family: var(--font-b); font-size: 13.5px; color: #D7E3F4 !important; }
#et-info-phone::before, #et-info-email::before { color: var(--lime); }
#logo { max-height: 64% !important; width: auto; }
#top-menu li a { font-family: var(--font-h); font-weight: 600; font-size: 15.5px; color: var(--navy) !important; }
#top-menu li.current-menu-item > a, #top-menu li.current-menu-ancestor > a, #top-menu li a:hover { color: var(--blue) !important; opacity: 1 !important; }
#top-menu li.menu-cta > a { background: var(--lime); color: var(--navy) !important; padding: 12px 22px !important; border-radius: 999px; }
#top-menu li { padding-right: 22px; }
#top-menu .sub-menu { border-top: 3px solid var(--lime); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); width: 290px; }
#top-menu .sub-menu li { width: 100%; padding: 0 14px; }
#top-menu .sub-menu li a { width: 100%; font-size: 15px; padding: 9px 12px; border-radius: 8px; }
#top-menu .sub-menu li a:hover { background: var(--cyan-50); }
.et_mobile_menu { border-top-color: var(--lime) !important; }
.et_mobile_menu li a { font-family: var(--font-h); font-weight: 600; color: var(--navy) !important; }
.mobile_menu_bar::before { color: var(--navy) !important; }

/* ---------- Footer ---------- */
.erva-footer { background: var(--navy) !important; color: #B7C6DE; position: relative; padding-top: 80px; font-size: 15.5px; }
.erva-footer__stripes { position: absolute; top: 0; left: 0; right: 0; display: grid; }
.erva-footer__stripes span { height: 4px; background: var(--lime); }
.erva-footer__stripes span:nth-child(2) { background: var(--cyan); }
.erva-footer__stripes span:nth-child(3) { background: var(--blue); }
.erva-footer__grid { width: min(1200px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr; gap: 44px; padding-bottom: 56px; }
.erva-footer__brand img { width: 210px; height: auto; margin-bottom: 18px; }
.erva-footer__badge { display: inline-block; margin-top: 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.erva-footer__badge strong { color: var(--lime); }
.erva-footer__title { font-family: var(--font-h); font-weight: 700; font-size: 16px; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.erva-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.erva-footer a { color: #D7E3F4; text-decoration: none; }
.erva-footer a:hover { color: var(--lime); }
.erva-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); width: min(1200px, 100% - 40px); margin: 0 auto; padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: #8EA2C2; }

/* ---------- CTA mobile ---------- */
.erva-mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.erva-usp ul { grid-template-columns: 1fr 1fr; }
	.erva-usp li:nth-child(2) { border-right: 0; }
	.erva-usp li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.erva-cards, .erva-features, .erva-features--4 { grid-template-columns: 1fr 1fr; }
	.erva-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.erva-step::after { display: none; }
	.erva-split, .erva-contact, .erva-cta { grid-template-columns: 1fr; }
	.erva-split--rev .erva-split__media { order: 0; }
	.erva-cta .erva-btns { justify-content: flex-start; }
	.erva-brand-band { grid-template-columns: 1fr; text-align: center; }
	.erva-brand-band__logo { border-right: 0; padding-right: 0; }
	.erva-footer__grid { grid-template-columns: 1fr 1fr; }
	.erva-hero__stripes { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.erva-usp { margin-top: -30px; }
	.erva-usp ul, .erva-cards, .erva-features, .erva-features--4, .erva-steps, .erva-footer__grid { grid-template-columns: 1fr; }
	.erva-usp li { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; }
	.erva-usp li:last-child { border-bottom: 0; }
	.erva-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
	.erva-btn { width: 100%; }
	.erva-split__media::before { display: none; }
	.erva-mobile-cta { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: #fff; box-shadow: 0 -6px 20px rgba(11, 35, 80, .12); padding: 8px; gap: 8px; }
	.erva-mobile-cta a { display: grid; place-items: center; min-height: 48px; border-radius: 12px; font-family: var(--font-h); font-weight: 600; font-size: 15px; color: var(--navy); background: var(--cyan-50); text-decoration: none; }
	.erva-mobile-cta a.is-primary { background: var(--lime); }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* ---------- Sezione contatti (row Divi a 2 colonne) ---------- */
.et_pb_section.erva-contact-sec { padding: clamp(64px, 8vw, 110px) 0 !important; }
.et_pb_row.erva-contact-row { width: min(1200px, 100% - 40px); max-width: none; padding: 0; display: flex; gap: clamp(32px, 5vw, 64px); align-items: flex-start; }
.et_pb_row.erva-contact-row > .et_pb_column { margin: 0 !important; }
.et_pb_row.erva-contact-row > .et_pb_column:first-child { flex: 1 1 40%; }
.et_pb_row.erva-contact-row > .et_pb_column.erva-form-card { flex: 1 1 60%; }
@media (max-width: 980px) { .et_pb_row.erva-contact-row { flex-direction: column; } .et_pb_row.erva-contact-row > .et_pb_column { width: 100% !important; } }

/* Reset liste Divi dentro i componenti */
.et_pb_text_inner ul[class^="erva-"], .et_pb_text_inner ul[class*=" erva-"], .et_pb_text_inner .erva-usp ul, .erva-footer ul { list-style: none !important; padding: 0 !important; }
.et_pb_text_inner ul[class*="erva-"] li, .erva-usp li { list-style: none !important; }
/* Sicurezza contro paragrafi/br automatici */
.erva-cards > p, .erva-cards > br, .erva-gallery > p, .erva-gallery > br, .erva-features > p, .erva-features > br, .erva-steps > p, .erva-steps > br, .erva-split > p:empty, .erva-split > br { display: none; }
[class*="erva-"] > p:empty, [class*="erva-"] > br, .erva-card > p, .erva-split__media > p, .erva-hero__media > p { display: none !important; }
@media (max-width: 640px) { #et-info-email { display: none !important; } }
