/* ── FONTS (self-hosted, no Google Fonts) ──────────────────────────── */
@font-face {
  font-family: 'Quicksand';
  src: url('fonts/quicksand-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand';
  src: url('fonts/quicksand-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── RESET & VARIABLES ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }

:root {
  --bg:          #04080f;
  --bg2:         #070d18;
  --bg3:         #0a1224;
  --card:        rgba(255,255,255,0.035);
  --card-hover:  rgba(255,255,255,0.07);
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(255,255,255,0.14);

  --text:        #eef2fb;
  --text2:       #a9b5cd;
  --text3:       #6b7790;

  --red:         #ff3a3a;
  --red-soft:    #ff5a5a;
  --red-dim:     rgba(255,58,58,0.12);
  --red-glow:    rgba(255,58,58,0.28);
  --blue:        #56c9ff;
  --blue-dim:    rgba(86,201,255,0.12);

  --r:    16px;
  --r-sm: 10px;
  --r-xs: 4px;
  --nav-h: 68px;

  --font-display: 'Quicksand', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
a  { color: inherit; }

.tag-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text2);
  border: 1px solid var(--border-hi); border-radius: 100px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.02);
}
.tag-label.red { color: var(--red-soft); border-color: rgba(255,58,58,0.32); background: rgba(255,58,58,0.06); }
.tag-label::before { content:''; display:block; width:5px; height:5px; border-radius:50%; background:currentColor; }

/* ── LAYOUT ─────────────────────────────────────────────────────────── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 110px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
@media(max-width:768px){ .section{padding:80px 0;} }

/* ── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  padding: 14px 26px; border-radius: 999px;
  cursor: pointer; transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 30px rgba(255,58,58,0.32), 0 2px 6px rgba(0,0,0,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,58,58,0.45), 0 4px 10px rgba(0,0,0,0.35); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover { background: var(--card-hover); border-color: var(--red); color: var(--red-soft); }

/* ── SPLASH ─────────────────────────────────────────────────────────── */
#splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #04080f;
  display: flex; align-items: center; justify-content: center;
  animation: splashOut 1.3s ease 0.65s forwards;
}
#splash .splash-logo {
  width: clamp(220px, 38vw, 460px); height: auto;
  animation: splashIn 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes splashIn {
  from { opacity: 0; transform: scale(0.94); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}
@keyframes splashOut {
  0%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
#splash.done { display: none; }
@media (prefers-reduced-motion: reduce) {
  #splash { animation: splashOut 0.4s ease 0.2s forwards; }
}

/* ── NAV ────────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 40px;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(4,8,15,0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--border);
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; width:100%; max-width:1200px; margin:0 auto; gap: 24px; }
.nav-brand { display:flex; align-items:center; gap:14px; }
.nav-lynx-link, .nav-imago-link { display: inline-flex; align-items: center; text-decoration: none; }
.nav-lynx { height: 22px; width: auto; transition: transform 0.25s; }
.nav-lynx-link:hover .nav-lynx { transform: scale(1.04); }
.nav-divider { width:1px; height:22px; background:var(--border-hi); }
.nav-imago { height:18px; width:auto; opacity:0.75; transition:opacity .25s; }
.nav-imago-link:hover .nav-imago { opacity: 1; }
.nav-links { display:flex; gap:30px; list-style:none; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500;
  text-decoration: none; color: var(--text2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display:flex; align-items:center; gap:14px; }
.lang-switch {
  display:inline-flex; align-items:center; gap:2px;
  padding:3px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,0.025);
}
.lang-switch .lang-btn {
  border:none;
  background:transparent;
  color:var(--text2);
  cursor:pointer;
  font-family: var(--font-display);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.1em;
  padding:6px 11px;
  border-radius:999px;
  transition:background 0.2s, color 0.2s;
  text-decoration:none;
}
.lang-switch .lang-btn:hover { color: var(--text); }
.lang-switch .lang-btn.active {
  background: rgba(255,58,58,0.18);
  color: var(--text);
  box-shadow: 0 0 18px rgba(255,58,58,0.12);
}
.nav-cta { font-size: 0.85rem; padding: 10px 20px; }
.nav-burger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding: 6px; }
.nav-burger span { display:block; width:22px; height:2px; background:var(--text); transition:all 0.3s; border-radius:2px; }
@media(max-width:980px){
  .nav-links { display:none; }
}
@media(max-width:768px){
  .nav-cta { display:none; }
  .nav-burger { display:flex; }
  #nav { padding:0 20px; }
  .nav-actions { gap:10px; }
}

/* Mobile menu */
#mobile-menu {
  display:none; position:fixed; inset:0; z-index:950;
  background:rgba(4,8,15,0.97); backdrop-filter:blur(20px);
  flex-direction:column; align-items:center; justify-content:center; gap:28px;
}
#mobile-menu.open { display:flex; }
#mobile-menu a {
  font-family: var(--font-display); font-size:1.8rem; font-weight:600;
  color:var(--text); text-decoration:none; transition:color 0.2s;
}
#mobile-menu a:hover { color:var(--red-soft); }
#mobile-menu .close-btn {
  position:absolute; top:18px; right:24px;
  background:none; border:none; cursor:pointer;
  font-size:2rem; color:var(--text2); line-height:1;
}

