/* =============================================
   SI Soluzione Internet — Shared Styles
   Font: Playfair Display (headings) + Source Sans 3 (body)
   Palette: Navy #0B2545 | Blue #1565C0 | Accent #C8973A (gold) | Light #F4F7FC
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy:   #0B2545;
  --blue:   #1565C0;
  --gold:   #C8973A;
  --light:  #F4F7FC;
  --mid:    #E2EAF4;
  --text:   #1a2a3a;
  --muted:  #5a6e84;
  --white:  #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(11,37,69,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center;
  padding: 0 40px;
  height: 68px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.navbar-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.navbar-logo img { height: 36px; }
.navbar-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--white);
  letter-spacing: 0.02em; white-space: nowrap;
}
.navbar-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto; list-style: none;
}
.navbar-links a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.navbar-links a.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  color: var(--white);
  padding: 100px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(200,151,58,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(200,151,58,0.4);
  padding: 5px 16px; border-radius: 20px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  max-width: 780px; margin: 0 auto 22px;
}
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.78);
  max-width: 600px; margin: 0 auto 36px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  text-decoration: none; padding: 14px 30px; border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.hero-cta:hover { opacity: 0.9; transform: translateY(-2px); }

/* ── CONTAINER ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ── SECTION ── */
.section { padding: 80px 32px; max-width: 1080px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px; display: block;
}
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy); line-height: 1.25;
  margin-bottom: 18px;
}
.section .lead {
  font-size: 1.08rem; color: var(--muted);
  max-width: 640px; margin-bottom: 48px;
}

/* ── CARDS GRID ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--light);
  border: 1px solid var(--mid);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 0.93rem; color: var(--muted); line-height: 1.65; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--mid); margin: 0; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
}
.badge-gold { background: rgba(200,151,58,0.12); color: var(--gold); border: 1px solid rgba(200,151,58,0.3); }
.badge-blue { background: rgba(21,101,192,0.10); color: var(--blue); border: 1px solid rgba(21,101,192,0.25); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 52px 40px 32px;
  font-size: 0.88rem; line-height: 1.8;
}
footer .footer-grid {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
footer .footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--white);
  margin-bottom: 10px;
}
footer h4 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
footer a { color: rgba(255,255,255,0.60); text-decoration: none; display: block; margin-bottom: 6px; transition: color 0.2s; }
footer a:hover { color: var(--white); }
footer .footer-bottom {
  max-width: 1080px; margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.80rem; color: rgba(255,255,255,0.35);
}

/* ── UTILITY ── */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
  .navbar { padding: 0 16px; }
  .navbar-links a { font-size: 0.78rem; padding: 6px 8px; }
  footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 60px 20px 50px; }
}
