/* Galesso & Partners — site stylesheet (Apple-like minimal) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #000000;
  --black-soft:   #1d1d1f;
  --white:        #ffffff;
  --green:        #1a3d2b;
  --green-deep:   #0e2418;
  --green-mid:    #2a5c42;
  --green-soft:   #d6e4dc;
  --gray-50:      #fbfbfd;
  --gray-100:     #f5f5f7;
  --gray-200:     #e8e8ed;
  --gray-300:     #d2d2d7;
  --gray-text:    #6e6e73;
  --gray-text-2:  #86868b;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  background: var(--white); color: var(--black-soft);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; letter-spacing: -.011em;
  text-wrap: pretty;
}
h1, h2, h3, h4, .display-1, .display-2, .display-3, .hero-sub, .lead, blockquote { text-wrap: balance; }
.serif { font-family: 'Cormorant Garamond', serif; }
a { color: inherit; }

.display-1 { font-size: clamp(3rem, 7.5vw, 7rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.display-2 { font-size: clamp(2.4rem, 5.2vw, 4.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.display-3 { font-size: clamp(1.8rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.body-lg { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--gray-text); font-weight: 400; }
.body-md { font-size: 1rem; line-height: 1.6; color: var(--gray-text); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--green); margin-bottom: 18px; display: inline-block; }

.link-cta { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 500; font-size: 1rem; text-decoration: none; transition: opacity .2s; }
.link-cta:hover { opacity: .7; }
.link-cta::after { content: '›'; font-size: 1.4em; transform: translateY(-1px); margin-left: 2px; transition: transform .2s; }
.link-cta:hover::after { transform: translateX(3px) translateY(-1px); }

.btn-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: var(--white); padding: 12px 22px; border-radius: 980px; font-size: .92rem; font-weight: 500; text-decoration: none; transition: background .2s; }
.btn-pill:hover { background: var(--green-mid); }
.btn-pill.ghost { background: transparent; color: var(--black-soft); border: 1px solid var(--gray-300); }
.btn-pill.ghost:hover { background: var(--gray-100); }
.btn-pill.dark { background: var(--white); color: var(--black); }
.btn-pill.dark:hover { background: var(--gray-100); }

/* ─── NAV ─── */
nav.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  padding-top: env(safe-area-inset-top);
}
nav.topbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0,0,0,0.06);
}
nav.topbar .nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: .82rem; font-weight: 400; color: var(--black-soft); text-decoration: none; opacity: .88; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { background: var(--green); color: var(--white); padding: 7px 14px; border-radius: 980px; font-size: .8rem; font-weight: 500; text-decoration: none; transition: background .2s; }
.nav-cta:hover { background: var(--green-mid); }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; margin-left: 8px; width: 38px; height: 38px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--black-soft); border-radius: 2px; transition: transform .3s, opacity .2s; }
.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); }

/* ─── HERO ─── */
.hero { min-height: 100vh; padding: 140px 24px 80px; background: var(--white); display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('hero-sunset.jpg'); background-repeat: no-repeat; background-position: center 60%; background-size: cover; z-index: 1; pointer-events: none; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 40%, rgba(255,255,255,0.62) 100%); }
.hero-content { max-width: 980px; margin: 0 auto; position: relative; z-index: 2; }
.hero-badge { display: inline-block; font-size: .85rem; font-weight: 500; color: var(--green); letter-spacing: .01em; margin-bottom: 28px; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 7.4rem); font-weight: 700; letter-spacing: -.05em; line-height: .96; margin-bottom: 28px; color: var(--black); }
.hero h1 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--green); letter-spacing: -.025em; }
.hero-sub { font-size: clamp(1.15rem, 1.8vw, 1.55rem); color: var(--black); max-width: 840px; margin: 0 auto 38px; line-height: 1.4; letter-spacing: -.012em; }
.hero-actions { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-actions .link-cta { font-size: 1.05rem; }
.hero-marquee { margin-top: 90px; display: flex; justify-content: center; align-items: center; gap: 64px; flex-wrap: wrap; opacity: .9; }
.hero-marquee .stat { text-align: center; }
.hero-marquee .stat-num { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; color: var(--black); }
.hero-marquee .stat-num em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--green); }
.hero-marquee .stat-lbl { font-size: .82rem; color: var(--gray-text-2); margin-top: 4px; letter-spacing: .01em; }