/* ── HERO ───────────────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h);
  background: url('images/Hero.webp') center right / cover no-repeat var(--bg);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(4,8,15,0.86) 0%, rgba(4,8,15,0.68) 36%, rgba(4,8,15,0.22) 62%, rgba(4,8,15,0.36) 100%),
    linear-gradient(180deg, transparent 0%, transparent 65%, rgba(4,8,15,0.55) 100%),
    radial-gradient(ellipse 64% 56% at 20% 50%, rgba(4,8,15,0.54), transparent 70%),
    radial-gradient(ellipse 60% 50% at 18% 50%, rgba(255,58,58,0.10), transparent 70%);
}
@media(max-width:900px){
  #hero { background-position: 65% center; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(4,8,15,0.78) 0%, rgba(4,8,15,0.60) 45%, rgba(4,8,15,0.86) 100%),
      radial-gradient(ellipse 120% 72% at 50% 38%, rgba(4,8,15,0.48), transparent 72%),
      radial-gradient(ellipse 90% 60% at 50% 0%, rgba(255,58,58,0.06), transparent 60%);
  }
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  top: -160px; left: -260px;
  background: radial-gradient(circle, rgba(255,58,58,0.16) 0%, transparent 70%);
  animation: floatA 14s ease-in-out infinite;
  filter: blur(30px);
  mix-blend-mode: screen;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  bottom: -200px; right: -180px;
  background: radial-gradient(circle, rgba(86,201,255,0.06) 0%, transparent 70%);
  animation: floatB 18s ease-in-out infinite;
  filter: blur(30px);
  mix-blend-mode: screen;
}
@keyframes floatA { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,-40px) scale(1.1)} }
@keyframes floatB { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,40px) scale(1.15)} }

.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-shell { position: relative; z-index: 2; width: 100%; padding: 80px 24px 140px; }
.hero-content { max-width: 980px; }
.hero-content .tag-label { margin-bottom: 26px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
  margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-title .line-1 { color: var(--text); }
.hero-title .line-2 {
  background: linear-gradient(100deg, #ffb3b3 0%, var(--red) 55%, #b81010 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-bottom: 0.05em;
}
.hero-title .line-3 { color: var(--text); opacity: 0.72; }

.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.18rem); color: #d6dcea;
  line-height: 1.7; max-width: 760px; margin-bottom: 40px;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(4,8,15,0.85), 0 1px 2px rgba(4,8,15,0.6);
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }

.hero-scroll {
  position: absolute; z-index: 2; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem; letter-spacing: 0.18em; color: var(--text3);
  text-transform: uppercase; text-decoration: none;
  animation: fadeUp 2s 1.4s both;
}
.hero-scroll svg { animation: bounce 2.2s ease-in-out infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
@keyframes fadeUp { from{opacity:0;transform:translateX(-50%) translateY(10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

@media(max-width:640px){
  #hero { min-height: 100svh; padding-top: var(--nav-h); }
  .hero-shell { padding: 32px 24px 110px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── STATS ──────────────────────────────────────────────────────────── */
