/* Coesione fa. — final editorial system */
:root {
  --red: #C8202F;
  --bordeaux: #7A1F3D;
  --bordeaux-dark: #421B2B;
  --cream: #FBF8F5;
  --text: #303030;
  --gray-light: #F1F1F0;
  --white: #FFFFFF;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,h2,h3,h4 { font-family: 'Manrope', system-ui, sans-serif; color: var(--bordeaux); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
a { color: var(--red); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; position: relative; }
.eyebrow { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 1.4rem; }
.display { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; line-height: .98; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.1rem; color: #555; max-width: 58ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .3s ease;
  text-decoration: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--bordeaux); transform: translateY(-2px); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--bordeaux); border-color: rgba(122,31,61,.3); }
.btn-ghost:hover { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); text-decoration: none; }
.btn-light { background: #fff; color: var(--bordeaux-dark); }
.btn-light:hover { background: var(--cream); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; margin:0; padding:0; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a:not(.btn)::after { content:''; position:absolute; left:0; bottom:-4px; width:0; height:1.5px; background:var(--red); transition: width .3s; }
.nav-links a:not(.btn):hover::after { width:100%; }
.nav-links a:not(.btn):hover { color: var(--red); }
.nav-links .btn-primary { color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 60; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--bordeaux); margin: 5px 0; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; left: 0; flex-direction: column; background: var(--white); padding: 100px 32px 32px; transform: translateY(-100%); transition: transform .4s ease; gap: 24px; display: flex; z-index: 40; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.4rem; font-weight: 600; }
  .nav-links .btn { width: 100%; text-align: center; justify-content: center; color: #fff; }
}

/* Photo slot */
.photo-slot { background: var(--gray-light) center/cover no-repeat; }

/* Hero surface */
.hero-new { padding: 100px 0 40px; background: var(--white); }
.hero-surface {
  background: var(--cream);
  border-radius: 24px;
  padding: 56px 56px 36px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.hero-top .eyebrow { color: var(--red); }
.hero-top h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); color: var(--bordeaux); max-width: 15ch; line-height: 1.05; }
.hero-top h1 .accent { color: var(--bordeaux); font-weight: 800; }
.hero-intro { font-size: 1.05rem; color: #555; max-width: 44ch; margin-top: 20px; line-height: 1.7; }
.hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.hero-cta .link-cta { color: var(--bordeaux); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.hero-cta .link-cta::after { content: '→'; transition: transform .2s; }
.hero-cta .link-cta:hover::after { transform: translateX(4px); }
.hero-photo-new {
  min-height: 400px;
  border-radius: 16px;
  background: var(--gray-light) center/cover no-repeat;
  background-image: url('img/hero.jpg');
}
.hero-side-note {
  position: absolute;
  top: 56px;
  right: 56px;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  opacity: .5;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@media (max-width: 900px) {
  .hero-surface { grid-template-columns: 1fr; padding: 36px 24px 24px; border-radius: 20px; }
  .hero-photo-new { min-height: 260px; order: -1; }
  .hero-side-note { display: none; }
}

/* Accoglienza */
.acc-section { padding: 80px 0; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.acc-grid .visual { min-height: 380px; border-radius: 20px; background: var(--gray-light) center/cover no-repeat; background-image: url('img/accoglienza.jpg'); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr; gap: 40px; } .acc-grid .visual { min-height: 260px; } }

/* Percorsi bento */
.percorsi-section { padding: 100px 0; background: var(--gray-light); }
.percorsi-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 260px; gap: 20px; margin-top: 48px; }
.percorso-card { background: #fff; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; }
.percorso-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(122,31,61,.08); }
.percorso-card .num { font-family: 'Manrope'; font-size: 2.6rem; font-weight: 800; color: var(--red); line-height: 1; }
.percorso-card h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.percorso-card .tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #777; margin-bottom: 8px; }
.percorso-card p { color: #555; font-size: .9rem; }
.percorso-card.large { grid-row: span 2; background: linear-gradient(160deg, var(--bordeaux), var(--bordeaux-dark)); color: #fff; }
.percorso-card.large h3, .percorso-card.large p, .percorso-card.large .tag { color: #fff; }
.percorso-card.large .num { color: rgba(255,255,255,.35); }
.percorso-card.large .tag { color: rgba(255,255,255,.6); }
@media (max-width: 900px) {
  .percorsi-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .percorso-card.large { grid-row: span 1; }
}

/* Metodo */
.method-section { padding: 100px 0; background: var(--white); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.method-card { background: var(--cream); border-radius: 18px; padding: 36px 28px; }
.method-card h3 { font-size: 1.8rem; color: var(--bordeaux); margin-bottom: 12px; }
.method-card p { color: #555; font-size: .95rem; }
.method-card .ghost { font-family: 'Manrope'; font-size: 4rem; font-weight: 800; color: rgba(122,31,61,.08); line-height: 1; margin-bottom: 8px; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; } }

/* Transition */
.transition { padding: 80px 0; background: var(--gray-light); text-align: center; }
.transition h2 { max-width: 24ch; margin: 0 auto; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }

/* Dark section */
.dark-section { background: var(--bordeaux-dark); color: #fff; padding: 110px 0; }
.dark-section .eyebrow { color: rgba(255,255,255,.6); }
.dark-section h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.dark-section p { color: rgba(255,255,255,.75); }
.dark-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.15); }
.dark-area { padding: 40px 32px 40px 0; border-right: 1px solid rgba(255,255,255,.15); }
.dark-area:last-child { border-right: none; padding-left: 32px; padding-right: 0; }
.dark-area .num { font-family: 'Manrope'; font-size: 3.5rem; font-weight: 800; color: rgba(255,255,255,.2); line-height: 1; margin-bottom: 16px; }
.dark-area h3 { font-size: 1.5rem; color: #fff; margin-bottom: 12px; }
.dark-area p { color: rgba(255,255,255,.7); font-size: .95rem; }
.dark-area .tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 12px; }
.dark-contrib { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.15); }
.dark-contrib h3 { font-size: 1.6rem; color: #fff; margin-bottom: 16px; }
.dark-contrib ul { list-style: none; padding: 0; margin: 16px 0; }
.dark-contrib ul li { color: rgba(255,255,255,.8); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .95rem; }
.dark-contrib ul li::before { content: '—'; color: var(--red); margin-right: 12px; }
.dark-invite { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.dark-invite h3 { font-size: 1.8rem; color: #fff; margin-bottom: 12px; }
.dark-invite p { color: rgba(255,255,255,.75); }
@media (max-width: 900px) {
  .dark-areas, .dark-contrib, .dark-invite { grid-template-columns: 1fr; }
  .dark-area { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: 32px 0; }
  .dark-area:last-child { padding-left: 0; }
}

/* Centro studi */
.cs-section { padding: 110px 0; background: var(--white); }
.cs-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.cs-grid h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
@media (max-width: 900px) { .cs-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Collaborazioni final */
.final-cta { padding: 110px 0; background: var(--cream); border-radius: 24px 24px 0 0; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 20ch; }
.final-cta .cta-row { margin-top: 32px; }

/* About hero */
.about-hero { padding: 100px 0 0; background: var(--cream); }
.ca-hero-photo-caption {
  position: absolute;
  right: .6rem;
  bottom: .4rem;
  font-size: .72rem;
  color: #fff;
  font-style: italic;
  z-index: 2;
}
.about-hero-text { max-width: 760px; padding: 0 32px; }
.about-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--bordeaux); font-weight: 600; line-height: 1.15; }
.about-hero .accent { color: var(--red); font-weight: 700; }
.about-hero .lead { margin-top: 18px; max-width: 52ch; color: #555; }
.about-hero-photo { min-height: 52vh; background: var(--gray-light) center/cover no-repeat; background-image: url('img/accoglienza.jpg'); margin-top: 40px; }
.about-story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-story-grid .photo-slot { min-height: 460px; border-radius: 12px; }
.vm-row { display: flex; gap: 32px; padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.vm-row span { font-family: 'Manrope'; font-size: 1.4rem; font-weight: 600; color: var(--bordeaux); }
.vm-row span:first-child { min-width: 220px; }
.relations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; }
.relations-grid p { color: #555; font-size: .95rem; }
.about-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: minmax(0, 1fr); }
  .about-story-grid .photo-slot { min-height: 280px; }
  .relations-grid { grid-template-columns: 1fr; }
  .vm-row { flex-direction: column; gap: 4px; }
  .vm-row span:first-child { min-width: auto; }
  .about-contact-grid { grid-template-columns: 1fr; }
}

/* Values */
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.value-chip { padding: 10px 18px; border-radius: 8px; background: var(--gray-light); color: var(--bordeaux); font-weight: 600; font-size: .85rem; }

/* Form */
.form-wrap { max-width: 680px; margin: 0 auto; background: var(--white); padding: 48px; border-radius: 16px; border: 1px solid rgba(0,0,0,.06); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: .85rem; color: var(--bordeaux); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 16px 18px; border: 1.5px solid rgba(0,0,0,.08);
  border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--gray-light);
  transition: all .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(200,32,47,.08);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.checkbox-group { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-group input { width: auto; margin-top: 4px; accent-color: var(--red); }
.error { color: var(--red); font-size: .85rem; margin-top: 4px; display: none; }
.error.show { display: block; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; display: none; font-size: .9rem; }
.form-status.success { display: block; background: #e8f5e9; color: #2e7d32; }
.form-status.error { display: block; background: #fdecea; color: var(--red); }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin .6s linear infinite; margin-right: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* Footer */
.site-footer { background: var(--bordeaux-dark); color: #fff; padding: 80px 0 32px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* Intro loader */
.intro-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
.intro-loader .mask { overflow: hidden; display: inline-block; }
.intro-loader img { max-width: 220px; width: 40vw; transform: translateY(120%); animation: introSlide 1.1s cubic-bezier(.2,.8,.2,1) .3s forwards, introFade .5s ease 1.7s forwards; }
@media (min-width: 769px) {
  .intro-loader img { max-width: 308px; width: 56vw; }
}
@keyframes introSlide { to { transform: translateY(0); } }
@keyframes introFade { to { opacity: 0; } }
.intro-loader.hide { opacity: 0; pointer-events: none; }
body.intro-lock { overflow: hidden; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 768px) {
  html { font-size: 90%; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .form-wrap { padding: 28px; }
}/* Shared header behavior */
.site-header, .cf-header { transition: transform .4s ease, opacity .4s ease; position: fixed; top: 0; left: 0; right: 0; z-index: 210; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.site-header.header-in, .cf-header.header-in { opacity: 1; transform: translateY(0); }
.cf-home main, .cf-about main { padding-top: 84px; }
.mobile-menu-panel { z-index: 200; }
.cf-header { display: flex !important; align-items: center !important; justify-content: space-between !important; padding-block: 1.1rem !important; padding-inline: clamp(1rem, 4vw, 3.5rem) !important; width: 100% !important; overflow: hidden; background: #fff !important; border-bottom: 1px solid rgba(0,0,0,.06) !important; }
.cf-header .cf-brand { color: #7A1F3D; font: bold 1.65rem/1 'Manrope', Georgia, serif; text-decoration: none; letter-spacing: -.06em; display: inline-flex; align-items: center; }
.cf-header .cf-brand em { color: #C8202F; }
.cf-header nav { display: flex !important; align-items: center !important; gap: .7rem clamp(.8rem, 2vw, 1.75rem) !important; flex-wrap: wrap !important; }
.cf-header nav a { font-size: .9rem; color: inherit; text-decoration: none; }
.cf-header nav a[aria-current="page"] { font-weight: 700 !important; }
.cf-header nav a[aria-current] { font-weight: 700; }
.cf-header .cf-button { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.85rem; padding: .63rem 1.2rem; border-radius: 99rem; background: #C8202F; color: white; font-size: .9rem; font-weight: 700; text-decoration: none; }
.cf-header .cf-button:hover { background: #7A1F3D; }
.header-hidden { transform: translateY(-100%); }

/* Desktop nav toggle hidden */
.nav-toggle { display: none; }
@media (max-width: 768px) {
  .nav-toggle { display: block !important; }
  /* hide horizontal nav on mobile */
  .site-header .nav-links { display: none !important; }
  .cf-header nav { display: none !important; }
}

/* Mobile full-screen menu panel */
.mobile-menu-panel {
  position: fixed;
  inset: 0;
  background: #FBF8F5;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-panel.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu-panel a {
  color: #7A1F3D;
  font-family: 'Manrope', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-menu-panel .cf-button, .mobile-menu-panel .btn-primary {
  background: #C8202F;
  color: #fff;
  padding: .7rem 1.6rem;
  border-radius: 99rem;
  display: inline-block;
}

/* nav-toggle bar -> X */
.nav-toggle { background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 210; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #7A1F3D; margin: 5px 0; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .site-header, .cf-header, .mobile-menu-panel { transition: none; }
  .cf-home .cf-level-card, .cf-home .cf-level-detail, .cf-home .cf-level-toggle { transition: none; }
}/* Tutte le regole si applicano soltanto a body.cf-home e ai suoi discendenti. */
.cf-home {
  --ink: #303030;
  --wine: #7A1F3D;
  --deep: #421B2B;
  --red: #C8202F;
  --paper: #FBF8F5;
  --cream: #F1F1F0;
  --rose: #F6ECEA;
  --muted: #555555;
  --radius: clamp(1.35rem, 3vw, 2.5rem);
  --pad: clamp(1.35rem, 5vw, 4.5rem);
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 'Inter', system-ui, sans-serif;
}
.cf-home *, .cf-home *::before, .cf-home *::after { box-sizing: border-box; }
.cf-home .cf-wrap { width: min(76rem, calc(100% - 2 * clamp(1rem, 4vw, 3.5rem))); margin-inline: auto; }
.cf-home a { color: inherit; text-underline-offset: .22em; }
.cf-home a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.cf-home p { margin: 0 0 1em; max-width: 60ch; }
.cf-home h1, .cf-home h2, .cf-home h3 { margin: 0 0 .4em; line-height: 1.03; text-wrap: balance; }
.cf-home h1, .cf-home h2 { color: var(--wine); font-family: 'Manrope', Georgia, serif; font-weight: 700; letter-spacing: -.04em; }
.cf-home h1 { font-size: clamp(2.8rem, 6.25vw, 6rem); }
.cf-home h2 { font-size: clamp(2.35rem, 4.8vw, 4.4rem); }
.cf-home h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.035em; }
.cf-home .cf-label { color: var(--red); font-weight: 700; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.cf-home .cf-header, .cf-home .cf-footer-inner, .cf-home nav { display: flex; align-items: center; gap: .7rem clamp(.8rem, 2vw, 1.75rem); flex-wrap: wrap; }
.cf-home .cf-header, .cf-home .cf-footer-inner { justify-content: space-between; padding-block: 1.1rem; }
.cf-home .cf-brand { color: var(--wine); font: bold 1.65rem/1 'Manrope', Georgia, serif; text-decoration: none; letter-spacing: -.06em; }
.cf-home .cf-brand em { color: var(--red); }
.cf-home nav a { font-size: .9rem; }
.cf-home nav a[aria-current] { font-weight: 700 !important; }
.cf-home .cf-button { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.85rem; padding: .63rem 1.2rem; border-radius: 99rem; background: var(--red); color: white; font-size: .9rem; font-weight: 700; text-decoration: none; }
.cf-home .cf-button:hover { background: var(--wine); }
.cf-home .cf-button:focus-visible { outline-color: var(--wine); }
.cf-home .cf-link { color: var(--wine); font-weight: 700; }
.cf-home .cf-skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-180%); }
.cf-home .cf-skip:focus { transform: none; }

/* Hero */
.cf-home .cf-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr);
  align-items: stretch;
  width: 100vw;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border-radius: 0;
  background: var(--paper);
  min-height: max(42rem, calc(100vh - 82px));
  min-height: max(42rem, calc(100svh - 82px));
}
.cf-home .cf-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: clamp(2.5rem, 6vh, 5rem) clamp(1.75rem, 4vw, 4rem) clamp(2.5rem, 6vh, 5rem) clamp(2rem, 6vw, 7rem);
  padding-left: max(clamp(2rem, 6vw, 7rem), calc((100vw - 80rem) / 2));
}
.cf-home .cf-hero-eyebrow { margin: 0 0 clamp(1rem, 2vw, 1.5rem); }
.cf-home .cf-hero h1 {
  max-width: 12.5ch;
  margin: 0 0 clamp(1.1rem, 2vw, 1.55rem);
  font-size: clamp(3rem, 5.35vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.cf-home .cf-hero-lead {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
  max-width: 46ch;
  color: #4A4A4A;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}
.cf-home .cf-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(1.2rem, 2.2vw, 2.2rem);
}
.cf-home .cf-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.4rem;
  padding: .9rem 1.9rem;
  border-radius: 99rem;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.cf-home .cf-hero-cta:hover {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 10px 24px rgba(122, 31, 61, .14);
}
.cf-home .cf-hero-cta-arrow { display: inline-block; transition: transform .25s ease; }
.cf-home .cf-hero-cta:hover .cf-hero-cta-arrow { transform: translateX(4px); }
.cf-home .cf-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  padding: .4rem 0;
  color: var(--wine);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.cf-home .cf-hero-secondary:hover { color: var(--red); }
.cf-home .cf-hero-photo-wrap {
  position: relative;
  z-index: 0;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
}
.cf-home .cf-hero-photo-caption {
  position: absolute;
  right: .6rem;
  bottom: .4rem;
  font-size: .72rem;
  color: #8a8a8a;
  font-style: italic;
  z-index: 2;
}
@media (min-width: 900px) {
  .cf-home .cf-hero-photo-caption { bottom: 1.26rem; }
}
@media (max-width: 768px) {
  .cf-home .cf-hero { padding-bottom: 3.36rem; }
  .cf-home .cf-hero-photo-caption { position: absolute; bottom: -2.18rem; right: .6rem; }
  .cf-home .cf-hero-photo-caption br { display: none; }
}
.cf-home .cf-hero-masks {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.cf-home .cf-hero-photo-wrap::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  background: #F7E5E0;
  clip-path: url(#heroRoseClipDesktop);
  pointer-events: none;
}
.cf-home .cf-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 34% 42%;
  clip-path: url(#heroPhotoClipDesktop);
}
.cf-home .cf-section { margin-top: clamp(3rem, 8vw, 7rem); }
.cf-home .cf-split { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: clamp(1.5rem, 7vw, 6rem); }
.cf-home .cf-photo { display: block; width: 100%; height: 100%; min-height: 16rem; object-fit: cover; border-radius: var(--radius); }

/* Sezione "Un luogo per le relazioni" */
.cf-home .cf-famiglie {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  grid-template-areas:
    "media head"
    "media body";
  align-items: start;
  align-content: start;
  column-gap: clamp(3.125rem, 4vw, 4.0625rem);
  row-gap: 0;
}
/* Sezione speculare (immagine a destra) */
.cf-home .cf-famiglie--reverse {
  grid-template-columns: minmax(0, .58fr) minmax(0, .42fr);
  grid-template-areas:
    "head media"
    "body media";
}
.cf-home .cf-famiglie--reverse .cf-famiglie-media::before {
  inset: -2% -4% -2% -2%;
  transform: rotate(2deg);
}
.cf-home .cf-famiglie-head { grid-area: head; align-self: start; min-width: 0; }
.cf-home .cf-famiglie-body { grid-area: body; align-self: start; min-width: 0; }
.cf-home .cf-famiglie-head,
.cf-home .cf-famiglie-body { position: relative; z-index: 1; }
.cf-home .cf-famiglie-head .cf-label { margin: 0 0 clamp(1rem, 1.8vw, 1.4rem); }
.cf-home .cf-famiglie-head h2 {
  margin: 0 0 clamp(1.35rem, 2.2vw, 1.8rem);
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.cf-home .cf-famiglie-media {
  grid-area: media;
  position: relative;
  isolation: isolate;
  align-self: start;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 1.15rem;
}
.cf-home .cf-famiglie-media-caption {
  position: absolute;
  right: .6rem;
  bottom: .4rem;
  font-size: .72rem;
  color: #fff;
  font-style: italic;
  z-index: 2;
}
.cf-home .cf-famiglie-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset: -2% -2% -2% -4%;
  background: #F8E6E2;
  border-radius: 54% 46% 51% 49% / 44% 54% 46% 56%;
  transform: rotate(-2deg);
}
.cf-home .cf-famiglie-media .cf-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  object-position: center 45%;
}
.cf-home .cf-famiglie-principles {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.7vw, 1.4rem);
  margin: 0 0 clamp(1.4rem, 2.4vw, 1.8rem);
  padding: 0;
  list-style: none;
}
.cf-home .cf-famiglie-principles li {
  display: flex;
  align-items: center;
  gap: clamp(.55rem, .9vw, .8rem);
  min-width: 0;
}
.cf-home .cf-famiglie-principles li + li {
  border-left: 1px solid #EFD9D5;
  padding-left: clamp(.7rem, 1.7vw, 1.4rem);
}
.cf-home .cf-famiglie-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(2.65rem, 3.7vw, 3.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #F8E7E4;
  color: var(--wine);
}
.cf-home .cf-famiglie-icon svg { width: 49%; height: 49%; }
.cf-home .cf-famiglie-principle {
  color: var(--wine);
  font-weight: 700;
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}
.cf-home .cf-famiglie-intro {
  max-width: 58ch;
  color: #4C4C4C;
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  margin: 0 0 1.1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--bordeaux);
}
.cf-home .cf-famiglie-body p {
  max-width: 100%;
  color: #4C4C4C;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.72;
  margin: 0 0 1.1rem;
}
.cf-home .cf-famiglie-body p:last-of-type { margin-bottom: clamp(1.2rem, 2vw, 1.7rem); }
.cf-home .cf-famiglie-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  transition: color .2s ease;
}
.cf-home .cf-famiglie-arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.cf-home .cf-famiglie-link:hover { color: var(--red); }
.cf-home .cf-famiglie-link:hover .cf-famiglie-arrow { transform: translateX(3px); }

@media (max-width: 64rem) {
  .cf-home .cf-famiglie-media::before { left: -3%; }
}
@media (max-width: 56rem) {
  .cf-home .cf-famiglie {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "media"
      "body";
    row-gap: clamp(1.4rem, 4vw, 2rem);
  }
  .cf-home .cf-famiglie-head,
  .cf-home .cf-famiglie-body { align-self: start; }
  .cf-home .cf-famiglie-head h2 {
    font-size: clamp(2.2rem, 6vw, 3.3rem);
    margin-bottom: clamp(1.2rem, 3vw, 1.6rem);
  }
  .cf-home .cf-famiglie-media {
    width: min(100%, 36rem);
    aspect-ratio: 4 / 3;
    justify-self: center;
    overflow: hidden;
  }
  .cf-home .cf-famiglie-media::before { top: -2%; left: -2%; }
}
@media (max-width: 34rem) {
  .cf-home .cf-famiglie { row-gap: 1.4rem; }
  .cf-home .cf-famiglie-media { border-radius: 1rem; }
  .cf-home .cf-famiglie-principles { gap: .55rem; }
  .cf-home .cf-famiglie-principles li { gap: .45rem; }
  .cf-home .cf-famiglie-principles li + li { padding-left: .55rem; }
  .cf-home .cf-famiglie-icon { width: 2.4rem; }
  .cf-home .cf-famiglie-principle { font-size: .82rem; }
}

@media (max-width: 68rem) {
  .cf-home .cf-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .cf-home .cf-hero-copy {
    padding: clamp(2.25rem, 6vw, 4rem) clamp(1.5rem, 6vw, 4rem) 0;
  }
  .cf-home .cf-hero h1 {
    max-width: 16ch;
    font-size: clamp(2.7rem, 7.5vw, 4.1rem);
  }
  .cf-home .cf-hero-photo-wrap {
    margin-top: clamp(1.75rem, 4.5vw, 2.75rem);
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .cf-home .cf-hero-photo {
    clip-path: url(#heroPhotoClipMobile);
    object-position: 50% 42%;
  }
  .cf-home .cf-hero-photo-wrap::before {
    inset: 0 auto 0 -4%;
    width: 104%;
    clip-path: url(#heroPhotoClipMobile);
  }
}
@media (min-width: 68.01rem) {
  .cf-home .cf-hero-copy {
    padding-bottom: calc(clamp(2.5rem, 6vh, 5rem) + 3.75rem);
  }
}
@supports not (clip-path: url(#heroPhotoClipDesktop)) {
  .cf-home .cf-hero-photo { clip-path: none; }
  @media (max-width: 68rem) {
    .cf-home .cf-hero-photo { border-radius: 1.5rem; }
  }
}
@media (max-width: 767px) {
  .cf-home .cf-hero {
    min-height: 0;
    align-content: start;
  }
  .cf-home .cf-hero-copy {
    padding: 24px clamp(20px, 6.15vw, 24px) 0;
  }
  .cf-home .cf-hero-eyebrow { margin-bottom: 22px; }
  .cf-home .cf-hero h1 {
    max-width: 100%;
    margin-bottom: 24px;
    font-size: clamp(36px, 9vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-align: left;
  }
  .cf-home .cf-hero-lead {
    margin-bottom: 30px;
    font-size: 1rem;
  }
  .cf-home .cf-hero-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(16px, 5vw, 24px);
  }
  .cf-home .cf-hero-cta {
    width: auto;
    max-width: 100%;
    min-height: 52px;
    padding: 0 26px;
    text-align: center;
  }
  .cf-home .cf-hero-secondary {
    align-self: center;
    min-height: 52px;
    margin-right: 12px;
    padding: .4rem 1rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-decoration: none;
  }
  .cf-home .cf-hero-photo-wrap {
    width: calc(100% - 2 * clamp(20px, 6.15vw, 24px));
    aspect-ratio: 1.3;
    margin: 40px auto 0;
  }
  .cf-home .cf-hero-photo {
    object-position: 54% 40%;
    clip-path: url(#heroPhotoClipMobile);
  }
  .cf-home .cf-hero-photo-wrap::before {
    inset: 0;
    width: auto;
    clip-path: url(#heroRoseClipMobile);
  }
  .cf-home .cf-hero + .cf-section { margin-top: 56px; }
}
@media (max-width: 22.5rem) {
  .cf-home .cf-hero-cta {
    width: auto;
    padding-inline: .75rem;
    font-size: .86rem;
  }
  .cf-home .cf-hero-secondary {
    font-size: .86rem;
  }
}
.cf-home .cf-art { isolation: isolate; position: relative; overflow: hidden; display: grid; align-items: end; min-height: 16rem; border-radius: var(--radius); background: var(--wine); color: white; }
.cf-home .cf-art i { position: absolute; z-index: -1; display: block; border-radius: 52% 48% 45% 55% / 60% 50% 50% 40%; }
.cf-home .cf-art-hero i:nth-child(1) { width: 93%; aspect-ratio: .87; left: -21%; top: -16%; background: #a22443; transform: rotate(-27deg); }
.cf-home .cf-art-hero i:nth-child(2) { width: 86%; aspect-ratio: .83; right: -22%; bottom: -15%; background: #d34a55; transform: rotate(29deg); }
.cf-home .cf-art-hero i:nth-child(3) { width: 54%; aspect-ratio: .72; right: 5%; top: -22%; background: #f2b3ad; transform: rotate(-35deg); }
.cf-home .cf-art span { padding: clamp(1.4rem, 4vw, 3rem); font: 500 clamp(2.3rem, 5vw, 4.6rem)/.93 Georgia, serif; letter-spacing: -.065em; text-shadow: 0 2px 15px #391322; }

.cf-home .cf-levels { list-style: none; display: grid; grid-template-columns: 1.34fr 1fr 1fr; gap: .85rem; margin: 1.6rem 0 0; padding: 0; }
.cf-home .cf-levels-grid { display: flex; gap: .85rem; margin: 1.6rem 0 0; align-items: stretch; }
.cf-home .cf-level-card {
  flex: 1 1 0;
  min-width: 0;
  border-radius: var(--radius);
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.07);
  padding: clamp(1.2rem, 3vw, 2.3rem);
  display: flex;
  flex-direction: column;
  transition: flex-grow 800ms cubic-bezier(.22,1,.36,1), color 500ms ease;
  position: relative;
  overflow: hidden;
}
.cf-home .cf-level-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--wine), var(--deep));
  opacity: 0;
  transition: opacity 700ms ease;
  z-index: 0;
  pointer-events: none;
}
.cf-home .cf-level-card--active::before { opacity: 1; }
.cf-home .cf-level-card > * { position: relative; z-index: 1; }
.cf-home .cf-level-card--active {
  flex: 2 1 0;
  color: #fff;
  border: 0;
  box-shadow: 0 16px 40px rgba(122,31,61,0.22);
}
.cf-home .cf-level-card--active :is(.cf-index, .cf-label, h3, p, .cf-level-toggle) { color: #fff; }
.cf-home .cf-level-card :is(.cf-index, .cf-label, h3, p, .cf-level-toggle) { transition: color 500ms ease; }
.cf-home .cf-level-card--active .cf-label { color: #ffd3d6; }
.cf-home .cf-level-card--active .cf-level-toggle { color: #ffd3d6; }
.cf-home .cf-level-toggle {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wine);
  font-weight: 700;
  font-size: .9rem;
  padding: 0;
  transition: color 300ms ease;
}
.cf-home .cf-level-toggle:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.cf-home .cf-level-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height 500ms cubic-bezier(.22,1,.36,1), opacity 250ms ease, transform 250ms ease;
  margin-top: 0;
}
.cf-home .cf-level-card--active .cf-level-detail {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 1rem;
  transition: max-height 600ms cubic-bezier(.22,1,.36,1), opacity 450ms ease 350ms, transform 450ms ease 350ms;
}
.cf-home .cf-level-detail p { margin-top: .75rem; font-size: .9rem; color: inherit; }
.cf-home .cf-level-desc {
  transition: color 500ms ease;
}
.cf-home .cf-orient-band { margin-top: 1.5rem; padding: 1.2rem 1.5rem; border-radius: 1rem; background: var(--rose); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.cf-home .cf-orient-band span { font-weight: 600; color: var(--deep); }
/* Collaborazioni */
.cf-home .cf-collab {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  grid-template-areas:
    "copy media"
    "action media";
  align-items: center;
  column-gap: clamp(2rem, 4vw, 3.6rem);
  row-gap: clamp(1.4rem, 2.2vw, 1.8rem);
  padding: clamp(2rem, 4.6vw, 4.25rem);
  border-radius: var(--radius);
  background: var(--rose);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.cf-home .cf-collab-left {
  grid-area: copy;
  align-self: end;
  min-width: 0;
}
.cf-home .cf-collab-eyebrow {
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.cf-home .cf-collab-left h2 {
  margin: 0 0 clamp(1.2rem, 2vw, 1.6rem);
  color: var(--wine);
  font-size: clamp(2.5rem, 4.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.045em;
}
.cf-home .cf-collab-intro {
  margin: 0;
  max-width: 46ch;
  color: #4F4F4F;
  font-size: clamp(1.02rem, 1.22vw, 1.12rem);
  line-height: 1.55;
}
.cf-home .cf-collab-action {
  grid-area: action;
  align-self: start;
}
.cf-home .cf-collab-btn {
  min-height: 3.2rem;
  padding: .78rem 1.65rem;
  border-radius: 99rem;
  background: var(--red);
  color: #fff;
  font-size: .93rem;
  font-weight: 700;
  transition: background .25s ease, box-shadow .25s ease;
}
.cf-home .cf-collab-btn:hover {
  background: var(--wine);
  box-shadow: 0 8px 20px rgba(122, 31, 61, .12);
}
.cf-home .cf-collab-arrow {
  display: inline-block;
  line-height: 1;
  transition: transform .25s ease;
}
.cf-home .cf-collab-btn:hover .cf-collab-arrow { transform: translate(2px, -2px); }
.cf-home .cf-collab-media {
  grid-area: media;
  position: relative;
  isolation: isolate;
  align-self: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  border-radius: 42px;
}
.cf-home .cf-collab-media::before,
.cf-home .cf-collab-media::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.cf-home .cf-collab-media::before {
  top: -11%;
  left: -7%;
  width: 55%;
  height: 58%;
  border-radius: 52% 48% 42% 58% / 55% 46% 54% 45%;
  background: #F3D9D6;
  transform: rotate(-12deg);
}
.cf-home .cf-collab-media::after {
  right: -6%;
  bottom: -10%;
  width: 48%;
  height: 52%;
  border-radius: 47% 53% 56% 44% / 52% 45% 55% 48%;
  background: #F5DEDA;
  transform: rotate(10deg);
}
.cf-home .cf-collab-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: inherit;
}
/* Incontro "Pensare prima di muovere" */
.cf-home .cf-chess {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
  column-gap: clamp(2rem, 4vw, 3.8rem);
  row-gap: 2rem;
  padding: clamp(2rem, 4.6vw, 4.25rem);
  border-radius: var(--radius);
  background: var(--rose);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.cf-home .cf-chess-intro { min-width: 0; }
.cf-home .cf-chess-eyebrow {
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  font-size: .7rem;
  letter-spacing: .15em;
}
.cf-home .cf-chess-intro h2 {
  margin: 0 0 clamp(.9rem, 1.6vw, 1.2rem);
  color: var(--wine);
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
}
.cf-home .cf-chess-lead {
  margin: 0;
  max-width: 42ch;
  color: #4F4F4F;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}
.cf-home .cf-chess-media {
  position: relative;
  isolation: isolate;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  overflow: hidden;
  background: #F3DED4;
}
.cf-home .cf-chess-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.cf-home .cf-chess-info {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(2rem, 4vw, 3.8rem);
  border-left: 1px solid rgba(122, 31, 61, .14);
}
.cf-home .cf-chess-info li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(.9rem, 1.6vw, 1.25rem);
  padding: clamp(1.05rem, 1.7vw, 1.35rem) 0;
  border-top: 1px solid rgba(122, 31, 61, .14);
}
.cf-home .cf-chess-info li:first-child {
  padding-top: 0;
  border-top: 0;
}
.cf-home .cf-chess-info li:last-child { padding-bottom: 0; }
.cf-home .cf-chess-icon {
  display: grid;
  place-items: center;
  width: clamp(2.9rem, 3.3vw, 3.3rem);
  height: clamp(2.9rem, 3.3vw, 3.3rem);
  border-radius: 50%;
  background: #F8E7E5;
  color: var(--wine);
}
.cf-home .cf-chess-icon svg { width: 1.5rem; height: 1.5rem; }
.cf-home .cf-chess-info h3 {
  margin: 0 0 .22rem;
  color: var(--wine);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.cf-home .cf-chess-info p {
  margin: 0;
  max-width: none;
  color: #464646;
  font-size: clamp(.92rem, 1.08vw, 1rem);
  line-height: 1.55;
}
@media (max-width: 56rem) {
  .cf-home .cf-chess {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(1.6rem, 3.5vw, 2.2rem);
  }
  .cf-home .cf-chess-info {
    padding: clamp(1.5rem, 4vw, 2rem) 0 0;
    border-top: 1px solid rgba(122, 31, 61, .14);
    border-left: 0;
  }
  .cf-home .cf-chess-info li:first-child {
    padding-top: 0;
    border-top: 0;
  }
}
@media (max-width: 34rem) {
  .cf-home .cf-chess {
    padding: 1.35rem;
    border-radius: 28px;
  }
  .cf-home .cf-chess-intro h2 { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .cf-home .cf-chess-media { border-radius: 14px; }
  .cf-home .cf-chess-icon { width: 2.75rem; height: 2.75rem; }
  .cf-home .cf-chess-icon svg { width: 1.3rem; height: 1.3rem; }
}

@media (max-width: 56rem) {
  .cf-home .cf-collab {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media"
      "action";
    align-items: start;
    row-gap: clamp(1.4rem, 3vw, 1.8rem);
  }
  .cf-home .cf-collab-left,
  .cf-home .cf-collab-action { align-self: start; }
  .cf-home .cf-collab-left { position: relative; z-index: 2; }
  .cf-home .cf-collab-media { border-radius: 36px; position: relative; z-index: 1; margin-top: 1rem; }
}

@media (max-width: 34rem) {
  .cf-home .cf-collab {
    padding: 1.4rem;
    border-radius: 28px;
    row-gap: 1.3rem;
  }
  .cf-home .cf-collab-left h2 {
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.07;
  }
  .cf-home .cf-collab-eyebrow { margin-bottom: 1rem; }
  .cf-home .cf-collab-intro { font-size: 1rem; }
  .cf-home .cf-collab-media { border-radius: 24px; }
  .cf-home .cf-collab-media::before { top: -8%; left: -4%; }
  .cf-home .cf-collab-media::after { right: -4%; bottom: -8%; }
}

@media (max-width: 52rem) {
  .cf-home .cf-levels-grid { flex-direction: column; }
  .cf-home .cf-level-card { flex: 1 1 auto; }
  .cf-home .cf-level-card--active { flex: 1 1 auto; }
}
.cf-home .cf-levels li { border-radius: var(--radius); background: var(--cream); padding: clamp(1.2rem, 3vw, 2.3rem); }
.cf-home .cf-levels li:first-child { background: linear-gradient(145deg, var(--wine), var(--deep)); color: white; }
.cf-home .cf-levels li:first-child h3 { color: white; }
.cf-home .cf-levels li:nth-child(3) { background: var(--rose); }
.cf-home .cf-index { display: block; font: 500 2.6rem/1 Georgia, serif; margin-bottom: 1.1rem; color: var(--wine); }
.cf-home .cf-levels li:first-child :is(.cf-index, .cf-label) { color: #ffd3d6; }
.cf-home .cf-levels li p:last-child { margin-bottom: 0; }
/* Metodo */
.cf-home .cf-method {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: start;
  padding: clamp(2rem, 4.6vw, 4.25rem);
  border-radius: var(--radius);
  background: #F8F0EE;
}
.cf-home .cf-method-left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.cf-home .cf-method-left > :not(.cf-method-figure) { position: relative; z-index: 2; }
.cf-home .cf-method-eyebrow {
  margin: 0 0 clamp(1.1rem, 2vw, 1.55rem);
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.cf-home .cf-method-left h2 {
  margin: 0 0 clamp(1.15rem, 1.9vw, 1.5rem);
  max-width: none;
  color: var(--wine);
  font-size: clamp(2.6rem, 4.75vw, 4.3rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.05em;
}
.cf-home .cf-method-title-line { display: block; }
.cf-home .cf-method-intro {
  margin: 0 0 clamp(1.6rem, 2.8vw, 2.2rem);
  max-width: 29ch;
  color: #4F4F4F;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.55;
}
.cf-home .cf-method-figure {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin: 0;
  border-radius: 30px;
}
.cf-home .cf-method-figure::before,
.cf-home .cf-method-figure::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: #F8E5E1;
}
.cf-home .cf-method-figure::before {
  top: -14%;
  right: -6%;
  width: 62%;
  height: 64%;
  border-radius: 52% 48% 44% 56% / 58% 46% 54% 42%;
  transform: rotate(-12deg);
}
.cf-home .cf-method-figure::after {
  left: -5%;
  bottom: -8%;
  width: 50%;
  height: 55%;
  border-radius: 48% 52% 54% 46% / 55% 48% 52% 45%;
  background: #FBF0EE;
  transform: rotate(9deg);
}
.cf-home .cf-method-figure img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  border-radius: inherit;
}
.cf-home .cf-method-list {
  list-style: none;
  display: grid;
  gap: clamp(1rem, 1.5vw, 1.25rem);
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 1.8vw, 1.5rem) 0 0;
}
.cf-home .cf-method-list li { min-width: 0; }
.cf-home .cf-method-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 2.8vw, 2.5rem);
  padding: clamp(1.4rem, 2.3vw, 2rem);
  border-radius: 30px;
  background: #FFFDFC;
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease;
}
.cf-home .cf-method-card:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(122, 31, 61, .07);
}
.cf-home .cf-method-icon {
  display: grid;
  place-items: center;
  width: clamp(4rem, 7.4vw, 6.75rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #F8E7E4;
  color: var(--wine);
}
.cf-home .cf-method-icon svg { width: 48%; height: 48%; }
.cf-home .cf-method-card-body { min-width: 0; }
.cf-home .cf-method-card h3 {
  margin: 0 0 .28rem;
  color: var(--wine);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.cf-home .cf-method-card p {
  margin: 0;
  max-width: 44ch;
  color: #4C4C4C;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

@media (max-width: 56rem) {
  .cf-home .cf-method {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 5vw, 3rem);
  }
  .cf-home .cf-method-list { padding-top: 0; }
  .cf-home .cf-method-intro { max-width: 34ch; }
  .cf-home .cf-method-card { border-radius: 26px; }
}

@media (max-width: 34rem) {
  .cf-home .cf-method {
    padding: 1.4rem;
    border-radius: 28px;
    gap: 2rem;
  }
  .cf-home .cf-method-left h2 {
    font-size: clamp(1.95rem, 10vw, 2.5rem);
    line-height: 1;
  }
  .cf-home .cf-method-intro {
    max-width: none;
    font-size: 1rem;
  }
  .cf-home .cf-method-figure { border-radius: 22px; }
  .cf-home .cf-method-figure::before { right: -4%; top: -8%; }
  .cf-home .cf-method-figure::after { left: -4%; bottom: -6%; }
  .cf-home .cf-method-list { gap: .85rem; }
  .cf-home .cf-method-card {
    gap: .9rem;
    padding: 1.15rem;
    border-radius: 22px;
  }
  .cf-home .cf-method-icon { width: 3.5rem; }
  .cf-home .cf-method-card h3 { font-size: 1.35rem; }
  .cf-home .cf-method-card p { font-size: .94rem; }
}

.cf-home .cf-pro { background: radial-gradient(ellipse at top right, #702642, transparent 57%), var(--deep); color: white; padding: var(--pad); border-radius: var(--radius); }
.cf-home .cf-pro h2, .cf-home .cf-footer .cf-brand { color: white; }
.cf-home .cf-pro :is(.cf-label, .cf-index), .cf-home .cf-footer em { color: #ffc4c8; }
.cf-home .cf-button-light { background: var(--deep); }
.cf-home .cf-art-studies { background: var(--deep); aspect-ratio: 1.25; }
.cf-home .cf-art-studies i { width: 68%; height: 73%; right: -5%; top: -8%; border: 1px solid #ffc4c8; border-radius: 45% 45% 0 0; transform: rotate(31deg); }
.cf-home .cf-art-studies i:nth-child(2) { right: 2%; top: -2%; }
.cf-home .cf-art-studies i:nth-child(3) { right: 9%; top: 4%; }
.cf-home .cf-studies--reverse { grid-template-columns: 1fr .9fr; }
.cf-home .cf-comitato-wip { margin: 0 0 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #999; }
.cf-home .cf-comitato-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.cf-home .cf-comitato-text p { margin: 0 0 1rem; color: #4F4F4F; line-height: 1.7; }
.cf-home .cf-comitato-text .cf-label { color: var(--red); }
.cf-home .cf-comitato-text p:last-child { margin-bottom: 0; }
@media (max-width: 52rem) {
  .cf-home .cf-comitato-row { grid-template-columns: 1fr; }
}
.cf-home .cf-comitato-list { margin-top: 2rem; }
.cf-home .cf-comitato-list h3 { margin: 0 0 .25rem; color: var(--bordeaux); font-size: clamp(1.3rem, 2vw, 1.7rem); }
.cf-home .cf-comitato-subtitle { margin: 0 0 1rem; font-size: .85rem; color: #777; }
.cf-home .cf-comitato-professionals { list-style: none; padding: 0; margin: 0; }
.cf-home .cf-comitato-bottom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 2rem; }
.cf-home .cf-comitato-bottom .cf-art-studies { align-self: start; }
@media (max-width: 52rem) {
  .cf-home .cf-comitato-bottom { grid-template-columns: 1fr; }
}
.cf-home .cf-comitato-professionals li { padding: .85rem 0; border-bottom: 1px solid #E8DDD8; display: flex; flex-direction: column; gap: .2rem; }
.cf-home .cf-comitato-professionals li:last-child { border-bottom: none; }
.cf-home .cf-comitato-name { color: var(--bordeaux); font-weight: 700; font-size: 1rem; }
.cf-home .cf-comitato-desc { color: #4F4F4F; font-size: .95rem; line-height: 1.5; }
.cf-home .cf-footer { margin-top: clamp(3rem, 8vw, 7rem); background: var(--deep); color: white; }
.cf-home .cf-footer-inner { padding-block: 2rem; }
.cf-home .cf-footer p { margin: .45rem 0 0; }

@media (max-width: 52rem) {
  .cf-home .cf-hero, .cf-home .cf-method { grid-template-columns: 1fr; }
  .cf-home .cf-art-hero { min-height: 0; aspect-ratio: 1.8; }
  .cf-home .cf-levels { grid-template-columns: 1fr 1fr; }
  .cf-home .cf-levels li:first-child { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  .cf-home .cf-split, .cf-home .cf-levels { grid-template-columns: 1fr; }
  .cf-home .cf-split > div:last-child { grid-row: 1; }
}
.cf-home .cf-photo { display: block; width: 100%; height: 100%; min-height: 16rem; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 68.01rem) {
  .cf-home .cf-hero-photo { border-top-right-radius: 0; }
}
.cf-about {
  --ca-paper: #f8f6f3;
  --ca-rose: #f4e9e8;
  --ca-radius: clamp(1.25rem, 3vw, 2.25rem);
  --ca-pad: clamp(1.4rem, 5vw, 4rem);
  background: var(--ca-paper);
}
.cf-about .nav-links [aria-current="page"] { font-weight: 700; text-decoration: none; }
.cf-about main :is(.about-hero, .ca-story, .ca-values, .ca-relations) { scroll-margin-top: 6rem; }
.cf-about .about-hero-wrap {
  position: relative;
  overflow: visible;
}
.cf-about .about-hero-wrap .about-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: .75rem;
  width: calc(100% - 2rem);
  padding: .75rem;
  margin-block: clamp(1rem, 4vw, 2.5rem) 0;
  background: transparent;
  border-radius: var(--ca-radius);
  overflow: visible;
}
.cf-about .about-hero-wrap .about-hero-wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  z-index: 0;
  width: 200%;
  pointer-events: none;
  overflow: hidden;
  transform: rotate(-7deg) translateY(20%);
}
.cf-about .about-hero-wrap .about-hero-wave--bordeaux {
  z-index: -1;
  transform: rotate(-7deg) translateX(8%) translateY(20%);
}
.cf-about #contatti {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(14rem, 24vw, 19rem);
}
.cf-about #contatti::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 2px;
  background: var(--bordeaux-dark);
  content: "";
}
.cf-about #contatti > .about-contact-grid {
  position: relative;
  z-index: 2;
}
.cf-about #contatti .about-contact-wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  z-index: 0;
  width: 200%;
  height: clamp(9rem, 18vw, 16rem);
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-20%);
}
.cf-about #contatti .about-contact-wave--bordeaux {
  z-index: 1;
  transform: translateX(8%) translateY(0);
}
.cf-about #contatti .about-contact-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cf-about .about-hero-text { align-self: start; padding: var(--ca-pad); padding-top: clamp(1rem, 3vw, 2rem); padding-left: 0; }
.cf-about .about-hero .eyebrow { display: flex; align-items: center; gap: .55rem; }
.cf-about .about-hero .eyebrow::before { content: ""; width: 3px; height: 1.1em; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.cf-about .about-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.063em;
}
.cf-about .about-hero .accent { color: inherit; font-weight: inherit; }
.cf-about .ca-hero-photo { display: block; width: 100%; height: 100%; min-height: 19rem; object-fit: cover; border-radius: calc(var(--ca-radius) - .4rem); }
.cf-about .ca-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.15rem; margin-top: 1.65rem; }
.cf-about .ca-actions > a:last-child { color: var(--bordeaux); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.cf-about :is(.ca-story, .ca-values, .ca-relations) h2 {
  font-size: clamp(2.05rem, 4vw, 3.7rem);
  letter-spacing: -.055em;
  font-weight: 800;
  text-wrap: balance;
}
.cf-about .ca-mark {
  display: block;
  min-height: 15rem;
  aspect-ratio: 1.25;
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: var(--ca-radius);
  background: #FBF8F5;
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  color: white;
  font: 500 clamp(2.7rem, 6vw, 5.2rem)/.9 Georgia, serif;
  letter-spacing: -.065em;
}

.cf-about .ca-values { width: calc(100% - 2rem); padding: var(--ca-pad); background: var(--bordeaux-dark); border-radius: var(--ca-radius); color: white; }
.cf-about .ca-values h2 { color: white; }
.cf-about .ca-values .eyebrow { color: #ffc4cd; }
.cf-about .values-manifesto { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.3rem; }
.cf-about .vm-row { display: contents; }
.cf-about .vm-row span, .cf-about .vm-row span:first-child {
  min-width: 0;
  padding: .48em .9em;
  color: white;
  font-size: clamp(.9rem, 2vw, 1.15rem);
  border: 1px solid #ffffff50;
  border-radius: 10rem;
}
.cf-about .ca-mission { max-width: 66ch; margin-bottom: 0; color: #f8e7eb; }
.cf-about .ca-relations h2 { max-width: 24ch; }
.cf-about .ca-relations .relations-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
.cf-about .ca-relations .relations-grid p { margin: 0; padding: clamp(1rem, 3vw, 2rem); border-radius: 1.25rem; background: white; }
.cf-about .ca-relations .relations-grid p:first-child { grid-column: 1 / -1; background: var(--ca-rose); }
@media (max-width: 48rem) {
  .cf-about .about-hero-wrap {
    overflow-x: clip;
    overflow-y: visible;
  }
  .cf-about .about-hero-wrap .about-hero-wave {
    transform: rotate(-7deg) translateY(40%);
  }
  .cf-about .about-hero-wrap .about-hero-wave--bordeaux {
    transform: rotate(-7deg) translateX(8%) translateY(40%);
  }
  .cf-about .about-hero-wrap .about-hero, .cf-about .ca-relations .relations-grid { grid-template-columns: 1fr; }
  .cf-about .ca-hero-photo { height: auto; min-height: 0; aspect-ratio: 1.55; }
  .cf-about .ca-mark { order: 1; aspect-ratio: 1.8; width: 100%; max-width: 100%; min-width: 0; }
}
/* Shared header behavior */
.site-header, .cf-header { transition: transform .4s ease, opacity .4s ease; position: fixed; top: 0; left: 0; right: 0; z-index: 210; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.site-header.header-in, .cf-header.header-in { opacity: 1; transform: translateY(0); }
.cf-home main, .cf-about main { padding-top: 84px; }
.mobile-menu-panel { z-index: 200; }
.cf-header { display: flex !important; align-items: center !important; justify-content: space-between !important; padding-block: 1.1rem !important; padding-inline: clamp(1rem, 4vw, 3.5rem) !important; width: 100% !important; overflow: hidden; }
.cf-header nav { display: flex !important; align-items: center !important; gap: .7rem clamp(.8rem, 2vw, 1.75rem) !important; flex-wrap: wrap !important; }
.cf-header nav a { font-size: .9rem; color: inherit; text-decoration: none; }
.cf-header nav a[aria-current="page"] { font-weight: 700 !important; }
.cf-header .cf-button { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.85rem; padding: .63rem 1.2rem; border-radius: 99rem; background: #C8202F; color: white; font-size: .9rem; font-weight: 700; text-decoration: none; }
.cf-header .cf-button:hover { background: #7A1F3D; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 220; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #7A1F3D; margin: 5px 0; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-toggle { display: block !important; }
  .site-header .nav-links { display: none !important; }
  .cf-header nav { display: none !important; }
}
.mobile-menu-panel { position: fixed; inset: 0; background: #FBF8F5; z-index: 200; display: flex; align-items: flex-start; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; overflow-y: auto; padding: 6rem 1.5rem 2rem; }
.mobile-menu-panel.open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel ul { list-style: none; margin: auto 0; padding: 0; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu-panel a { color: #7A1F3D; font-family: 'Manrope', Georgia, serif; font-size: 1.6rem; font-weight: 600; text-decoration: none; }
.mobile-menu-panel .cf-button, .mobile-menu-panel .btn-primary { background: #C8202F; color: #fff; padding: .7rem 1.6rem; border-radius: 99rem; display: inline-block; }
/* Con più voci la barra non entra: sotto i 1200px si usa il menu a icona */
@media (max-width: 75rem) {
  .cf-header nav { display: none !important; }
  .nav-toggle { display: block !important; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .cf-header, .mobile-menu-panel { transition: none; }
  .cf-home .cf-level-card, .cf-home .cf-level-detail, .cf-home .cf-level-toggle { transition: none; }
}

/* Tesseramento */
.cf-home #tesseramento { scroll-margin-top: 7rem; }
.cf-home #famiglie,
.cf-home #percorsi,
.cf-home #professionisti,
.cf-home #equipe,
.cf-home #centro-studi,
.cf-home #collaborazioni,
.cf-home #ringraziamenti { scroll-margin-top: 6.5rem; }
.cf-home .cf-tesseramento {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
  padding: clamp(2rem, 4.4vw, 4.25rem);
  border-radius: var(--radius);
  background: #ffffff;
}
.cf-home .cf-tess-left,
.cf-home .cf-tess-right { position: relative; z-index: 1; }
.cf-home .cf-tess-left {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}
.cf-home .cf-tess-right { min-width: 0; }

/* Colonna sinistra */
.cf-home .cf-tess-eyebrow {
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  color: #4a4a4a;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .23em;
  line-height: 1.4;
}
.cf-home .cf-tess-left h2 {
  margin: 0 0 clamp(1.4rem, 2.4vw, 2rem);
  max-width: none;
  color: var(--wine);
  font-size: clamp(2.35rem, 4.15vw, 3.75rem);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.045em;
}
.cf-home .cf-tess-title-line { display: block; }

.cf-home .cf-tess-photo {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 clamp(1.35rem, 2.2vw, 1.75rem);
  border-radius: 30px;
}
.cf-home .cf-tess-photo::before,
.cf-home .cf-tess-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: #F8E8E4;
}
.cf-home .cf-tess-photo::before {
  left: -5%;
  bottom: -7%;
  width: 64%;
  height: 82%;
  border-radius: 48% 52% 44% 56% / 55% 46% 54% 45%;
  transform: rotate(-8deg);
}
.cf-home .cf-tess-photo::after {
  right: -3%;
  bottom: -6%;
  width: 38%;
  height: 48%;
  border-radius: 50% 50% 44% 56% / 58% 44% 56% 42%;
  background: #FAF0EE;
  transform: rotate(7deg);
}
.cf-home .cf-tess-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.cf-home .cf-tess-intro {
  margin: 0 0 clamp(1.35rem, 2.2vw, 1.75rem);
  max-width: none;
  color: var(--muted);
  font-size: clamp(.98rem, 1.12vw, 1.06rem);
  line-height: 1.65;
}
.cf-home .cf-tess-price {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.7rem);
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(1rem, 1.7vw, 1.35rem);
  padding: clamp(1rem, 1.7vw, 1.25rem) clamp(1.3rem, 2.4vw, 1.8rem);
  border-radius: 1.4rem;
  background: #F8EDEB;
}
.cf-home .cf-tess-amount {
  flex: 0 0 auto;
  color: var(--wine);
  font-family: 'Manrope', Georgia, serif;
  font-size: clamp(2.6rem, 4.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}
.cf-home .cf-tess-amount-from {
  font-size: .45em;
  font-weight: 600;
  color: var(--wine);
  vertical-align: super;
  margin-right: .2em;
}
.cf-home .cf-tess-price-divider {
  flex: 0 0 auto;
  width: 1px;
  height: 2.7rem;
  background: rgba(122, 31, 61, .25);
}
.cf-home .cf-tess-price-label {
  color: #464646;
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.35;
}
.cf-home .cf-tess-primary-btn {
  width: 100%;
  min-height: 3.55rem;
  margin: 0 0 1rem;
  justify-content: center;
  text-align: center;
  border-radius: 99rem;
  background: var(--red);
  color: #fff;
  font-size: .98rem;
  font-weight: 700;
  transition: background .25s ease, transform .15s ease, box-shadow .25s ease;
}
.cf-home .cf-tess-primary-btn:hover {
  background: var(--wine);
  box-shadow: 0 8px 20px rgba(122, 31, 61, .14);
}
.cf-home .cf-tess-primary-btn:active { transform: scale(.99); }
.cf-home .cf-tess-arrow {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform .25s ease;
}
.cf-home .cf-tess-primary-btn:hover .cf-tess-arrow { transform: translateX(3px); }

.cf-home .cf-tess-iban-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  min-height: 3.55rem;
  margin: 0;
  padding: .75rem 1.2rem;
  border: 1.5px solid var(--wine);
  border-radius: 99rem;
  background: #fff;
  color: var(--wine);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.cf-home .cf-tess-iban-btn:hover { background: var(--rose); }
.cf-home .cf-tess-iban-btn:active { transform: scale(.99); }
.cf-home .cf-tess-iban-btn .cf-tess-iban-icon,
.cf-home .cf-tess-iban-btn .cf-tess-chevron { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
.cf-home .cf-tess-chevron { transition: transform 300ms ease; }
.cf-home .cf-tess-iban-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height 320ms ease, opacity 320ms ease, margin 320ms ease;
}
.cf-home .cf-tess-iban-panel.is-open {
  max-height: 560px;
  opacity: 1;
  margin: .85rem 0 .3rem;
}
.cf-home .cf-tess-iban-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(122, 31, 61, .12);
  border-radius: 1rem;
  background: var(--cream);
}
.cf-home .cf-tess-iban-title {
  margin: 0 0 .6rem;
  color: var(--wine);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.cf-home .cf-tess-iban-dl { margin: 0 0 .8rem; }
.cf-home .cf-tess-iban-dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: .4rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(122, 31, 61, .08);
  font-size: .88rem;
}
.cf-home .cf-tess-iban-dl dt { font-weight: 600; color: var(--wine); }
.cf-home .cf-tess-iban-dl dd { margin: 0; color: var(--muted); overflow-wrap: break-word; word-break: normal; }
.cf-home .cf-tess-iban-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.cf-home .cf-tess-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .5rem .9rem;
  border: 1.5px solid rgba(122, 31, 61, .3);
  border-radius: 99rem;
  background: #fff;
  color: var(--wine);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.cf-home .cf-tess-copy-btn:hover:not(:disabled) { background: var(--rose); }
.cf-home .cf-tess-copy-btn:disabled { opacity: .5; cursor: not-allowed; }
.cf-home .cf-tess-copy-btn svg { width: 16px; height: 16px; }
.cf-home .cf-tess-copy-status {
  color: var(--red);
  font-size: .85rem;
  font-weight: 600;
}
.cf-home .cf-tess-info-link {
  margin-top: 1.25rem;
  text-align: center;
}
.cf-home .cf-tess-info-link .cf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--wine);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  transition: opacity .2s ease;
}
.cf-home .cf-tess-info-link .cf-link:hover { opacity: .72; }
.cf-home .cf-tess-info-link svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }

/* Colonna destra */
.cf-home .cf-tess-subtitle {
  margin: 0 0 .35rem;
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.45;
  text-transform: uppercase;
}
.cf-home .cf-tess-benefits {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0;
}
.cf-home .cf-tess-benefits li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 1.7vw, 1.3rem);
  padding: clamp(1.1rem, 1.75vw, 1.35rem) 0;
  border-top: 1px solid rgba(122, 31, 61, .1);
}
.cf-home .cf-tess-benefits li:last-child {
  border-bottom: 1px solid rgba(122, 31, 61, .1);
}
.cf-home .cf-tess-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(3rem, 3.4vw, 3.4rem);
  height: clamp(3rem, 3.4vw, 3.4rem);
  border-radius: 50%;
  background: #F8E7E5;
  color: var(--wine);
}
.cf-home .cf-tess-icon svg { width: 1.55rem; height: 1.55rem; }
.cf-home .cf-tess-benefits h3 {
  margin: 0 0 .22rem;
  color: var(--wine);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.cf-home .cf-tess-benefits p {
  margin: 0;
  max-width: none;
  color: #464646;
  font-size: clamp(.92rem, 1.12vw, 1rem);
  line-height: 1.55;
}

/* Riquadro informativo finale */
.cf-home .cf-tess-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  margin-top: clamp(1.4rem, 2.4vw, 1.9rem);
  padding: clamp(1rem, 1.7vw, 1.3rem) clamp(1.1rem, 2vw, 1.55rem);
  border-radius: 1rem;
  background: #F8F7F5;
  color: #484848;
  font-size: .84rem;
  line-height: 1.55;
}
.cf-home .cf-tess-info::before { content: none; }
.cf-home .cf-tess-info-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #F8E7E5;
  color: var(--wine);
}
.cf-home .cf-tess-info-icon svg { width: 1.05rem; height: 1.05rem; }
.cf-home .cf-tess-info-groups {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  padding-top: .1rem;
}
.cf-home .cf-tess-info p {
  margin: 0;
  max-width: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.cf-home .cf-tess-info-groups p:first-child {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(122, 31, 61, .12);
}

@media (min-width: 80rem) {
  .cf-home :is(.cf-tesseramento, .cf-method, .cf-collab, .cf-chess) {
    margin-inline: clamp(-6rem, calc((1280px - 100vw) / 3), 0rem);
  }
}

@media (max-width: 64rem) {
  .cf-home .cf-tess-info-groups {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .cf-home .cf-tess-info-groups p:first-child {
    padding-right: 0;
    padding-bottom: .85rem;
    border-right: 0;
    border-bottom: 1px solid rgba(122, 31, 61, .12);
  }
}

@media (max-width: 60rem) {
  .cf-home .cf-tesseramento {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: 2.25rem;
  }
  .cf-home .cf-tess-photo { border-radius: 25px; }
  .cf-home .cf-tess-benefits li { gap: .9rem; }
  .cf-home .cf-tess-icon { width: 2.9rem; height: 2.9rem; }
  .cf-home .cf-tess-icon svg { width: 1.35rem; height: 1.35rem; }
}

@media (max-width: 56rem) {
  .cf-home .cf-tesseramento {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.25rem, 5vw, 3rem);
    padding: clamp(1.6rem, 4vw, 2.5rem);
  }
  .cf-home .cf-tess-left h2 { max-width: 14ch; }
  .cf-home .cf-tess-info { max-width: none; }
}

@media (max-width: 34rem) {
  .cf-home .cf-tesseramento {
    padding: 1.35rem;
    border-radius: 28px;
  }
  .cf-home .cf-tess-title-line { display: inline; }
  .cf-home .cf-tess-left h2 {
    max-width: none;
    font-size: clamp(2.15rem, 10.5vw, 2.7rem);
    line-height: 1.02;
  }
  .cf-home .cf-tess-photo { border-radius: 22px; }
  .cf-home .cf-tess-photo::before { left: -4%; bottom: -5%; }
  .cf-home .cf-tess-price {
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 1.2rem;
  }
  .cf-home .cf-tess-amount { font-size: clamp(2.5rem, 12vw, 3rem); }
  .cf-home .cf-tess-price-divider { height: 2.3rem; }
  .cf-home .cf-tess-price-label { font-size: .88rem; }
  .cf-home .cf-tess-primary-btn,
  .cf-home .cf-tess-iban-btn { min-height: 3.45rem; font-size: .93rem; }
  .cf-home .cf-tess-benefits li { gap: .85rem; padding: 1.05rem 0; }
  .cf-home .cf-tess-icon { width: 2.75rem; height: 2.75rem; }
  .cf-home .cf-tess-icon svg { width: 1.3rem; height: 1.3rem; }
  .cf-home .cf-tess-benefits h3 { font-size: 1.05rem; }
  .cf-home .cf-tess-benefits p { font-size: .92rem; }
  .cf-home .cf-tess-info {
    grid-template-columns: 1fr;
    gap: .8rem;
    padding: 1rem 1.1rem;
  }
  .cf-home .cf-tess-info-groups {
    grid-template-columns: 1fr;
    gap: .9rem;
  }
  .cf-home .cf-tess-info-groups p:first-child {
    padding-right: 0;
    padding-bottom: .9rem;
    border-right: 0;
    border-bottom: 1px solid rgba(122, 31, 61, .12);
  }
  .cf-home .cf-tess-iban-dl > div { grid-template-columns: 5.2rem 1fr; }
  .cf-home .cf-tess-info-link .cf-link { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-home .cf-hero-cta,
  .cf-home .cf-hero-cta-arrow,
  .cf-home .cf-hero-secondary { transition: none; }
  .cf-home .cf-tess-iban-panel,
  .cf-home .cf-tess-chevron,
  .cf-home .cf-tess-iban-btn,
  .cf-home .cf-tess-primary-btn,
  .cf-home .cf-tess-arrow { transition: none; }
}

/* Ringraziamenti */
.cf-home .cf-thanks {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.cf-home .cf-thanks-head { max-width: none; }
.cf-home .cf-thanks-body { max-width: none; }
.cf-home .cf-thanks-body p { margin: 0 0 1rem; color: #4F4F4F; font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.6; max-width: none; }
.cf-home .cf-thanks-body p:last-child { margin-bottom: 0; }
.cf-home .cf-thanks-eyebrow {
  margin: 0 0 clamp(1rem, 1.8vw, 1.4rem);
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}
.cf-home .cf-thanks-head h2 {
  margin: 0 0 clamp(1.1rem, 2.2vw, 1.6rem);
  font-size: clamp(2.45rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}
.cf-home .cf-thanks-intro {
  margin: 0;
  max-width: 37.5rem;
  color: #4F4F4F;
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.6;
  text-wrap: balance;
}
.cf-home .cf-thanks-block h3 {
  color: var(--wine);
  font-weight: 800;
  letter-spacing: -.04em;
}

/* Primo blocco — Hotel Hassler */
.cf-home .cf-thanks-partner {
  display: block;
  max-width: 58rem;
}
.cf-home .cf-thanks-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.6rem, 3.2vw, 3rem);
  border-radius: clamp(1.1rem, 2vw, 1.7rem);
  background: #FBF1EE;
}
.cf-home .cf-thanks-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -36%;
  right: -20%;
  width: 64%;
  aspect-ratio: 1;
  border-radius: 54% 46% 40% 60% / 56% 44% 56% 44%;
  background: #F5E2DD;
  transform: rotate(-12deg);
}
.cf-home .cf-thanks-panel-label {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  max-width: none;
  color: var(--red);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
.cf-home .cf-thanks-panel h3 {
  margin: 0 0 clamp(.9rem, 1.8vw, 1.4rem);
  max-width: 13ch;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.07;
}
.cf-home .cf-thanks-rule {
  display: block;
  width: 2.6rem;
  height: 2px;
  background: var(--red);
}
.cf-home .cf-thanks-copy { min-width: 0; }
.cf-home .cf-thanks-copy p {
  margin: 0 0 1.05rem;
  max-width: 58rem;
  color: #4F4F4F;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.7;
}
.cf-home .cf-thanks-copy p:last-child { margin-bottom: 0; }

/* Equipe */
.cf-home .cf-pro {
  margin-bottom: 0;
}
.cf-home .cf-pro h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}
.cf-home .cf-pro .cf-intro {
  max-width: 74ch;
  margin-bottom: 0;
}
/* Équipe — composizione editoriale */
.cf-home .cf-equipe {
  --eq-wine: #7A1F3D;
  --eq-red: #C8202F;
  --eq-ink: #353032;
  --eq-muted: #4E4A4B;
  --eq-paper: #FBF8F5;
  --eq-line: #EADFDA;
  --eq-rose: #FBEDEB;
  --eq-wave-h: clamp(6rem, 11.7vw, 10.5rem);
  position: relative;
  isolation: isolate;
  scroll-margin-top: 6.5rem;
  margin-top: clamp(3rem, 8vw, 7rem);
  padding: clamp(2.5rem, 5vw, 4.25rem) 0 var(--eq-wave-h);
  overflow: visible;
  border-radius: 0;
  background: transparent;
  color: var(--eq-ink);
}

/* Intestazione */
.cf-home .cf-equipe-header,
.cf-home .cf-equipe-band,
.cf-home .cf-equipe-grid {
  position: relative;
  z-index: 2;
}
.cf-home .cf-equipe-header {
  max-width: 76rem;
  margin: 0 0 clamp(2.2rem, 4vw, 3.1rem);
}
.cf-home .cf-equipe-header .cf-label {
  margin: 0 0 clamp(.9rem, 1.5vw, 1.2rem);
  color: var(--eq-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.cf-home .cf-equipe-header h2 {
  max-width: none;
  margin: 0 0 clamp(1.1rem, 2vw, 1.6rem);
  color: var(--eq-wine);
  font-size: clamp(2.3rem, 4.7vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.cf-home .cf-equipe-intro {
  max-width: 64ch;
  margin: 0;
  color: var(--eq-muted);
  font-size: clamp(1rem, 1.15vw, 1.07rem);
  line-height: 1.62;
}

/* Fascia editoriale centrale */
.cf-home .cf-equipe-band {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: start;
  margin: 0 0 clamp(2.7rem, 5vw, 4.1rem);
}
.cf-home .cf-equipe-band-lead {
  padding-left: clamp(1.1rem, 2vw, 1.7rem);
  border-left: 3px solid var(--eq-wine);
}
.cf-home .cf-equipe-band-lead h3 {
  max-width: 22ch;
  margin: 0;
  color: var(--eq-wine);
  font: 700 clamp(1.35rem, 2.3vw, 2.05rem)/1.14 'Manrope', system-ui, sans-serif;
  letter-spacing: -.04em;
}
.cf-home .cf-equipe-band-copy {
  max-width: 62ch;
  margin: 0;
  padding-left: clamp(1.4rem, 3vw, 2.6rem);
  border-left: 1px solid #F0DCD8;
  color: var(--eq-muted);
  font-size: clamp(.98rem, 1.1vw, 1.05rem);
  line-height: 1.62;
}

/* Le due aree professionali */
.cf-home .cf-equipe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5.5vw, 5.25rem);
  margin: 0;
  padding: 0;
}
.cf-home .cf-equipe-area { min-width: 0; }

.cf-home .cf-equipe-area-head {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.75vw, 1.55rem);
  margin: 0 0 clamp(1rem, 1.6vw, 1.35rem);
}
.cf-home .cf-equipe-area-icon {
  display: grid;
  flex: 0 0 auto;
  width: clamp(3.4rem, 4.7vw, 4.35rem);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--eq-rose);
  color: var(--eq-wine);
}
.cf-home .cf-equipe-area-icon svg {
  width: 48%;
  height: 48%;
}
.cf-home .cf-equipe-area h3 {
  flex: 0 1 auto;
  max-width: none;
  margin: 0;
  color: var(--eq-wine);
  font: 700 clamp(1.2rem, 1.95vw, 1.7rem)/1.15 'Manrope', system-ui, sans-serif;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.cf-home .cf-equipe-area-rule {
  flex: 1 1 2rem;
  min-width: 1.5rem;
  height: 1px;
  background: var(--eq-line);
}

/* Elenchi */
.cf-home .cf-equipe-list {
  border-top: 1px solid var(--eq-line);
}
.cf-home .cf-equipe-item {
  border-bottom: 1px solid var(--eq-line);
}
.cf-home .cf-equipe-item.is-open {
  background: transparent;
}
.cf-home .cf-equipe-toggle,
.cf-home .cf-equipe-label {
  display: flex;
  width: 100%;
  min-height: 2.9rem;
  align-items: center;
  color: var(--eq-ink);
  font-size: clamp(.98rem, 1.1vw, 1.05rem);
  line-height: 1.45;
  text-align: left;
}
.cf-home .cf-equipe-toggle {
  justify-content: space-between;
  gap: .75rem;
  padding: .78rem .15rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: color .22s ease, background-color .22s ease;
}
.cf-home .cf-equipe-label {
  padding: .78rem .15rem;
}
.cf-home .cf-equipe-toggle::after {
  content: "\203A";
  display: block;
  flex: 0 0 auto;
  color: var(--eq-red);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-.04em);
  transition: transform .35s ease, color .22s ease;
}
.cf-home .cf-equipe-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}
.cf-home .cf-equipe-toggle:hover {
  background: rgba(122, 31, 61, .035);
  color: var(--eq-wine);
}
.cf-home .cf-equipe-toggle:focus-visible {
  outline: 2px solid var(--eq-red);
  outline-offset: 2px;
}

/* Pannelli */
.cf-home .cf-equipe-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.22, .61, .36, 1);
}
.cf-home .cf-equipe-item.is-open .cf-equipe-panel {
  grid-template-rows: 1fr;
}
.cf-home .cf-equipe-panel-inner {
  min-height: 0;
  max-width: 68ch;
  overflow: hidden;
  padding: 0 .15rem;
  color: var(--eq-muted);
  font-size: .95rem;
  line-height: 1.66;
  transition: padding .42s cubic-bezier(.22, .61, .36, 1);
}
.cf-home .cf-equipe-item.is-open .cf-equipe-panel-inner {
  padding: .1rem .15rem 1.35rem;
}
.cf-home .cf-equipe-profiles {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}
.cf-home .cf-equipe-profile {
  margin: 0;
}
.cf-home .cf-equipe-profile h4 {
  margin: 0 0 .2rem;
  color: var(--eq-wine);
  font: 700 1.02rem/1.35 'Manrope', system-ui, sans-serif;
  letter-spacing: -.02em;
}
.cf-home .cf-equipe-profile-role {
  margin: 0 0 .6rem;
  color: var(--eq-red);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}
.cf-home .cf-equipe-profile p {
  margin: 0 0 .65rem;
  color: var(--eq-muted);
  font-weight: 400;
}
.cf-home .cf-equipe-profile p:last-child {
  margin-bottom: 0;
}
.cf-home .cf-equipe-profile + .cf-equipe-profile {
  padding-top: 1.15rem;
  border-top: 1px solid var(--eq-line);
}

/* Onde decorative inferiori (stile chi-siamo hero) */
.cf-home .cf-equipe-curve {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
}
.cf-home .cf-equipe-curve .cf-equipe-wave {
  position: absolute;
  bottom: 0;
  left: -50%;
  z-index: 0;
  width: 200%;
  pointer-events: none;
  overflow: visible;
  transform: rotate(-7deg) translateY(20%);
}
.cf-home .cf-equipe-curve .cf-equipe-wave--bordeaux {
  z-index: -1;
  transform: rotate(-7deg) translateX(8%) translateY(20%);
}
.cf-home .cf-equipe-curve .cf-equipe-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 64rem) {
  .cf-home .cf-equipe-header h2 {
    font-size: clamp(2.15rem, 4.9vw, 3.5rem);
  }
  .cf-home .cf-equipe-band {
    grid-template-columns: minmax(0, .68fr) minmax(0, 1.32fr);
  }
}

@media (max-width: 48rem) {
  .cf-home .cf-equipe {
    overflow-x: clip;
    overflow-y: visible;
  }
  .cf-home .cf-equipe-curve {
    display: none;
  }
  .cf-home .cf-equipe-band {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cf-home .cf-equipe-band-lead h3 {
    max-width: 22ch;
  }
  .cf-home .cf-equipe-band-copy {
    max-width: 68ch;
    padding: 1.45rem 0 0;
    border-top: 1px solid #F0DCD8;
    border-left: 0;
  }
  .cf-home .cf-equipe-grid {
    gap: clamp(2rem, 4vw, 2.75rem);
  }
  .cf-home .cf-equipe-area-head {
    gap: .85rem;
  }
  .cf-home .cf-equipe-area h3 {
    max-width: none;
    font-size: 1.13rem;
  }
  .cf-home .cf-equipe-area-icon {
    width: 3.1rem;
  }
}

@media (max-width: 43.75rem) {
  .cf-home .cf-equipe-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }
  .cf-home .cf-equipe-area-head {
    gap: 1rem;
  }
  .cf-home .cf-equipe-area h3 {
    max-width: none;
    font-size: clamp(1.15rem, 3.4vw, 1.32rem);
  }
}

@media (max-width: 30rem) {
  .cf-home .cf-equipe {
    --eq-wave-h: 4.5rem;
    padding-top: 2.25rem;
    padding-bottom: var(--eq-wave-h);
  }
  .cf-home .cf-equipe-curve .cf-eq-svg--desktop { display: none; }
  .cf-home .cf-equipe-curve .cf-eq-svg--mobile { display: block; }
  .cf-home .cf-equipe-header h2 {
    font-size: clamp(1.95rem, 8.6vw, 2.45rem);
    line-height: 1.08;
  }
  .cf-home .cf-equipe-area-head {
    margin-bottom: 1rem;
  }
  .cf-home .cf-equipe-area h3 {
    max-width: none;
    font-size: 1.12rem;
  }
  .cf-home .cf-equipe-area-icon {
    width: 2.9rem;
  }
  .cf-home .cf-equipe-area-rule {
    display: none;
  }}

@media (prefers-reduced-motion: reduce) {
  .cf-home .cf-equipe-panel,
  .cf-home .cf-equipe-panel-inner,
  .cf-home .cf-equipe-toggle,
  .cf-home .cf-equipe-toggle::after {
    transition: none;
  }
}

/* 02 — Costanza Castelli */
.cf-home .cf-thanks-memory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.8rem, 4.2vw, 3.8rem);
  border-radius: var(--radius);
  background: #F7E6E2;
}
.cf-home .cf-thanks-memory::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22%;
  right: -10%;
  width: min(20rem, 32%);
  aspect-ratio: 1;
  border-radius: 56% 44% 62% 38% / 48% 58% 42% 52%;
  background: #F1D6D1;
  opacity: .55;
  transform: rotate(-8deg);
}
.cf-home .cf-thanks-memory::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -24%;
  left: -5%;
  width: min(16rem, 26%);
  aspect-ratio: 1;
  border-radius: 48% 52% 40% 60% / 58% 44% 56% 42%;
  background: #F3DDD8;
  opacity: .4;
  transform: rotate(10deg);
}
.cf-home .cf-thanks-memory-inner {
  max-width: 100%;
  padding-left: clamp(1.2rem, 2.6vw, 2.4rem);
  border-left: 2px solid rgba(122, 31, 61, .55);
}
.cf-home .cf-thanks-memory-eyebrow {
  margin: 0 0 .75rem;
  color: var(--red);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.cf-home .cf-thanks-memory h3 {
  margin: 0 0 .3rem;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.04;
}
.cf-home .cf-thanks-memory-role {
  margin: 0 0 clamp(1.2rem, 2.4vw, 1.8rem);
  color: var(--bordeaux);
  font-size: clamp(.9rem, 1.1vw, 1rem);
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .8;
}
.cf-home .cf-thanks-memory-text {
  margin: 0;
  max-width: 100%;
  color: #4A3A3A;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.68;
}
.cf-home .cf-thanks-memory-text p { margin: 0 0 .85rem; max-width: 100%; }
.cf-home .cf-thanks-memory-text p:last-child { margin-bottom: 0; }
.cf-home .cf-thanks-memory--plain { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.cf-home .cf-thanks-memory--plain::before,
.cf-home .cf-thanks-memory--plain::after { display: none !important; }

/* 03 — Professionisti */
.cf-home .cf-thanks-walk {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
  padding-top: clamp(1.4rem, 3vw, 2.4rem);
  border-top: 1px solid rgba(122, 31, 61, .14);
}
.cf-home .cf-thanks-walk h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.07;
}
.cf-home .cf-thanks-walk-body p {
  margin: 0 0 .9rem;
  max-width: 58ch;
  color: #4F4F4F;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.62;
}
.cf-home .cf-thanks-walk-body p:last-child { margin-bottom: 0; }

@media (max-width: 56rem) {
  .cf-home .cf-thanks-partner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .cf-home .cf-thanks-panel {
    padding: clamp(1.35rem, 4vw, 2rem);
  }
  .cf-home .cf-thanks-panel h3 { max-width: none; }
  .cf-home .cf-thanks-panel::before {
    bottom: -30%;
    right: -14%;
    width: 50%;
  }
  .cf-home .cf-thanks-walk {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .cf-home .cf-thanks-walk h3 { max-width: 22ch; }
}

@media (max-width: 34rem) {
  .cf-home .cf-thanks { gap: 2.2rem; }
  .cf-home .cf-thanks-head h2 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .cf-home .cf-thanks-panel {
    padding: 1.3rem 1.2rem;
    border-radius: 20px;
  }
  .cf-home .cf-thanks-panel h3 { font-size: clamp(1.65rem, 7.4vw, 2rem); }
  .cf-home .cf-thanks-memory {
    padding: 1.5rem 1.2rem;
    border-radius: 26px;
  }
  .cf-home .cf-thanks-memory-inner { padding-left: 1rem; }
  .cf-home .cf-thanks-memory::before {
    top: -16%;
    right: -14%;
    width: 46%;
    opacity: .5;
  }
  .cf-home .cf-thanks-memory::after {
    bottom: -20%;
    left: -10%;
    width: 32%;
    opacity: .38;
  }
  .cf-home .cf-thanks-walk h3 { font-size: clamp(1.7rem, 8.4vw, 2.1rem); }
  .cf-home .cf-thanks-memory-text p,
  .cf-home .cf-thanks-walk-body p,
  .cf-home .cf-thanks-copy p { font-size: 1rem; }
}

#storia h3 { font-size: 1.35rem; margin-top: 24px; margin-bottom: 12px; }

#metodo { font-size: 0.92rem; scroll-margin-top: 20vh; }
#metodo h2 { font-size: 1.6rem; }
#metodo h3 { font-size: 1.05rem; }
#metodo p { font-size: 0.92rem; }

/* IL NOSTRO METODO — ottimizzazione mobile (<=767px) */
@media (max-width: 767px) {
  #metodo {
    display: block !important;
    padding: 24px 20px !important;
    margin: 24px auto !important;
    max-width: 100% !important;
    border-radius: 16px !important;
  }
  #metodo > div {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  #metodo > div > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
  }
  #metodo .cf-label {
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 0.78rem !important;
  }
  #metodo h2 {
    font-size: 1.5rem !important;
    line-height: 1.1 !important;
    margin: 0 0 10px !important;
    hyphens: none !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  #metodo > div > div:first-child > p:not(.cf-label) {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin: 0 0 14px !important;
    max-width: 100% !important;
  }
  #metodo figure {
    margin: 0 0 16px !important;
    width: 100% !important;
  }
  #metodo figure img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    aspect-ratio: 4 / 3 !important;
  }
  #metodo ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-left: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #metodo ul li {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e6ddd5 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #metodo ul li:last-child {
    border-bottom: none !important;
  }
  #metodo ul li > span:first-child {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
  }
  #metodo ul li > div {
    flex: 1 1 0% !important;
    min-width: 0 !important;
  }
  #metodo ul li h3 {
    font-size: 1.05rem !important;
    margin: 0 0 4px !important;
    line-height: 1.2 !important;
  }
  #metodo ul li p {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }
}

.cf-home-logo-preview .cf-hero-photo {
  min-height: 0;
  padding: clamp(1.25rem, 4vw, 4rem);
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  clip-path: none;
}
.cf-home-logo-preview .cf-hero-photo-wrap::before { content: none; }
.cf-home-logo-preview .cf-hero-eyebrows { display: contents; }

@media (max-width: 767px) {
  .cf-home-logo-preview .cf-hero {
    position: relative;
    overflow: hidden;
  }
  .cf-home-logo-preview .cf-hero-copy {
    grid-row: auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding-top: clamp(48px, 13vw, 56px);
  }
  .cf-home-logo-preview .cf-hero-eyebrows {
    order: 1;
    display: block;
    margin-top: calc(82.5vw - clamp(48px, 13vw, 56px) - 10px);
    margin-bottom: 0;
    white-space: nowrap;
  }
  .cf-home-logo-preview .cf-hero-eyebrow {
    max-width: 100%;
    margin: 0;
    font-size: .58rem;
    line-height: 1.35;
    letter-spacing: .1em;
  }
  .cf-home-logo-preview .cf-hero-eyebrow + .cf-hero-eyebrow { display: none; }
  .cf-home-logo-preview .cf-hero h1 {
    order: 2;
    margin-top: 0;
  }
  .cf-home-logo-preview .cf-hero-lead { order: 3; }
  .cf-home-logo-preview .cf-hero-actions { order: 4; }
  .cf-home-logo-preview .cf-hero-photo-wrap {
    position: absolute;
    z-index: 1;
    top: calc(-18vw);
    right: -4vw;
    width: 82vw;
    aspect-ratio: 247 / 291;
    margin: 0;
    pointer-events: none;
  }
  .cf-home-logo-preview .cf-hero-photo { padding: 0; }
}

/* Vicepresidenti */
.cf-equipe-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0 0 clamp(2.7rem, 5vw, 4.1rem);
}
.cf-equipe-intro-col {
  min-width: 0;
}
.cf-vp-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.cf-vp { border-bottom: 1px solid #e6ddd5; }
.cf-vp-toggle { display: flex; align-items: center; gap: 14px; width: 100%; background: none; border: none; padding: 12px 0 12px; cursor: pointer; text-align: left; }
.cf-vp-meta { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.cf-vp-role { font-size: .75rem; letter-spacing: .08em; color: #5a1f2e; font-weight: 700; text-transform: uppercase; }
.cf-vp-name { margin: 0 0 .2rem; }
.cf-vp-arrow { color: #5a1f2e; font-size: 1.4rem; line-height: 1; transition: transform .35s ease; align-self: center; }
.cf-vp-toggle[aria-expanded="true"] .cf-vp-arrow { transform: rotate(90deg); }
.cf-vp-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; overflow: hidden; }
.cf-vp-panel.is-open { grid-template-rows: 1fr; }
.cf-vp-panel-inner { overflow: hidden; padding: 0; }
.cf-vp-panel-inner p { color: #4F4F4F; font-size: .9rem; line-height: 1.5; margin: 0 0 8px; }
.cf-vp-panel-inner p:last-child { margin-bottom: 16px; }
@media (max-width: 48rem) {
  .cf-equipe-top { grid-template-columns: 1fr; gap: 1.5rem; }
}
.cf-home .cf-test-wave { display: block !important; transform: translateX(-50%) scaleX(-1) translateY(35%); }
.cf-equipe-curve-test {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}
@media (min-width: 48.01rem) {
  .cf-home .cf-test-wave { transform: translateX(-50%) scaleX(-1) translateY(90%); }
}
