/* =========================================================
   Sottopagine: dettaglio prodotto (pd), servizi (sv), informative (in), articoli (ar)
   ========================================================= */
.pd-h { margin-bottom: 40px; }
.pd-eyebrow { margin: 0 0 8px; font-size: 21px; line-height: 25px; font-weight: 600; color: #6e6e73; }
.pd-feat.dark .pd-eyebrow { color: #a1a1a6; } /* contrasto su nero ≥ 4,5:1 (#6e6e73 dava 4,1:1) */
.pd-badge { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: #bf4800; }
.pd-cta { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }

/* barra locale fissa */
.pd-bar { position: sticky; top: var(--nav-h); z-index: 120; background: rgba(250,250,252,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.12); }
.pd-bar-in { max-width: 1036px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.pd-bar strong { font-size: 21px; font-weight: 600; }
.pd-bar nav { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.pd-bar nav a:not(.button) { color: #1d1d1f; opacity: .8; }
.pd-bar nav a:not(.button):hover { opacity: 1; }
.pd-bar .button { padding: 4px 11px; font-size: 12px; min-height: 0; line-height: 18px; }

/* hero */
.pd-hero { background: #fff; text-align: center; padding: 70px 22px 0; overflow: hidden; }
.pd-hero.dark { background: #000; color: #f5f5f7; }
.pd-hero h1 { margin: 0; font-size: 80px; line-height: 84px; font-weight: 600; letter-spacing: -1.2px; }
.pd-tag { margin: 6px 0 0; font-size: 28px; line-height: 32px; }
.pd-price { margin: 16px 0 0; font-size: 17px; color: inherit; opacity: .85; }
.pd-hero .pd-cta { justify-content: center; }
.pd-hero.dark .text-link { color: #2997ff; }
.pd-hero-media { margin: 40px auto 0; max-width: 1100px; height: 560px; border-radius: 28px 28px 0 0; overflow: hidden; }
.pd-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* feature tiles */
.pd-feats { padding: 110px 0 40px; }
.pd-feat-list { max-width: 1036px; margin: 0 auto; padding: 0 22px; display: grid; gap: 20px; }
.pd-feat { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border-radius: 28px; overflow: hidden; background: #f5f5f7; }
.pd-feat.dark { background: #000; color: #f5f5f7; }
.pd-feat.flip .pd-feat-copy { order: 2; }
.pd-feat-copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.pd-feat-copy h2 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: .2px; }
.pd-feat-copy > p:not(.pd-eyebrow) { margin: 16px 0 20px; font-size: 19px; line-height: 1.42; color: inherit; opacity: .85; }
.pd-feat.dark .text-link { color: #2997ff; }
.pd-feat-media img { width: 100%; height: 100%; object-fit: cover; }

/* configurazione */
.pd-config { padding: 100px 0 40px; }
.pd-config-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: #f5f5f7; border-radius: 28px; padding: 40px; }
.pd-config-img { border-radius: 20px; overflow: hidden; aspect-ratio: 1; }
.pd-config-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-config-form h3 { margin: 0 0 12px; font-size: 21px; font-weight: 600; }
.pd-sws { display: flex; gap: 12px; margin-bottom: 28px; }
.pd-sw { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.pd-sw.on { outline: 2px solid #0071e3; outline-offset: 3px; }
.pd-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.pd-opt { padding: 14px 16px; border: 1px solid #86868b; border-radius: 12px; text-align: left; font-size: 17px; background: #fff; }
.pd-opt.on { border: 2px solid #0071e3; padding: 13px 15px; }
.pd-conf-price { margin: 0 0 16px; font-size: 28px; font-weight: 600; }
.pd-conf-note { margin: 14px 0 0; font-size: 14px; color: #6e6e73; }

/* specifiche */
.pd-specs { padding: 100px 0; }
.pd-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid #d2d2d7; }
.pd-spec { padding: 24px 0; border-bottom: 1px solid #d2d2d7; }
.pd-spec h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.pd-spec p { margin: 0; font-size: 17px; line-height: 1.47; color: #424245; }

/* servizi */
.sv-hero { background: #000; color: #f5f5f7; text-align: center; padding: 70px 22px 0; overflow: hidden; }
.sv-hero .ent-ico { display: inline-block; width: 64px; height: 64px; border-radius: 16px; margin-bottom: 16px; }
.sv-hero h1 { margin: 0; font-size: 80px; line-height: 84px; font-weight: 600; letter-spacing: -1.2px; }
.sv-hero-copy > p { margin: 8px auto 0; font-size: 28px; line-height: 32px; max-width: 700px; }
.sv-hero .pd-cta { justify-content: center; }
.sv-hero .text-link { color: #2997ff; }
.sv-hero-media { margin: 44px auto 0; max-width: 1100px; height: 480px; border-radius: 28px 28px 0 0; overflow: hidden; }
.sv-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.sv-feats { padding: 100px 0; }
.sv-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.sv-feat-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 16px; }
.sv-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.sv-feat h3 { margin: 0 0 6px; font-size: 21px; }
.sv-feat p { margin: 0; font-size: 17px; line-height: 1.47; color: #424245; }
.sv-plans { padding: 100px 0; }
.sv-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sv-plan { background: #fff; border-radius: 24px; padding: 36px 30px; border: 1px solid transparent; }
.sv-plan.hl { border-color: #0071e3; }
.sv-plan h3 { margin: 0; font-size: 28px; }
.sv-price { margin: 12px 0 8px; font-size: 21px; font-weight: 600; }
.sv-plan p { margin: 0 0 24px; font-size: 17px; color: #424245; }

/* pagine informative */
.in-hero { padding: 90px 0 50px; text-align: center; }
.in-hero h1 { margin: 0; font-size: 64px; line-height: 68px; font-weight: 600; letter-spacing: -.5px; }
.in-lead { margin: 16px auto 0; max-width: 700px; font-size: 24px; line-height: 1.33; color: #424245; }
.in-hero .pd-cta { justify-content: center; }
.in-img { max-width: 1036px; margin: 0 auto; padding: 0 22px; }
.in-img img { width: 100%; height: 480px; object-fit: cover; border-radius: 28px; }
.in-steps { padding: 100px 0 40px; }
.in-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.in-step { background: #f5f5f7; border-radius: 24px; padding: 32px 28px; }
.in-step span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #1d1d1f; color: #fff; font-weight: 600; margin-bottom: 18px; }
.in-step h3 { margin: 0 0 8px; font-size: 24px; }
.in-step p { margin: 0; font-size: 17px; line-height: 1.47; color: #424245; }
.in-cta { background: #f5f5f7; text-align: center; padding: 80px 22px; margin-top: 80px; }
.in-cta h2 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 600; }
.in-cta p { margin: 12px 0 24px; font-size: 21px; color: #424245; }

/* articoli di supporto */
.ar-hero { background: #f5f5f7; padding: 60px 0 56px; }
.ar-in { max-width: 820px; margin: 0 auto; padding: 0 22px; }
.ar-crumb { margin: 0 0 14px; font-size: 14px; color: #6e6e73; }
.ar-crumb a { color: #0066cc; }
.ar-hero h1 { margin: 0 0 24px; font-size: 48px; line-height: 52px; font-weight: 600; }
.ar-hero .support-search { margin: 0; }
.ar-body { padding: 60px 0 40px; }
.ar-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.ar-steps li { display: flex; gap: 18px; }
.ar-steps li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #1d1d1f; color: #fff; font-weight: 600; }
.ar-steps h3 { margin: 4px 0 6px; font-size: 21px; }
.ar-steps p { margin: 0; font-size: 17px; line-height: 1.47; color: #424245; }
.ar-help { margin-top: 56px; padding: 36px; background: #f5f5f7; border-radius: 24px; text-align: center; }
.ar-help h2 { margin: 0 0 16px; font-size: 28px; }

@media (max-width: 1068px) {
  .pd-hero h1, .sv-hero h1 { font-size: 64px; line-height: 68px; }
  .pd-feat { min-height: 480px; }
  .pd-feat-copy { padding: 40px 32px; }
}
@media (max-width: 734px) {
  .pd-bar-in { height: 48px; }
  .pd-bar nav a:not(.button) { display: none; }
  .pd-hero { padding-top: 48px; }
  .pd-hero h1, .sv-hero h1 { font-size: 48px; line-height: 52px; letter-spacing: -.3px; }
  .pd-tag, .sv-hero-copy > p { font-size: 21px; line-height: 25px; }
  .pd-hero-media { height: 340px; margin-top: 28px; }
  .sv-hero-media { height: 280px; }
  .pd-feats, .pd-config, .pd-specs, .sv-feats, .sv-plans { padding: 64px 0 24px; }
  .pd-feat { grid-template-columns: 1fr; min-height: 0; }
  .pd-feat.flip .pd-feat-copy { order: 0; }
  .pd-feat-media { height: 280px; }
  .pd-feat-copy { padding: 32px 24px; }
  .pd-feat-copy h2 { font-size: 28px; line-height: 32px; }
  .pd-config-box { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .pd-spec-grid { grid-template-columns: 1fr; }
  .sv-plan-grid, .in-step-grid { grid-template-columns: 1fr; }
  .in-hero { padding-top: 56px; }
  .in-hero h1 { font-size: 40px; line-height: 44px; }
  .in-lead { font-size: 19px; }
  .in-img img { height: 260px; }
  .in-cta h2 { font-size: 28px; line-height: 32px; }
  .ar-hero h1 { font-size: 34px; line-height: 38px; }
}

/* confronto modelli */
.cp-sec { padding: 20px 0 80px; }
.cp { max-width: 1036px; margin: 0 auto; padding: 0 22px; }
.cp-head, .cp-row { display: grid; grid-template-columns: 160px repeat(var(--n), 1fr); gap: 0 20px; }
.cp-col { text-align: center; padding-bottom: 28px; }
.cp-badge { margin: 0; height: 20px; font-size: 12px; font-weight: 600; color: #bf4800; }
.cp-img { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #f5f5f7; margin: 8px 0 18px; }
.cp-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-col h3 { margin: 0; font-size: 21px; }
.cp-tag { margin: 4px 0 0; font-size: 14px; color: #6e6e73; min-height: 40px; }
.cp-price { margin: 10px 0 14px; font-size: 14px; }
.cp-col .button { margin-bottom: 8px; }
.cp-row { border-top: 1px solid #d2d2d7; padding: 20px 0; font-size: 14px; line-height: 1.43; }
.cp-row h4 { margin: 0; font-size: 14px; font-weight: 600; }
.cp-row p { margin: 0; color: #424245; text-align: center; }
.sec > .sec-inner:first-child:last-child { padding-top: 0; }
.sv-feats, .pd-feats { padding-top: 100px; }
.sec .sec-inner > .h-sec.pd-h { margin-bottom: 40px; }
section.sec > .sec-inner.reveal > .h-sec.pd-h { padding-top: 0; }
@media (max-width: 734px) {
  .cp-head, .cp-row { grid-template-columns: repeat(var(--n), minmax(120px, 1fr)); gap: 0 12px; }
  .cp-head > div:first-child { display: none; }
  .cp { overflow-x: auto; }
  .cp-row { grid-template-columns: repeat(var(--n), minmax(120px, 1fr)); }
  .cp-row h4 { grid-column: 1 / -1; margin-bottom: 8px; }
  .cp-head, .cp-row { min-width: 560px; }
}

/* ancore sotto nav + barra fissa */
#modelli, #panoramica, #specifiche, #confronto, #piani { scroll-margin-top: 110px; }
html { scroll-behavior: smooth; }