/* ─── PAGE HERO (sub-pages) ─── */
.page-hero {
  padding: 160px 24px 80px;
  text-align: center; max-width: 920px; margin: 0 auto;
}
.page-hero .eyebrow { color: var(--green); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; color: var(--black); margin-bottom: 24px; }
.page-hero h1 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--green); }
.page-hero p.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: var(--gray-text); line-height: 1.5; max-width: 720px; margin: 0 auto; }

/* ─── SECTION TILE ─── */
section.tile { max-width: 1200px; margin: 12px auto; border-radius: 28px; overflow: hidden; padding: 96px 60px; position: relative; }
section.tile.bg-light { background: var(--gray-100); color: var(--black-soft); }
section.tile.bg-dark  { background: var(--black); color: var(--white); }
section.tile.bg-green { background: var(--green-deep); color: var(--white); }
section.tile.bg-cream { background: #f5f3eb; color: var(--black-soft); }
.tile.bg-dark .body-lg, .tile.bg-green .body-lg { color: rgba(255,255,255,0.7); }
.tile.bg-dark .body-md, .tile.bg-green .body-md { color: rgba(255,255,255,0.65); }
.tile.bg-dark .eyebrow, .tile.bg-green .eyebrow { color: rgba(255,255,255,0.6); }
.tile-head { text-align: center; max-width: 780px; margin: 0 auto 70px; }
.tile-head h2 { margin-bottom: 18px; }
.tile-head p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; color: var(--gray-text); letter-spacing: -.012em; }
.tile.bg-dark .tile-head p, .tile.bg-green .tile-head p { color: rgba(255,255,255,0.7); }

/* ─── MANIFESTO ─── */
.manifesto { padding: 140px 24px; text-align: center; background: var(--white); }
.manifesto-eyebrow { font-size: .82rem; letter-spacing: .02em; color: var(--green); font-weight: 500; margin-bottom: 24px; }
.manifesto blockquote { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4.6vw, 4.4rem); font-weight: 500; font-style: italic; line-height: 1.08; letter-spacing: -.02em; color: var(--black); max-width: 1080px; margin: 0 auto 28px; }
.manifesto blockquote em { color: var(--green); font-style: italic; }
.manifesto-cite { font-size: .9rem; color: var(--gray-text-2); letter-spacing: .02em; }

/* ─── PROBLEM ─── */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problem-card { background: var(--white); border-radius: 22px; padding: 36px 30px; transition: transform .35s cubic-bezier(.4,.0,.2,1); min-height: 280px; display: flex; flex-direction: column; }
.problem-card:hover { transform: translateY(-4px); }
.problem-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 500; color: var(--green); line-height: 1; margin-bottom: 22px; }
.problem-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--black); line-height: 1.3; letter-spacing: -.018em; }
.problem-card p { font-size: .95rem; color: var(--gray-text); line-height: 1.55; flex-grow: 1; }
.problem-quote { margin-top: 18px; padding: 12px 16px; background: var(--gray-100); border-radius: 12px; font-size: .88rem; font-style: italic; color: var(--green); line-height: 1.45; }
.problem-card.cta-card { background: var(--green-deep); color: var(--white); justify-content: space-between; }
.problem-card.cta-card .problem-num { color: var(--green-soft); }
.problem-card.cta-card h3 { color: var(--white); font-size: 1.4rem; }
.problem-card.cta-card p { color: rgba(255,255,255,0.75); }

