:root {
  --blue: #152d6b;
  --blue-2: #1f4aa0;
  --gold: #c9972d;
  --gold-2: #e0b04a;
  --text: #18202f;
  --muted: #5d6778;
  --bg: #f5f7fb;
  --white: #ffffff;
  --border: #dbe2ef;
  --success: #4f7d2a;
  --shadow: 0 18px 45px rgba(21, 45, 107, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ===== TOP LINK ===== */
.top-link {
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}

/* ===== HEADER / HERO ===== */
.topbar {
  background: linear-gradient(135deg, rgba(21,45,107,0.06), rgba(201,151,45,0.08));
  padding: 54px 0 40px;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

/* ===== BACK NAV ===== */
.back-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.back-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== TYPO ===== */
.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 12px;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 1.03;
  color: var(--blue);
}

h1 span { color: var(--gold); }

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--blue);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--blue);
}

p { margin: 0 0 14px; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 18px auto 0;
  text-align: center;
}

/* ===== BUTTON ===== */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  border: 0;
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary,
.btn-secondary,
.btn-accent {
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 34px rgba(21,45,107,.28);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  opacity: 0.96;
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 34px rgba(201,151,45,.28);
}

.btn-full { width: 100%; font-size: 1rem; }

.btn.is-disabled,
.btn:disabled {
  opacity: .75;
  cursor: not-allowed;
  transform: none;
}

/* ===== GENERAL LAYOUT ===== */
.section { padding: 72px 0; }
.muted { background: var(--bg); }

.stats-grid,
.pricing-grid,
.two-col,
.form-wrap,
.field-grid {
  display: grid;
  gap: 22px;
}

.two-col { grid-template-columns: repeat(2, 1fr); align-items: start; }
.pricing-grid { grid-template-columns: repeat(2, 1fr); }
.form-wrap { grid-template-columns: .85fr 1.15fr; align-items: start; gap: 32px; }
.field-grid { grid-template-columns: repeat(2, 1fr); }
.field.full { grid-column: 1 / -1; }

/* ===== FIX BOX INFO CORSO ===== */
.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  min-width: 0;
  text-align: center;
  padding: 24px;
}

/* ===== COMPONENTS ===== */
.stat-card,
.panel,
.price-card,
.request-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(18, 34, 70, 0.06);
}

.stat-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
  color: var(--blue);
}

.panel,
.request-form { padding: 28px; }

.highlight-panel {
  background: linear-gradient(180deg, rgba(21,45,107,.98), rgba(31,74,160,.98));
  color: var(--white);
}

.highlight-panel h3,
.highlight-panel p { color: var(--white); }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

.compact li { margin-bottom: 10px; }

/* ===== PRICING ===== */
.price-card { padding: 28px; }

.price-card.featured {
  background: linear-gradient(135deg, rgba(21,45,107,.98), rgba(31,74,160,.98));
  color: var(--white);
  border-color: rgba(21,45,107,.18);
}

.price-card.featured .price-card-head,
.price-card.featured .price-line span,
.price-card.featured .price-line strong,
.price-card.featured .price-note {
  color: var(--white);
}

.price-card-head {
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(21,45,107,.08);
}

.price-line strong {
  font-size: 1.12rem;
  color: var(--blue);
}

.price-note {
  margin-top: 16px;
  color: var(--muted);
}

/* ===== FORM ===== */
.form-side-panel { margin-top: 22px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--blue);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(31,74,160,.7);
  box-shadow: 0 0 0 4px rgba(31,74,160,.08);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 0;
}

.privacy-check input { margin-top: 4px; }

.privacy-check a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 700;
}

.captcha-box {
  margin: 18px 0 22px;
  padding: 18px;
  border: 1px dashed rgba(21,45,107,.22);
  border-radius: 18px;
  background: #f9fbff;
}

.captcha-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .95rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, rgba(21,45,107,.98), rgba(31,74,160,.98));
  color: var(--white);
  padding: 28px 0 24px;
  margin-top: 100px;
  border-top: 1px solid rgba(21,45,107,0.05);
}

.footer-center {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.footer-center strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.footer-center p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  line-height: 1.3;
  color: rgba(255,255,255,.85);
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-contacts a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-contacts a:hover { text-decoration: underline; }

.footer-bottom {
  font-size: 0.75rem;
  opacity: 0.7;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .topbar-inner,
  .two-col,
  .pricing-grid,
  .form-wrap,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container { width: min(1120px, calc(100% - 22px)); }

  .btn,
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}