.gestionale-page .gestionale-hero {
  padding: 24px 0 20px;
  background: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.gestionale-hero::before { display: none; }

.gestionale-hero > .section-shell,
.gestionale-flow > .section-shell {
  width: min(calc(100% - 64px), 1420px);
}

.gestionale-flow > .section-shell { max-width: 1600px; width: calc(100% - 64px); }

.gestionale-page .feature-hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}

.gestionale-hero .feature-hero-copy { position: relative; z-index: 1; }
.gestionale-hero .section-kicker {
  color: #435979;
  font-size: 10px;
  letter-spacing: 0.19em;
}

.gestionale-page .feature-hero-copy h1 {
  margin-top: 12px;
  font-size: clamp(39px, 3.35vw, 56px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1.09;
}

.gestionale-page .feature-hero-copy h1 span {
  margin-top: 3px;
  color: #0866ff;
}

.gestionale-page .feature-hero-copy > p:not(.section-kicker):not(.gestionale-plan-note) {
  max-width: 560px;
  margin-top: 24px;
  color: #5b6d88;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
}

.gestionale-hero .feature-actions { gap: 12px; margin-top: 24px; }
.gestionale-hero .button-large { min-height: 46px; padding: 13px 18px; font-size: 14px; }
.gestionale-hero .button-primary { background: #0866ff; border-color: #0866ff; }
.gestionale-hero .button-primary:hover { background: #0051d7; border-color: #0051d7; }
.gestionale-hero .button-secondary { border-color: #a6c5ff; background: #fff; color: #0866ff; }
.gestionale-hero .button-secondary:hover { background: #eff6ff; }

.gestionale-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.gestionale-hero-benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 58px;
  padding: 10px;
  border: 1px solid #e3eaf5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 5px #254d8210;
  color: #465d80;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.gestionale-benefit-icon,
.gestionale-step-icon {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #edf4ff;
  color: #0866ff;
}

.gestionale-icon-building { --gestionale-icon: url('/assets/icons/building.svg'); }
.gestionale-icon-document { --gestionale-icon: url('/assets/icons/file-description.svg'); }
.gestionale-icon-check { --gestionale-icon: url('/assets/icons/circle-check.svg'); }
.gestionale-icon-search { --gestionale-icon: url('/assets/icons/search.svg'); }

.gestionale-benefit-icon::before,
.gestionale-step-icon::before {
  width: 21px;
  height: 21px;
  background: currentColor;
  mask: var(--gestionale-icon) center / contain no-repeat;
  -webkit-mask: var(--gestionale-icon) center / contain no-repeat;
  content: "";
}

.gestionale-page .feature-hero-copy .gestionale-plan-note {
  margin-top: 12px;
  color: #65748d;
  font-size: 11px;
  line-height: 1.6;
}

.gestionale-hero-visual { min-width: 0; margin: 0 -72px 0 -14px; }
.gestionale-hero-visual > img { width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.gestionale-hero-visual figcaption { margin-top: 4px; color: #6c7e98; font-size: 10px; text-align: center; }

.gestionale-page .gestionale-flow {
  padding: 28px 0 30px;
  background: #f7faff;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.gestionale-flow-heading { text-align: center; }
.gestionale-flow-heading .section-kicker { font-size: 10px; letter-spacing: 0.23em; color: #0866ff; }
.gestionale-flow-heading .section-title {
  max-width: none;
  margin-top: 10px;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
}
.gestionale-flow-heading > p:last-child { margin: 9px 0 0; color: #62728b; font-size: 15px; line-height: 1.6; }

.gestionale-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.gestionale-steps > li {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}
.gestionale-steps .gestionale-step-icon { width: 50px; height: 50px; background: #e6f0ff; }
.gestionale-step-icon::before { width: 25px; height: 25px; }
.gestionale-steps li:nth-child(2) .gestionale-step-icon { color: #00938d; background: #e3f5f2; }
.gestionale-steps li:nth-child(3) .gestionale-step-icon { color: #7547e8; background: #eeebff; }
.gestionale-step-number { display: block; color: #0866ff; font-size: 10px; font-weight: 700; line-height: 1; }
.gestionale-steps h3 { margin: 9px 0 9px; font-size: 17px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; }
.gestionale-steps p { margin: 0; color: #60718d; font-size: 13px; line-height: 1.7; }
.gestionale-step-arrow { position: absolute; top: 17px; right: -31px; opacity: 0.32; filter: invert(34%) sepia(100%) saturate(2500%) hue-rotate(210deg); }

.gestionale-checklist ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gestionale-checklist li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 12px; }
.gestionale-check,
.gestionale-pending { display: inline-grid; flex: 0 0 21px; height: 21px; place-items: center; border-radius: 50%; background: #e5f5f1; color: #24715a; font-weight: 700; }
.gestionale-pending { background: #fff3dc; color: #886013; }
.gestionale-image figcaption { padding: 14px 20px; color: #596c85; font-size: 11px; line-height: 1.65; text-align: center; }

.gestionale-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 86px); }
.gestionale-split-reverse .gestionale-copy { order: 2; }
.gestionale-copy > p:not(.section-kicker) { margin: 22px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.gestionale-copy strong { color: var(--ink-soft); font-weight: 700; }
.gestionale-benefits { display: grid; gap: 12px; margin: 26px 0 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.gestionale-benefits li::marker { color: var(--brand); }
.gestionale-text-link { display: inline-block; margin-top: 26px; color: var(--brand); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.gestionale-text-link span { margin-left: 8px; }
.gestionale-image { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #e0e8f4; border-radius: 22px; background: #fff; }
.gestionale-image > img { display: block; width: 100%; height: auto; }
.gestionale-image-illustration { background: #f3f8ff; }

.gestionale-company-image,
.gestionale-drive-image {
  display: flex;
  align-self: stretch;
  flex-direction: column;
}

.gestionale-image-frame {
  position: relative;
  flex: 1;
  min-height: clamp(420px, 38vw, 540px);
}

.gestionale-image-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#drive .gestionale-split {
  gap: clamp(36px, 4vw, 64px);
}

#drive .section-title {
  margin-top: 22px;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

#drive .gestionale-copy > p:not(.section-kicker) {
  line-height: 1.65;
}

.gestionale-drive-image {
  border-color: #dce9ff;
  border-radius: 26px;
  box-shadow: 0 18px 54px rgba(0, 92, 214, 0.08);
}

.gestionale-drive-image .gestionale-image-frame {
  min-height: clamp(360px, 32vw, 460px);
}

.gestionale-drive-image .gestionale-image-frame > img {
  object-fit: contain;
}

.gestionale-drive-image figcaption {
  padding: 18px 24px 22px;
  color: #58739c;
  font-size: 12px;
}

#drive .gestionale-benefits {
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

#drive .gestionale-benefits li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  line-height: 1.65;
}

#drive .gestionale-benefits li::before {
  display: grid;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  place-items: center;
  border-radius: 50%;
  background: #0670ff;
  color: #fff;
  content: "✓";
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.gestionale-practice-section {
  padding-block: clamp(64px, 6vw, 96px);
  background: #f7faff;
}

.gestionale-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(36px, 4vw, 64px);
  width: min(calc(100% - 80px), 1380px);
}

.gestionale-practice-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 24px;
}

.gestionale-practice-copy .section-kicker { color: #0866ff; }
.gestionale-practice-copy .section-title {
  margin-top: 20px;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.048em;
}

.gestionale-practice-copy > p:not(.section-kicker) {
  margin-top: 30px;
  color: #5f7293;
  font-size: clamp(16px, 1.28vw, 19px);
  line-height: 1.85;
}

.gestionale-practice-copy .gestionale-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: #0866ff;
  font-size: 17px;
  line-height: 1.5;
}
.gestionale-practice-copy .gestionale-text-link img { flex: 0 0 20px; }

.gestionale-status { width: 100%; margin-top: auto; padding-top: 62px; }
.gestionale-status > p { margin: 0; color: #536986; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; line-height: 1.7; }
.gestionale-status ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 15px; padding: 0; list-style: none; }
.gestionale-status li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid #dfe9f8;
  border-radius: 30px;
  background: #fbfdff;
  color: #425b80;
  font-size: 11px;
  white-space: nowrap;
}
.gestionale-status li::before { width: 10px; height: 10px; border-radius: 50%; background: var(--status-color, #adbed7); content: ""; }
.practice-status-verify { --status-color: #4c90ff; }
.practice-status-prepare { --status-color: #ffbd16; }
.practice-status-sent { --status-color: #5cbe80; }
.practice-status-result { --status-color: #9960ff; }
.practice-status-archived { --status-color: #92a7c3; }
.gestionale-status small { display: block; color: #7185a4; font-size: 12px; line-height: 1.7; }

.gestionale-workspace-image {
  display: flex;
  flex-direction: column;
  border-color: #dce7f7;
  border-radius: 22px;
  background: #fff;
}
.gestionale-workspace-photo { position: relative; flex: 1; min-height: clamp(400px, 39vw, 590px); }
.gestionale-workspace-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gestionale-checklist { margin: 18px 22px 0; padding: 20px 24px 10px; border: 1px solid #dce7f7; border-radius: 20px; }
.gestionale-checklist h3 { margin: 0 0 14px; font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; line-height: 1.4; letter-spacing: -0.025em; }
.gestionale-checklist ul { gap: 0; }
.gestionale-checklist li { gap: 18px; padding-block: 10px; color: #597194; font-size: 14px; line-height: 1.6; }
.gestionale-checklist li + li { border-top: 1px solid #edf1f7; }
.gestionale-checklist-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 50%; background: #e5f5ef; color: #1e8446; }
.gestionale-checklist-icon::before { width: 19px; height: 19px; background: currentColor; mask: url('/assets/icons/check.svg') center / contain no-repeat; -webkit-mask: url('/assets/icons/check.svg') center / contain no-repeat; content: ""; }
.gestionale-checklist-pending { background: #fff3dc; color: #7e663a; }
.gestionale-checklist-pending::before { mask-image: url('/assets/icons/clock.svg'); -webkit-mask-image: url('/assets/icons/clock.svg'); }
.gestionale-workspace-image figcaption { padding: 16px 20px 18px; font-size: 11px; color: #7386a5; }
.gestionale-copy > p.gestionale-small-note { font-size: 13px; }

@media (max-width: 980px) {
  .gestionale-page .feature-hero-grid,
  .gestionale-split { grid-template-columns: minmax(0, 1fr); }
  .gestionale-hero-visual { width: 100%; max-width: 760px; margin: 0; justify-self: center; }
  .gestionale-hero-visual > img { max-height: none; }
  .gestionale-hero .feature-hero-copy { max-width: 640px; }
  .gestionale-step-arrow { display: none; }
  .gestionale-split-reverse .gestionale-copy { order: 0; }
  .gestionale-image { width: 100%; max-width: 680px; justify-self: center; }
  .gestionale-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gestionale-practice-grid { grid-template-columns: minmax(0, 1fr); width: min(calc(100% - 40px), 760px); }
  .gestionale-practice-copy { padding-top: 0; }
  .gestionale-status { padding-top: 36px; }
  .gestionale-workspace-image { max-width: none; }
  .gestionale-workspace-photo { flex: none; min-height: 0; aspect-ratio: 7 / 6; }
  .gestionale-company-image .gestionale-image-frame,
  .gestionale-drive-image .gestionale-image-frame {
    flex: none;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .gestionale-page .gestionale-hero { padding: 20px 0 32px; }

  .gestionale-page .feature-hero-copy h1 { font-size: clamp(36px, 9vw, 46px); }
  .gestionale-hero > .section-shell,
  .gestionale-flow > .section-shell { width: calc(100% - 40px); }
  .gestionale-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .gestionale-checklist { margin-inline: 14px; padding: 16px; }
  .gestionale-checklist li { gap: 12px; font-size: 12px; }
  .gestionale-practice-copy .section-title { font-size: clamp(34px, 9vw, 44px); }
  .gestionale-practice-copy .gestionale-text-link { font-size: 14px; }
  .gestionale-hero-benefits { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; }
  .gestionale-hero-benefits li { min-height: 50px; padding: 10px 14px; font-size: 12px; }
  .gestionale-hero-benefits br { display: none; }
  .gestionale-flow-heading { text-align: left; }
}

@media (min-width: 981px) and (max-height: 760px) {
  .gestionale-page .gestionale-hero { padding-block: 20px 32px; }

  .gestionale-page .feature-hero-copy h1 { font-size: clamp(39px, 3.35vw, 52px); }
}