/* ─── METHOD ─── */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border-radius: 18px; overflow: hidden; margin-top: 30px; }
.method-step { background: var(--green-deep); padding: 36px 28px; transition: background .25s; }
.method-step:hover { background: var(--green); }
.method-step .num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 500; color: rgba(214,228,220,0.85); line-height: 1; margin-bottom: 18px; }
.method-step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--white); letter-spacing: -.012em; }
.method-step p { font-size: .88rem; color: rgba(255,255,255,0.62); line-height: 1.55; }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { background: var(--white); border-radius: 22px; padding: 40px 32px 32px; transition: transform .35s cubic-bezier(.4,.0,.2,1), box-shadow .35s; cursor: pointer; display: flex; flex-direction: column; min-height: 320px; text-decoration: none; color: inherit; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.06); }
.service-card.featured { background: var(--black); color: var(--white); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.service-card.featured .service-icon { background: rgba(255,255,255,0.12); color: var(--white); }
.service-card h3 { font-size: 1.32rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -.02em; line-height: 1.2; }
.service-card p { font-size: .96rem; line-height: 1.55; color: var(--gray-text); flex-grow: 1; }
.service-card.featured p { color: rgba(255,255,255,0.7); }
.service-tag { display: inline-block; margin-top: 22px; font-size: .76rem; font-weight: 500; color: var(--gray-text); letter-spacing: .02em; }
.service-card.featured .service-tag { color: rgba(255,255,255,0.55); }

/* ─── EXPLORE LINKS (homepage card-links to subpages) ─── */
.explore {
  max-width: 1200px; margin: 12px auto; padding: 100px 60px;
  background: var(--white);
}
.explore-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.explore-card {
  background: var(--gray-100); border-radius: 22px;
  padding: 38px 32px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; color: inherit;
  transition: transform .35s cubic-bezier(.4,.0,.2,1), background .25s;
  position: relative; overflow: hidden;
}
.explore-card:hover { transform: translateY(-4px); background: var(--green-soft); }
.explore-card .ec-eyebrow {
  font-size: .76rem; font-weight: 500; color: var(--gray-text-2);
  letter-spacing: .02em; margin-bottom: 20px;
}
.explore-card h3 {
  font-size: 1.65rem; font-weight: 600; line-height: 1.15;
  letter-spacing: -.025em; color: var(--black);
  margin-bottom: 10px;
}
.explore-card h3 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--green); }
.explore-card p { font-size: .92rem; color: var(--gray-text); line-height: 1.55; margin-bottom: 24px; }
.explore-card .arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green); font-size: .92rem; font-weight: 500;
}
.explore-card .arrow::after { content: '›'; font-size: 1.4em; transform: translateY(-1px); transition: transform .2s; }
.explore-card:hover .arrow::after { transform: translateX(4px) translateY(-1px); }

/* ─── PLURIMANDATO ─── */
.plurimandato { max-width: 1200px; margin: 12px auto; padding: 100px 60px; background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.plurimandato-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 480px; margin: 0 auto; }
.ring-bg { position: absolute; inset: 0; }
.ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid var(--gray-200); transform: translate(-50%, -50%); }
.ring.r1 { width: 100%; height: 100%; }
.ring.r2 { width: 76%; height: 76%; }
.ring.r3 { width: 52%; height: 52%; }
.ring.r4 { width: 30%; height: 30%; background: var(--green); border: none; box-shadow: 0 14px 50px rgba(26,61,43,0.25); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 1.5rem; letter-spacing: 0; }
.ring-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 4px 14px rgba(26,61,43,0.3); transform: translate(-50%, -50%); }
.ring-label { position: absolute; font-size: .72rem; font-weight: 500; color: var(--green); letter-spacing: .02em; white-space: nowrap; background: var(--white); padding: 4px 10px; border-radius: 20px; border: 1px solid var(--gray-200); transform: translate(-50%, -50%); text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
a.ring-label:hover { background: var(--green); color: var(--white); border-color: var(--green); transform: translate(-50%, -50%) translateY(-2px); }
.pull-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.4rem; color: var(--green); margin: 24px 0 28px; line-height: 1.35; }
.feature-list { display: flex; flex-direction: column; gap: 22px; margin-top: 14px; }
.feature-item h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; letter-spacing: -.015em; }
.feature-item p { font-size: .94rem; color: var(--gray-text); line-height: 1.55; }