#stats { padding: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
}
.stat-item {
  background: var(--bg); padding: 40px 28px;
  text-align: center; transition: background 0.3s;
}
.stat-item:hover { background: var(--bg2); }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  letter-spacing: -0.02em; line-height: 1;
  display: block; margin-bottom: 8px;
  color: var(--text);
}
.stat-num.c-red { color: var(--red-soft); }
.stat-num-phrase { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.stat-label { font-size: 0.82rem; color: var(--text2); letter-spacing: 0.04em; }
@media(max-width:768px){ .stats-grid{grid-template-columns:repeat(2,1fr);} }

/* ── INTRO ──────────────────────────────────────────────────────────── */
.intro-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 72px; align-items: center;
}
.intro-text .tag-label { margin-bottom: 20px; }
.intro-text p { color: var(--text2); line-height: 1.8; font-size: 1rem; margin-bottom: 16px; }
.intro-text strong { color: var(--text); font-weight: 600; }
.intro-bullets { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.intro-bullets li {
  font-size: 0.95rem; color: var(--text2); line-height: 1.6;
  display: flex; gap: 12px; align-items: flex-start;
}
.intro-bullets li span {
  color: var(--red); font-weight: 700;
  flex-shrink: 0; line-height: 1.4;
}
.intro-media {
  position: relative; aspect-ratio: 16/12;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.intro-media img { width:100%; height:100%; object-fit:cover; }
.intro-media-tag {
  position: absolute; bottom: 16px; left: 16px;
  padding: 8px 14px; border-radius: 100px;
  background: rgba(4,8,15,0.78); border: 1px solid var(--border-hi);
  backdrop-filter: blur(10px);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); font-weight: 500;
}
@media(max-width:900px){
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── CONTROLLI ──────────────────────────────────────────────────────── */
.ctrl-head, .gal-head, .sw-head, .cmp-head, .specs-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.ctrl-head .tag-label, .gal-head .tag-label, .sw-head .tag-label, .cmp-head .tag-label, .specs-head .tag-label { margin-bottom: 18px; }
.ctrl-head p, .gal-head p, .sw-head p, .cmp-head p, .specs-head p { color: var(--text2); font-size: 1.02rem; line-height: 1.7; margin-top: 14px; }
.ctrl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ctrl-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  display: flex; flex-direction: column; gap: 6px;
}
.ctrl-card:hover {
  background: var(--card-hover); border-color: var(--border-hi);
  transform: translateY(-2px);
}
.ctrl-card .ctrl-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--red-dim); border: 1px solid rgba(255,58,58,0.25);
  color: var(--red-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.ctrl-card .ctrl-icon svg { width: 22px; height: 22px; }
.ctrl-card h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 4px; }
.ctrl-card p  { color: var(--text2); font-size: 0.88rem; line-height: 1.6; }
@media(max-width:900px){ .ctrl-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px){ .ctrl-grid { grid-template-columns: 1fr; } }

/* ── CONFRONTO (slider) ────────────────────────────────────────────── */
.cmp-wrap { max-width: 1080px; margin: 0 auto; }
.cmp-stage {
  position: relative; width: 100%; aspect-ratio: 4/3;
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border-hi);
  background: #1a1a1a;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.cmp-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.cmp-front {
  position: absolute; top: 0; left: 0; bottom: 0;
  overflow: hidden;
  width: 50%;
  pointer-events: none;
  will-change: width;
}
/* Image inside the clipped strip must be sized like the stage,
   so the same scene aligns across the slider. JS sets the width in px. */
