:root {
  --navy: #0f2540;
  --navy-dark: #0a1a2e;
  --gold: #c9a15b;
  --gold-light: #e0c186;
  --text: #1c2b3a;
  --text-light: #5c6b7a;
  --text-lighter: #94a1ad;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --border: #e5e9ee;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 37, 64, 0.08);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }

.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.section-title.center { text-align: center; }
.section-lead { color: var(--text-light); max-width: 560px; margin: 0 auto 48px; }
.section-lead.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,161,91,0.35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost-dark:hover { border-color: var(--navy); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.full-width { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 37, 64, 0.96);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo-svg { height: 34px; width: auto; flex-shrink: 0; }
.logo-img { height: 34px; width: auto; flex-shrink: 0; display: block; }

.main-nav { display: flex; gap: 32px; }
.main-nav a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem; transition: color 0.15s ease; white-space: nowrap; }
.main-nav a:hover { color: var(--gold-light); }

/* Calcolatori */
.calc-section { padding: 70px 0 90px; background: var(--bg-soft); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.calc-card { min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.calc-card h2 { font-size: 1.35rem; margin-bottom: 8px; }
.calc-desc { color: var(--text-light); font-size: 0.92rem; margin-bottom: 22px; }
.calc-result { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 14px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; font-size: 0.92rem; color: var(--text-light); }
.calc-row strong { color: var(--text); font-weight: 600; text-align: right; white-space: nowrap; }
.calc-row.highlight { margin-top: 6px; padding: 14px 16px; background: var(--navy); border-radius: 10px; color: rgba(255,255,255,0.85); }
.calc-row.highlight strong { color: var(--gold-light); font-family: var(--font-head); font-size: 1.25rem; }
.calc-disclaimer { max-width: 820px; margin: 36px auto 0; text-align: center; font-size: 0.8rem; line-height: 1.7; color: var(--text-light); }
.calc-slider { margin-bottom: 24px; gap: 0; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.slider-head output { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); white-space: nowrap; }
.calc-hint { font-size: 0.8rem; color: var(--text-lighter); margin-top: 8px; }
.calc-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 6px 0; border-radius: 3px; cursor: pointer; outline: none;
  background: linear-gradient(to right, var(--navy) var(--fill, 50%), var(--border) var(--fill, 50%)); }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(15,37,64,0.4); cursor: pointer; }
.calc-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(15,37,64,0.4); cursor: pointer; }
.calc-range::-moz-range-track { background: transparent; }
.calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(201,161,91,0.35); }
.calc-chart-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.calc-chart-head h3 { font-size: 1rem; }
.calc-chart-head .calc-legend { margin-top: 0; }
.calc-single { max-width: 720px; margin: 0 auto; }
.calc-single.wide { max-width: 900px; }
.calc-chart { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 20px; }
.calc-chart svg { width: 100%; height: auto; display: block; }
.calc-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; font-size: 0.82rem; color: var(--text-light); }
.calc-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--navy); }
.calc-legend i.dash { height: 0; background: none; border-top: 3px dashed var(--gold); border-radius: 0; }
.calc-others { max-width: 720px; margin: 44px auto 0; text-align: center; }
.calc-others p { font-size: 0.85rem; font-weight: 600; color: var(--text-light); margin-bottom: 12px; }
.calc-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.calc-pills a { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 0.88rem; font-weight: 500; color: var(--text); transition: border-color 0.15s ease; }
.calc-pills a:hover { border-color: var(--gold); }
.calc-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.calc-hub-card { display: flex; flex-direction: column; min-width: 0; }
.calc-hub-card .calc-desc { flex: 1; }
@media (max-width: 960px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .calc-card { padding: 24px 20px; } }

/* Menu a tendina "Servizi" */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-weight: 500; font-size: 0.95rem;
  color: rgba(255,255,255,0.85); transition: color 0.15s ease;
}
.nav-dropdown-toggle:hover, .nav-dropdown.open .nav-dropdown-toggle { color: var(--gold-light); }
.nav-dropdown-toggle svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translate(-50%, -6px);
  min-width: 270px;
  background: #1b3a5f;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.65);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { display: block; padding: 11px 14px; border-radius: 8px; color: #fff; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.1); }
