/* ========================================== */
/* RESET & BASE */
/* ========================================== */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; border: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
html { overflow-y: scroll; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
* { margin: 0; padding: 0; box-sizing: border-box; border: none; }
.clear { width: 100%; height: 0; margin: 0; padding: 0; border: none; clear: both; }
body { width: 100%; height: auto; font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 20px; background-color: rgba(0,51,153,1.00); }
.page-wrapper { display: flex; flex-direction: column; overflow: hidden; width: 100%; max-width: 950px; margin: 0 auto; padding: 0 10px 10px; }
/* ========================================== */
/* HEADING */
/* ========================================== */
.logo { display: flex; justify-content: space-between; align-items: center; gap: 16px; overflow: hidden; width: 100%; max-width: 950px; height: 44px; min-height: 44px; margin: 0 auto 0; padding: 0 20px; background-color: rgba(0,0,0,0.0); box-sizing: border-box; }
.logo .mng { flex: 0 1 auto; width: auto; max-width: 40%; min-width: 0; height: auto; max-height: 28px; object-fit: contain; object-position: left center; }
.logo .tim { flex: 1 1 auto; width: auto; max-width: 55%; min-width: 0; height: auto; max-height: 28px; object-fit: contain; object-position: right center; }
header { display: flex; flex-direction: column; justify-content: center; width: 100%; padding: 20px 10px 10px; border-radius: 8px; background-color: rgba(255,255,255,0.00); cursor: pointer; transition: transform 0.3s ease; }
header:hover { transform: scale(1.02); }
.head { width: 100%; padding: 0 20px 20px; text-align: left; }
.head h1 { margin: 0 0 12px 0; font-size: 62px; font-weight: 400; line-height: 68px; font-style: italic; color: rgba(255,255,255,1); text-shadow: 3px 3px 5px rgba(0,0,0,0.00); }
.head h1 strong { font-size: 72px; font-weight: 800; line-height: 58px; }
.head h2 {font-size:30px;line-height: 34px; color: rgba(255,255,255,1);}

.head p { margin: 0; font-size: 20px; font-weight: 500; line-height: 30px; color: rgba(255,255,255,0.9); text-shadow: 3px 3px 5px rgba(0,0,0,0.00); }
.head p strong { font-weight: 800; }
.head-image { display: flex; justify-content: flex-start; width: 100%; margin-top: 10px; }
.head-image img { max-width: 100%; height: auto; }
/* ========================================== */
/* MAIN */
/* ========================================== */
#main { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "img content"; gap: 30px; overflow: hidden; width: 100%; margin: 0 0 20px; padding:20px 30px 40px; background-color: rgba(255,255,255,0.90); border-radius: 8px; box-shadow: 4px 4px 12px rgba(0,0,0,0.50); }
.main-title { grid-area: title; width: 100%; margin: 0; }
.main-title p {font-size: 22px;}
.main-title p strong {font-weight: 700;}
.main-title h2 { margin: 0 0 8px; font-size: 32px; font-weight: 700; line-height: 36px; color:rgba(0, 51, 153, 1.00); }
.main-img { grid-area: img; overflow: hidden; width: 100%; margin: 0; text-align: center; }
.main-img img { display: block; width: 100%; max-width: 461px; height: auto; margin: 0 auto; }
.main-top { grid-area: content; width: 100%; margin: 0; }
.main-top [role="list"] { display: block; margin: 20px 0 0; padding: 0; }
.main-top [role="listitem"] { position: relative; overflow: hidden; width: 100%; margin: 0 0 10px; padding: 12px 10px 12px 36px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 16px; line-height: 20px; color: rgba(0,51,153,1); background: rgba(255,255,255,0.7); border: 1px solid rgba(0,51,153,0.15); border-radius: 8px; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.main-top [role="listitem"]::before { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); content: "✓"; font-weight: 700; font-size: 14px; color: rgba(36,159,0,1); }
.main-top [role="listitem"]:hover { transform: translateY(-2px); background: rgba(255,255,255,1); box-shadow: 0 4px 10px rgba(0,0,0,0.08); }
.red { font-weight: 600; color: #c00; }
/* ========================================== */
/* FORM */
/* ========================================== */
.form-section { width: 100%; padding: 40px 30px; background-color: rgba(255,255,255,0.90); border-radius: 8px; box-shadow: 4px 4px 12px rgba(0,0,0,0.50); }
.form-section h2 { margin-bottom: 2px; font-weight: 500; font-size: 26px; line-height: 28px; color: rgba(0,51,153,1.00); text-align: center; }
.form-section h2 strong { font-weight: 700 !important; }
.form-section p { margin-bottom: 2px; font-weight: 300; font-size: 14px; line-height: 18px; text-align: center; }
.form-section p.sub { margin-bottom: 20px; font-size: 14px; line-height: 18px; }
p.tutela-sms { margin-top: 12px; font-weight: 700 !important; font-size: 14px; line-height: 18px; color: rgba(36,159,0,1.00) !important; }
form { width: 100%; max-width: 740px; margin: 0 auto; }
fieldset label { display: block; padding-left: 8px; font-weight: 500; font-size: 12px; text-align: left; }
fieldset div { position: relative; width: 100%; margin: 0 0 18px 0; padding: 0; }
fieldset input, fieldset select { width: 100%; padding: 16px 8px 16px 16px; font-family: 'Poppins', sans-serif; font-size: 12px; background-color: rgba(255,255,255,1); border: #c4c4c4 solid 1px; }
fieldset input:focus, fieldset select:focus { background-color: #FDF8E3; border: rgba(255,255,255,0) solid 1px; outline: none; }
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.select { padding: 18px 8px 18px 16px; background: #FFF url(/assets/img/select-arrow.png) no-repeat 97% 50%; color: #888; cursor: pointer; }
fieldset .policy { display: flex; align-items: flex-start; flex-wrap: wrap; width: 100%; margin-bottom: 20px; }
fieldset .policy .label-flex { display: flex; align-items: flex-start; flex-wrap: nowrap; }
fieldset .policy .label-flex input { margin-right: 10px; margin-top: 4px; }
fieldset .policy .label-flex p { flex: 1; margin: 0; padding: 0; font-size: 10px !important; line-height: 12px !important; text-align: left; }
fieldset .policy .label-flex a { color: rgba(185, 0, 0, 1); text-decoration: underline; }
fieldset .policy .check { width: 20px; margin-left: 8px; }
.invio { width: 100%; max-width: 280px; margin: 0 auto; }
input[type=submit] { width: 100%; padding: 12px 20px 12px !important; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; text-transform: uppercase; color: rgba(255,255,255,1.00); background-color: rgba(11,52,102,1.00); border-radius: 10px; cursor: pointer; }
input:hover[type=submit] { color: #fff; background-color: rgba(0,102,0,1); }
input:required, select:required { background-color: #fff; border: #c4c4c4 solid 1px; }
input:required:focus:invalid, select:required:focus:invalid { border: #F00 solid 1px; }
input:required:valid, select:required:valid { border: #0C0 solid 1px; }
.telefono { display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; column-gap: 0; row-gap: 6px; align-items: center; width: 100%; }
  .telefono label { grid-column: 1/-1; grid-row: 1; font-weight: 700; letter-spacing: 0.05rem; color: rgba(36,159,0,1.00); }
.telefono p.prefix { display: flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 2; height: 100%; padding: 0 0 0 16px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 12px !important; color: rgba(11,52,102,1.00) !important; background: rgba(255,255,255,1); border: rgba(196,196,196,1) solid 1px; border-right: none; pointer-events: none; box-sizing: border-box; }
.telefono input[type="tel"] { grid-column: 2; grid-row: 2; padding-left: 16px; border-left: none; box-sizing: border-box; }
input.tel-warning { background-color: #fff5f5 !important; border: 2px solid #d32f2f !important; box-shadow: inset 0 0 0 1px rgba(211,47,47,0.35); }
input.tel-warning:focus { background-color: #fff5f5 !important; border: 2px solid #d32f2f !important; box-shadow: inset 0 0 0 1px rgba(211,47,47,0.35); }
#errore-fisso-dinamico { display: none; clear: both; margin: 10px 0 12px; padding: 12px; font-size: 14px; line-height: 18px; color: #000; background: #fff8e1; border-left: 5px solid #ffcc00; border-radius: 4px; }
#errore-fisso-dinamico strong { font-weight: 800; color: rgba(185,0,0,1); }
.obbligatorio { width: 100%; clear: both; }
.obbligatorio p { padding: 0 0 0 10px; margin-top: -10px; font-size: 12px; line-height: 16px; color: rgba(36,159,0,1.00); text-align: left; }
.obbligatorio p strong { font-weight: 700; }
/* ========================================== */
/* FOOTER */
/* ========================================== */
.logo-footer { overflow: hidden; width: 100%; max-width: 380px; margin: 20px auto 0; padding: 0 10px; }
.footer { overflow: hidden; width: 100%; max-width: 780px; margin: 0 auto; padding: 20px; }
.footer p { padding: 0 0 10px 0; font-size: 12px; color: #FFFFFF; text-align: center; }
.footer a { color: #FFFFFF; }
.publicer { width: 20px; margin: 0 auto; }
/* ========================================== */
/* VARIE */
/* ========================================== */
.yellow { color: rgba(255,255,0,1.00); }
.intero { display: inline-block; }
.fluid { width: 100%; height: auto; }
.red { color: rgba(36,159,0,1.00); }
.blu { color: rgba(0,51,153,1.00) !important; }
.mb-20 { margin-bottom: 20px; }
.hidden-desk { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* --- SEZIONE FAQ - LAYOUT STRUTTURALE --- */
.faq-section { max-width: 800px; margin: 0 auto; padding: 60px 20px; font-family: 'Poppins', sans-serif; }
.faq-section h2 { text-align: center; margin: 0 0 20px 0; font-size: 28px; font-weight: 700; color: #002f6c; }
.faq-container { overflow: hidden; background: #ffffff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.faq-item { border-bottom: 1px solid #eef2f7; }
.faq-item:last-child { border-bottom: none; }

/* --- SEZIONE FAQ - TRIGGER E ICONA --- */
.faq-trigger { display: flex; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; padding: 20px 25px; font-size: 16px; font-weight: 600; color: #333333; background: none; border: none; outline: none; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; }
.faq-trigger:hover { color: #002f6c; background-color: #f4f7fc; }
.faq-icon { margin-left: 15px; font-size: 22px; font-weight: 400; color: #002f6c; transition: transform 0.3s ease; }
.faq-item.active .faq-trigger { color: #002f6c; background-color: #f4f7fc; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* --- SEZIONE FAQ - CONTENUTO FISARMONICA --- */
.faq-content { max-height: 0; overflow: hidden; background-color: #ffffff; transition: max-height 0.3s ease-out; }
.faq-content p { padding: 20px; margin: 0; font-size: 15px; line-height: 1.6; text-align: left; color: #666666; }

/* --- SEZIONE FAQ - INFERIORE E CALL TO ACTION --- */
.faq-cta { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 40px; text-align: center; }
.faq-cta h2 { margin: 0 0 15px 0; font-size: 24px; font-weight: 700;color: rgba(0, 51, 153, 1.00);}
.faq-cta p { margin: 15px 0 0 0; font-size: 15px; font-weight: 600!important; }
.faq-scroll-btn { padding: 15px 50px; font-size: 16px; font-weight: 700; color: #ffffff; background-color: rgba(36, 159, 0, 1.00); border: none; border-radius: 50px; cursor: pointer; box-shadow: 0 4px 10px rgba(36, 159, 0, 0.3); transition: transform 0.2s ease, background-color 0.2s ease; }
.faq-scroll-btn:hover { background-color: #1e8200; transform: translateY(-2px); }
.faq-scroll-btn:active { transform: translateY(0); }


/* ========================================== */
/* MEDIA QUERIES (MAX-WIDTH: 768px) */
/* ========================================== */
@media (max-width: 768px) {
  .logo { gap: 12px; height: 48px; min-height: 48px; margin: 6px auto 0; padding: 0 16px; }
  .logo .mng { max-width: 42%; max-height: 30px; }
  .logo .tim { max-width: 54%; max-height: 30px; }
  header { flex-direction: column; align-items: center; padding: 20px 0 0; }
  .head { width: 100%; padding: 0 0 10px 0; margin: 0 auto; text-align: center; }
  .head h1 { font-size: 52px; line-height: 58px; }
  .head h1 strong { font-size: 64px; line-height: 58px; }
  .head-image { max-width: 480px; justify-content: center; }
  #main { grid-template-columns: 1fr; grid-template-areas: "title" "img" "content"; padding: 0 15px; gap: 10px; background: none;box-shadow: none; }
  .main-title h2 { font-size: 22px; line-height: 24px; text-align: center; }
  .main-top {display:none;}  
  .page-wrapper { max-width: 580px; }
  .form-section { padding: 20px 10px !important; }
  .form-section h2 { font-size: 22px; line-height: 24px; }
  .form-section p { margin: 10px 0; font-size: 16px; line-height: 18px; }
  fieldset .policy .label-flex p { font-weight: 400 !important; }
  .hidden-desk { display: block; }
  /* --- SEZIONE FAQ - RESPONSIVE --- */
.faq-section h2 { font-size: 22px; } 
  .faq-trigger { padding: 15px; font-size: 15px; text-align: left;} 
  .faq-content p { padding: 0 15px 15px 15px; font-size: 14px; } 
  .faq-scroll-btn { width: 100%; padding: 15px 20px; font-size: 14px; } 
}

/* ========================================== */
/* MEDIA QUERIES (MAX-WIDTH: 480px) */
/* ========================================== */
@media (max-width: 480px) {
  .logo { height: 44px; min-height: 44px; }
  .logo .mng { max-height: 28px; }
  .logo .tim { max-height: 28px; }
  
  .header {padding:20px 0 0;}
  .head {text-align: left;}
  .head h1 { font-size: 36px; line-height:36px; }
  .head h1 strong { font-size: 40px; line-height: 36px; }
  .head h2 {font-size:22px;}
  .head p {font-size:16px;line-height: 25px;}

}