/* PesceSpada: standalone product page. Own palette and layout; shares nothing with the rest of the site. */

:root {
  --blue: #0063e8;
  --blue-dark: #004fba;
  --blue-soft: #e8f0fe;
  --navy: #07101c;
  --navy-2: #0f1a2b;
  --ink: #111827;
  --text: #2a3342;
  --muted: #566073;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --amber: #b36b00;
  --green: #17803d;
  --maxw: 1120px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ── Header ───────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.site-header .brand img { height: 30px; width: auto; }
.site-header nav { display: flex; gap: 22px; margin-left: auto; }
.site-header nav a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-header nav a:hover { color: #fff; text-decoration: underline; }
.site-header .btn { padding: 8px 16px; font-size: 15px; }
.site-header .lang { margin: 0; display: flex; gap: 6px; font-size: 14px; color: rgba(255,255,255,.7); }
.site-header .lang a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-header .lang a:hover { color: #fff; text-decoration: underline; }
.site-header .lang [aria-current] { color: #fff; font-weight: 650; }
.site-header.is-stuck { background: rgba(7,16,28,.94); box-shadow: 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(8px); }

/* ── Buttons ──────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 9px; font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); color: var(--blue-dark); }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; background: radial-gradient(1200px 520px at 70% -10%, #12315f 0%, rgba(18,49,95,0) 70%), linear-gradient(180deg, #07101c 0%, #0b1a2f 100%); color: #fff; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 0; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 700; max-width: 14em; letter-spacing: -0.02em; }
.hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 36em; margin: 22px 0 30px; color: rgba(255,255,255,.9); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .fine { margin: 22px 0 0; font-size: 14px; color: rgba(255,255,255,.72); }
.hero-shot { margin: 56px auto 0; max-width: 1040px; }
.hero-shot .shot { border-color: rgba(255,255,255,.14); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 60px rgba(0,0,0,.35); }

/* ── Sections ─────────────────────────────────────────── */
section.block { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
.kicker { font-size: 13px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
section h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); max-width: 22em; }
.sub { color: var(--muted); max-width: 40em; margin-top: 16px; font-size: 1.05rem; }
.head { margin-bottom: 44px; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.item p { color: var(--text); margin: 0; font-size: 16px; }
.item .tag { display: inline-block; font-size: 13px; font-weight: 650; color: var(--blue); margin-bottom: 10px; }
.rule { border-top: 2px solid var(--blue); padding-top: 18px; }
.note { margin-top: 36px; padding: 18px 22px; background: var(--blue-soft); border-radius: var(--radius); color: var(--ink); font-size: 16px; }
.alt .note { background: #fff; border: 1px solid var(--line); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.steps-3 { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
.steps li { counter-increment: s; border-top: 2px solid var(--blue); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 16px; }

/* media */
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 30px rgba(15,26,43,.08); overflow: hidden; }
.shot img, .shot video { width: 100%; height: auto; }
.media-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.media-split.flip { grid-template-columns: 1fr 1.1fr; }
.media-split.flip > :first-child { order: 2; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid var(--line); font-size: 16px; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }

ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { position: relative; padding: 0 0 12px 18px; font-size: 16px; }
ul.plain li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.kicker + h3 { margin-top: 0; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 8px 0 0; }
.stat .num { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; color: var(--blue); letter-spacing: -0.02em; line-height: 1.1; }
.stat .lbl { margin-top: 8px; font-size: 15px; color: var(--text); }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
td:first-child, th:first-child { padding-left: 0; }
.spec th { text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--ink); font-weight: 650; width: 28%; }

/* contact */
.try { background: var(--navy); color: #fff; }
.try h2 { color: #fff; }
.try .sub { color: rgba(255,255,255,.8); }
.try .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.try .contact { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); font-size: 16px; }
.try .contact a { color: #fff; }

footer { background: var(--navy); color: rgba(255,255,255,.62); padding: 28px 0 40px; font-size: 14px; border-top: 1px solid rgba(255,255,255,.1); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
footer img { height: 22px; width: auto; opacity: .9; }
footer p { margin: 0; }

/* reveal on scroll: content is visible without JS; the class is only added once JS is running */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  section.block { padding: 64px 0; }
  .grid-3, .grid-4, .steps, .steps-3, .stats { grid-template-columns: 1fr 1fr; }
  .media-split, .media-split.flip { grid-template-columns: 1fr; gap: 32px; }
  .media-split.flip > :first-child { order: 0; }
  .site-header nav { display: none; }
  .site-header .lang { margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .steps, .steps-3, .stats { grid-template-columns: 1fr; }
  .hero .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
