/* =========================================================
   ZEPHIRO INVESTMENTS — Stylesheet v2
   Palette: Navy (#0C2240) + Oro (#C8A24C)
   Tono: Investment Banking, sobrio, premium, ariose
   Focus v2: leggerezza, micro-animazioni, respiro
   ========================================================= */

/* ---------- 1. Variabili e reset ---------- */
:root {
  --navy: #0C2240;
  --navy-dark: #081831;
  --navy-soft: #16365c;
  --gold: #C8A24C;
  --gold-light: #D9B870;
  --gold-soft: #E8D5A0;
  --cream: #F5F1E8;
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --bg-soft: #F7F8FB;
  --text: #1A1F2C;
  --text-soft: #5A6378;
  --text-mute: #8A92A3;
  --border: #ECEEF2;
  --border-soft: #F2F4F8;
  --shadow-xs: 0 1px 2px rgba(12, 34, 64, 0.04);
  --shadow-sm: 0 4px 14px rgba(12, 34, 64, 0.05);
  --shadow-md: 0 16px 40px rgba(12, 34, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 34, 64, 0.10);
  --radius: 4px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --container: 1240px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 2. Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.7em;
  font-weight: 500;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }
.lead { font-size: 1.18rem; color: var(--text-soft); line-height: 1.7; font-weight: 400; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.section-title { text-align: center; max-width: 780px; margin: 0 auto 3.5rem; }
.section-title h2 { margin-bottom: 0.7rem; }
.section-title p { color: var(--text-soft); font-size: 1.05rem; }

.divider-gold {
  width: 48px; height: 2px; background: var(--gold);
  border: 0; margin: 0 0 1.6rem;
}
.section-title .divider-gold { margin-left: auto; margin-right: auto; }

/* ---------- 3. Layout container ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; }
section.section-tight { padding: 80px 0; }
section.section-alt { background: var(--bg-alt); }
section.section-soft { background: var(--bg-soft); }

/* ---------- 4. Header e navigazione ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 34, 64, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: padding var(--transition);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding-top: 18px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(2px);
}
.brand img { width: 52px; height: auto; transition: transform var(--transition); }
.brand:hover img { transform: translateY(-1px); }
.brand-text {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--cream);
  padding: 8px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-sans);
}

.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}
.site-nav a {
  color: rgba(245,241,232,0.9);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"]:not(.btn-nav) {
  color: var(--gold);
}
.site-nav a[aria-current="page"]:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--gold);
}
.site-nav .btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 11px 22px;
  margin-left: 10px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.site-nav .btn-nav:hover {
  background: var(--gold-light);
  color: var(--navy) !important;
  transform: translateY(-1px);
}

/* ---------- 5. Bottoni ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,162,76,0.28); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(245,241,232,0.5); }
.btn-outline:hover { background: rgba(245,241,232,0.06); color: var(--cream); border-color: var(--cream); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--cream); }
.btn-link {
  background: transparent; color: var(--navy); padding: 0;
  font-weight: 600; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold);
  border-radius: 0; padding-bottom: 4px;
}
.btn-link:hover { color: var(--gold); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream);
  padding: 160px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(200,162,76,0.12), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(200,162,76,0.06), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.hero .container { position: relative; z-index: 1; max-width: 940px; }
.hero h1 { color: var(--cream); margin-bottom: 1.4rem; font-weight: 500; }
.hero .hero-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: rgba(245,241,232,0.86);
  margin-bottom: 2.4rem;
  max-width: 740px;
  line-height: 1.65;
}
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero compatto per pagine interne */
.hero-page {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-page::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(200,162,76,0.10), transparent 55%);
}
.hero-page::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.hero-page .container { position: relative; z-index: 1; max-width: 900px; }
.hero-page h1 { color: var(--cream); }
.hero-page .lead { color: rgba(245,241,232,0.84); font-size: 1.18rem; }