@media (hover: hover) and (min-width: 721px) {
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-dropdown:hover .nav-dropdown-toggle { color: var(--gold-light); }
  .nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
}

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span { width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* Hero */
.hero {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy) 60%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201,161,91,0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-disclaimer {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
}

.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(150deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  overflow: hidden;
}
.hero-card-inner {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-badge {
  position: absolute;
  right: -14px;
  bottom: 24px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 20px 44px -16px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.hero-card-badge strong { font-family: var(--font-head); font-size: 1rem; }
.hero-card-badge span { font-size: 0.78rem; opacity: 0.75; }

/* Stats */
.stats { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 40px 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--navy); }
.stat-label { font-size: 0.85rem; color: var(--text-light); }

/* About */
.about { padding: 100px 0; }
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.about-photo-wrap { position: relative; }
.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  right: -14px;
  bottom: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 20px 44px -16px rgba(15,37,64,0.5);
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.about-badge strong { font-family: var(--font-head); font-size: 1rem; color: var(--gold-light); }
.about-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

.about-role { color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.about-copy p { color: var(--text-light); margin-bottom: 16px; }
.about-check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.about-check-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text); }
.check-dot {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex-shrink: 0;
}
.check-dot svg { width: 12px; height: 12px; }

/* Services */
.services { padding: 100px 0; background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,37,64,0.12); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(201,161,91,0.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 16px; }
.service-link { color: var(--navy); font-weight: 600; font-size: 0.88rem; }
.service-link:hover { color: var(--gold); }

/* Metodo */
.method { padding: 100px 0; }
.method-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.method-copy h2 { margin: 14px 0 16px; }
.method-copy p { color: var(--text-light); margin-bottom: 16px; max-width: 460px; }
.method-chart-card {
  min-width: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.method-chart-head { font-size: 0.8rem; font-weight: 600; color: var(--text-light); margin-bottom: 12px; }
.method-chart-legend { display: flex; gap: 20px; margin-top: 12px; font-size: 0.8rem; color: var(--text-light); }
.method-chart-legend span { display: flex; align-items: center; gap: 6px; }
.method-chart-legend i { width: 12px; height: 3px; border-radius: 2px; display: inline-block; }
.method-chart-note { font-size: 0.75rem; color: var(--text-light); margin-top: 14px; line-height: 1.6; }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner > div { flex: 0 1 auto; max-width: 680px; }
.cta-inner h2 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.cta-inner .btn { flex-shrink: 0; }

/* Contact */
.contact { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.contact-info p { color: var(--text-light); margin: 12px 0 28px; max-width: 400px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; }
.contact-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--navy);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-list a { font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.contact-main { display: block; font-weight: 600; }
.contact-sub { display: block; font-size: 0.78rem; color: var(--text-light); }

.contact-form { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-form-lead { font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group label .optional { font-weight: 400; color: var(--text-light); }
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .form-group textarea, .form-group select {
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  resize: vertical;
  color: #33465a;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select { background-image: linear-gradient(45deg, transparent 50%, var(--text-lighter) 50%), linear-gradient(135deg, var(--text-lighter) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-group select:invalid { color: var(--text-lighter); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-lighter); opacity: 1; }
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus, .form-group textarea:focus, .form-group select:focus { outline: none; }
.form-group input:not([type="checkbox"]):not([type="radio"]):not([type="range"]).invalid, .form-group select.invalid { border-color: var(--red); }

.form-row-checkbox { flex-direction: row; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; font-weight: 400 !important; color: var(--text-light); cursor: pointer; }
.checkbox-label input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}
.checkbox-label input[type="checkbox"].invalid { outline: 2px solid var(--red); outline-offset: 1px; }
.checkbox-label a { color: var(--navy); font-weight: 600; text-decoration: underline; }

.form-error {
  display: none;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--red-soft);
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--red);
}
.form-error.visible { display: block; }

.form-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 12px; }

/* Campo honeypot anti-spam: invisibile e non raggiungibile da visitatori veri
   (tastiera o screen reader), ma i bot che compilano ogni campo lo riempiono lo stesso. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success overlay */
.form-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15,37,64,0.45);
  backdrop-filter: blur(4px);
  z-index: 400;
}
.form-overlay.visible { display: block; }
.form-success {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  z-index: 401;
  box-shadow: 0 40px 80px -20px rgba(15,37,64,0.35);
}
.form-success.visible { display: block; }
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,161,91,0.15);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.success-icon svg { width: 24px; height: 24px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 10px; }
.form-success p { font-size: 0.92rem; color: var(--text-light); margin-bottom: 22px; line-height: 1.6; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 14px 0 20px; max-width: 300px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: rgba(255,255,255,0.18); color: #fff; }
.footer-col-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-link { display: block; font-size: 0.87rem; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s ease; }
.footer-link:hover { color: #fff; }
.footer-disclaimer { font-size: 0.74rem; line-height: 1.6; color: rgba(255,255,255,0.45); margin-top: 32px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.footer-copy { font-size: 0.78rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--gold-light); }

/* ═══ PAGINE INTERNE (servizi, legali) ═══ */

/* Page hero (variante centrata dell'hero per le sotto-pagine) */
.page-hero {
  background: linear-gradient(150deg, var(--navy-dark), var(--navy) 60%);
  color: #fff;
  padding: 140px 0 70px;
  text-align: center;
}
.page-hero-inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3rem); margin: 20px 0 18px; }
.page-hero h1 em { font-style: normal; color: var(--gold-light); }
.page-hero-lead { font-size: 1.08rem; color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 0 30px; }
.page-hero .hero-actions { justify-content: center; }

