:root {
  --navy: #16232b;
  --navy-soft: #1e323c;
  --teal: #5cc7cf;
  --green: #a3d977;
  --gradient: linear-gradient(135deg, #6fd0d9 0%, #8fd6ae 55%, #a8dd8f 100%);
  --text: #2a2f33;
  --text-soft: #5c666d;
  --bg-alt: #f4f7f7;
  --border: #e3e8e8;
  --white: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-soft); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: .8em;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #16232b;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(92,199,207,.3); }
.btn-outline {
  border-color: var(--border);
  color: var(--navy);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost {
  color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--teal); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand-logo { height: 42px; width: auto; }
.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  font-size: .95rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--teal); }
.nav-cta { margin-left: 12px; white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(163,217,119,.14), transparent 60%),
    radial-gradient(50% 60% at 10% 20%, rgba(92,199,207,.14), transparent 60%),
    var(--white);
}
.hero-inner { max-width: 780px; }
.hero h1 { font-size: 2.6rem; color: var(--navy); }
.hero-sub { font-size: 1.1rem; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* Strip */
.strip { background: var(--navy); padding: 28px 0; }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-item { display: flex; flex-direction: column; gap: 4px; color: #cfe0e2; font-size: .9rem; }
.strip-num {
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: 2rem; color: var(--navy); max-width: 640px; }
.section.center h2, h2.center { margin-left: auto; margin-right: auto; }

/* Chi siamo */
.two-col {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gradient);
}
.visual-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 48px 36px;
  text-align: center;
  color: #fff;
}
.visual-logo { height: 64px; margin: 0 auto 24px; filter: brightness(1.2); }
.visual-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #d7e6e6;
  margin: 0;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(22,35,43,.08);
  border-color: transparent;
}
.card h3 { color: var(--navy); font-size: 1.1rem; }
.card p { margin: 0; font-size: .95rem; }

/* Reasons */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.reason-index {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}
.reason h3 { color: var(--navy); font-size: 1.05rem; }
.reason p { font-size: .92rem; margin: 0; }

/* Contact */
.section-dark { background: var(--navy); color: #fff; }
.section-dark .eyebrow { color: var(--green); }
.section-dark h2 { color: #fff; }
.section-dark p { color: #b7c6c8; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.contact-details { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; font-size: 1rem; }
.contact-item a:hover { color: var(--teal); }
.contact-label {
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .1em;
  color: #7f9294;
  font-weight: 700;
}
.contact-map {
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255,255,255,.1);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: 320px;
  padding: 32px;
  text-align: center;
  background: #0f1a20;
}
.map-placeholder p { margin: 0; font-size: .9rem; color: #b7c6c8; max-width: 320px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -220px;
  background: var(--navy);
  padding: 20px 0;
  z-index: 200;
  transition: bottom .3s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,.2);
}
.cookie-banner.visible { bottom: 0; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; color: #cfe0e2; font-size: .88rem; max-width: 640px; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* Footer */
.site-footer { background: #0f1a20; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { height: 28px; filter: grayscale(1) brightness(1.6); opacity: .8; }
.footer-inner p { margin: 0; color: #7f9294; font-size: .85rem; }

/* Legal pages */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-content h1 { font-size: 2rem; color: var(--navy); margin-bottom: .2em; }
.legal-content .updated { color: var(--text-soft); font-size: .85rem; margin-bottom: 2.5em; }
.legal-content h2 { font-size: 1.2rem; color: var(--navy); margin-top: 2em; }
.legal-content ul { padding-left: 20px; color: var(--text-soft); }
.legal-content li { margin-bottom: .5em; }
.legal-content a { color: var(--teal); text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 2em; font-size: .9rem; color: var(--teal); }

/* Responsive */
@media (max-width: 900px) {
  .two-col, .contact-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 64px 0; }
}
