﻿/* ═══════════════════════════════════════════
   LISA BALZANO – STYLE.CSS
   Font: Cormorant Garamond + DM Sans
═══════════════════════════════════════════ */

/* ─── VARIABILI BRAND ─────────────────────────────────────────────────────── */
:root {
  --tiffany:      #81c7c0;
  --tiffany-dark: #4fa8a0;
  --tiffany-light:#b8e0dc;
  --cream:        #f5f0ea;
  --beige:        #ede6db;
  --warm-white:   #faf7f3;
  --text:         #2c2a28;
  --text-muted:   #7a756f;
  --border:       #ddd6cc;
  --white:        #ffffff;
  --nav-h:        100px;
}

/* ─── RESET ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ─── TIPOGRAFIA ──────────────────────────────────────────────────────────── */
.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
em { font-style: italic; color: var(--tiffany-dark); }
strong { font-weight: 500; color: var(--text); }

/* ─── UTILITY ─────────────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tiffany-dark);
  margin-bottom: 1rem;
}
.section-divider {
  width: 48px; height: 1px;
  background: var(--tiffany);
  margin: 1.4rem 0;
}
.section-divider.center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-weight: 300; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ─── PULSANTI ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  transition: all 0.2s;
  border: none;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}
.btn-primary {
  background: var(--tiffany);
  color: var(--white);
}
.btn-primary:hover { background: var(--tiffany-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--tiffany); color: var(--tiffany-dark); }

.btn-white {
  background: var(--white);
  color: var(--tiffany-dark);
  font-weight: 500;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.btn-ghost {
  color: var(--tiffany-dark);
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover { color: var(--tiffany); }

/* ─── NAV ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5rem;
  background: rgba(250, 247, 243, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo img {
  height: 88px;
  width: auto;
  max-width: 308px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
}
.nav-logo-text span { color: var(--tiffany-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--tiffany);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--tiffany-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--tiffany) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-size: 0.82rem !important;
  letter-spacing: 0.08em;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--tiffany-dark) !important; }
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 17px;
  background: none; border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── HERO HOME ───────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 6rem;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tiffany-dark);
  border: 1px solid var(--tiffany-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  width: fit-content;
}
.hero-left h1 { margin-bottom: 1.4rem; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-right {
  background: var(--beige);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-right .hero-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 400px;
  color: var(--tiffany);
}
.hero-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem; font-weight: 300;
  opacity: 0.25; line-height: 1;
}
.hero-pills {
  position: absolute;
  bottom: 2.5rem; left: 0; right: 0;
  display: flex; flex-wrap: wrap;
  gap: 0.5rem; justify-content: center;
  padding: 0 2rem;
}
.pill {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── SEZIONE GENERICA ────────────────────────────────────────────────────── */
.section { padding: 6rem 6rem; }
.section-sm { padding: 4rem 6rem; }
.section-bg-cream     { background: var(--cream); }
.section-bg-beige     { background: var(--beige); }
.section-bg-dark      { background: var(--text); color: var(--white); }
.section-bg-tiffany   { background: var(--tiffany-dark); color: var(--white); }

/* ─── ABOUT STRIP (HOME) ─────────────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px; right: 10px; bottom: 10px;
  border: 1px solid var(--tiffany-light);
  border-radius: 1.5rem;
  pointer-events: none;
}
.about-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 300;
  color: var(--tiffany); opacity: 0.4;
  line-height: 1; margin-bottom: 1rem;
}
/* about-visual con foto di sfondo */
.about-visual--photo {
  position: relative;
  border-radius: 1.8rem;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 round 1.8rem); /* forza clipping anche con transform */
  background: var(--cream, #f5f0ea);
  line-height: 0;
  width: 100%;
  max-width: 100%;
}
.about-visual-bg {
  /* posizionamento statico: il container si adatta all'altezza naturale della foto */
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.3s ease;
}
.about-visual--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.38) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.about-visual--photo .about-card {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3.2rem);
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  z-index: 1;
}
.about-visual--photo .about-card::before {
  display: none;
}
.about-visual--photo .about-initials {
  opacity: 0.25;
}

.about-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1.2rem;
}

