:root {
  --navy: #101828;
  --navy-2: #1D2939;
  --navy-3: #0B1220;
  --gold: #D9A441;
  --gold-soft: #F5E6C4;
  --cream: #FAF8F3;
  --text: #1B1B1B;
  --muted: #667085;
  --border: #E8E4DA;
  --error: #C0392B;
  --green: #2D6A4F;
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* ---------- deadline bar ---------- */
.deadline-bar {
  background: var(--gold);
  color: #3a2c07;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: .5px;
}
.brand-name { font-family: 'Playfair Display', serif; font-size: 21px; color: #fff; font-weight: 600; }
.brand-name em { color: var(--gold); }
.nav { display: flex; gap: 26px; }
.nav a { color: #C7CEDB; font-size: 14.5px; font-weight: 400; }
.nav a:hover { color: #fff; }
.btn-header {
  background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: 14px;
  padding: 10px 22px; border-radius: 100px;
}
.btn-header:hover { background: #e6b657; }
@media (max-width: 800px) { .nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  padding: 90px 0 100px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 6px; background: linear-gradient(90deg, var(--gold), transparent, var(--gold));
}
.eyebrow {
  font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 600; line-height: 1.14; margin-bottom: 24px;
}
.hero h1 em { color: var(--gold); }
.lead { font-size: 17.5px; color: #B8C0CE; max-width: 640px; margin: 0 auto 36px; font-weight: 300; }
.hero-badges { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 14px 24px; font-size: 13.5px; color: #D5DAE3;
}
.badge-num { display: block; font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.hero-note { margin-top: 16px; font-size: 12.5px; color: #8E97A8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--gold); color: var(--navy);
  font-family: inherit; font-weight: 600; font-size: 16px;
  padding: 16px 40px; border-radius: 100px;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { background: #e6b657; transform: translateY(-1px); }
.btn-lg { font-size: 17px; padding: 18px 46px; }
.btn-gold { background: var(--gold); color: var(--navy); }

/* ---------- form ---------- */
.form-section { background: var(--cream); padding: 70px 0; position: relative; }
.form-wrap {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 42px 40px;
  box-shadow: 0 20px 50px rgba(16,24,40,.07);
}
.form-head { text-align: center; margin-bottom: 28px; }
.form-head h2 { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--navy); margin-bottom: 8px; }
.form-head p { color: var(--muted); font-size: 15px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--navy); }
.field input, .field select {
  width: 100%; padding: 13px 15px; font-size: 15px; font-family: inherit;
  border: 1.5px solid var(--border); border-radius: 9px; background: #FCFCFA;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.form-privacy { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
.error-msg {
  display: none; background: #FDEDEA; color: var(--error);
  border: 1px solid #F5C6C0; padding: 12px 16px; border-radius: 9px;
  font-size: 14px; margin-bottom: 18px;
}
.success-panel { display: none; text-align: center; padding: 20px 0 10px; }
.success-panel .check {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%;
  background: #E8F3EE; color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}
.success-panel h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--navy); margin-bottom: 8px; }
.success-panel p { color: var(--muted); font-size: 14.5px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: #F3F0E8; }
.section.dark { background: var(--navy); color: #fff; }
.section.darker { background: var(--navy-3); color: #fff; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 600; line-height: 1.16; margin-bottom: 18px;
}
.section-title em { color: var(--gold); }
.section-sub { color: var(--muted); max-width: 640px; font-size: 16px; font-weight: 300; margin-bottom: 44px; }
.dark .section-sub, .darker .section-sub { color: #A9B2C2; }
.dark .eyebrow, .darker .eyebrow { color: var(--gold); }

/* cards urgenza */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--navy-2); border-radius: 14px; padding: 30px 26px;
  border: 1px solid rgba(255,255,255,.07);
}
.card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: #fff; margin-bottom: 10px; }
.card p { font-size: 14px; color: #AEB7C6; font-weight: 300; }
.card-tag {
  display: inline-block; margin-top: 16px;
  background: rgba(217,164,65,.14); color: var(--gold);
  font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 100px;
}
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* features AdE */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px; padding: 28px;
}
.feature h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: #fff; margin-bottom: 10px; }
.feature p { font-size: 14px; color: #AEB7C6; font-weight: 300; }
.feature-note {
  margin-top: 10px; padding-left: 12px; border-left: 3px solid var(--gold);
  font-size: 13px; color: #D5DAE3 !important; font-style: italic;
}
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

/* cta band */
.cta-band { text-align: center; background: var(--navy); color: #fff; padding: 90px 0; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4.5vw, 40px); font-weight: 600; margin-bottom: 18px; }
.cta-band h2 em { color: var(--gold); }
.cta-band p { color: #A9B2C2; max-width: 560px; margin: 0 auto 34px; font-weight: 300; }

/* offer */
.offer-box {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: #fff; border: 1.5px solid var(--gold);
  border-radius: 20px; padding: 48px 44px;
  box-shadow: 0 24px 60px rgba(16,24,40,.08);
}
.offer-tag {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
}
.offer-box h3 { font-family: 'Playfair Display', serif; font-size: 27px; color: var(--navy); margin-bottom: 22px; }
.offer-box ul { list-style: none; text-align: left; max-width: 400px; margin: 0 auto 26px; }
.offer-box li { padding: 9px 0; font-size: 15px; color: #333; border-bottom: 1px dashed var(--border); }
.offer-box li:last-child { border-bottom: none; }
.offer-box blockquote {
  font-style: italic; color: var(--muted); font-size: 14.5px;
  max-width: 460px; margin: 0 auto 28px; padding: 0 10px;
}
.offer-note { margin-top: 22px; font-size: 13.5px; color: var(--muted); }

/* steps */
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 30px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold-soft); color: #8a6a1f;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); font-weight: 300; }
@media (max-width: 820px) { .steps-3 { grid-template-columns: 1fr; } }

/* testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 28px;
  display: flex; flex-direction: column;
}
.stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial > p { font-size: 14.5px; color: #3a3a3a; flex: 1; font-style: italic; }
.who { margin-top: 18px; font-size: 13.5px; color: var(--navy); }
.who span { color: var(--muted); font-size: 12.5px; }
@media (max-width: 820px) { .testimonials { grid-template-columns: 1fr; } }

/* chi sono */
.chi-sono-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.chi-sono-text p { color: #AEB7C6; font-size: 15px; margin-bottom: 16px; font-weight: 300; }
.chi-sono-text p em { color: #fff; }
.chi-sono-text blockquote {
  border-left: 3px solid var(--gold); padding-left: 18px;
  font-style: italic; color: #D5DAE3; font-size: 15px; margin-bottom: 24px;
}
.stats { display: flex; gap: 34px; flex-wrap: wrap; }
.stats > div { font-size: 13px; color: #A9B2C2; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 34px; color: var(--gold); font-weight: 600; }
.chi-sono-photo img.commercialista-photo {
  width: 100%; border-radius: 16px; display: block;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.photo-placeholder {
  background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.25);
  border-radius: 16px; height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #8E97A8; font-size: 15px; text-align: center; line-height: 1.8;
}
.photo-placeholder small { font-size: 12px; }
.dott-name { color: #fff !important; font-weight: 600; font-size: 16px !important; }
.dott-name span { color: var(--gold); font-size: 13.5px; font-weight: 500; }
@media (max-width: 860px) { .chi-sono-inner { grid-template-columns: 1fr; } }

/* faq */
.faq-list { max-width: 760px; }
.faq-list details {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 20px 24px;
  font-weight: 600; font-size: 15.5px; color: var(--navy);
  list-style: none; position: relative; padding-right: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 22px; color: var(--gold); font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 24px 22px; font-size: 14.5px; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-3); color: #8E97A8; padding: 44px 0 34px; text-align: center; }
.footer-brand { justify-content: center; margin-bottom: 18px; display: inline-flex; }
.footer-info { font-size: 13.5px; line-height: 2; }
.footer-info a { color: var(--gold); }
.footer-mini { margin-top: 12px; font-size: 11.5px; color: #5c6577; font-style: italic; }

/* fix typo visibility */
@media (max-width: 640px) {
  .hero { padding: 60px 0 70px; }
  .form-wrap { padding: 32px 22px; }
  .offer-box { padding: 34px 22px; }
  .section { padding: 60px 0; }
}
