/**
 * Crescita Studio: service pages (scroll-craft redesign 2026-10-24). Founder brief: three
 * short parts (Cos'è, A cosa serve, Come ti aiuta) and the live demo on the page, which does
 * the explaining. laboratorio.css styles the widget; style-demos.css the Sito web styles.
 */
.sv { --sv-gutter: clamp(1.25rem, 5vw, 4rem); --sv-line: rgba(15, 23, 34, 0.1); color: var(--crescita-midnight); background: #fff; }
.sv :where(h1, h2, p) { margin: 0; }
.sv-wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--sv-gutter); }

.sv-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem); background: #fff; text-align: center; }
.sv-hero .sv-wrap { display: grid; justify-items: center; gap: 1.125rem; }
.sv-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-secondary); font-size: 0.8125rem; font-weight: 500; color: var(--color-text-secondary); }
.sv-eyebrow a { color: var(--crescita-ocean); text-decoration: none; }
.sv-eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sv-eyebrow span { opacity: 0.4; }
.sv .sv-title { max-width: 18ch; margin: 0; font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.sv-lede { max-width: 42ch; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); color: var(--color-text-secondary); text-wrap: pretty; }
.sv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }

/* The three parts: one row, hairline dividers, no cards */
.sv-three { padding: clamp(3rem, 6vw, 4.5rem) 0; background: #fff; border-top: 1px solid var(--sv-line); }
.sv-three .sv-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.sv-col { display: grid; align-content: start; gap: 0.625rem; padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--sv-line); }
.sv-col:first-child { border-left: 0; padding-left: 0; }
.sv-col:last-child { padding-right: 0; }
.sv-col h2 { font-family: var(--font-secondary); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--crescita-ocean-bright); }
.sv-col p { font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }

/* The demo: the page's main event */
.sv-demo { padding: clamp(3.5rem, 8vw, 6rem) 0; background: #fff; border-top: 1px solid var(--sv-line); }
.sv-demo__head { display: grid; justify-items: center; gap: 0.5rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); text-align: center; }
.sv-demo__head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 600; letter-spacing: -0.025em; }
.sv-demo__head p { max-width: 46ch; font-size: 1.0625rem; color: var(--color-text-secondary); }
.sv-demo__head .sv-demo__fine { font-family: var(--font-secondary); font-size: 0.8125rem; }
.sv-demo .lab-widget.sv-demo__mount {
  max-width: 56rem; margin-inline: auto;
  background: #fff; border: 1px solid var(--sv-line); border-radius: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 34, 0.05), 0 30px 60px -36px rgba(15, 23, 34, 0.38);
}

.sv-close { padding: clamp(4rem, 9vw, 7rem) 0; background: #fff; text-align: center; border-top: 1px solid var(--sv-line); }
.sv-close .sv-wrap { display: grid; justify-items: center; gap: 1rem; }
.sv-close h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 600; letter-spacing: -0.025em; }
.sv-note { max-width: 52ch; margin-top: 0.75rem !important; font-family: var(--font-secondary); font-size: 0.8125rem; color: var(--color-text-secondary); }
.sv-more a { font-size: 0.9375rem; font-weight: 500; color: var(--crescita-ocean); }

@media (max-width: 767.98px) {
  .sv-three .sv-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .sv-col, .sv-col:first-child, .sv-col:last-child { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--sv-line); }
  .sv-col:first-child { border-top: 0; padding-top: 0; }
  .sv-actions a { flex: 1 1 100%; text-align: center; }
}