/* ─── GRIGLIA SERVIZI (HOME) ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.service-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.service-card h3 {
  font-size: 1.15rem; margin-bottom: 0.6rem;
  color: var(--text);
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

/* ─── BLOCCHI SERVIZIO (pagina servizi) ──────────────────────────────────── */
.services-section { padding: 5rem; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; }
/* alternating layout */
.service-block:nth-child(even) { direction: rtl; }
.service-block:nth-child(even) > * { direction: ltr; }

.service-block-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.service-block-info {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  align-self: start;
}
.service-left {
  position: sticky;
  top: 5rem;
}
.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300;
  color: var(--tiffany-light);
  line-height: 1; margin-bottom: 1rem;
}
.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tiffany-dark);
  border: 1px solid var(--tiffany-light);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 0.8rem;
}
.service-title em { font-style: italic; color: var(--tiffany-dark); }
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 300;
  line-height: 1.2; margin-bottom: 1.5rem;
}
.price-badge {
  display: inline-block;
  background: var(--tiffany-dark);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.cta-service {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--tiffany);
  color: var(--tiffany-dark);
  padding: 0.65rem 1.4rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s;
}
.cta-service:hover {
  background: var(--tiffany-dark);
  border-color: var(--tiffany-dark);
  color: white;
}

.service-block-content { padding: 0; }
.service-tag-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tiffany-dark);
  margin-bottom: 0.8rem;
}
.service-block-info h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0.5rem 0 1.2rem;
}
.price-note { font-size: 0.75rem; color: var(--text-muted); margin-top:0.4rem; display:block; line-height: 1.4; }
.service-meta { display: flex; flex-direction:column; gap: 0.5rem; margin-top: 1.2rem; }
.meta-item { display:flex; align-items:center; gap:0.5rem; font-size:0.85rem; color:var(--text-muted); }
.meta-icon { font-size:0.9rem; }

.service-includes { display:flex; flex-direction:column; gap:0.6rem; padding:0; }
.service-includes li { display:flex; align-items:flex-start; gap:0.7rem; font-size:0.9rem; color:var(--text-muted); font-weight:300; line-height:1.6; }
.include-check { color:var(--tiffany-dark); font-size:0.7rem; margin-top:0.25rem; flex-shrink:0; }
.service-extras { margin-top:1.5rem; padding:1.2rem 1.5rem; background:var(--cream); border-radius:10px; border-left:3px solid var(--tiffany); font-size:0.88rem; color:var(--text-muted); font-weight:300; }

.service-intro {
  font-size: 1rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.9;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  max-width: 620px;
}
.service-detail-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tiffany-dark);
  display: block;
  margin-bottom: 1.2rem;
}
.service-includes { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; }
.include-item { display: flex; align-items: flex-start; gap: 0.8rem; }
.include-dot {
  width: 6px; height: 6px; flex-shrink: 0;
  background: var(--tiffany);
  border-radius: 16px; margin-top: 0.6rem;
}
.include-item span { font-size: 0.9rem; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

.service-for {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.service-for-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--tiffany-dark);
}
.for-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.for-tag {
  background: white;
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.service-duration { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.duration-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.duration-icon {
  width: 32px; height: 32px;
  background: var(--beige);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ─── PAGE HERO ───────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--cream);
  padding: 5rem 6rem 4rem;
  text-align: center;
}
.page-hero--chi-sono { background: linear-gradient(135deg, var(--cream) 0%, var(--beige) 100%); }
.page-hero--blog      { background: linear-gradient(135deg, var(--cream) 0%, #e9e2d8 100%); }
.h1-amp { font-size: 0.52em; vertical-align: middle; font-style: normal; opacity: 0.55; font-weight: 300; }

/* Hero contatti con immagine di sfondo */
.page-hero--contatti { background: linear-gradient(135deg, var(--cream) 0%, #e6ddd4 100%); }
.page-hero--has-img {
  position: relative;
  overflow: hidden;
}
.page-hero--has-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center top;
  opacity: 0.38;
  z-index: 0;
}
.page-hero--has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,233,224,0.42) 0%, rgba(230,221,212,0.50) 100%);
  z-index: 0;
}
.page-hero--has-img .container {
  position: relative;
  z-index: 1;
}
.page-hero--post      { background: linear-gradient(160deg, var(--cream) 0%, #ede6dc 100%); }
.page-hero .hero-sub { max-width: 560px; margin: 1rem auto 0; }
.page-hero-tag {
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--tiffany-dark);
  display: block; margin-bottom: 1rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 300;
  color: var(--tiffany-dark);
  line-height: 1; margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); }
.hero-right-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-right-stat .stat-box:first-child { grid-column: 1 / -1; background: var(--tiffany-dark); }
.hero-right-stat .stat-box:first-child .stat-num { color: white; }
.hero-right-stat .stat-box:first-child .stat-label { color: rgba(255,255,255,0.75); }
.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}
.page-hero--servizi { text-align: left; }