/* ─── TEAM ARC ─── */
.team-section { max-width: 1200px; margin: 12px auto; padding: 100px 0 90px; background: #f5f3eb; color: var(--black-soft); border-radius: 28px; position: relative; overflow: hidden; }
.team-head { text-align: center; max-width: 760px; margin: 0 auto 40px; padding: 0 24px; position: relative; z-index: 2; }
.team-head h2 { color: var(--black); margin-bottom: 16px; }
.team-head h2 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--green); }
.team-head p { color: var(--gray-text); font-size: 1.1rem; line-height: 1.5; max-width: 540px; margin: 0 auto; }

.arc-stage { position: relative; width: 100%; perspective: 1500px; perspective-origin: 50% 60%; padding: 60px 0 30px; overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%); }
.arc-track { display: flex; align-items: flex-start; gap: 18px; padding: 30px 0; overflow-x: auto; overflow-y: visible; transform-style: preserve-3d; cursor: grab; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: auto; }
.arc-track::-webkit-scrollbar { display: none; }
.arc-track.dragging { cursor: grabbing; }
.arc-hint { text-align: center; margin-top: 18px; font-size: .78rem; color: var(--gray-text-2); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 10px; width: 100%; justify-content: center; }
.arc-hint svg { color: var(--gray-text-2); }
.arc-card { position: relative; flex-shrink: 0; width: clamp(140px, 15vw, 200px); aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #f2efe6; box-shadow: 0 14px 30px rgba(26,61,43,0.10); transform-style: preserve-3d; will-change: transform; }
.arc-card:hover { box-shadow: 0 20px 44px rgba(26,61,43,0.16); }
.arc-card .arc-photo { position: absolute; inset: 0; background: #f2efe6; display: flex; align-items: center; justify-content: center; }
.arc-card .arc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.arc-card .arc-initials { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; color: rgba(255,255,255,0.92); font-style: italic; }
.arc-card .arc-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 16px 12px; background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.5) 55%, transparent 100%); color: var(--white); text-align: left; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; }
.arc-card .arc-name { font-size: .82rem; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arc-card .arc-role { font-size: .68rem; color: rgba(255,255,255,0.85); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.arc-card .arc-add { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.92); color: var(--green); font-size: .55rem; font-weight: 700; padding: 3px 7px; border-radius: 10px; letter-spacing: .5px; }
.team-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 920px; margin: 60px auto 0; padding: 0 32px; position: relative; z-index: 2; }
.team-cat { text-align: center; }
.team-cat h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--black); letter-spacing: -.012em; }
.team-cat p { font-size: .88rem; color: var(--gray-text); line-height: 1.55; }

/* ─── STORIA ─── */
.storia-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.storia h2 em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--green-soft); font-weight: 500; }
.storia p { color: rgba(255,255,255,0.72); line-height: 1.85; margin-bottom: 20px; font-size: 1rem; }
.storia-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.4rem; color: var(--green-soft); margin-top: 24px; line-height: 1.4; }
.storia-timeline { display: flex; flex-direction: column; gap: 28px; padding-left: 30px; border-left: 1px solid rgba(255,255,255,0.18); }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -36px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--green-soft); box-shadow: 0 0 0 6px rgba(214,228,220,0.1); }
.timeline-year { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.6rem; color: var(--green-soft); font-weight: 500; line-height: 1; }
.timeline-title { font-size: .98rem; font-weight: 600; margin: 6px 0 4px; color: var(--white); }
.timeline-text { font-size: .88rem; color: rgba(255,255,255,0.6); line-height: 1.55; }