.cmp-front .cmp-front-img {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.cmp-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%;
  width: 2px; background: rgba(255,255,255,0.9);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 4;
  box-shadow: 0 0 16px rgba(255,255,255,0.4);
}
.cmp-handle-pill {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  box-shadow: 0 8px 24px rgba(255,58,58,0.45), 0 0 0 4px rgba(255,255,255,0.06);
}
.cmp-handle-pill svg { width: 14px; height: 14px; }
.cmp-tag {
  position: absolute; top: 16px;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(4,8,15,0.78); border: 1px solid var(--border-hi);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); font-weight: 600;
  z-index: 3;
}
.cmp-tag-l { left: 16px; }
.cmp-tag-r { right: 16px; color: var(--red-soft); border-color: rgba(255,58,58,0.32); background: rgba(40,8,8,0.78); }
.cmp-note { text-align: center; margin-top: 16px; font-size: 0.85rem; color: var(--text3); }

/* ── HARDWARE / GALLERY ────────────────────────────────────────────── */
.gal-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px; aspect-ratio: 16/8;
}
.gal-1 { grid-row: 1 / span 2; }
.gal-item {
  position: relative; overflow: hidden;
  border-radius: 18px; border: 1px solid var(--border);
  background: var(--bg2);
  transition: transform 0.4s, border-color 0.4s;
}
.gal-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.gal-item:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.gal-item:hover img { transform: scale(1.04); }
.gal-item figcaption {
  position: absolute; bottom: 14px; left: 14px;
  padding: 6px 12px; border-radius: 100px;
  background: rgba(4,8,15,0.8); border: 1px solid var(--border-hi);
  backdrop-filter: blur(10px);
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); font-weight: 500;
}
@media(max-width:900px){
  .gal-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; aspect-ratio: auto; }
  .gal-1 { grid-column: 1 / span 2; grid-row: auto; aspect-ratio: 16/9; }
  .gal-2, .gal-3 { aspect-ratio: 4/3; }
}
@media(max-width:560px){
  .gal-grid { grid-template-columns: 1fr; }
  .gal-1 { grid-column: 1; }
}

/* ── SOFTWARE ──────────────────────────────────────────────────────── */
.sw-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
  margin-bottom: 72px;
}
.sw-grid:last-child { margin-bottom: 0; }
.sw-grid-reverse { grid-template-columns: 1fr 1.1fr; }
.sw-media {
  position: relative;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg2);
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
  aspect-ratio: 16/10;
}
.sw-media img { width: 100%; height: 100%; object-fit: cover; }
.sw-text h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 22px; line-height: 1.25; }
.sw-list { list-style: none; display: grid; gap: 14px; }
.sw-list li {
  font-size: 0.95rem; line-height: 1.55; color: var(--text2);
  padding-left: 22px; position: relative;
}
.sw-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--red); opacity: 0.85;
}
.sw-list strong { color: var(--text); font-weight: 600; }
@media(max-width:900px){
  .sw-grid, .sw-grid-reverse { grid-template-columns: 1fr; gap: 36px; margin-bottom: 64px; }
  .sw-grid-reverse > .sw-media { order: -1; }
}

/* ── SPECS ─────────────────────────────────────────────────────────── */
.specs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.spec-card:hover {
  background: var(--card-hover); border-color: var(--red);
  transform: translateY(-2px);
}
.spec-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.spec-val {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.8rem; color: var(--text); letter-spacing: -0.01em; line-height: 1.1;
  margin-bottom: 8px;
}
.spec-val span { font-weight: 500; font-size: 0.95rem; color: var(--text3); margin-left: 4px; }
.spec-sub { font-size: 0.85rem; color: var(--text2); line-height: 1.5; }
@media(max-width:900px){ .specs-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px){ .specs-grid { grid-template-columns: 1fr; } }