/* ─── CHI SONO ────────────────────────────────────────────────────────────── */
.story-section { padding: 6rem 6rem; }
.story-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}
.story-visual { position: sticky; top: calc(var(--nav-h) + 2rem); overflow: hidden; border-radius: 16px; }
.story-img { width: 100%; border-radius: 16px; object-fit: cover; }
.story-placeholder {
  background: var(--beige);
  border-radius: 16px;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
}
.story-text p {
  font-size: 0.98rem; color: var(--text-muted);
  font-weight: 300; line-height: 1.9; margin-bottom: 1.2rem;
}
.story-pull {
  border-left: 3px solid var(--tiffany);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem; line-height: 1.7;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.05); }
.value-icon { 
  font-size: 2rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 0.8rem; 
  min-height: 60px;
}
.value-card h4 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

.phil-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem;
}
.phil-icon { font-size: 2rem; display: block; margin-bottom: 1rem; }
.phil-card h3 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.phil-card p { font-size: 0.88rem; color: var(--text-muted); font-weight: 300; line-height: 1.7; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 0 2.4rem;
  padding-bottom: 2.5rem;
  align-items: start;
}
/* Vecchio ::before rimosso — ora gestito su > div */
.timeline-item:not(:last-child)::before { display: none; }
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--tiffany-dark);
  text-align: right;
  padding-top: 0.2rem;
  padding-right: 0.4rem;
  letter-spacing: 0.05em;
  hyphens: auto;
  overflow-wrap: break-word;
}
/* Colonna destra: dot + content in flusso normale */
.timeline-item > div {
  position: relative;
  padding-left: 1.5rem;
}
/* Pallino — pseudo-elemento centrato sul bordo sinistro */
.timeline-item > div::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--tiffany);
  border-radius: 16px;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--tiffany-light);
  z-index: 1;
}
/* Linea verticale — pseudo-elemento sotto il pallino */
.timeline-item:not(:last-child) > div::after {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  bottom: -2.5rem;
  width: 1px;
  background: var(--border);
  transform: translateX(-0.5px);
}
/* Div .timeline-dot rimosso dal flusso (ora gestito con pseudo-elem) */
.timeline-dot { display: none; }
.timeline-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 400; margin-bottom: 0.2rem;
}
.timeline-content p { font-size: 0.82rem; color: var(--text-muted); font-weight: 300; }

/* ─── FORMAZIONE GRID ────────────────────────────────────────────────────── */
.formation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.credentials-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.credentials-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.5;
}
.cred-icon {
  width: 28px; height: 28px;
  background: var(--tiffany-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.teaching-box {
  background: var(--tiffany-dark);
  border-radius: 1.2rem;
  padding: 1.8rem;
  margin-top: 1.5rem;
  color: white;
}
.teaching-box h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300;
  margin-bottom: 0.9rem;
  opacity: 0.9;
}
.teaching-item {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.84rem; color: rgba(255,255,255,0.8);
  font-weight: 300; margin-bottom: 0.5rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem;
  text-align: center;
}
.value-emoji { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.value-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 400; margin-bottom: 0.3rem;
}
.value-desc { font-size: 0.78rem; color: var(--text-muted); font-weight: 300; line-height: 1.5; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.2s;
  gap: 1rem;
}
.faq-question:hover { color: var(--tiffany-dark); }
.faq-toggle {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text-muted);
  transition: all 0.3s;
}
.faq-item.open .faq-toggle {
  background: var(--tiffany);
  border-color: var(--tiffany);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding-bottom: 1.3rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
}

/* ─── PRENOTA / FORM ─────────────────────────────────────────────────────── */
.prenota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.prenota-features { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; }
.feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--tiffany-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.feature-item h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.2rem; }
.feature-item p { font-size: 0.82rem; color: var(--text-muted); font-weight: 300; }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
}
.form-card h3 {
  font-size: 1.4rem; margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--warm-white);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--tiffany); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-notice { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.8rem; line-height: 1.5; }