/* ---------- 7. Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,162,76,0.3);
}
.card .card-num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 500;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}
.card h3 { color: var(--navy); margin-bottom: 0.6rem; }
.card p { color: var(--text-soft); margin-bottom: 0; line-height: 1.65; }

.card-dark {
  background: var(--navy);
  border-color: transparent;
  color: var(--cream);
}
.card-dark h3 { color: var(--cream); }
.card-dark p { color: rgba(245,241,232,0.82); }

.value-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card h3 { font-size: 1.3rem; }

/* ---------- 8. Two-column intro ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.two-col .col-text p { color: var(--text-soft); font-size: 1.05rem; }
.two-col .col-aside {
  background: var(--navy);
  color: var(--cream);
  padding: 56px 44px;
  border-radius: var(--radius-lg);
  position: relative;
}
.two-col .col-aside::before {
  content: "";
  position: absolute;
  top: 36px; left: -12px;
  width: 3px; height: 64px;
  background: var(--gold);
}
.two-col .col-aside h3 { color: var(--cream); }
.two-col .col-aside p { color: rgba(245,241,232,0.85); margin-bottom: 0; }

/* ---------- 9. Numeri / Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat .stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  color: var(--gold);
  font-weight: 500;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat .stat-label {
  font-size: 0.9rem;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- 10. Process / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border-left: 2px solid var(--gold);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step .step-num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font-sans); font-weight: 600; }
.step p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 0; }

/* ---------- 11. Service tables ---------- */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--transition);
}
.service-row:hover { background: var(--bg-soft); padding-left: 12px; padding-right: 12px; }
.service-row .svc-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 500;
}
.service-row .svc-name::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  transition: width var(--transition);
}
.service-row:hover .svc-name::before { width: 40px; }
.service-row .svc-desc { color: var(--text-soft); margin: 0; line-height: 1.7; }

/* ---------- 12. CTA blocco ---------- */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: 90px 50px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200,162,76,0.14), transparent 60%);
}
.cta-block > * { position: relative; }
.cta-block h2 { color: var(--cream); }
.cta-block p { color: rgba(245,241,232,0.85); max-width: 640px; margin: 0 auto 2.2rem; font-size: 1.1rem; }

/* ---------- 13. Track record / Tombstones ---------- */
.tombstone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 36px;
  margin-top: 20px;
}
.tombstone {
  position: relative;
  aspect-ratio: 0.72 / 1;
  background: var(--navy);
  border-radius: 4px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: default;
}
.tombstone:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.tombstone-inner {
  background: #FFFFFF;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 22px 22px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.tombstone-inner::before,
.tombstone-inner::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  border-style: solid;
}
.tombstone-inner::before { left: 14px; border-width: 1.5px 0 0 1.5px; }
.tombstone-inner::after  { right: 14px; border-width: 1.5px 1.5px 0 0; }

.tomb-company {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tomb-divider {
  width: 32px; height: 1px;
  background: var(--gold);
  margin: 10px auto;
  border: 0;
}
.tomb-role-label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin: 0 0 8px;
  font-weight: 500;
}
.tomb-deal {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 6px;
}
.tomb-amount {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 8px;
}
.tomb-counter {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-soft);
  margin: 0;
  font-style: italic;
  line-height: 1.4;
}
.tomb-meta {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  width: 100%;
}
.tomb-date {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 3px;
}
.tomb-advisor {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
}
.tomb-z {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  color: rgba(200,162,76,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}
.tomb-middle { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }

/* ---------- 14. Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.form { display: grid; gap: 20px; }
.form .field { display: flex; flex-direction: column; }
.form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form label .req { color: var(--gold); }
.form input, .form select, .form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,76,0.12);
  outline: none;
}
.form textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .privacy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--text-soft);
}
.form .privacy input { margin-top: 5px; }
.form .form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  display: none;
}
.form .form-feedback.ok { display: block; background: #f0f9f3; color: #1e6932; border: 1px solid #c8e3d1; }
.form .form-feedback.err { display: block; background: #fdf3f3; color: #8a2020; border: 1px solid #f3c2c2; }

.contact-info { background: var(--bg-alt); padding: 48px 40px; border-radius: var(--radius-lg); }
.contact-info h3 { margin-bottom: 1.6rem; }
.office { margin-bottom: 1.6rem; }
.office .office-city {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.office .office-addr { color: var(--text); font-weight: 500; margin: 0; }

/* ---------- 15. FAS focus ---------- */
.fas-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fas-focus .focus-item {
  background: var(--bg);
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  border-left: 2px solid var(--gold);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fas-focus .focus-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.fas-focus .focus-item h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 0.5rem; }
.fas-focus .focus-item p { color: var(--text-soft); margin: 0; font-size: 0.95rem; line-height: 1.65; }
.fas-focus .focus-item.alt { background: var(--navy); }
.fas-focus .focus-item.alt h3 { color: var(--cream); }
.fas-focus .focus-item.alt p { color: rgba(245,241,232,0.8); }

/* ---------- 15b. Team / Partner ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 20px;
}
.partner-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,162,76,0.3);
}
.partner-card::before {
  content: "";
  position: absolute;
  top: 0; left: 44px;
  width: 32px; height: 2px;
  background: var(--gold);
}
.partner-role {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 16px 0 10px;
}
.partner-name {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.partner-bio { color: var(--text-soft); font-size: 0.98rem; line-height: 1.75; margin-bottom: 1rem; }
.partner-bio:last-child { margin-bottom: 0; }
.partner-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.partner-meta span::before { content: "·"; margin-right: 14px; color: var(--gold); }
.partner-meta span:first-child::before { content: none; margin-right: 0; }
.partner-linkedin {
  margin: 4px 0 0;
  font-size: 0.88rem;
}
.partner-linkedin a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.partner-linkedin a svg { color: var(--gold); transition: color var(--transition); }
.partner-linkedin a:hover { color: var(--gold); border-color: var(--gold); }
.partner-linkedin a:hover svg { color: var(--navy); }

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(245,241,232,0.78);
  padding: 80px 0 36px;
  margin-top: 80px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer h4 {
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.site-footer a { color: rgba(245,241,232,0.76); font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-brand { max-width: 340px; }
.site-footer .footer-brand img { width: 70px; margin-bottom: 20px; }
.site-footer .footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(245,241,232,0.55);
}

/* ---------- 17. Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--text-soft); }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--gold); color: var(--navy);
  padding: 8px 16px; z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- 18. Micro-animazioni / Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22,0.61,0.36,1), transform 0.9s cubic-bezier(0.22,0.61,0.36,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1100px) {
  .tombstone-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
}
@media (max-width: 980px) {
  .grid-3, .grid-4, .stats, .steps, .fas-focus { grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .team-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 80px 0; }
  .hero { padding: 110px 0 90px; }
  .tombstone-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .site-header .container { min-height: 78px; padding-top: 14px; padding-bottom: 12px; }
  .brand img { width: 44px; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .site-nav.is-open { max-height: 620px; }
  .site-nav ul { flex-direction: column; padding: 16px 24px 24px; gap: 0; align-items: stretch; }
  .site-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.07); border-radius: 0; }
  .site-nav .btn-nav { margin-top: 12px; margin-left: 0; text-align: center; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .fas-focus { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-block { padding: 60px 28px; }
  .partner-card { padding: 36px 30px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .hero .hero-actions { flex-direction: column; }
  .hero .hero-actions .btn { width: 100%; }
  .tombstone-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 19a. Photo band — solo visuale ---------- */
.photo-band {
  padding: 0;
  position: relative;
  background: var(--navy-dark);
  overflow: hidden;
}
.photo-band-img {
  position: relative;
  width: 100%;
  height: clamp(360px, 48vw, 560px);
  overflow: hidden;
  background: var(--navy-dark);
}
.photo-band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
  display: block;
  filter: saturate(1.02);
}
.photo-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
  z-index: 2;
}
.photo-band::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.45;
  z-index: 2;
}