/* ─── FAQ ─── */
.faq-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; }
details.faq-item { border-top: 1px solid var(--gray-200); padding: 0; }
details.faq-item:last-child { border-bottom: 1px solid var(--gray-200); }
details.faq-item summary { list-style: none; cursor: pointer; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 1.15rem; font-weight: 500; color: var(--black); letter-spacing: -.018em; transition: color .2s; }
details.faq-item summary:hover { color: var(--green); }
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform .25s; color: var(--green); }
details.faq-item[open] .faq-icon { transform: rotate(45deg); }
details.faq-item .faq-body { padding: 0 0 28px; font-size: 1rem; color: var(--gray-text); line-height: 1.65; max-width: 720px; }

/* ─── CONTACT ─── */
.contact { max-width: 1200px; margin: 12px auto; background: var(--gray-100); border-radius: 28px; padding: 100px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h2 { letter-spacing: -.025em; margin-bottom: 18px; }
.contact-info p.lead { font-size: 1.15rem; color: var(--gray-text); line-height: 1.55; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-text h4 { font-size: .95rem; font-weight: 600; margin-bottom: 2px; }
.contact-item-text p, .contact-item-text a { font-size: .92rem; color: var(--gray-text); line-height: 1.55; text-decoration: none; }
.contact-item-text a:hover { color: var(--green); }
.whatsapp-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; background: #25d366; color: var(--white); padding: 11px 20px; border-radius: 980px; font-size: .88rem; font-weight: 500; text-decoration: none; transition: background .2s, transform .15s; }
.whatsapp-pill:hover { transform: translateY(-1px); background: #1ebe5d; }
.contact-socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--white); color: var(--green); border: 1px solid var(--gray-300); padding: 9px 16px; border-radius: 980px; font-size: .82rem; font-weight: 500; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.social-pill:hover { transform: translateY(-1px); background: var(--green); color: var(--white); border-color: var(--green); }
.contact-form { background: var(--white); border-radius: 22px; padding: 38px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 500; color: var(--black); }
.form-group input, .form-group textarea, .form-group select { padding: 13px 16px; border-radius: 12px; border: 1px solid var(--gray-200); font-family: inherit; font-size: .92rem; color: var(--black); background: var(--white); transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-consent { font-size: .8rem; color: var(--gray-text); display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.form-consent input { margin-top: 4px; }
.form-consent a { color: var(--green); text-decoration: underline; }
.form-submit { background: var(--black); color: var(--white); border: none; padding: 13px 28px; border-radius: 980px; font-size: .92rem; font-weight: 500; cursor: pointer; align-self: flex-start; transition: background .2s, transform .15s; }
.form-submit:hover { background: var(--black-soft); transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer.site-footer { max-width: 1200px; margin: 12px auto 24px; padding: 60px 60px 30px; background: var(--white); border-top: 1px solid var(--gray-200); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .82rem; color: var(--gray-text); line-height: 1.65; max-width: 280px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: .78rem; color: var(--black-soft); text-decoration: none; transition: background .2s; }
.social-btn:hover { background: var(--green-soft); color: var(--green); }
.footer-col h4 { font-size: .82rem; font-weight: 600; color: var(--black); margin-bottom: 14px; letter-spacing: -.005em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li, .footer-col ul li a { font-size: .82rem; color: var(--gray-text); text-decoration: none; transition: color .2s; line-height: 1.55; }
.footer-col ul li a:hover { color: var(--green); }
.footer-legal { border-top: 1px solid var(--gray-200); padding-top: 22px; margin-bottom: 18px; }
.footer-legal p { font-size: .72rem; color: var(--gray-text-2); line-height: 1.7; max-width: 980px; }
.footer-bottom { border-top: 1px solid var(--gray-200); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-size: .76rem; color: var(--gray-text-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--green); }

.placeholder-flag { display: inline-block; background: #fff8d8; color: #8a6d3b; font-size: .66rem; font-weight: 600; padding: 2px 7px; border-radius: 6px; letter-spacing: .3px; text-transform: uppercase; margin-left: 4px; vertical-align: middle; }

/* ─── DOCUMENTI ─── */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.doc-card {
  background: var(--white); border-radius: 18px;
  padding: 26px 26px;
  display: flex; align-items: center; gap: 18px;
  border: 1px solid var(--gray-200);
  text-decoration: none; color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.doc-card:hover { transform: translateY(-3px); border-color: var(--green); box-shadow: 0 14px 36px rgba(26,61,43,0.08); }
.doc-icon {
  flex-shrink: 0; width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info h4 { font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: 4px; letter-spacing: -.012em; }
.doc-info p { font-size: .85rem; color: var(--gray-text); line-height: 1.45; }
.doc-meta { font-size: .72rem; color: var(--gray-text-2); margin-top: 6px; letter-spacing: .02em; }
.doc-arrow { color: var(--green); flex-shrink: 0; transition: transform .2s; }
.doc-card:hover .doc-arrow { transform: translateX(4px); }
.doc-section-title { font-size: 1.2rem; font-weight: 600; color: var(--black); letter-spacing: -.018em; margin: 50px 0 18px; max-width: 920px; margin-left: auto; margin-right: auto; }
.doc-section-title:first-of-type { margin-top: 0; }

/* ─── COOKIE BANNER ─── */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.14);
  display: flex; align-items: center; gap: 18px;
  max-width: 760px; margin: 0 auto;
  font-size: .88rem; color: var(--gray-text); line-height: 1.5;
  transform: translateY(120%); opacity: 0;
  transition: transform .35s cubic-bezier(.4,.0,.2,1), opacity .25s;
  pointer-events: none;
}
#cookie-banner.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
#cookie-banner p { flex: 1; }
#cookie-banner a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
#cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-banner button {
  padding: 10px 18px; border-radius: 980px;
  font-size: .85rem; font-weight: 500; cursor: pointer;
  border: 1px solid var(--gray-200); background: var(--white); color: var(--black-soft);
  transition: background .2s, border-color .2s;
}
#cookie-banner button.primary { background: var(--green); border-color: var(--green); color: var(--white); }
#cookie-banner button.primary:hover { background: var(--green-mid); }
#cookie-banner button:hover { background: var(--gray-100); }

@media (max-width: 700px) {
  #cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  #cookie-banner-actions { justify-content: flex-end; }
  .doc-grid { grid-template-columns: 1fr; }
}

/* ─── FOOTER SITEMAP (collapsed details) ─── */
.footer-sitemap {
  border-top: 1px solid var(--gray-200);
  margin-top: 30px;
}
.footer-sitemap > summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-size: .8rem; font-weight: 500; color: var(--gray-text);
  letter-spacing: -.005em;
  transition: color .2s;
}
.footer-sitemap > summary::-webkit-details-marker { display: none; }
.footer-sitemap > summary:hover { color: var(--black); }
.footer-sitemap-label { display: inline-flex; align-items: center; gap: 8px; }
.footer-sitemap-label::before {
  content: ''; width: 14px; height: 1px; background: currentColor; opacity: .5;
}
.footer-sitemap-chevron {
  font-size: 1.2rem; line-height: 1; transition: transform .3s; opacity: .6;
}
.footer-sitemap[open] .footer-sitemap-chevron { transform: rotate(90deg); }
.footer-sitemap[open] > summary { color: var(--black); }
.footer-sitemap-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  padding: 8px 0 28px;
  border-top: 1px solid var(--gray-200);
  margin-top: 4px;
  padding-top: 24px;
}
.footer-sitemap-col h5 { font-size: .78rem; font-weight: 600; color: var(--black); margin-bottom: 10px; letter-spacing: -.005em; }
.footer-sitemap-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-sitemap-col ul li a { font-size: .78rem; color: var(--gray-text); text-decoration: none; transition: color .2s; line-height: 1.5; }
.footer-sitemap-col ul li a:hover { color: var(--green); }
@media (max-width: 1100px) { .footer-sitemap-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .footer-sitemap-grid { grid-template-columns: 1fr 1fr; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  section.tile { padding: 80px 40px; margin: 8px 12px; border-radius: 24px; }
  .plurimandato { padding: 80px 40px; grid-template-columns: 1fr; gap: 60px; margin: 8px 12px; }
  .contact { padding: 80px 40px; grid-template-columns: 1fr; gap: 50px; margin: 8px 12px; }
  .team-section { padding: 80px 0 70px; margin: 8px 12px; }
  .team-categories { grid-template-columns: 1fr; gap: 30px; }
  .arc-card { width: clamp(110px, 18vw, 170px); }
  footer.site-footer { padding: 50px 40px 30px; margin: 8px 12px 20px; }
  .problem-grid, .services-grid, .explore-grid { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .storia-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .explore { padding: 80px 24px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  nav.topbar .nav-inner { padding: 12px 18px; gap: 10px; }
  .nav-logo img { height: 28px; }
  .nav-cta { padding: 6px 12px; font-size: .76rem; }
  .nav-links {
    position: fixed; top: calc(56px + env(safe-area-inset-top)); left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255,255,255,0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 14px 22px 22px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s cubic-bezier(.4,.0,.2,1), opacity .25s, visibility .35s;
    pointer-events: none;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links li { border-bottom: 1px solid var(--gray-200); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 14px 4px; font-size: 1.02rem; opacity: 1; }
}
@media (max-width: 600px) {
  nav.topbar .nav-cta { display: none; }
  nav.topbar .nav-inner { padding: 10px 16px; }
}
@media (max-width: 700px) {
  .hero { padding: 110px 20px 60px; }
  .hero-marquee { gap: 40px; margin-top: 60px; }
  section.tile { padding: 70px 22px; border-radius: 18px; margin: 6px 8px; }
  .tile-head h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .manifesto { padding: 80px 20px; }
  .manifesto blockquote { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .problem-grid, .services-grid, .method-grid, .explore-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 32px 26px; }
  .explore-card { min-height: auto; padding: 32px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  footer.site-footer { padding: 40px 22px 24px; margin: 6px 8px; }
  .contact { padding: 60px 22px; }
  .contact-form { padding: 24px; }
  .contact-info h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .contact-details { gap: 18px; }
  .arc-card { width: clamp(120px, 60vw, 200px); }
  .arc-card .arc-initials { font-size: 2.4rem; }
  .arc-track { gap: 14px; padding: 24px max(20px, calc(50% - 90px)) 24px; }
  .team-section { padding: 60px 0 50px; }
  .page-hero { padding: 120px 20px 50px; }
  .page-hero h1 { font-size: clamp(2rem, 8.5vw, 3.4rem); }
  .servizio-block { padding: 60px 22px; }
  .servizio-block .servizio-inner { grid-template-columns: 1fr; gap: 28px; }
  .servizio-side h2 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .servizio-detail ul li { font-size: .95rem; padding: 9px 0 9px 20px; }
  .servizi-anchors { gap: 6px; margin-top: 24px; }
  .servizi-anchors a { font-size: .76rem; padding: 6px 11px; }
  .step-item { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .step-num { font-size: 1.8rem; }
  .step-body h3 { font-size: 1.25rem; }
  .step-docs, .step-contacts { grid-template-columns: 1fr; }
  /* Footer sitemap mobile */
  .footer-sitemap-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-sitemap > summary { padding: 16px 0; font-size: .85rem; }
  /* Cookie banner mobile */
  #cookie-banner { left: 12px !important; right: 12px !important; bottom: 12px !important; padding: 18px 20px !important; }
  #cookie-banner-actions { flex-direction: column; gap: 8px; }
  #cookie-banner-actions button { width: 100%; }
  /* WhatsApp pill */
  .whatsapp-pill { width: 100%; justify-content: center; }
  /* Hide hover transforms on touch */
  .service-card:hover, .explore-card:hover, .problem-card:hover { transform: none; }
}
@media (max-width: 700px) {
  .ring-label { font-size: .62rem; padding: 3px 7px; }
  .plurimandato { padding: 60px 22px; gap: 40px; }
  .plurimandato-visual { max-width: 320px; }
  .storia { padding: 70px 26px; }
  .storia p { font-size: .95rem; line-height: 1.7; }
  .storia-timeline { padding-left: 22px; gap: 22px; }
  .timeline-year { font-size: 1.05rem; }
  .hero-bg { background-position: center 65%; }
  .hero h1 { line-height: 1; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3rem); }
  .nav-cta { padding: 5px 10px; font-size: .72rem; }
  .nav-logo img { height: 24px; }
  .ring-label { font-size: .58rem; padding: 2px 6px; }
  .plurimandato-visual { max-width: 280px; }
}

/* ─── SERVIZI PAGE ─── */
.servizi-anchors { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; max-width: 720px; margin: 32px auto 0; }
.servizi-anchors a { font-size: .82rem; padding: 7px 14px; border: 1px solid var(--gray-300); border-radius: 980px; color: var(--black-soft); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.servizi-anchors a:hover { background: var(--green); border-color: var(--green); color: var(--white); }

.servizio-block { padding: 100px 24px; background: var(--white); border-bottom: 1px solid var(--gray-200); scroll-margin-top: 80px; }
.servizio-block.alt { background: var(--gray-50); }
.servizio-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.servizio-side h2 { margin-top: 8px; color: var(--black); }
.servizio-side h2 em { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; color: var(--green); }
.servizio-side p { font-size: 1.05rem; color: var(--gray-text); line-height: 1.55; margin-top: 20px; }
.servizio-detail h4 { font-size: .82rem; font-weight: 600; color: var(--green); letter-spacing: .02em; margin-bottom: 14px; margin-top: 28px; }
.servizio-detail h4:first-child { margin-top: 0; }
.servizio-detail ul { list-style: none; padding: 0; margin-bottom: 24px; }
.servizio-detail ul li { font-size: 1rem; color: var(--black-soft); line-height: 1.55; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--gray-200); position: relative; }
.servizio-detail ul li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.servizio-detail ul li:last-child { border-bottom: none; }
.servizio-detail p + .callout-soft, .servizio-detail h4 + .callout-soft { margin-top: 32px; }
.callout-soft { background: var(--green-soft); color: var(--green-deep); padding: 18px 22px; border-radius: 14px; font-size: .95rem; line-height: 1.55; margin-bottom: 24px; margin-top: 28px; }

/* ─── SINISTRO PAGE ─── */
.step-list { list-style: none; max-width: 920px; margin: 0 auto; padding: 0; counter-reset: step; }
.step-item { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--gray-200); align-items: start; }
.step-item:last-child { border-bottom: none; }
.step-num { font-size: 2.6rem; font-weight: 700; color: var(--green); letter-spacing: -.03em; line-height: 1; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.step-body h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: var(--black); margin-bottom: 12px; }
.step-body p { color: var(--gray-text); font-size: 1rem; line-height: 1.6; margin-bottom: 14px; }
.step-points { list-style: none; padding: 0; margin-top: 12px; }
.step-points li { font-size: .95rem; color: var(--black-soft); line-height: 1.55; padding: 8px 0 8px 18px; position: relative; }
.step-points li::before { content: '–'; position: absolute; left: 0; top: 8px; color: var(--green); font-weight: 600; }
.step-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.step-doc { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; text-decoration: none; transition: background .2s, border-color .2s; }
.step-doc:hover { background: var(--white); border-color: var(--green); }
.step-doc-name { font-size: .95rem; font-weight: 600; color: var(--black); }
.step-doc-meta { font-size: .8rem; color: var(--gray-text-2); }
.step-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 18px; }
.step-contact { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 12px; text-decoration: none; transition: border-color .2s, background .2s; }
.step-contact:hover { border-color: var(--green); background: var(--green-soft); }
.step-contact-label { font-size: .78rem; color: var(--gray-text-2); letter-spacing: .01em; }
.step-contact-value { font-size: 1rem; font-weight: 600; color: var(--black); }