/* Sezione divisa in due colonne (testo + visual), riusata in più pagine */
.split { padding: 90px 0; }
.split.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 14px 0 16px; }
.split-copy p { color: var(--text-light); margin-bottom: 14px; max-width: 480px; }
.split-visual { display: flex; flex-direction: column; min-width: 0; }

/* Step numerati verticali (processo / come funziona) */
.step-list { display: flex; flex-direction: column; margin-top: 8px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 8px 18px -8px rgba(15,37,64,0.6);
  flex-shrink: 0;
}
.step-line { flex: 1; width: 2px; background: linear-gradient(var(--border), var(--bg-soft)); margin: 8px 0; min-height: 20px; }
.step-body { padding-top: 4px; padding-bottom: 26px; }
.step-body h4 { font-size: 1.02rem; margin-bottom: 6px; }
.step-body p { color: var(--text-light); font-size: 0.92rem; margin: 0; max-width: 460px; }

/* Card generiche a griglia (vantaggi, obiettivi, a chi si rivolge...) — stile identico a .service-card */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 12px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.info-card .service-icon { margin-bottom: 18px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* Card "problema" con bordo rosso (liquidità) */
.problem-card { background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 18px 20px; }
.problem-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.problem-card .problem-tag { display: block; font-size: 0.8rem; font-weight: 600; color: var(--red); margin-bottom: 6px; }
.problem-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* Riquadro con barre di confronto (scenario pensionistico) */
.compare-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.compare-card .method-chart-head { margin-bottom: 20px; }
.compare-row { margin-bottom: 20px; }
.compare-row-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.compare-bar { height: 14px; background: var(--bg-soft); border-radius: 7px; overflow: hidden; }
.compare-bar-fill { height: 100%; border-radius: 7px; }
.compare-highlight {
  background: var(--red-soft); border: 1px solid #fecaca; border-radius: 10px;
  padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.compare-highlight span:first-child { font-size: 0.85rem; color: var(--red); font-weight: 600; }
.compare-highlight span:last-child { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--red); }

/* FAQ accordion */
.faq { padding: 90px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 20px; font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; color: var(--text);
}
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(201,161,91,0.15); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 20px 18px; font-size: 0.92rem; line-height: 1.75; color: var(--text-light); }

/* Immagine/grafico in riquadro (analisi portafoglio, pianificazione) */
.image-panel { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.image-panel img { width: 100%; height: auto; display: block; }
.image-panel-caption { padding: 14px 18px; font-size: 0.78rem; color: var(--text-light); text-align: center; line-height: 1.5; }
.image-panel.padded { padding: 18px; }
.image-panel.padded img { border-radius: 8px; }

/* Pagine legali (Privacy Policy, Termini di Servizio) */
.legal { padding: 70px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 64px; align-items: start; }
.legal-sidebar { position: sticky; top: 96px; }
.legal-sidebar-title { font-size: 0.72rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.legal-sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.legal-sidebar-links a { display: block; font-size: 0.85rem; color: var(--text-light); padding: 7px 10px; border-radius: 6px; border-left: 2px solid transparent; }
.legal-sidebar-links a:hover { background: var(--bg-soft); color: var(--text); border-left-color: var(--gold); }
.legal-intro { font-size: 0.98rem; color: var(--text-light); line-height: 1.8; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-section h2 { font-size: 1.25rem; margin-bottom: 14px; }
.legal-section h3 { font-size: 1rem; margin: 20px 0 8px; }
.legal-section p { font-size: 0.92rem; color: var(--text-light); line-height: 1.85; margin-bottom: 12px; }
.legal-section ul, .legal-section ol { margin: 8px 0 12px 22px; }
.legal-section li { font-size: 0.92rem; color: var(--text-light); line-height: 1.8; margin-bottom: 4px; }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-section a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.legal-highlight { background: var(--bg-soft); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 16px 0; }
.legal-highlight p { margin-bottom: 0 !important; font-size: 0.9rem; }

@media (max-width: 960px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-sidebar { display: none; }
}

@media (max-width: 1120px) {
  .cta-inner { flex-direction: column; text-align: center; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-badge, .hero-lead, .hero-disclaimer { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; max-width: 340px; margin: 0 auto 40px; }
  .about-inner { grid-template-columns: 1fr; }
  .photo-frame { max-width: 280px; margin: 0 auto; }
  .about-badge { right: 50%; transform: translateX(50%); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .method-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-dropdown-menu {
    position: static; transform: none; min-width: 0;
    background: transparent; border: 0; box-shadow: none;
    padding: 10px 0 0 14px; opacity: 1; visibility: visible;
    display: none;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; transform: none; }
  .nav-dropdown-menu a { padding: 9px 0; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 20px 24px;
    gap: 18px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
