/* Download Area - stili della home (solo index.php) */

.home { overflow-x: clip; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec-title { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin-bottom: clamp(24px, 3vw, 40px); text-wrap: balance; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #5d5952; }
.btn-ghost:hover { background: #2a2826; color: var(--ink); }
.btn svg { width: 20px; height: 20px; }

/* comparsa: solo con JavaScript e senza "riduci movimento" */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s cubic-bezier(.16,1,.3,1) var(--d, 0s), transform .45s cubic-bezier(.16,1,.3,1) var(--d, 0s); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ---------- apertura ---------- */
.hero { padding-top: clamp(56px, 9vh, 104px); text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.25rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; font-variation-settings: "wdth" 104; }
.hero h1 .hl { color: var(--accent); }
.hero h1 span { display: block; }
@media (min-width: 760px) { .hero h1 span { white-space: nowrap; } }
.hero-line { font-size: clamp(1.25rem, 1.8vw, 1.5rem); color: var(--ink-soft); margin: 24px auto 0; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.adv-strip { list-style: none; padding: 0; margin: clamp(40px, 5vw, 60px) 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; text-align: left; }
.adv-strip a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 18px 20px; border-radius: 16px; background: linear-gradient(180deg, #2a2826, #222120); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); color: var(--ink-soft); text-decoration: none; font-size: 1rem; line-height: 1.4; transition: transform .25s ease, box-shadow .25s ease; }
.adv-strip a:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--accent); }
.adv-strip .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-on); font-weight: 800; font-size: 1.0625rem; }
.adv-strip b { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 750; line-height: 1.25; margin-bottom: 4px; }
.hero-stage { position: relative; margin-top: clamp(48px, 7vw, 88px); perspective: 1600px; }
.hero-glow { position: absolute; left: 10%; right: 10%; top: 8%; bottom: -6%; background: radial-gradient(60% 60% at 50% 40%, rgba(242,176,30,.28), transparent 70%); filter: blur(30px); pointer-events: none; }
.hero-shot { position: relative; border-radius: 18px; border: 1px solid #45423e; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform-origin: 50% 0; will-change: transform; }
.shot { overflow: hidden; background: #f4f1ec; }
.shot img, .shot video { display: block; width: 100%; height: auto; }
.dark-shot { background: #161514; }

/* ---------- 6 vantaggi: elenco fisso a sinistra, passi a destra ---------- */
.story { margin-top: clamp(56px, 6vw, 88px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 72px); }
.story-rail { position: sticky; top: 104px; align-self: start; }
.story-rail ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-left: 2px solid #34322f; }
.story-rail a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; transition: color .25s, border-color .25s; }
.story-rail .n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #4a4743; font-size: .9375rem; font-weight: 800; transition: background-color .25s, color .25s, border-color .25s; }
.story-rail a:hover { color: var(--ink); }
.story-rail a.is-active { color: var(--ink); border-left-color: var(--accent); }
.story-rail a.is-active .n { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.step { scroll-margin-top: 100px; }
.step + .step { margin-top: clamp(48px, 5vw, 72px); }
.step-head { position: relative; max-width: 720px; margin-bottom: 32px; }
.step-head h3 { position: relative; z-index: 1; font-size: clamp(1.875rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.step-head p { position: relative; z-index: 1; margin-top: 14px; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--ink-soft); }
.step-media { will-change: transform; }
.step-media .shot { border-radius: 16px; border: 1px solid #3d3a36; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }

/* link e QR sempre validi */
.swap { aspect-ratio: 16 / 9; border-radius: 16px; background: radial-gradient(80% 80% at 50% 30%, #34302a, #201f1d); display: grid; place-content: center; justify-items: center; gap: 22px; padding: 28px; border: 1px solid #3d3a36; }
.swap-link { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; background: #3a3631; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); font-weight: 650; }
.swap-link .ic-line { width: 24px; height: 24px; color: var(--accent); flex: none; }
.swap-arrow { width: 32px; height: 32px; color: var(--accent); }
.swap-file { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 12px; background: #f4f1ec; color: #1f1d1b; box-shadow: 0 16px 40px rgba(0,0,0,.4); min-width: min(100%, 380px); }
.swap-file .pdf { width: 30px; height: 30px; color: #c2412d; flex: none; }
.swap-file .names { display: grid; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 700; }
.swap-file .names > span { grid-area: 1 / 1; transition: opacity .5s ease, transform .5s ease; }
.swap-file .new { opacity: 0; transform: translateY(10px); }
.swap-file .badge { margin-left: auto; font-size: .875rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: #fdf0cf; color: #6b4a00; opacity: 0; transition: opacity .4s ease .3s; }
.swap.is-swapped .old { opacity: 0; transform: translateY(-10px); }
.swap.is-swapped .new { opacity: 1; transform: none; }
.swap.is-swapped .badge { opacity: 1; }
.swap-qr { color: var(--ink-soft); font-size: 1.0625rem; }

/* ---------- confronto ---------- */
.cmp { margin-top: clamp(56px, 6vw, 88px); }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1.125rem; }
.cmp-table th, .cmp-table td { padding: 18px 14px; text-align: center; border-bottom: 1px solid #312f2c; vertical-align: middle; }
.cmp-table tbody th { text-align: left; font-weight: 600; color: var(--ink); padding-left: 4px; min-width: 15em; }
.cmp-table thead th { border-bottom: 0; padding-bottom: 22px; vertical-align: bottom; font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.cmp-table thead .c-what { width: 26%; }
.col-name { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; line-height: 1.2; }
.col-name sup { font-size: .6em; margin-left: 1px; }
.brand-logo { width: 34px; height: 34px; color: #d9d4cb; }
.cmp-table .c-us { border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.cmp-table thead .c-us { border-top: 2px solid var(--accent); border-radius: 16px 16px 0 0; color: var(--ink); font-size: 1.125rem; }
.cmp-table tbody tr:last-child .c-us { border-bottom: 2px solid var(--accent); border-radius: 0 0 16px 16px; }
.cmp-table tbody tr:last-child > * { border-bottom-color: transparent; }
.cmp-table tbody tr:last-child .c-us { border-bottom-color: var(--accent); }
.cmp-table tbody tr:hover th, .cmp-table tbody tr:hover td:not(.c-us) { background: rgba(255,255,255,.025); }
.mk { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; vertical-align: middle; }
.mk svg { width: 18px; height: 18px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-yes { background: rgba(60,207,122,.16); box-shadow: inset 0 0 0 1.5px rgba(60,207,122,.55); }
.mk-yes svg { stroke: var(--ok); }
.mk-no { background: rgba(240,84,74,.12); box-shadow: inset 0 0 0 1.5px rgba(240,84,74,.45); }
.mk-no svg { stroke: var(--ko); }
.mk-tag { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--accent); color: var(--accent-on); font-size: .75rem; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }
.mk-wrap { position: relative; display: inline-block; vertical-align: middle; line-height: 0; }
.mk-side { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); margin: 0; line-height: 1.4; }
.mk-pill { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.mk-paid { background: rgba(242,176,30,.14); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(242,176,30,.4); }
.mk-part { background: #2e2c29; color: var(--ink-soft); }
.cmp-note { margin-top: 22px; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.cmp-note .mk-tag { margin: 0 4px 0 0; }
.cmp-note .mk-pill { margin: 0 4px 0 8px; }

/* ---------- dove la usi ---------- */
.where { margin-top: clamp(56px, 6vw, 88px); }
.where-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.where-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 3vw, 40px); border-radius: 20px; background: linear-gradient(180deg, #2a2826, #211f1e); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.where-card.is-key { box-shadow: inset 0 0 0 2px var(--accent), 0 30px 60px -30px rgba(242,176,30,.35); }
.where-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #34312d; margin-bottom: 10px; }
.wp-logo { width: 38px; height: 38px; color: #f4f1ec; }
.ic-big { width: 34px; height: 34px; color: var(--accent); }
.where-card h3 { font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 800; letter-spacing: -.015em; }
.where-card p { color: var(--ink-soft); font-size: 1.1875rem; line-height: 1.5; }
.where-card .sub { color: var(--muted); font-size: 1.0625rem; }
.chip { align-self: flex-start; margin-top: auto; padding: 8px 14px; border-radius: 999px; background: #34312d; color: var(--ink); font-weight: 700; font-size: 1rem; }
.where-card.is-key .chip { background: var(--accent); color: var(--accent-on); }

/* ---------- prezzi ---------- */
.pricing { margin-top: clamp(56px, 6vw, 88px); scroll-margin-top: 80px; }
.mode-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 18px; background: #232120; box-shadow: inset 0 0 0 1px #34322f; }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch label { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 12px; border-radius: 13px; font-size: 1.1875rem; font-weight: 750; color: var(--ink-soft); cursor: pointer; transition: background-color .2s, color .2s; text-align: center; }
.mode-switch label:hover { color: var(--ink); background: #2c2a27; }
.mode-switch input:checked + label { background: var(--accent); color: var(--accent-on); }
.mode-switch input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.sw-logo, .sw-ic { width: 24px; height: 24px; flex: none; }
.mode-intro { display: none; margin: 26px 0 30px; padding-left: 18px; border-left: 3px solid var(--accent); }
.mode-intro p { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); color: var(--ink-soft); line-height: 1.5; max-width: 70ch; }
.mode-intro p b { color: var(--ink); }
.mode-intro .sub { color: var(--muted); font-size: 1.0625rem; margin-top: 4px; }
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 3vw, 40px); border-radius: 20px; background: linear-gradient(180deg, #2a2826, #211f1e); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.price-card.is-pro { background: linear-gradient(180deg, #33302b, #262420); box-shadow: inset 0 0 0 2px var(--accent), 0 30px 70px -30px rgba(242,176,30,.4); }
.ribbon { position: absolute; top: -14px; right: 24px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-on); font-size: .875rem; font-weight: 800; }
.pc-mode { display: none; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px 6px 10px; border-radius: 999px; background: #3a3632; color: var(--ink); font-size: 1rem; font-weight: 700; }
.pc-logo, .pc-ic { width: 20px; height: 20px; }
.pc-ic { color: var(--accent); }
.price-card h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.01em; }
.price-card.is-pro h3 { color: var(--accent); }
.price { display: none; flex-direction: column; gap: 4px; }
.amount-row { display: flex; align-items: baseline; gap: 6px; }
.amount { font-size: clamp(2.75rem, 4.4vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.amount-text { font-size: clamp(2.25rem, 3.4vw, 2.875rem); }
.unit { font-size: 1.25rem; color: var(--muted); }
.under { color: var(--ink-soft); font-size: 1.0625rem; font-weight: 600; min-height: 1.5em; }
.pc-line { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.45; padding-bottom: 14px; border-bottom: 1px solid #3a3733; }
.pc-feats { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; flex: 1; align-content: start; }
.pc-feats li { position: relative; padding-left: 30px; font-size: 1.0625rem; line-height: 1.4; color: var(--ink); }
.pc-feats li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(60,207,122,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%233ccf7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pc-feats li.lead-in { padding-left: 0; color: var(--muted); font-weight: 700; }
.pc-feats li.lead-in::before { display: none; }
.price-card .btn { display: none; justify-content: center; margin-top: auto; }
.price-note { display: none; color: var(--muted); font-size: 1.0625rem; margin-top: 18px; }
.price-note:not([data-mode]) { display: block; }
.pricing:has(#m-wp:checked) [data-mode="wp"], .pricing:has(#m-hosting:checked) [data-mode="hosting"], .pricing:has(#m-server:checked) [data-mode="server"] { display: flex; }
.pricing:has(#m-wp:checked) .mode-intro[data-mode="wp"], .pricing:has(#m-hosting:checked) .mode-intro[data-mode="hosting"], .pricing:has(#m-server:checked) .mode-intro[data-mode="server"],
.pricing:has(#m-server:checked) .price-note[data-mode="server"] { display: block; }
.plans-table thead .c-what { width: 50%; }
.soon { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: #2e2c29; color: var(--ink-soft); font-size: .8125rem; font-weight: 650; vertical-align: 2px; white-space: nowrap; }

/* ---------- domande ---------- */
.faq-sec { margin-top: clamp(56px, 6vw, 88px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .sec-title { position: sticky; top: 104px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #232120; border-radius: 16px; padding: 0 26px; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: background-color .2s; }
.faq details[open] { background: #2a2826; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-size: 1.25rem; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-75%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); font-size: 1.1875rem; line-height: 1.55; }

/* ---------- chiusura in giallo ambra ---------- */
.end-band { margin-top: clamp(56px, 6vw, 88px); background: var(--accent); color: var(--accent-on); }
.end-in { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.end-band h2 { font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; max-width: 16ch; }
.end-band .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.btn-dark { background: var(--accent-on); color: var(--accent); }
.btn-dark:hover { background: #000; color: var(--accent-hover); }
.link-dark { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-on); font-weight: 750; font-size: 1.25rem; text-decoration: none; }
.link-dark svg { width: 20px; height: 20px; }
.link-dark:hover { text-decoration: underline; }
.tm-note { margin-top: 32px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* ---------- schermi più stretti ---------- */
@media (max-width: 1200px) {
  .adv-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-rail { display: none; }
  .price-cards, .where-grid { grid-template-columns: 1fr; max-width: 620px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-title { position: static; }
}
@media (max-width: 700px) {
  .adv-strip { grid-template-columns: 1fr 1fr; }
  .mode-switch label { flex-direction: column; gap: 6px; font-size: 1rem; padding: 12px 6px; }
  .cmp-table { font-size: 1rem; }
  .cmp-table th, .cmp-table td { padding: 14px 8px; }
  .cmp-table tbody th { min-width: 10em; position: sticky; left: 0; background: var(--ground); z-index: 1; }
  .cmp-table thead .c-what { position: sticky; left: 0; background: var(--ground); z-index: 1; }
  .end-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .adv-strip { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .adv-strip a, .story-rail a, .story-rail .n { transition: none; }
  .adv-strip a:hover { transform: none; }
}

/* Signatures: due piani e due modi (sul nostro server | WordPress), come il sito di Download Area */
.mode-switch-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
/* interruttore GRIGIO (regola: giallo solo su pochi elementi): scelta = chiaro con testo scuro */
.mode-switch-2 input:checked + label { background: #efebe4; color: #1a1918; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.mode-switch-2 input:focus-visible + label { outline-color: #efebe4; }
.price-cards .pc-feats[data-mode], .price-cards .pc-alt { display: none; }
.pricing:has(#m-server:checked) .pc-feats[data-mode="server"], .pricing:has(#m-wp:checked) .pc-feats[data-mode="wp"] { display: grid; }
.pricing:has(#m-server:checked) .pc-alt[data-mode="server"] { display: block; }
.step-head h3 .mk-tag { vertical-align: middle; font-size: .8rem; }
/* telefono e tablet: l'etichetta PRO accanto al titolo resta nella pagina (a destra del riquadro uscirebbe dallo schermo) */
@media (max-width: 900px) { .step-head h3 .mk-side { position: static; transform: none; margin-left: 8px; } }
/* 5 vantaggi: 5 colonne sui monitor larghi, poi centrati (niente buchi nell'ultima riga) */
.adv-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) {
  .adv-strip { display: flex; flex-wrap: wrap; justify-content: center; }
  .adv-strip li { flex: 0 1 calc((100% - 24px) / 3); }
}
@media (max-width: 760px) { .adv-strip li { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 480px) { .adv-strip li { flex-basis: 100%; } }
.pc-alt { align-self: center; color: var(--ink-soft); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.pc-alt:hover { color: var(--accent); }

/* Carosello degli sfondi Teams: sfondi che scorrono, sagoma ferma al centro */
.tcar-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #3d3a36; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); background: #fff; aspect-ratio: 16 / 9; }
.tcar-firma { aspect-ratio: 1600 / 877; }
.tcar-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.tcar-track::-webkit-scrollbar { display: none; }
.tcar-track:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tcar-slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.tcar-person { position: absolute; left: 50%; bottom: 0; width: 56%; height: auto; transform: translateX(-50%); pointer-events: none; }
.tcar-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.tcar-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: #4a4743; cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.tcar-dots button:hover { background: #6b6760; }
.tcar-dots button[aria-current="true"] { width: 32px; background: var(--accent); }
.tcar-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Modelli di firma: 6 immagini vere su carta bianca, 3 colonne, 2 sul tablet, 1 sul telefono */
.models { margin-top: clamp(56px, 6vw, 88px); scroll-margin-top: 80px; }
.models-lead { color: var(--ink-soft); font-size: 1.1875rem; margin: 10px 0 26px; max-width: 60ch; }
.models-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model-card { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.model-paper { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 14px; border-radius: 16px; background: #fff; overflow: hidden; }
.model-paper img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.model-card figcaption { display: flex; align-items: center; gap: 8px; font-size: 1.125rem; font-weight: 750; color: var(--ink); }
@media (max-width: 900px) { .models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .models-grid { grid-template-columns: 1fr; } }

/* ---------- 22/11: pagina rifatta (regole di Patrick: schermate leggibili, niente pagine piatte, caroselli) ---------- */
/* schermate dell'app: ritaglio ingrandito a sinistra, didascalie con i numeri gialli a destra (sotto sul telefono) */
.ann { margin: 0; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ann-img { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.ann-img img { display: block; width: 100%; height: auto; }
.ann figcaption { display: block; position: sticky; top: 140px; margin: 0; font-size: inherit; color: inherit; }
.ann figcaption span::before { content: none; }
.ann-notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.ann-notes li { display: flex; align-items: flex-start; gap: 14px; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.4; font-weight: 650; color: var(--ink); }
.ann-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -2px; border-radius: 50%; background: #f5b301; color: #1f1600; font-size: 1.0625rem; font-weight: 800; }
@media (max-width: 700px) {
  .ann { grid-template-columns: 1fr; gap: 22px; }
  .ann figcaption { position: static; }
}

/* caroselli: scorrendo, la pagina si ferma e scorrono le slide (site.js mette is-pinned; con "riduci il movimento" restano normali) */
.pin-n3 { --slides: 3; }
.pin-n4 { --slides: 4; }
.tcar-firma { --ratio: 1.8244; }
.tcar-teams { --ratio: 1.7778; }
.step-pin.is-pinned .pin-space { height: calc((var(--slides) - 1) * 50svh); }
.step-pin.is-pinned .pin-box { position: sticky; top: var(--pin-top, 96px); }
.step-pin.is-pinned .tcar-frame { width: min(100%, calc((100svh - var(--pin-top, 96px) - var(--head-h, 180px) - 64px) * var(--ratio))); margin-inline: auto; }
.step-pin.is-pinned .tcar-track { overflow: hidden; }

/* modelli: il predefinito con il filo giallo; con e senza foto; esempi con i banner */
.model-card.is-default .model-paper { box-shadow: 0 0 0 3px var(--accent); }
.model-def { margin-left: 0; }
.model-card figcaption span::before { content: none; }
.models-ban { margin-top: clamp(40px, 5vw, 64px); }
.models-ban-head h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.015em; }
.models-ban-head p { color: var(--ink-soft); font-size: 1.1875rem; margin: 8px 0 22px; max-width: 62ch; }
.models-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.model-paper-tall { aspect-ratio: 1 / 1; }
@media (max-width: 560px) { .models-grid-2 { grid-template-columns: 1fr; } }

/* prezzi: terzo box "Su misura" (sempre visibile, in tutti e due i modi) */
.price-card.is-custom { background: linear-gradient(180deg, #262422, #1e1c1b); }
.price-card.is-custom .price-custom { display: flex; }
.price-card.is-custom .btn { display: flex; }
/* confronto Standard e PRO: sezione sempre aperta, con il suo titolo */
.plans-cmp { margin-top: clamp(56px, 6vw, 80px); scroll-margin-top: 90px; }
.plans-cmp .sec-title { margin-bottom: 18px; }
/* telefono: il riquadro fermo è più basso dello schermo, quindi meno scorrimento per slide (niente vuoto lungo sotto) */
@media (max-width: 700px) { .step-pin.is-pinned .pin-space { height: calc((var(--slides) - 1) * 30svh); } }