/* ---------- 19b. Hero con illustrazioni sailing ---------- */
.hero-art {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.hero-art-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-art-bg svg, .hero-art-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-art::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,24,49,0.72) 0%, rgba(12,34,64,0.55) 50%, rgba(12,34,64,0.85) 100%);
}
.hero-art::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.hero-art .container {
  position: relative;
  z-index: 3;
  max-width: 940px;
  padding-top: 170px;
  padding-bottom: 140px;
}
.hero-art h1 { color: var(--cream); margin-bottom: 1.4rem; font-weight: 500; }
.hero-art .hero-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: rgba(245,241,232,0.92);
  margin-bottom: 2.4rem;
  max-width: 740px;
  line-height: 1.65;
}
.hero-art .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Sezione identità Zephiro */
.identity-band {
  background: var(--navy);
  color: var(--cream);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.identity-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(200,162,76,0.12), transparent 55%);
}
.identity-band .container {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.identity-band .eyebrow { color: var(--gold-light); }
.identity-band h2 { color: var(--cream); font-style: italic; }
.identity-band p { color: rgba(245,241,232,0.85); font-size: 1.06rem; line-height: 1.8; }
.identity-band .identity-mark {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-dark);
  aspect-ratio: 4 / 5;
  max-height: 460px;
}
.identity-band .identity-mark svg,
.identity-band .identity-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.identity-band .identity-mark::after {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  width: 36px; height: 1px;
  background: var(--gold);
}

/* ---------- 21. Carosello deal / Track Record ---------- */
.deal-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 1180px;
}
.deal-track {
  position: relative;
  min-height: 480px;
}
.deal-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: translateY(18px);
}
.deal-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}
/* Layout uniforme: tombstone a sinistra, testo a destra */

