/* ═══════════════════════════════════════════════════════════════════
   LC STUDIO — SERVICE PAGES  ·  Sottopagine servizio + pagine legali
   Si appoggia a main.css (design system) e home.css (hero, cta, pillars).
   ═══════════════════════════════════════════════════════════════════ */

/* ── HERO DI SERVIZIO (variante più compatta della hero home) ── */
.hero--service {
  min-height: 88vh;
  min-height: 88svh;
}
.hero--service .hero-title {
  font-size: clamp(2.4rem, 6.5vw, 5.8rem);
  max-width: 16ch;
}
.hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.hero-breadcrumb a {
  font-family: var(--font-mono);
  font-size: var(--text-hud);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color var(--dur-fast);
}
.hero-breadcrumb a:hover { color: var(--cyan); }
.hero-breadcrumb .crumb-sep { color: var(--ink-faint); }
.hero-breadcrumb .crumb-current {
  font-family: var(--font-mono);
  font-size: var(--text-hud);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--uv);
}

/* ── CHIPS "IN BREVE" ── */
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}
.service-chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(244, 244, 248, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── DELIVERABLES (cosa realizziamo) ── */
.deliverables {
  padding-block: var(--space-section);
}
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.deliverable {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  transition: background-color var(--dur-fast);
}
.deliverable::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(124, 92, 255, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}
.deliverable:hover::before { opacity: 1; }
.deliverable-num {
  display: block;
  color: var(--uv);
  margin-bottom: 1.1rem;
}
.deliverable h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  margin-bottom: 0.7rem;
  transition: transform var(--dur-med) var(--ease-expo);
}
.deliverable:hover h3 { transform: translateX(0.4rem); }
.deliverable p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* ── DETTAGLIO EDITORIALE (immagine sticky + percorso) ── */
.detail {
  padding-block: var(--space-section);
  border-top: 1px solid var(--hairline);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.detail-visual {
  position: sticky;
  top: calc(var(--header-h) + 4vh);
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-panel);
}
.detail-visual img {
  width: 100%;
  height: auto;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out);
}
.detail-visual:hover img { transform: scale(1.07); }

.detail-steps { display: flex; flex-direction: column; }
.detail-step {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--hairline);
}
.detail-step:first-child { padding-top: 0.4rem; }
.detail-step-num {
  display: block;
  color: var(--uv);
  margin-bottom: 0.7rem;
}
.detail-step h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  margin-bottom: 0.6rem;
}
.detail-step p { color: var(--ink-dim); }

/* ── PAGINE LEGALI ── */
.legal-hero {
  padding: calc(var(--header-h) + 10vh) 0 6vh;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 55% 45% at 80% 0%, rgba(124, 92, 255, 0.08), transparent),
    var(--bg-0);
}
.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.legal-hero .legal-updated { color: var(--ink-faint); }

.legal-body {
  padding-block: clamp(3rem, 6vw, 5rem) var(--space-section);
  max-width: 52rem;
}
.legal-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin: 2.6rem 0 0.9rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  color: var(--ink-dim);
  margin-bottom: 0.9rem;
}
.legal-body ul {
  list-style: none;
  margin-bottom: 1rem;
}
.legal-body li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
}
.legal-body a { color: var(--uv); text-decoration: underline; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-visual { position: relative; top: auto; }
}
@media (max-width: 768px) {
  .deliverables-grid { grid-template-columns: 1fr; }
  .hero--service { min-height: 76svh; }
}