.form-success {
  display: none;
  background: #e8f5f4;
  border: 1px solid var(--tiffany-light);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--tiffany-dark);
  margin-top: 1rem;
}

/* ─── BLOG CARDS ─────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.blog-card-img {
  display: block;
  height: 180px;
  background: var(--beige);
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-placeholder {
  height: 180px;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-card-body {
  padding: 1.1rem 1.3rem 1.3rem;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 0.45rem;
}
.blog-card-date {
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tiffany-dark);
  display: block; font-style: normal;
}
.blog-card-title {
  font-size: 0.98rem;
  line-height: 1.35;
  margin: 0;
  font-weight: 600;
}
.blog-card-title a { color: var(--text); text-decoration: none; }
.blog-card-title a:hover { color: var(--tiffany-dark); }
.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.blog-card-link {
  font-size: 0.78rem;
  color: var(--tiffany-dark);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.4rem;
  display: inline-block;
}
.blog-card-link:hover { text-decoration: underline; }

/* ─── BLOG PAGINATION ────────────────────────────────────────────────────── */
.blog-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; padding: 3rem 0 0;
}
.blog-page-info {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── BLOG ARTICLE ───────────────────────────────────────────────────────── */
/* Hero post */
.page-hero--post .blog-back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tiffany-dark); text-decoration: none; font-weight: 500;
  margin-bottom: 1.5rem; transition: color .2s;
}
.page-hero--post .blog-back-link:hover { color: var(--text); }
.post-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.8rem;
}
.post-meta-dot { color: var(--tiffany); }

/* Cover immagine articolo */
.blog-article-cover { padding: 0 0 2.5rem; }
.blog-article-cover .container-wide { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.blog-article-cover img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: 16px; display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* Contenuto articolo */
.blog-article-body { padding: 3rem 0 4rem; }
.blog-content {
  max-width: 720px; margin: 0 auto;
  font-size: 1.02rem; line-height: 1.9; color: var(--text-muted); font-weight: 300;
}
.blog-content h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; margin: 2.5rem 0 1rem; color: var(--text); line-height: 1.25; }
.blog-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 500; margin: 2rem 0 .8rem; color: var(--text); }
.blog-content p { margin-bottom: 1.3rem; }
.blog-content ul, .blog-content ol { margin: 1rem 0 1.3rem 1.4rem; }
.blog-content li { margin-bottom: 0.4rem; }
.blog-content strong { font-weight: 600; color: var(--text); }
.blog-content a { color: var(--tiffany-dark); text-decoration: underline; }
.blog-content a:hover { color: var(--text); }
.blog-content blockquote {
  border-left: 3px solid var(--tiffany);
  margin: 2rem 0; padding: 1rem 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-style: italic; color: var(--text);
}
.blog-content img { max-width: 100%; border-radius: 10px; margin: 1.5rem 0; }

/* Share */
.blog-share { padding: 2rem 0 3rem; }
.blog-share-inner {
  display: flex; align-items: center; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}
.blog-share-label {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
}
.btn-share {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1.1rem; border-radius: 40px;
  border: 1.5px solid var(--border); font-size: 0.78rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-share:hover { border-color: var(--tiffany); color: var(--tiffany-dark); }

/* ─── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
  padding: 6rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner h2 em { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.7); font-weight: 300; max-width: 480px; margin: 0 auto 2rem; }

/* ─── MISSION QUOTE ─────────────────────────────────────────────────────── */
.mission-banner { padding: 6rem; text-align: center; }
.mission-quote { max-width: 760px; margin: 0 auto; }
.mission-ornament { font-size: 5rem; line-height: 0.5; color: var(--tiffany-light); opacity: 0.5; display: block; margin-bottom: 1.5rem; }
.mission-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300; line-height: 1.5;
  color: var(--white); font-style: italic;
  margin-bottom: 1.5rem;
}
.mission-quote cite { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tiffany-light); font-style: normal; }

.big-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  max-width: 780px; margin: 0 auto 1.5rem;
}
.big-quote em { color: var(--tiffany-light); }