/* ── ABOUT ─────────────────────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-text .tag-label { margin-bottom: 20px; }
.about-text p { color: var(--text2); line-height: 1.8; font-size: 1rem; margin-bottom: 16px; }
.about-text a { color: var(--red-soft); text-decoration: none; }
.about-text a:hover { text-decoration: underline; }
.about-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 28px;
}
.about-fact {
  padding: 16px 18px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
}
.about-fact-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); margin-bottom: 6px; }
.about-fact-val { font-size: 0.98rem; color: var(--text); font-weight: 500; }
.about-fact-val a { color: var(--red-soft); }
.about-media {
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.about-company-photo { width:100%; height:100%; object-fit:cover; }
@media(max-width:900px){
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ── USE CASES ─────────────────────────────────────────────────────── */
.uc-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.uc-head .tag-label { margin-bottom: 18px; }
.uc-head p { color: var(--text2); font-size: 1.02rem; line-height: 1.7; margin-top: 14px; }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uc-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px 24px;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.uc-card:hover { background: var(--card-hover); border-color: var(--border-hi); transform: translateY(-2px); }
.uc-card .uc-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--red-dim); border: 1px solid rgba(255,58,58,0.22);
  color: var(--red-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.uc-card .uc-icon svg { width: 20px; height: 20px; }
.uc-card h3 { color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.uc-card p { color: var(--text2); font-size: 0.88rem; line-height: 1.6; }
@media(max-width:900px){ .uc-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px){ .uc-grid { grid-template-columns: 1fr; } }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.faq-head .tag-label { margin-bottom: 18px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}
.faq-item[open] { background: var(--card-hover); border-color: var(--border-hi); }
.faq-q {
  width: 100%; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--text);
  text-align: left;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--red-soft); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,58,58,0.10); color: var(--red-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s, background 0.25s;
  font-size: 1rem; font-weight: 700; line-height: 1;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--text2); font-size: 0.94rem; line-height: 1.7; }

/* ── CTA / CONTACT ─────────────────────────────────────────────────── */
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-inner .tag-label { margin-bottom: 22px; }
.cta-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.cta-sub { color: var(--text2); line-height: 1.7; margin-bottom: 44px; font-size: 1.02rem; }

.cta-form { text-align: left; }
.cta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cta-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cta-field label { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text2); font-weight: 500; }
.cta-field input,
.cta-field textarea {
  font-family: var(--font-body);
  background: var(--card); border: 1px solid var(--border-hi);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.cta-field input::placeholder,
.cta-field textarea::placeholder { color: var(--text3); }
.cta-field input:focus,
.cta-field textarea:focus {
  border-color: var(--red);
  background: rgba(255,58,58,0.04);
  box-shadow: 0 0 0 4px rgba(255,58,58,0.12);
}
.cta-privacy {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 8px 0 22px;
  font-size: 0.85rem; color: var(--text2); line-height: 1.5;
  cursor: pointer;
}
.cta-privacy input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.cta-privacy a { color: var(--red-soft); text-decoration: underline; }
.cta-form-submit { width: 100%; justify-content: center; padding: 16px 20px; font-size: 1rem; }
.cta-form-status {
  text-align: center; margin-top: 16px;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.cta-form-status.ok    { color: #6fdc9d; }
.cta-form-status.error { color: var(--red-soft); }
.cta-contact { margin-top: 32px; font-size: 0.92rem; color: var(--text2); }
.cta-contact a { color: var(--red-soft); text-decoration: none; }
.cta-contact a:hover { text-decoration: underline; }

@media(max-width:640px){
  .cta-form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── FOOTER ────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo { height: 26px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--text2); line-height: 1.7; max-width: 320px; margin-bottom: 16px; }
.footer-imago {
  font-size: 0.82rem; color: var(--text3); line-height: 1.55;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.footer-imago a { display: inline-flex; align-items: center; }
.footer-imago-logo { height: 14px; width: auto; opacity: 0.8; transition: opacity 0.2s; max-width: none; }
.footer-imago a:hover .footer-imago-logo { opacity: 1; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--text); margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  font-size: 0.88rem; color: var(--text2); text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--red-soft); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text3); }
.footer-bottom a { color: var(--text3); text-decoration: none; }
.footer-bottom a:hover { color: var(--red-soft); }
@media(max-width:900px){
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media(max-width:560px){
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── REVEAL ANIMATIONS ─────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg::before, .hero-bg::after, .hero-scroll svg { animation: none; }
}