.deal-visual {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 0.78 / 1;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.deal-visual::before,
.deal-visual::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--gold);
  border-style: solid;
}
.deal-visual::before { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; }
.deal-visual::after  { top: 14px; right: 14px; border-width: 1.5px 1.5px 0 0; }
.deal-visual img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.deal-text { padding: 0 8px; }
.deal-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}
.deal-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.deal-text p {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.deal-role {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
}
.deal-role::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
}
.carousel-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  font-family: var(--font-sans);
}
.carousel-btn:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  transform: translateY(-1px);
}
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 540px;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(12,34,64,0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot:hover { background: rgba(12,34,64,0.4); }
.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

.carousel-progress {
  position: relative;
  margin: 22px auto 0;
  height: 2px;
  width: min(420px, 70%);
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.carousel-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.1s linear;
}

/* Responsive carousel */
@media (max-width: 980px) {
  .deal-slide {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .deal-visual { max-width: 280px; }
  .deal-track { min-height: auto; }
  .deal-slide { position: relative; opacity: 0; height: 0; overflow: hidden; }
  .deal-slide.is-active { height: auto; }
  .identity-band .container { grid-template-columns: 1fr; gap: 40px; }
  .identity-band .identity-mark { max-height: 320px; aspect-ratio: 16 / 10; margin: 0 auto; max-width: 400px; }
  .hero-art .container { padding-top: 110px; padding-bottom: 90px; }
}

@media (max-width: 720px) {
  .deal-visual { max-width: 240px; padding: 14px; }
  .deal-text h3 { font-size: 1.3rem; }
  .carousel-controls { gap: 14px; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .deal-slide { transition: none; transform: none; }
  .carousel-progress-bar { transition: none; }
}

/* ---------- 21. Photo-hero — home centrata 95%, sfumatura leggera ---------- */
.photo-hero {
  padding: 28px 0;
  position: relative;
  background: #fff;
  overflow: hidden;
}
.photo-hero-img {
  position: relative;
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  height: clamp(420px, 70vh, 720px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy-dark);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,1) 2.5%,
    rgba(0,0,0,1) 97.5%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,1) 2.5%,
    rgba(0,0,0,1) 97.5%,
    transparent 100%
  );
}
.photo-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(1.04);
}

@media (max-width: 720px) {
  .photo-hero { padding: 18px 0; }
  .photo-hero-img { width: 96%; height: clamp(300px, 55vh, 460px); }
}

/* ---------- 22. Deal cards — Track Record ---------- */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.deal-card {
  background: #fff;
  border: 1px solid rgba(12,34,64,0.10);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(12,34,64,0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.deal-card:hover {
  box-shadow: 0 14px 36px rgba(12,34,64,0.12);
  transform: translateY(-3px);
  border-color: rgba(200,162,76,0.45);
}
.dc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}
.dc-date {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-dark);
  font-weight: 600;
}
.dc-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  background: rgba(200,162,76,0.10);
  padding: 4px 10px;
  border-radius: 999px;
}
.dc-parties {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px 6px;
  background: var(--cream);
  border-radius: 10px;
}
.dc-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  max-width: 45%;
}
.dc-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.dc-text-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.dc-text-logo span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(12,34,64,0.18);
  border-radius: 6px;
  background: #fff;
}
.dc-connector {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  flex: 0 0 auto;
}
.deal-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  line-height: 1.3;
  margin: 0;
  color: var(--navy-dark);
}
.deal-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(12,34,64,0.78);
}
.dc-role {
  margin-top: auto !important;
  padding-top: 10px;
  border-top: 1px solid rgba(12,34,64,0.08);
  font-size: 0.78rem !important;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--gold) !important;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .deal-grid { grid-template-columns: 1fr; gap: 22px; }
  .deal-card { padding: 20px; }
  .deal-card h3 { font-size: 1.05rem; }
}

/* ---------- 23. Tombstone scroll — home strip ---------- */
.tomb-scroll-wrap {
  position: relative;
  margin-top: 36px;
}
.tomb-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 14px 4px 26px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.tomb-scroll::-webkit-scrollbar {
  height: 6px;
}
.tomb-scroll::-webkit-scrollbar-track {
  background: rgba(12,34,64,0.06);
  border-radius: 3px;
}
.tomb-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
.tomb-item {
  flex: 0 0 auto;
  width: clamp(200px, 22vw, 260px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition);
}
.tomb-item:hover {
  transform: translateY(-4px);
}
.tomb-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.72 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(12,34,64,0.08);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(12,34,64,0.06);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.tomb-item:hover img {
  box-shadow: 0 14px 32px rgba(12,34,64,0.14);
  border-color: rgba(200,162,76,0.45);
}
.tomb-cap {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  line-height: 1.35;
}

.tomb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  box-shadow: var(--shadow-md);
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}
.tomb-nav:hover {
  background: var(--gold);
  color: var(--navy);
}
.tomb-nav-prev { left: -8px; }
.tomb-nav-next { right: -8px; }

@media (max-width: 720px) {
  .tomb-item { width: clamp(170px, 60vw, 220px); }
  .tomb-nav { display: none; }
}

/* ---------- 20. Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-actions { display: none; }
  section { padding: 24px 0; }
  .reveal { opacity: 1; transform: none; }
}