/* ─── PRENOTA PAGE ──────────────────────────────────────────────────────── */
.prenota-hero { padding: 5rem 0; }
.prenota-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.prenota-left h1 { margin-bottom: 1.2rem; }
.prenota-features { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin: 1.5rem 0; }
.prenota-features li { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.92rem; color: var(--text-muted); font-weight: 300; }
.feat-icon { color: var(--tiffany-dark); font-size: 0.8rem; margin-top: 0.3rem; flex-shrink: 0; }
.contact-link { display: block; font-size: 0.9rem; color: var(--tiffany-dark); margin-bottom: 0.5rem; text-decoration: none; transition: color .2s; }
.contact-link:hover { color: var(--text); }

.prenota-right .form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
}
.prenota-right .form-card h3 {
  font-size: 1.5rem; margin-bottom: 0.5rem;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; color: var(--text);
  background: var(--warm-white);
  transition: border-color .2s; outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--tiffany); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-full { width: 100%; text-align: center; }
.form-alert {
  display: none; margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 8px; font-size: 0.88rem;
}
.form-alert.ok  { display: block; background: #e8f5f4; color: #3a9188; border: 1px solid var(--tiffany-light); }
.form-alert.err { display: block; background: #fde8e8; color: #c0392b; border: 1px solid #f5b7b1; }

/* ─── QUOTE / MISSION ────────────────────────────────────────────────────── */
.mission-banner { padding: 6rem; text-align: center; }
.big-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
  max-width: 780px; margin: 0 auto 1.5rem;
}
.big-quote em { color: var(--tiffany-light); }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--text); color: rgba(255,255,255,0.55); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding: 4rem 6rem 3rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300;
  color: var(--white);
}
.footer-logo span { color: var(--tiffany-light); }
.footer-brand p { font-size: 0.82rem; margin-top: 0.8rem; line-height: 1.6; }
.footer-nav {
  display: flex;
  gap: 3rem;
  margin-top: 0.5rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 6rem;
}
.footer-bottom p { font-size: 0.78rem; }

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.will-reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── MESSAGGI FORM ──────────────────────────────────────────────────────── */
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.alert-success { background: #e8f5f4; color: #3a9188; border: 1px solid var(--tiffany-light); }
.alert-error   { background: #fdf0f0; color: #c0392b; border: 1px solid #f5b7b1; }

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .site-nav { padding: 0 2.5rem; }
  .nav-logo img { height: 64px; max-width: 224px; }
  .section { padding: 5rem 3rem; }
  .section-sm { padding: 3rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 3rem; }
  .hero-right { min-height: 320px; }
  .about-strip { grid-template-columns: 1fr; gap: 3rem; overflow: hidden; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 4rem 3rem; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-visual { position: static; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 3rem; }
  .prenota-layout { grid-template-columns: 1fr; gap: 3rem; }
  .service-block { grid-template-columns: 1fr; gap: 2rem; direction: ltr !important; }
  .service-block:nth-child(even) > * { direction: ltr; }
  .service-left { position: static; }
  .services-section { padding: 3rem; }
  .service-block-inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-block-info { position: static; }
  .formation-grid { grid-template-columns: 1fr; gap: 2rem; }
  .credentials-box { position: static; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right-stat { grid-template-columns: 1fr 1fr; }
  .service-left { position: static; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 4rem 3rem; }
  .mission-banner { padding: 4rem 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem; }
  .footer-bottom { padding: 1.5rem 3rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════ */
@media (max-width: 700px) {
  .site-nav { padding: 0 1.5rem; height: 72px; }
  .nav-logo img { height: 48px; max-width: 168px; }
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border: none; padding-top: 1rem; }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: 0.9rem; }
  .nav-cta { text-align: center; padding: 0.7rem 1.4rem !important; display: inline-block !important; }

  .section { padding: 3.5rem 1.2rem; }
  .section-sm { padding: 2.5rem 1.2rem; }
  .container { padding: 0 1rem; }
  .hero-left { padding: 2.5rem 1.2rem; }

  /* Hero right: foto + pills in colonna, pills NON più sovrapposti alla foto */
  .hero-right {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }
  .hero-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    border-radius: 0;
  }
  .hero-pills {
    position: static;
    padding: 0.8rem 1rem 1rem;
    background: var(--cream);
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  /* About strip: foto + testo in colonna, senza overflow */
  .about-strip { gap: 2rem; }
  .about-visual--photo { border-radius: 1rem; clip-path: inset(0 round 1rem); }
  .about-text .btn { white-space: normal; word-break: break-word; text-align: center; display: block; max-width: 100%; }

  /* Chi sono: story-visual non sticky, overflow safe */
  .story-visual { position: static; overflow: hidden; max-height: none; }
  .story-img { width: 100%; height: auto; object-fit: contain; }
  .story-grid { gap: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .services-section { padding: 2rem 1.5rem; }

  /* Filosofia — 1 colonna su smartphone, card impilate */
  .philosophy-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-card { display: block; padding: 1.2rem 1rem; text-align: center; }
  .value-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }

  /* Timeline mobile */
  .timeline-item { grid-template-columns: 52px 1fr; gap: 0 1rem; padding-bottom: 1.8rem; }
  .timeline-year { font-size: 0.73rem; padding-top: 0.1rem; }
  .timeline-item:not(:last-child) > div::after { bottom: -1.8rem; }
  .timeline-content h4 { font-size: 0.95rem; }

  /* Formation grid già a 1 col da 1024px, qui raffiniamo spaziatura */
  .formation-grid { gap: 2rem; }
  .credentials-box { padding: 1.2rem 1rem; }
  .teaching-box { padding: 1.2rem 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .footer-inner { padding: 2.5rem 1.5rem; }
  .footer-bottom { padding: 1.2rem 1.5rem; }
  .cta-banner { padding: 3rem 1.5rem; }
  .mission-banner { padding: 3rem 1.5rem; }
  .story-section { padding: 3.5rem 1.2rem; }
  .page-hero { padding: 3rem 1.2rem; }
}

/* ─── PAGINA CONTATTI ───────────────────────────────────────────────────── */
.contact-main-section { background: var(--warm-white); padding-top: 5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-col { }
.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-block:first-child { padding-top: 0; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .3rem; }
.contact-value { color: var(--tiffany-dark); font-weight: 500; font-size: 1rem; text-decoration: none; display: block; }
.contact-value:hover { color: var(--tiffany); }
.contact-note { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }

/* Ritratto contatti */
.contact-portrait {
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 2.2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}
.contact-portrait img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.contact-portrait:hover img { transform: scale(1.02); }

/* Sedi */
.contact-sedi { margin-top: 2rem; }
.sedi-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; margin-bottom: 1.2rem; color: var(--text); }
.sede-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem;
  margin-bottom: 1rem;
}
.sede-nome { font-weight: 600; color: var(--text); margin-bottom: .6rem; font-size: .95rem; }
.sede-row { font-size: .85rem; color: var(--text-muted); margin-bottom: .3rem; }
.sede-row a { color: var(--tiffany-dark); text-decoration: none; }
.sede-row a:hover { text-decoration: underline; }
.sede-orari { font-size: .82rem; color: var(--text-muted); margin-top: .6rem; line-height: 1.6; }
.sede-note { font-size: .78rem; color: var(--text-muted); font-style: italic; margin-top: .5rem; }

/* Form contatto */
.contact-form-col { }
.contact-form-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
}
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; margin-bottom: .4rem; color: var(--text); }
.form-sub { color: var(--text-muted); font-size: .9rem; font-weight: 300; margin-bottom: 2rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  background: white;
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tiffany);
  box-shadow: 0 0 0 3px rgba(129,199,192,.15);
}
.form-check { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.5rem; font-size: .83rem; color: var(--text-muted); line-height: 1.4; }
.form-check input { width: auto; margin-top: .15rem; flex-shrink: 0; }
.form-check a { color: var(--tiffany-dark); }
.btn-full { display: block; width: 100%; text-align: center; padding: .85rem; }

