/* ==========================================================
   HARDYTECH — PAGINE PRODOTTO (Timely · Tekto · Su misura)
   Componenti condivisi: tema per prodotto, hero, cornici dei
   dispositivi, hotspot sugli screenshot, tour a scene, bento,
   FAQ, altre soluzioni. Si appoggia a css/base.css.
   ========================================================== */

/* ---------- Tema per prodotto ---------- */
.theme-timely { --p: #2563EB; --p-2: #1E40AF; --p-3: #93C5FD; --p-soft: rgba(37, 99, 235, 0.10); --p-line: rgba(37, 99, 235, 0.28); --p-glow: rgba(37, 99, 235, 0.34); --p-glow-2: rgba(59, 130, 246, 0.75); }
.theme-tekto  { --p: #E8912F; --p-2: #C2691A; --p-3: #F6C58A; --p-soft: rgba(232, 145, 47, 0.12); --p-line: rgba(232, 145, 47, 0.32); --p-glow: rgba(232, 145, 47, 0.32); --p-glow-2: rgba(246, 176, 96, 0.8); --t-navy: #143A60; --t-navy-2: #0D2743; }
.theme-custom { --p: #16A34A; --p-2: #0F7A36; --p-3: #86EFAC; --p-soft: rgba(22, 163, 74, 0.10); --p-line: rgba(22, 163, 74, 0.30); --p-glow: rgba(22, 163, 74, 0.30); --p-glow-2: rgba(74, 222, 128, 0.75); }

[class*="theme-"] ::selection { background: var(--p-soft); }
[class*="theme-"] .btn-primary { background: linear-gradient(135deg, var(--p), var(--p-2)); box-shadow: 0 16px 40px var(--p-glow); }
[class*="theme-"] .btn-primary:hover { box-shadow: 0 22px 54px var(--p-glow); }
[class*="theme-"] .eyebrow { color: var(--p-2); }
[class*="theme-"] .eyebrow::before { background: var(--p); box-shadow: 0 0 0 4px var(--p-soft); }
[class*="theme-"] .eyebrow--light { color: var(--p-3); }
[class*="theme-"] .nav__progress { background: linear-gradient(90deg, var(--p-3), var(--p)); }
[class*="theme-"] .glow-card::before { background: radial-gradient(380px circle at var(--mx) var(--my), var(--p-glow-2), transparent 45%); }
[class*="theme-"] .glow-card::after { background: radial-gradient(520px circle at var(--mx) var(--my), var(--p-soft), transparent 45%); }
[class*="theme-"] .final-card::after { background: conic-gradient(from var(--spin), transparent 0 62%, var(--p-glow-2) 76%, transparent 88%); }
[class*="theme-"] .final-card__glow { background: radial-gradient(circle, var(--p-glow), transparent 70%); }
[class*="theme-"] .grad { background: linear-gradient(100deg, var(--p-3), var(--p) 55%, var(--p-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[class*="theme-"] .footer-cta { color: var(--p-3); border-color: var(--p-line); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); background: var(--p, var(--cyan)); }
.nav.scrolled .nav-links a[aria-current="page"] { color: var(--ink); }
.mobile-menu__links a[aria-current="page"] { color: var(--p-3, var(--cyan-300)); }

/* ---------- Hero di pagina ---------- */
.phero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + 54px) 0 clamp(90px, 10vw, 130px);
  background: radial-gradient(110% 120% at 85% -10%, #0E3357 0%, var(--navy-900) 48%, var(--navy-950) 100%); }
.phero__bg { position: absolute; inset: 0; pointer-events: none; }
.phero__glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.phero__glow--1 { width: 620px; height: 620px; top: -240px; right: -120px; background: radial-gradient(circle, var(--p-glow), transparent 70%); opacity: .9; }
.phero__glow--2 { width: 520px; height: 520px; bottom: -260px; left: -160px; background: radial-gradient(circle, rgba(27, 79, 138, 0.55), transparent 70%); }
.phero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 75% 30%, #000 10%, transparent 75%); }
.phero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(transparent, var(--navy-950)); }
.phero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 0.98fr 1.02fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; color: #9FB1C7; font-size: 0.86rem; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.breadcrumb:hover { color: #fff; }
.breadcrumb .ic { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.breadcrumb:hover .ic { transform: translateX(-3px); }
.lockup { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.lockup__ic { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex-shrink: 0; box-shadow: 0 14px 34px var(--p-glow), 0 0 0 1px rgba(255, 255, 255, 0.12); display: grid; place-items: center; background: var(--p); }
.lockup__ic img { width: 100%; height: 100%; object-fit: cover; }
.lockup__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.lockup__tag { display: block; margin-top: 3px; font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-3); }
.phero h1 { margin-top: 26px; font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -0.047em; font-weight: 900; text-wrap: balance; }
.phero h1 .grad { padding-right: 0.04em; }
.phero .lead { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #B9C8DC; line-height: 1.62; max-width: 580px; text-wrap: pretty; }
.phero .lead strong { color: #fff; }
.phero .hero-chip .ic { color: var(--p-3); }
.phero-visual { position: relative; }

/* ---------- Striscia di prova ---------- */
.pstrip { position: relative; z-index: 3; margin-top: -52px; }
.pstrip__in { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); overflow: hidden; }
.pstrip__item { position: relative; padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; }
.pstrip__item + .pstrip__item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.pstrip__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--p-soft); color: var(--p); flex-shrink: 0; }
.pstrip__ic .ic { width: 19px; height: 19px; }
.pstrip__item b { display: block; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.25; }
.pstrip__item span { display: block; margin-top: 3px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

/* ---------- Cornici dei dispositivi ---------- */
.dev-browser { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(12, 30, 51, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 90px rgba(12, 30, 51, 0.22), 0 12px 30px rgba(12, 30, 51, 0.10); }
.dev-browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #F1F4F8; border-bottom: 1px solid #E1E7EF; }
.dev-browser__bar .browser-dot { width: 10px; height: 10px; }
.dev-browser__url { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; min-width: 42%; justify-content: center; font-size: 0.72rem; color: #5B6B80; background: #fff;
  border: 1px solid #E1E7EF; padding: 4px 14px; border-radius: 7px; transform: translateX(-24px); }
.dev-browser__url .ic { width: 11px; height: 11px; color: #22C55E; }
.dev-browser__screen { position: relative; }
.dev-browser__screen > img { width: 100%; }
.dev-browser--dark { border-color: rgba(255, 255, 255, 0.14); background: #0d2138; box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05); }
.dev-browser--dark .dev-browser__bar { background: #10273f; border-color: rgba(255, 255, 255, 0.08); }
.dev-browser--dark .dev-browser__url { background: #0b1d31; border-color: rgba(255, 255, 255, 0.06); color: #7d95b3; }

.dev-phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 362 / 795; padding: 10px; border-radius: 46px; background: linear-gradient(145deg, #1C2A3D, #0A1422);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.08) inset, 0 0 0 7px #0A1422 inset, 0 50px 90px rgba(12, 30, 51, 0.35), 0 16px 34px rgba(12, 30, 51, 0.2); }
.dev-phone::before { content: ""; position: absolute; left: 50%; top: 18px; z-index: 3; width: 30%; height: 22px; border-radius: 99px; background: #05090F; transform: translateX(-50%); }
.dev-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #fff; }
.dev-phone__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; padding-top: 28px; background: #fff; }

.dev-monitor { position: relative; width: 100%; }
.dev-monitor__body { position: relative; border-radius: 18px; padding: 12px; background: linear-gradient(160deg, #1B2A3C, #0B1522); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 40px 80px rgba(12, 30, 51, 0.3); }
.dev-monitor__screen { position: relative; border-radius: 8px; overflow: hidden; background: #F4F6FB; }
.dev-monitor__screen > img { width: 100%; }
.dev-monitor__neck { width: 16%; height: 46px; margin: 0 auto; background: linear-gradient(180deg, #0B1522, #22344A); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.dev-monitor__foot { width: 36%; height: 10px; margin: 0 auto; border-radius: 99px 99px 6px 6px; background: linear-gradient(180deg, #2A3D55, #111D2B); box-shadow: 0 14px 30px rgba(12, 30, 51, 0.3); }

/* ---------- Hotspot sugli screenshot ---------- */
.hs { position: absolute; left: var(--x); top: var(--y); z-index: 4; transform: translate(-50%, -50%); }
.hs__dot { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--p); color: #fff; font: 700 0.78rem/1 "Inter", sans-serif; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 8px 20px var(--p-glow); }
.hs__dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--p); opacity: 0; animation: hsPing 2.4s var(--ease) infinite; }
@keyframes hsPing { 0% { opacity: .8; transform: scale(.9); } 80%, 100% { opacity: 0; transform: scale(1.9); } }
.hs__tip { position: absolute; left: 50%; top: calc(100% + 12px); width: max-content; max-width: 230px; padding: 10px 13px; border-radius: 12px; background: var(--navy-900); color: #fff;
  font-size: 0.8rem; font-weight: 600; line-height: 1.4; box-shadow: var(--sh-lg); transform: translate(-50%, 6px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .35s var(--ease); }
.hs__tip::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: var(--navy-900); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.hs--up .hs__tip { top: auto; bottom: calc(100% + 12px); transform: translate(-50%, -6px); }
.hs--up .hs__tip::before { top: auto; bottom: -5px; }
.hs--left .hs__tip { left: auto; right: -12px; transform: translate(0, 6px); }
.hs--left .hs__tip::before { left: auto; right: 22px; transform: rotate(45deg); }
.hs:hover .hs__tip, .hs:focus-within .hs__tip, .hs.is-open .hs__tip { opacity: 1; transform: translate(-50%, 0); }
.hs--left:hover .hs__tip, .hs--left:focus-within .hs__tip, .hs--left.is-open .hs__tip { transform: translate(0, 0); }
.hs:hover, .hs:focus-within, .hs.is-open { z-index: 6; }
.hs-legend { display: none; margin-top: 16px; counter-reset: hs; }
.hs-legend li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); padding: 5px 0; }
.hs-legend li b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--p); color: #fff; font-size: 0.72rem; flex-shrink: 0; margin-top: 1px; }

/* ---------- Lente d'ingrandimento + apertura a tutto schermo ---------- */
[data-zoom] { cursor: zoom-in; }
.lens { position: absolute; z-index: 5; width: 230px; height: 230px; border-radius: 50%; pointer-events: none; background-repeat: no-repeat; background-color: #fff;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(12, 30, 51, 0.15), 0 24px 50px rgba(12, 30, 51, 0.35); opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .3s var(--ease); }
.lens.is-on { opacity: 1; transform: scale(1); }
.zoom-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.zoom-hint .ic { width: 16px; height: 16px; color: var(--p); }
.zoom-hint__touch { display: none; }
@media (hover: none) { .zoom-hint__fine { display: none; } .zoom-hint__touch { display: inline; } }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; background: rgba(5, 23, 43, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 3vw, 28px); color: #fff; font-size: 0.9rem; font-weight: 600; }
.lightbox__bar small { color: #9FB1C7; font-weight: 500; }
.lightbox__close { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background .2s ease; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__scroll { flex: 1; overflow: auto; padding: 0 clamp(12px, 3vw, 28px) 28px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lightbox__scroll img { display: block; margin: 0 auto; max-width: none; width: min(100%, var(--nw)); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); background: #fff; }
@media (max-width: 900px) { .lightbox__scroll img { width: max(100%, calc(var(--nw) * 0.72)); } }

/* ---------- Screenshot a schede ("da vicino") ---------- */
.shots { margin-top: 44px; }
.shots__tabs { display: flex; justify-content: flex-start; gap: 6px; padding: 6px; margin: 0 auto 28px; width: max-content; max-width: 100%; overflow-x: auto; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); scrollbar-width: none; }
.shots__tabs::-webkit-scrollbar { display: none; }
.shots__tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; white-space: nowrap;
  font: 700 0.92rem/1 "Inter", sans-serif; color: var(--muted); letter-spacing: -0.01em; transition: background .3s ease, color .3s ease; }
.shots__tab .ic { width: 16px; height: 16px; }
.shots__tab:hover { color: var(--ink); }
.shots__tab[aria-selected="true"] { background: var(--p); color: #fff; box-shadow: 0 8px 20px var(--p-glow); }
.shots__panels { position: relative; }
.shots__panel { display: none; }
.shots__panel.is-on { display: block; }
.shots__panel figcaption { margin-top: 18px; text-align: center; color: var(--muted); font-size: 0.96rem; }
.shots__foot { text-align: center; }

/* ---------- Tour a scene (colonna di testo + palco sticky) ---------- */
.tour { position: relative; }
.tour__grid { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tour__steps { padding: 6vh 0 18vh; }
.tstep { min-height: 78vh; min-height: 78svh; display: flex; flex-direction: column; justify-content: center; max-width: 420px; }
.tstep__time { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; color: var(--p); }
.tstep__time b { font-size: 1.05rem; letter-spacing: 0.02em; color: var(--ink); }
.tstep__time i { width: 26px; height: 1px; background: currentColor; opacity: .5; }
.tstep h3 { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.08; letter-spacing: -0.042em; font-weight: 800; text-wrap: balance; }
.tstep p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; line-height: 1.62; text-wrap: pretty; }
.tstep ul { margin-top: 18px; display: grid; gap: 10px; }
.tstep li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; font-weight: 600; }
.tstep li .ic { width: 18px; height: 18px; color: var(--p); margin-top: 3px; }
.tstep__media { display: block; margin-top: 26px; }
.tour__stage { position: sticky; top: calc(var(--nav-h) + 2vh); height: calc(100vh - var(--nav-h) - 4vh); height: calc(100svh - var(--nav-h) - 4vh); min-height: 560px; display: none; }
.tour__panel { position: relative; height: 100%; border-radius: 34px; overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.tour__sky { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 1s ease; }
.tour__sky.is-on { opacity: 1; }
.tour__clock { position: absolute; left: 26px; top: 22px; z-index: 5; display: flex; align-items: baseline; gap: 12px; }
.tour__clock b { font-family: var(--mono); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tour__clock span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.tour__bar { position: absolute; left: 26px; right: 26px; top: 66px; z-index: 5; height: 3px; border-radius: 3px; background: rgba(12, 30, 51, 0.1); overflow: hidden; }
.tour__bar i { position: absolute; inset: 0; background: var(--p); transform-origin: left; transform: scaleX(0.2); transition: transform .9s var(--ease); }
.tscene { position: absolute; inset: 84px 22px 26px; display: grid; place-items: center; opacity: 0; visibility: hidden; }
.tscene.is-on { opacity: 1; visibility: visible; }
.tscene__wrap { position: relative; width: 100%; display: grid; place-items: center; }
/* palco sticky solo su desktop con movimento attivo; altrimenti ogni passo mostra la sua immagine */
@media (min-width: 1025px) {
  .motion-ok .tour__stage { display: block; }
  .motion-ok .tstep__media { display: none; }
  .has-gsap .tstep { opacity: .35; transition: opacity .5s ease; }
  .has-gsap .tstep.is-active { opacity: 1; }
}

/* ---------- Bento ---------- */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bcard { position: relative; overflow: hidden; grid-column: span 2; display: flex; flex-direction: column; border-radius: 28px; padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.bcard--3 { grid-column: span 3; } .bcard--4 { grid-column: span 4; } .bcard--6 { grid-column: span 6; }
.bcard__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--p-soft); color: var(--p); margin-bottom: 18px; flex-shrink: 0; }
.bcard h3 { font-size: 1.24rem; letter-spacing: -0.03em; line-height: 1.2; }
.bcard p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; }
.bcard__art { position: relative; margin-top: 24px; flex: 1; min-height: 170px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.bcard--dark { background: radial-gradient(120% 120% at 100% 0%, #123A63, var(--navy-900) 55%, var(--navy-950)); color: #fff; border-color: rgba(255, 255, 255, 0.08); }
.bcard--dark p { color: var(--on-dark-muted); }
.bcard--dark .bcard__ic { background: rgba(255, 255, 255, 0.08); color: var(--p-3); }
.bcard--dark .bcard__art { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }

/* ---------- Sezione scura "fiducia" ---------- */
.trust { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding: clamp(90px, 10vw, 140px) 0; }
.trust::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000, transparent 75%); }
.trust__glow { position: absolute; width: 640px; height: 640px; top: -300px; left: 50%; transform: translateX(-50%); border-radius: 50%; filter: blur(120px); background: radial-gradient(circle, var(--p-glow), transparent 70%); pointer-events: none; }
.trust .container { position: relative; }
.trust .section-head h2 { color: #fff; }
.trust .section-head p { color: var(--on-dark-muted); }
.trust-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcard { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); transition: background .3s ease, transform .45s var(--ease); }
.tcard:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-4px); }
.tcard__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--p-soft); color: var(--p-3); border: 1px solid var(--p-line); }
.tcard h4 { font-size: 1.08rem; color: #fff; letter-spacing: -0.02em; }
.tcard p { margin-top: 6px; font-size: 0.93rem; color: var(--on-dark-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 50px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: border-color .3s ease, box-shadow .3s ease; }
.faq details[open] { border-color: var(--p-line); box-shadow: var(--sh-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--p-soft); transition: background .3s ease, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--p); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s ease; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--p); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 24px 22px; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 720px; }

/* ---------- Altre soluzioni ---------- */
.xsell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.xcard { --xc: var(--blue-600); position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease; }
.xcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--xc); }
.xcard__ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 10px; color: var(--xc); background: color-mix(in srgb, var(--xc) 12%, transparent); overflow: hidden; }
.xcard__ic img { width: 100%; height: 100%; object-fit: cover; }
.xcard b { font-size: 1.12rem; letter-spacing: -0.02em; }
.xcard span { color: var(--muted); font-size: 0.92rem; }
.xcard > .ic { position: absolute; right: 22px; top: 24px; color: var(--muted-2); transition: transform .35s var(--ease), color .3s ease; }
.xcard:hover > .ic { transform: translate(3px, -3px); color: var(--xc); }
.xcard--timely { --xc: #2563EB; } .xcard--tekto { --xc: #C2691A; } .xcard--custom { --xc: #16A34A; } .xcard--web { --xc: #1B89C4; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .phero-inner { grid-template-columns: 1fr; gap: 64px; }
  .phero-visual { max-width: 640px; }
  .pstrip__in { grid-template-columns: repeat(2, 1fr); }
  .pstrip__item:nth-child(3)::before { display: none; }
  .pstrip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tour__grid { grid-template-columns: 1fr; }
  .tour__steps { padding: 0; display: grid; gap: 18px; }
  .tstep { min-height: 0; max-width: none; padding: 26px 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bcard, .bcard--3, .bcard--4 { grid-column: span 1; } .bcard--6 { grid-column: span 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .xsell { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 720px) {
  .phero { padding-top: calc(var(--nav-h) + 30px); }
  .pstrip { margin-top: -36px; }
  .pstrip__in { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .pstrip__item { flex-direction: column; gap: 10px; padding: 16px 14px 18px; }
  .pstrip__item::before { display: none; }
  .pstrip__item:nth-child(even) { border-left: 1px solid var(--line); }
  .pstrip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pstrip__ic { width: 36px; height: 36px; }
  .pstrip__item b { font-size: 0.94rem; }
  .pstrip__item span { font-size: 0.8rem; }
  .bento { grid-template-columns: 1fr; }
  .bcard, .bcard--3, .bcard--4, .bcard--6 { grid-column: span 1; }
  .trust-grid { grid-template-columns: 1fr; }
  .shots__tabs { width: 100%; }
  .shots__tab { flex: 1; justify-content: center; gap: 6px; padding: 11px 8px; font-size: 0.8rem; }
  .shots__tab .ic { display: none; }
  .hs { display: none; }
  .hs-legend { display: block; }
  .faq summary { padding: 18px 18px; font-size: 1rem; }
  .faq__a { padding: 0 18px 18px; }
}

/* ==========================================================
   APP NATIVE (Timely · Tekto)
   piattaforme, cornici Apple Watch e tablet, vetrina a schede
   (palco con i dispositivi + elenco degli usi), "come si inizia".
   Le schermate delle app sono ricostruite in HTML/CSS nei file
   del prodotto (timely.css · tekto.css) e scalano con la cornice.
   ========================================================== */
.ic.ic-fill { fill: currentColor; stroke-width: 1.6; }

/* ---------- Piattaforme ---------- */
.plat { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.plat li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; letter-spacing: -0.01em;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.plat .ic { width: 16px; height: 16px; color: var(--p); }

/* ---------- Cornici: telefono con schermata HTML, Apple Watch, tablet ---------- */
.dev-phone--app { container-type: inline-size; }
.dev-phone--app .dev-phone__screen { display: flex; flex-direction: column; }

.dev-watch { position: relative; isolation: isolate; width: 178px; aspect-ratio: 184 / 224; flex-shrink: 0; container-type: inline-size; }
.dev-watch::before, .dev-watch::after { content: ""; position: absolute; left: 15%; right: 15%; height: 32%; z-index: -1; background: linear-gradient(90deg, #172333, #2E4057 50%, #172333); }
.dev-watch::before { bottom: 91%; border-radius: 16px 16px 0 0; -webkit-mask-image: linear-gradient(0deg, #000 35%, transparent); mask-image: linear-gradient(0deg, #000 35%, transparent); }
.dev-watch::after { top: 91%; border-radius: 0 0 16px 16px; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent); mask-image: linear-gradient(180deg, #000 35%, transparent); }
.dev-watch__case { position: absolute; inset: 0; padding: 7%; border-radius: 27% / 22%; background: linear-gradient(150deg, #3A4C63, #131F2E 55%, #0A121D);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 5px #070C14, 0 36px 64px rgba(12, 30, 51, 0.32), 0 12px 24px rgba(12, 30, 51, 0.18); }
.dev-watch__crown { position: absolute; right: -4.4%; top: 23%; width: 6.4%; height: 15%; border-radius: 2px 6px 6px 2px; background: repeating-linear-gradient(180deg, #56687F 0 1.5px, #1E2B3B 1.5px 3.5px); }
.dev-watch__side { position: absolute; right: -2.6%; top: 46%; width: 3.4%; height: 20%; border-radius: 1px 4px 4px 1px; background: linear-gradient(90deg, #1E2B3B, #3D4E63); }
.dev-watch__screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 22% / 18%; background: #000; color: #fff;
  font-family: ui-rounded, "SF Pro Rounded", "Inter", sans-serif; }

.dev-tablet { position: relative; width: 100%; max-width: 640px; aspect-ratio: 4 / 3; padding: 2.4%; border-radius: 4.8% / 6.4%; container-type: inline-size;
  background: linear-gradient(150deg, #22324A, #0A1422); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.09), inset 0 0 0 6px #0A1422, 0 50px 90px rgba(12, 30, 51, 0.36), 0 16px 34px rgba(12, 30, 51, 0.2); }
.dev-tablet::before { content: ""; position: absolute; left: 50%; top: 1%; width: 0.9%; aspect-ratio: 1; border-radius: 50%; background: #2A3B52; transform: translateX(-50%); }
.dev-tablet__screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.6% / 3.5%; background: #fff; }

/* ---------- Sezione app (variante scura) ---------- */
.napp-sec { position: relative; overflow: hidden; }
.napp-sec--dark { background: var(--navy-950); color: var(--on-dark); }
.napp-sec__bg { position: absolute; inset: 0; pointer-events: none; }
.napp-sec__glow { position: absolute; width: 780px; height: 780px; top: -420px; left: 50%; transform: translateX(-50%); border-radius: 50%; filter: blur(120px); background: radial-gradient(circle, var(--p-glow), transparent 70%); }
.napp-sec > .container-wide { position: relative; }
.napp-sec--dark .section-head h2 { color: #fff; }
.napp-sec--dark .section-head p { color: var(--on-dark-muted); }
.napp-sec--dark .plat li { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: #D5E0EE; box-shadow: none; }
.napp-sec--dark .plat .ic { color: var(--p-3); }

/* ---------- Vetrina a schede: palco con i dispositivi + elenco degli usi ---------- */
.napp { margin-top: 54px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: clamp(18px, 2.6vw, 34px); align-items: start; }
.napp__tabs { order: 2; position: relative; display: flex; flex-direction: column; gap: 8px; }
.napp__tab { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 13px; width: 100%; padding: 14px 16px; border-radius: 18px; text-align: left; cursor: pointer;
  font: inherit; color: var(--muted); background: transparent; border: 1px solid transparent; transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease; }
.napp__tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.napp__tab[aria-selected="true"] { color: var(--ink); background: #fff; border-color: var(--p-line); box-shadow: var(--sh-sm); }
.napp__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--p-soft); color: var(--p); font-family: var(--mono); font-size: 0.8rem; font-weight: 700; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.napp__ic .ic { width: 18px; height: 18px; }
.napp__tab[aria-selected="true"] .napp__ic { background: var(--p); color: #fff; }
.napp__txt { min-width: 0; padding-top: 1px; }
.napp__txt b { display: block; font-size: 0.98rem; letter-spacing: -0.015em; line-height: 1.3; }
.napp__txt small { display: block; margin-top: 3px; font-size: 0.82rem; line-height: 1.45; color: var(--muted); }
.napp__prog { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--p); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.napp__stage { order: 1; position: relative; overflow: hidden; isolation: isolate; display: grid; min-height: 720px; border-radius: 34px; background: var(--surface); border: 1px solid var(--line); container: napp / inline-size; }
.napp__panel { grid-area: 1 / 1; display: none; flex-direction: column; min-width: 0; }
.napp__panel.is-on { display: flex; }
.napp__scene { position: relative; flex: 1; display: grid; place-items: center; padding: 38px 26px 22px; }
.napp__how { position: relative; z-index: 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 16px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.napp__how li { display: flex; align-items: flex-start; gap: 11px; padding: 15px 16px; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.napp__how li + li { border-left: 1px solid var(--line); }
.napp__how b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--p); color: #fff; font-size: 0.74rem; font-weight: 800; }
.napp__how strong { color: var(--ink); }
.napp__foot { margin-top: 14px; text-align: center; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

.napp-sec--dark .napp__tab { color: #C9D6E7; background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.08); }
.napp-sec--dark .napp__tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.napp-sec--dark .napp__tab[aria-selected="true"] { color: #fff; background: color-mix(in srgb, var(--p) 16%, transparent); border-color: color-mix(in srgb, var(--p) 55%, transparent); box-shadow: none; }
.napp-sec--dark .napp__ic { background: rgba(255, 255, 255, 0.06); color: var(--p-3); }
.napp-sec--dark .napp__tab[aria-selected="true"] .napp__ic { background: var(--p); color: #fff; }
.napp-sec--dark .napp__txt small { color: #8FA6BF; }
.napp-sec--dark .napp__prog { background: var(--p-3); }
.napp-sec--dark .napp__stage { background: rgba(255, 255, 255, 0.025); border-color: rgba(255, 255, 255, 0.08); }
.napp-sec--dark .napp__how { background: rgba(9, 25, 44, 0.78); border-color: rgba(255, 255, 255, 0.1); box-shadow: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.napp-sec--dark .napp__how li { color: #A9BCD2; }
.napp-sec--dark .napp__how li + li { border-left-color: rgba(255, 255, 255, 0.08); }
.napp-sec--dark .napp__how strong { color: #fff; }
.napp-sec--dark .napp__foot { color: #6F8BA8; }

/* ---------- Come si inizia ---------- */
.astart { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 0.82fr) repeat(3, minmax(0, 1fr)); border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.astart__head { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 24px 26px; background: var(--p-soft); }
.astart__head b { font-size: 1.12rem; letter-spacing: -0.025em; line-height: 1.25; }
.astart__head small { font-size: 0.84rem; line-height: 1.5; color: var(--muted); }
.astart__step { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 24px; }
.astart__step + .astart__step::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.astart__n { padding-top: 2px; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--p); }
.astart__step b { display: block; font-size: 1rem; letter-spacing: -0.02em; line-height: 1.3; }
.astart__step p { margin-top: 5px; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
.napp-sec--dark .astart { background: rgba(255, 255, 255, 0.035); border-color: rgba(255, 255, 255, 0.09); box-shadow: none; }
.napp-sec--dark .astart__head { background: color-mix(in srgb, var(--p) 15%, transparent); }
.napp-sec--dark .astart__head b, .napp-sec--dark .astart__step b { color: #fff; }
.napp-sec--dark .astart__head small, .napp-sec--dark .astart__step p { color: #A9BCD2; }
.napp-sec--dark .astart__n { color: var(--p-3); }
.napp-sec--dark .astart__step + .astart__step::before { background: rgba(255, 255, 255, 0.09); }

@media (max-width: 1024px) {
  .napp { grid-template-columns: minmax(0, 1fr); }
  .napp__tabs { order: 0; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px 4px; }
  .napp__tabs::-webkit-scrollbar { display: none; }
  .napp__tab { width: auto; flex-shrink: 0; align-items: center; padding: 8px 15px 8px 8px; border-radius: 14px; }
  .napp__txt { padding-top: 0; }
  .napp__txt b { font-size: 0.9rem; white-space: nowrap; }
  .napp__txt small { display: none; }
  .napp__ic { width: 32px; height: 32px; border-radius: 10px; }
  .napp__stage { min-height: 0; }
  .napp__scene { min-height: 600px; }
  .astart { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .astart__head { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .napp { margin-top: 36px; }
  .napp__stage { border-radius: 26px; }
  .napp__scene { min-height: 470px; padding: 30px 10px 18px; }
  .napp__how { grid-template-columns: minmax(0, 1fr); margin: 0 10px 10px; border-radius: 18px; }
  .napp__how li { padding: 12px 14px; }
  .napp__how li + li { border-left: 0; border-top: 1px solid var(--line); }
  .napp-sec--dark .napp__how li + li { border-top-color: rgba(255, 255, 255, 0.08); }
  .astart { grid-template-columns: minmax(0, 1fr); }
  .astart__head { padding: 20px 22px; }
  .astart__step { padding: 18px 22px; }
  .astart__step + .astart__step::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
  .dev-watch { width: 140px; }
}
