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

:root {
  --navy: #28385d;
  --navy-light: #334672;
  --red: #bd2c33;
  --red-light: #d4464d;
  --cream: #f5f0e6;
  --cream-dark: #ede5d4;
  --text-dark: #1a1a1a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(40, 56, 93, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(189, 44, 51, 0.2);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-img { height: 52px; width: auto; display: block; }

.header-left { display: flex; align-items: center; gap: 0; }

.logo-mark, .logo-full {
  width: auto;
  display: block;
  transition: opacity 0.35s ease;
}
.logo-mark { height: 56px; }
.logo-full { height: 44px; display: none; }
header.scrolled .logo-mark { display: none; }
header.scrolled .logo-full { display: block; }

.header-name {
  font-family: 'EB Garamond', serif;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.22em;
  line-height: 1.35;
  text-transform: uppercase;
  padding-left: 20px;
  margin-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.18);
  transition: opacity 0.3s ease, max-width 0.35s ease, padding 0.35s ease, margin 0.35s ease, border-color 0.35s ease;
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
}
.header-name span:first-child {
  font-style: italic;
  color: var(--red-light);
  letter-spacing: 0.18em;
}
header.scrolled .header-name {
  opacity: 0;
  max-width: 0;
  padding-left: 0;
  margin-left: 0;
  border-left-color: transparent;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

nav a .num {
  display: block;
  font-size: 8px;
  color: var(--red);
  margin-bottom: 1px;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  letter-spacing: 0.1em;
}

nav a:hover { color: var(--red); }

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav a:hover::after { transform: scaleX(1); }

/* ── HERO ── */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(21,28,46,0.92) 0%, rgba(21,28,46,0.6) 55%, rgba(21,28,46,0.45) 100%),
    url('../images/vesuvio1.jpeg') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(21,28,46,0.95), transparent);
}

.hero-line {
  position: absolute;
  left: 48px;
  top: 80px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--red) 30%, var(--red) 70%, transparent);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px 100px 80px;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-name {
  font-family: 'EB Garamond', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

.hero-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 32px;
}

.hero-title em {
  font-style: italic;
  color: var(--red-light);
}

.hero-desc {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  line-height: 1.9;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  padding: 16px 36px;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: transparent;
  color: var(--red);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll span {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── SEZIONI COMUNI ── */
section { padding: 100px 0; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(40,56,93,0.5);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 32px; height: 1px;
  background: rgba(40,56,93,0.35);
  display: block;
}

.studio .section-label,
.prof-content .section-label {
  color: rgba(255,255,255,0.4);
}

.studio .section-label::before,
.prof-content .section-label::before {
  background: rgba(255,255,255,0.25);
}

/* ── LO STUDIO ── */
.studio {
  background: var(--navy);
  color: var(--white);
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.studio-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 32px;
}

.studio-title em { font-style: normal; color: inherit; }

.studio-text {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.studio-text + .studio-text { margin-top: 20px; }

.studio-right {
  padding-top: 60px;
}

.mission-block {
  border-left: 2px solid var(--red);
  padding: 32px 0 32px 36px;
  margin-bottom: 40px;
}

.mission-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 16px;
}

.mission-text {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  font-weight: 300;
}

.sedi {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.sedi-title-block {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 14px;
  margin-bottom: 8px;
  position: relative;
}
.sedi-title-block::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px;
  height: 1px;
  background: var(--red);
}

.sede-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(189,44,51,0.2);
}

.sede-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sede-icon svg { width: 14px; height: 14px; fill: var(--red); }

.sede-address {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  line-height: 1.6;
}

.sede-address strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ── AREE DI ATTIVITÀ ── */
.aree {
  background: var(--cream);
}

.aree-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px;
}

.aree-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  max-width: 500px;
}

.aree-title em { font-style: normal; color: inherit; }

.aree-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(21,28,46,0.1);
}

.area-card {
  background: var(--cream);
  padding: 48px 40px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.area-card:hover { background: var(--navy); }
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover .area-num { color: rgba(189,44,51,0.3); }
.area-card:hover .area-name { color: var(--white); }
.area-card:hover .area-desc { color: rgba(255,255,255,0.55); }
.area-card:hover .area-arrow { color: var(--red); opacity: 1; }

.area-num {
  font-family: 'EB Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  color: rgba(21,28,46,0.08);
  line-height: 1;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.area-name {
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.area-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
  transition: color 0.3s ease;
}

.area-arrow {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 18px;
  color: var(--red);
  opacity: 0;
  transition: all 0.3s ease;
}

/* ── IL PROFESSIONISTA ── */
.professionista {
  background: var(--white);
  overflow: hidden;
  padding: 0;
}

.prof-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  min-height: 580px;
}

.prof-image-col {
  background: var(--navy-light);
  position: relative;
  overflow: hidden;
}

.prof-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  position: absolute;
  inset: 0;
}

.red-bar-vert {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--red) 30%, var(--red) 70%, transparent);
  opacity: 0.6;
}

.prof-content {
  padding: 80px 64px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prof-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 8px;
}

.prof-role {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 36px;
}

.prof-text {
  font-size: 12.5px;
  color: rgba(255,255,255,0.62);
  line-height: 2;
  font-weight: 300;
  margin-bottom: 16px;
}

.prof-highlights {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prof-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ph-dot {
  width: 6px; height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

.ph-text {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  font-weight: 300;
}

.prof-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid rgba(189,44,51,0.4);
  padding-bottom: 4px;
  transition: all 0.2s;
  align-self: flex-start;
}

.prof-cta:hover { border-color: var(--red); letter-spacing: 0.3em; }

/* ── CLIENTI ── */
.clienti {
  background: var(--cream-dark);
  padding: 80px 0;
}

.clienti-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 48px;
}

.clienti-title em { font-style: normal; color: inherit; }

.clienti-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(21,28,46,0.12);
}

.cliente-item {
  padding: 28px 36px;
  border-right: 1px solid rgba(21,28,46,0.12);
  border-bottom: 1px solid rgba(21,28,46,0.12);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.2s;
}

.cliente-item:hover { background: rgba(21,28,46,0.04); }
.cliente-item:nth-child(2n) { border-right: none; }

.cl-num {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  padding-top: 2px;
  font-style: italic;
}

.cl-text {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.8;
  font-weight: 400;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(189,44,51,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 36px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-logo-name {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-size: 8px;
  letter-spacing: 0.35em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}

.footer-tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
  max-width: 260px;
}

.footer-col-title {
  font-size: 8px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--red); }

.footer-nav-legal {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-legal a {
  text-decoration: none;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-nav-legal a:hover { color: var(--red); }

.contact-line {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 8px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.contact-item-value a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-value a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  font-weight: 300;
}

.footer-red-accent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-red-line {
  width: 48px;
  height: 1px;
  background: var(--red);
  opacity: 0.4;
}

.footer-red-dot {
  width: 4px; height: 4px;
  background: var(--red);
  opacity: 0.5;
}

/* ── DIVISORE ── */
.red-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red) 20%, var(--red) 80%, transparent);
  opacity: 0.3;
  margin: 0;
}

/* ── STRIP CONTATTI RAPIDI ── */
.contact-strip {
  background: var(--red);
  padding: 24px 0;
}

.contact-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cs-text {
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
}

.cs-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.cs-phone {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  text-decoration: none;
}

.cs-phone:hover { opacity: 0.8; }

.cs-btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--white);
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cs-btn:hover { opacity: 0.85; }

/* ── POWERED BY ── */
.powered {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 14px 48px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.powered a {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  transition: color 0.2s;
}

.powered a:hover { color: var(--red); }