/* Responsive contatti */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .contact-form-box { padding: 1.5rem; }
}


/* ── Timeline & Formazione — tablet/mobile ───────────────────────────────── */
@media (max-width: 900px) {
  .formation-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .credentials-box { position: static; }
  .teaching-box { margin-top: 1.5rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SERVIZI HOME - MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.service-card-more {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--tiffany-dark);
  font-weight: 500;
}

.service-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.service-modal.active {
  display: flex;
}

.service-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.service-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  transition: all 0.2s;
}

.service-modal-close:hover {
  background: var(--cream);
  color: var(--text);
}

.service-modal-icon {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.service-modal-content h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.service-modal-detail {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.service-modal-footer {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.service-modal-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--tiffany-dark);
}

@media (max-width: 640px) {
  .service-modal-content {
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    max-height: 90vh;
  }
  .service-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .service-modal-price {
    text-align: center;
  }
}

/* ═══ SERVICE MODAL ═══════════════════════════════════════════════════ */
.service-card-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--tiffany);
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.2s;
}
.service-card:hover .service-card-more {
  transform: translateX(4px);
}

.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.service-modal.active {
  display: flex;
}

.service-modal-content {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s;
}
.service-modal-close:hover {
  color: var(--text);
}

.service-modal-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.service-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text);
}

.service-modal-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

.service-modal-price {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--tiffany);
  text-align: center;
  margin: 1.5rem 0;
}

.service-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .service-modal-content {
    padding: 2rem 1.5rem;
  }
  .service-modal-title {
    font-size: 1.6rem;
  }
  .service-modal-actions {
    flex-direction: column;
  }
  .service-modal-actions .btn {
    width: 100%;
  }
}


/* ═══ SERVICE IMAGES ═══════════════════════════════════════════════════ */
.service-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
}

.service-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ═══ SERVICE CARD LAYOUT HORIZONTAL ═══════════════════════════════════ */
.service-card {
  display: flex;
  align-items: stretch;
  text-align: left;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.service-card .service-image {
  width: 50%;
  height: auto;
  min-height: 200px;
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
}

.service-card .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card .service-icon {
  width: 50%;
  min-height: 200px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  font-size: 3rem;
}

.service-card-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.service-card p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
  }
  
  .service-card .service-image,
  .service-card .service-icon {
    width: 100%;
    min-height: 180px;
  }
  
  .service-card-content {
    padding: 1.5rem;
  }
}


/* ═══ SERVICE CARD HOVER EFFECT ═══════════════════════════════════════ */
.service-card {
  position: relative;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card .service-image,
.service-card .service-icon {
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-card:hover .service-image,
.service-card:hover .service-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: 12px;
}

.service-card:hover .service-image img {
  border-radius: 12px;
}

.service-card .service-card-content {
  position: relative;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card-content {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .service-card:hover .service-image,
  .service-card:hover .service-icon {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .service-card:hover .service-card-content {
    opacity: 1;
  }
}


/* ═══ SERVICE CARD HOVER EFFECT FIX ═══════════════════════════════════ */
.service-card {
  position: relative;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-card .service-image,
.service-card .service-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  min-height: 200px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease;
  z-index: 5;
  will-change: width;
}

.service-card:hover .service-image,
.service-card:hover .service-icon {
  width: 100%;
  z-index: 5;
}

.service-card .service-image img {
  transform: scale(1);
  transition: none;
}

.service-card .service-card-content {
  position: relative;
  z-index: 1;
  margin-left: 50%;
  width: 50%;
  transition: opacity 0.4s ease 0.1s;
  will-change: opacity;
}

.service-card:hover .service-card-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .service-card .service-image,
  .service-card .service-icon {
    position: relative;
    width: 100%;
  }
  
  .service-card .service-card-content {
    margin-left: 0;
    width: 100%;
  }
  
  .service-card:hover .service-image,
  .service-card:hover .service-icon {
    width: 100%;
  }
  
  .service-card:hover .service-card-content {
    opacity: 1;
  }
}


/* ═══ SERVICE CARD MOBILE LAYOUT ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .service-card {
    flex-direction: column;
    position: relative;
  }
  
  .service-card .service-image,
  .service-card .service-icon {
    position: relative;
    width: 100%;
    min-height: 250px;
  }
  
  .service-card .service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(129, 199, 192, 0.95);
    backdrop-filter: blur(8px);
    z-index: 10;
  }
  
  .service-card .service-card-content h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0;
  }
  
  .service-card .service-card-content p,
  .service-card .service-card-content .service-card-more {
    display: none;
  }
  
  .service-card:hover .service-image,
  .service-card:hover .service-icon {
    width: 100%;
  }
  
  .service-card:hover .service-card-content {
    opacity: 1;
  }
}



/* ═══ SERVICE MODAL TERMS ══════════════════════════════════════════════ */
.service-modal-terms {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-checkbox a {
  color: var(--tiffany);
  text-decoration: underline;
  font-weight: 500;
}

.terms-checkbox a:hover {
  color: var(--tiffany-dark);
}
