/* ==========================================================
   TELL HUMANOID — Swiss Heritage. Future Intelligence.
   Palette: Alpine Blue #0B2D50 · Mountain Gray #6B7C93
            Snow White #F5F7FA · Alpine Red #D62828 · Ice Blue #008BFF
   ========================================================== */
:root {
  --alpine: #0b2d50;
  --night: #04101f;
  --night-2: #071a31;
  --panel: rgba(13, 38, 68, 0.55);
  --panel-solid: #0b2444;
  --line: rgba(120, 170, 230, 0.16);
  --gray: #6b7c93;
  --muted: #9fb0c6;
  --snow: #f5f7fa;
  --red: #d62828;
  --ice: #008bff;
  --ice-2: #39b4ff;
  --glow: 0 0 24px rgba(0, 139, 255, 0.55);
  --radius: 18px;
  --head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ice); color: #fff; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- global ambience ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--red), var(--ice));
  transform-origin: 0 50%; transform: scaleX(0);
}
.cursor-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(0,139,255,.13), transparent 100%);
}
@media (hover: none) { .cursor-glow { display: none; } }

.preloader {
  position: fixed; inset: 0; z-index: 500; background: var(--night);
  display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader svg { width: 120px; }
.preloader .pl-sun { animation: plPulse 1.2s ease-in-out infinite alternate; transform-origin: center; }
.preloader .pl-mtn { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
@keyframes plPulse { to { opacity: .55; transform: scale(.94); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  padding: 18px 0; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 16, 31, .78); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0; border-color: var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand b { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: 1px; line-height: 1; display: block; }
.brand small { font-family: var(--head); font-size: 10px; letter-spacing: 6px; color: var(--muted); display: block; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(0,139,255,.14); }
.nav-cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.nav.open .burger::before { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span { opacity: 0; }
.nav.open .burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .burger { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 64px 16px auto 16px; flex-direction: column; padding: 12px;
    background: rgba(7, 26, 49, .97); border: 1px solid var(--line); border-radius: 18px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .35s var(--ease);
  }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 12px 16px; font-size: 16px; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: linear-gradient(135deg, var(--ice), #0060d6);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 10px 30px -10px rgba(0,139,255,.7);
  transition: transform .3s var(--ease), box-shadow .3s; position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35), transparent 70%);
  transition: transform .7s var(--ease);
}
.btn:hover { box-shadow: 0 16px 40px -10px rgba(0,139,255,.9); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { --bg: transparent; border: 1px solid rgba(255,255,255,.25); box-shadow: none; }
.btn.ghost:hover { border-color: var(--ice); background: rgba(0,139,255,.1); }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--ice-2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--ice)); }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.1; }
h2.title { font-size: clamp(32px, 5vw, 58px); font-weight: 800; letter-spacing: -.5px; margin: 14px 0 14px; text-transform: uppercase; }
h2.title em { font-style: normal; background: linear-gradient(90deg, var(--ice-2), var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 720px; margin: 0; }
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; z-index: 1; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.section-head.center .pills { justify-content: center; }
.pill {
  font-family: var(--head); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,139,255,.07); color: #d5e6fb;
}
.pill.red { border-color: rgba(214,40,40,.35); background: rgba(214,40,40,.1); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
/* reveal timing wins until the entrance finishes, then each component's own hover transitions take over */
.reveal:not(.revealed) { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: 120px 0 80px;
  background:
    radial-gradient(1200px 600px at 75% 30%, rgba(0,139,255,.18), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(214,40,40,.10), transparent 60%),
    linear-gradient(180deg, #030b17 0%, var(--night-2) 70%, var(--night) 100%);
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.hero-mountains svg { width: 100%; height: auto; display: block; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.wordmark { font-family: var(--head); font-weight: 900; line-height: .9; margin: 0; }
.wordmark .w-tell { display: block; font-size: clamp(76px, 13vw, 168px); letter-spacing: -2px; }
.wordmark .w-tell span { display: inline-block; opacity: 0; transform: translateY(70px) rotateX(-70deg); animation: letterIn 1s var(--ease) forwards; }
.wordmark .w-hum {
  display: block; font-size: clamp(18px, 3vw, 36px); font-weight: 500; letter-spacing: clamp(10px, 2.2vw, 26px);
  margin-top: 10px; opacity: 0; animation: fadeUp 1.2s var(--ease) 1s forwards; color: #cfe3ff;
}
.hero-line { height: 3px; width: 0; margin: 22px 0 18px; background: linear-gradient(90deg, var(--red), var(--ice), transparent); animation: grow 1.4s var(--ease) 1.3s forwards; }
.hero-tag { font-family: var(--head); font-size: clamp(15px, 1.8vw, 21px); letter-spacing: 4px; text-transform: uppercase; min-height: 1.6em; color: #fff; }
.hero-tag .caret { display: inline-block; width: 2px; height: 1em; background: var(--ice-2); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.hero-sub { color: var(--muted); max-width: 520px; margin: 18px 0 34px; opacity: 0; animation: fadeUp 1s var(--ease) 1.6s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp 1s var(--ease) 1.8s forwards; }
@keyframes letterIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes grow { to { width: min(420px, 100%); } }
@keyframes blink { 50% { opacity: 0; } }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: end; width: 100%; opacity: 0; animation: fadeUp 1.4s var(--ease) .6s forwards; }
.hv-sun {
  position: absolute; inset: 9%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ff5151, var(--red) 55%, #8e1010);
  box-shadow: 0 0 120px rgba(214,40,40,.45);
  animation: sunFloat 8s ease-in-out infinite;
}
@keyframes sunFloat { 50% { transform: translateY(-14px) scale(1.02); } }
.hv-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(57,180,255,.35); animation: spin 40s linear infinite; }
.hv-ring.r2 { inset: 4%; border: 2px solid transparent; border-top-color: var(--ice); border-right-color: rgba(0,139,255,.3); animation-duration: 9s; filter: drop-shadow(0 0 8px var(--ice)); }
.hv-ring.r3 { inset: -4%; border-style: dotted; border-color: rgba(255,255,255,.12); animation-duration: 70s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-frame {
  position: absolute; inset: 15% 6% 15% 6%; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 6px rgba(0,139,255,.08);
  transform-style: preserve-3d; transition: transform .2s ease-out;
}
.hv-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hv-frame::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(180deg, transparent, rgba(57,180,255,.35), transparent);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan { 0% { top: -30%; } 60%, 100% { top: 110%; } }
.hud {
  position: absolute; z-index: 3; font-family: var(--head); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 14px; border-radius: 12px; background: rgba(4,16,31,.75); border: 1px solid rgba(57,180,255,.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--glow);
  animation: hudFloat 6s ease-in-out infinite;
}
.hud b { display: block; font-size: 18px; color: var(--ice-2); letter-spacing: 1px; }
.hud.h1 { top: 8%; left: -4%; }
.hud.h2 { bottom: 10%; right: -4%; animation-delay: -3s; }
.hud.h3 { bottom: 30%; left: -8%; animation-delay: -1.5s; }
.hud i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ee66b; margin-right: 6px; box-shadow: 0 0 10px #2ee66b; animation: blink 1.4s infinite; }
@keyframes hudFloat { 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ice-2); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow, .hero-actions { justify-content: center; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-line { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .hud.h1 { left: 0; } .hud.h2 { right: 0; } .hud.h3 { left: -2%; }
  .scroll-hint { display: none; }
}

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(214,40,40,.08), rgba(0,139,255,.08)); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--head); font-weight: 700; font-size: clamp(16px, 2vw, 22px); letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 28px; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat { padding: 26px 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ice), transparent); transform: scaleX(0); transition: transform .8s var(--ease); }
.stat.in::before { transform: scaleX(1); }
.stat b { display: block; font-family: var(--head); font-size: clamp(34px, 4vw, 48px); font-weight: 800; color: #fff; line-height: 1; }
.stat b sup { font-size: .45em; color: var(--ice-2); vertical-align: top; margin-left: 2px; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:last-child { grid-column: 1 / -1; } }

/* ---------- about / partnership ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.about-visual img { width: 100%; transition: transform 1.2s var(--ease); }
.about-visual:hover img { transform: scale(1.04); }
.alliance { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin: 34px 0 26px; }
.ally { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.ally h4 { font-size: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--ice-2); margin-bottom: 6px; }
.ally p { margin: 0; color: var(--muted); font-size: 14px; }
.ally-x { display: grid; place-items: center; font-family: var(--head); font-size: 30px; font-weight: 300; color: var(--red); position: relative; }
.ally-x::before { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(214,40,40,.5); animation: pulseRing 2.4s infinite; }
@keyframes pulseRing { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.cap-list { display: flex; flex-wrap: wrap; gap: 10px; }
.cap { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14px; }
.cap svg { width: 20px; height: 20px; color: var(--ice-2); flex: none; }
.cap small { color: var(--muted); }
.motto { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--head); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.motto b { color: var(--ice-2); font-weight: 600; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .alliance { grid-template-columns: 1fr; } .ally-x { padding: 6px 0; } }

/* ---------- series cards ---------- */
.series-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.series-card {
  grid-column: span 2; position: relative; border-radius: 22px; overflow: hidden; min-height: 340px;
  border: 1px solid var(--line); background: var(--panel-solid); display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d; transition: transform .25s ease-out, border-color .4s, box-shadow .4s;
}
.series-card:nth-child(4), .series-card:nth-child(5) { grid-column: span 3; }
.series-card:hover { border-color: rgba(57,180,255,.55); box-shadow: 0 30px 60px -20px rgba(0,139,255,.45); }
.series-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.series-card:hover img { transform: scale(1.08); }
.series-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,16,31,0) 25%, rgba(4,16,31,.92) 80%); }
.series-body { position: relative; z-index: 2; padding: 24px; transform: translateZ(40px); }
.series-code { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: 2px; padding: 5px 10px; border-radius: 8px; background: var(--ice); margin-bottom: 12px; }
.series-body h3 { font-size: 24px; text-transform: uppercase; letter-spacing: 1px; }
.series-body p { margin: 6px 0 0; color: var(--muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.series-body .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ice-2); }
.series-body .go svg { width: 16px; transition: transform .3s; }
.series-card:hover .go svg { transform: translateX(5px); }
@media (max-width: 960px) { .series-grid { grid-template-columns: 1fr 1fr; } .series-card, .series-card:nth-child(4), .series-card:nth-child(5) { grid-column: span 1; } .series-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .series-grid { grid-template-columns: 1fr; } .series-card { min-height: 280px; } }

/* ---------- solution sections ---------- */
.solution { overflow: hidden; }
.solution::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 500px at var(--gx, 85%) 10%, rgba(0,139,255,.12), transparent 60%);
}
.solution.alt { background: linear-gradient(180deg, var(--night), #061629 50%, var(--night)); }
.sol-num { position: absolute; right: 2%; top: 40px; font-family: var(--head); font-weight: 900; font-size: clamp(120px, 22vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(120,170,230,.09); pointer-events: none; z-index: -1; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.rev > :first-child { order: 2; }
.media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .tag { position: absolute; left: 16px; top: 16px; z-index: 2; }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,16,31,.5), transparent 40%); pointer-events: none; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 34px; } .split.rev > :first-child { order: 0; } }

/* phases */
.phases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.phase { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 520px; display: flex; align-items: flex-end; background: var(--panel-solid); }
.phase > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.phase:hover > img { transform: scale(1.05); }
.phase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,16,31,.1) 0%, rgba(4,16,31,.7) 45%, rgba(4,16,31,.96) 100%); }
.phase-body { position: relative; z-index: 2; padding: 30px; width: 100%; }
.phase-badge { display: inline-block; font-family: var(--head); font-weight: 700; letter-spacing: 2px; font-size: 13px; padding: 6px 12px; background: var(--ice); border-radius: 6px; }
.phase h3 { font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; margin: 14px 0 4px; }
.phase .years { font-family: var(--head); font-size: 22px; font-weight: 700; color: var(--ice-2); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 15px; opacity: 0; transform: translateX(-16px); transition: .6s var(--ease); transition-delay: calc(var(--i) * 90ms + .2s); }
.in .checks li, .checks.in li { opacity: 1; transform: none; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--ice-2); background: rgba(0,139,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339b4ff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } .phase { min-height: 460px; } }

/* stage cards (timber) */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stage { border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.stage:hover { transform: translateY(-8px); border-color: rgba(57,180,255,.5); }
.stage-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.stage-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.stage:hover .stage-img img { transform: scale(1.07); }
.stage-img .n { position: absolute; left: 16px; top: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ice); font-family: var(--head); font-weight: 800; font-size: 22px; box-shadow: var(--glow); }
.stage-body { padding: 22px 24px 26px; }
.stage-body h3 { font-size: 22px; text-transform: uppercase; }
.stage-body .sub { font-family: var(--head); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; color: var(--ice-2); margin: 4px 0 16px; }
.mini-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-feats li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dbe8f7; }
.mini-feats svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; flex: none; }
@media (max-width: 960px) { .stages { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* feature list (city guard / cleaner) */
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feat {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.feat:hover { border-color: rgba(57,180,255,.5); transform: translateX(6px); background: rgba(0,139,255,.08); }
.feat .ic { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(0,139,255,.1); }
.feat .ic svg { width: 24px; height: 24px; }
.feat h4 { font-size: 17px; text-transform: uppercase; letter-spacing: .5px; }
.feat p { margin: 3px 0 0; color: var(--muted); font-size: 14.5px; }

/* steps */
.block-title { display: flex; align-items: center; gap: 14px; font-family: var(--head); font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; text-transform: uppercase; margin: clamp(60px, 8vw, 96px) 0 28px; }
.block-title em { font-style: normal; color: var(--ice-2); }
.block-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.steps-track { position: absolute; left: 3%; right: 3%; top: 31px; height: 2px; background: var(--line); z-index: 0; }
.steps-track i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--ice)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease); box-shadow: var(--glow); }
.step { position: relative; z-index: 1; cursor: pointer; }
.step .dot { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 22px; font-weight: 800; background: var(--night-2); border: 2px solid var(--line); transition: .5s var(--ease); }
.step-card { border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: .5s var(--ease); height: calc(100% - 78px); }
.step-card .img { aspect-ratio: 2/1.05; overflow: hidden; }
.step-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) brightness(.75); transition: .8s var(--ease); }
.step-card .tx { padding: 14px 14px 16px; }
.step-card h4 { font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
.step-card p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.step.active .dot, .step:hover .dot { background: var(--ice); border-color: var(--ice-2); box-shadow: 0 0 0 8px rgba(0,139,255,.15), var(--glow); }
.step.active .step-card, .step:hover .step-card { border-color: rgba(57,180,255,.6); transform: translateY(-6px); box-shadow: 0 24px 44px -20px rgba(0,139,255,.6); }
.step.active .step-card img, .step:hover .step-card img { filter: none; transform: scale(1.06); }
@media (max-width: 1080px) {
  .steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; }
  .step { flex: 0 0 240px; scroll-snap-align: start; }
  .steps-track { display: none; }
}

/* advantages */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.adv { text-align: center; padding: 26px 16px 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.adv::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(240px 140px at 50% 0%, rgba(0,139,255,.25), transparent 70%); opacity: 0; transition: opacity .4s; }
.adv:hover { transform: translateY(-6px); border-color: rgba(57,180,255,.5); }
.adv:hover::before { opacity: 1; }
.adv .ic { position: relative; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); }
.adv .ic svg { width: 30px; height: 30px; }
.adv:hover .ic { animation: wobble .7s var(--ease); }
@keyframes wobble { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(8deg); } }
.adv h4 { position: relative; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; }
.adv p { position: relative; margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.rm { position: relative; padding: 0 18px 0 0; }
.rm .yr {
  position: relative; font-family: var(--head); font-weight: 800; font-size: 20px; padding: 14px 18px 14px 22px; color: #fff;
  background: linear-gradient(90deg, #0d3a6c, #0a55a8);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 14px 50%);
  margin-right: -14px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); transition-delay: calc(var(--i) * .18s);
}
.rm:first-child .yr { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); }
.rm:nth-child(2) .yr { background: linear-gradient(90deg, #0b2d50, #0d3a6c); }
.rm:last-child .yr { background: linear-gradient(90deg, #0070e0, var(--ice-2)); }
.roadmap.in .yr { transform: none; }
.rm p { margin: 16px 0 0; padding-left: 16px; border-left: 1px solid var(--line); color: #cfdcec; font-size: 14.5px; opacity: 0; transform: translateY(10px); transition: .7s var(--ease); transition-delay: calc(var(--i) * .18s + .4s); }
.roadmap.in .rm p { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .roadmap { grid-template-columns: 1fr; gap: 18px; padding-left: 10px; border-left: 2px solid var(--line); }
  .rm { padding: 0; }
  .rm .yr, .rm:first-child .yr { clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%); margin-right: 0; display: inline-block; padding-right: 36px; }
  .rm p { border: 0; padding-left: 4px; margin-top: 8px; }
}

/* partner strip */
.partner-strip { margin-top: clamp(50px, 7vw, 80px); border-radius: 24px; overflow: hidden; position: relative; border: 1px solid var(--line); min-height: 220px; display: flex; align-items: center; }
.partner-strip > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.partner-strip::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4,16,31,.98) 0%, rgba(4,16,31,.9) 45%, rgba(4,16,31,.25) 100%); }
.ps-body { position: relative; z-index: 2; padding: 30px; max-width: 820px; }
.ps-body h3 { font-size: clamp(18px, 2.2vw, 24px); letter-spacing: 1px; text-transform: uppercase; }
.ps-body h3 span { color: var(--ice-2); }
.ps-body h3 i { font-style: normal; color: var(--red); margin: 0 10px; }
.ps-body .motto { margin: 6px 0 18px; font-size: 12px; }
.ps-body .cap { background: rgba(4,16,31,.6); font-size: 13px; padding: 8px 12px; }
.ps-quote { position: absolute; right: 30px; bottom: 22px; z-index: 2; text-align: right; font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(16px, 2vw, 22px); text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.ps-quote small { display: block; font-weight: 500; font-size: 12px; letter-spacing: 2px; color: #dde8f5; }
@media (max-width: 760px) { .ps-quote { position: relative; right: auto; bottom: auto; text-align: left; padding: 0 30px 26px; } .partner-strip { flex-direction: column; align-items: flex-start; } .partner-strip::before { background: rgba(4,16,31,.88); } }

/* city cards */
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.city { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/8; border: 1px solid var(--line); }
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.city:hover img { transform: scale(1.08); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,31,.0) 30%, rgba(4,16,31,.85)); }
.city div { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 2; text-align: right; }
.city h4 { font-size: 22px; text-transform: uppercase; }
.city p { margin: 4px 0 0; font-size: 13px; color: #dce7f5; max-width: 180px; margin-left: auto; }
@media (max-width: 860px) { .cities { grid-template-columns: 1fr; } }

/* multilingual chat */
.chat { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: min(300px, calc(100% - 28px)); padding: 14px; border-radius: 16px; background: rgba(4,16,31,.82); border: 1px solid rgba(57,180,255,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--glow); }
.chat-h { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ice-2); margin-bottom: 10px; }
.wave { display: flex; gap: 3px; align-items: center; height: 16px; }
.wave i { width: 3px; background: var(--ice-2); border-radius: 2px; animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; } .wave i:nth-child(3) { animation-delay: .3s; } .wave i:nth-child(4) { animation-delay: .45s; }
@keyframes wave { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.chat-lines { display: grid; gap: 6px; }
.chat-line { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 6px 8px; border-radius: 10px; transition: background .4s, color .4s; color: var(--muted); }
.chat-line.on { background: rgba(0,139,255,.2); color: #fff; }
.chat-line b { font-family: var(--head); font-size: 11px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; letter-spacing: 1px; min-width: 28px; text-align: center; }

/* speech bubble */
.bubble { position: absolute; left: 14px; top: 14px; z-index: 3; max-width: 230px; background: #fff; color: #0b2d50; padding: 12px 14px; border-radius: 14px 14px 14px 4px; font-size: 13.5px; font-weight: 500; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* ---------- network simulation ---------- */
.net-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.sim { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(57,180,255,.3); background: radial-gradient(circle at 50% 50%, #0b2a4d, #04101f 75%); aspect-ratio: 16/11; }
.sim svg { width: 100%; height: 100%; display: block; }
.sim .phase-label { position: absolute; left: 18px; top: 16px; max-width: calc(100% - 36px); font-family: var(--head); font-weight: 700; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; padding: 8px 14px; border-radius: 10px; background: rgba(4,16,31,.85); border: 1px solid rgba(57,180,255,.5); }
.sim .phase-label b { color: var(--ice-2); margin-right: 6px; }
.sim .phase-label.alert { border-color: var(--red); }
.sim .phase-label.alert b { color: #ff6b6b; }
.sim-phases { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(4,16,31,.85); border-top: 1px solid var(--line); }
.sim-phases span { text-align: center; padding: 10px 4px; font-family: var(--head); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); transition: color .3s, background .3s; }
.sim-phases span.on { color: #fff; background: rgba(0,139,255,.25); box-shadow: inset 0 -2px 0 var(--ice); }
.net-side { display: grid; gap: 16px; align-content: start; }
.cloud-card { padding: 22px; border-radius: 20px; background: linear-gradient(135deg, rgba(0,139,255,.18), rgba(4,16,31,.6)); border: 1px solid rgba(57,180,255,.45); box-shadow: var(--glow); }
.cloud-card .ic { width: 64px; height: 64px; color: var(--ice-2); animation: sunFloat 5s ease-in-out infinite; }
.cloud-card h4 { font-size: 22px; text-transform: uppercase; margin: 10px 0 8px; }
.cloud-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cloud-card li { font-family: var(--head); letter-spacing: 1.5px; text-transform: uppercase; font-size: 13px; color: #d7e7fa; display: flex; gap: 10px; align-items: center; }
.cloud-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ice-2); box-shadow: 0 0 8px var(--ice-2); }
.mini-media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.mini-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mini-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; font-family: var(--head); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; background: linear-gradient(0deg, rgba(4,16,31,.95), transparent); }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chips span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--head); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; background: rgba(255,255,255,.04); }
.network-scene { margin-top: 22px; position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.network-scene img { width: 100%; aspect-ratio: 1075/400; object-fit: cover; }
.network-scene .target { position: absolute; left: 61%; top: 34%; width: 13%; height: 62%; border: 2px solid var(--red); box-shadow: 0 0 20px rgba(214,40,40,.7), inset 0 0 20px rgba(214,40,40,.3); animation: targetPulse 1.6s ease-in-out infinite; }
.network-scene .target::before { content: "TARGET DETECTED"; position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; background: var(--red); font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: 1.5px; padding: 4px 8px; border-radius: 4px; }
@keyframes targetPulse { 50% { box-shadow: 0 0 34px rgba(214,40,40,1), inset 0 0 28px rgba(214,40,40,.5); } }
.network-scene figcaption { position: absolute; left: 18px; bottom: 16px; font-family: var(--head); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 8px 14px; border-radius: 10px; background: rgba(4,16,31,.85); border: 1px solid rgba(57,180,255,.4); }
@media (max-width: 960px) { .net-wrap { grid-template-columns: 1fr; } .sim-phases span { font-size: 9px; letter-spacing: .5px; } .network-scene .target::before { font-size: 9px; } }

/* privacy note */
.note { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(46,230,107,.3); background: rgba(46,230,107,.06); margin-top: 22px; font-size: 14.5px; color: #d9f5e3; }
.note svg { width: 26px; height: 26px; flex: none; color: #2ee66b; }

/* waste bins */
.bins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.bins span { text-align: center; padding: 10px 4px; border-radius: 10px; font-family: var(--head); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid; }
.bins span:nth-child(1) { color: #5fc1ff; border-color: rgba(95,193,255,.4); background: rgba(95,193,255,.08); }
.bins span:nth-child(2) { color: #ffc24a; border-color: rgba(255,194,74,.4); background: rgba(255,194,74,.08); }
.bins span:nth-child(3) { color: #c7d2df; border-color: rgba(199,210,223,.4); background: rgba(199,210,223,.08); }
.bins span:nth-child(4) { color: #7ee2a8; border-color: rgba(126,226,168,.4); background: rgba(126,226,168,.08); }

/* ---------- gallery ---------- */
.gallery { columns: 3 320px; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; display: block; width: 100%; padding: 0; background: none; }
.g-item img { width: 100%; transition: transform 1s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; text-align: left; font-family: var(--head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; background: linear-gradient(0deg, rgba(4,16,31,.95), transparent); transform: translateY(100%); transition: transform .5s var(--ease); }
.g-item:hover span, .g-item:focus-visible span { transform: none; }
@media (hover: none) { .g-item span { transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(2,8,16,.94); display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 12px; transform: scale(.94); transition: transform .5s var(--ease); box-shadow: 0 40px 100px rgba(0,0,0,.8); }
.lightbox.open img { transform: none; }
.lightbox p { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--head); letter-spacing: 2px; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(4,16,31,.7); cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.lb-btn:hover { background: var(--ice); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- contact ---------- */
.contact { background: radial-gradient(900px 500px at 15% 30%, rgba(214,40,40,.12), transparent 60%), radial-gradient(900px 600px at 85% 70%, rgba(0,139,255,.15), transparent 60%); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .tagline-stack { display: grid; gap: 10px; margin-top: 30px; }
.contact-info .tagline-stack div { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: clamp(15px, 1.6vw, 18px); padding: 16px 20px; border-radius: 14px; background: var(--panel); border-left: 3px solid var(--ice); }
.contact-info .tagline-stack div:nth-child(2) { border-color: var(--red); }
.contact-info .tagline-stack div:nth-child(3) { border-color: #fff; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: rgba(7,26,49,.8); border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.form h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.form > p { color: var(--muted); margin: 0 0 24px; font-size: 14.5px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: rgba(4,16,31,.7); outline: none;
  transition: border-color .3s, box-shadow .3s; font-size: 15px; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb0c6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--night-2); }
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 16px; font-size: 15px; color: var(--muted); pointer-events: none; transition: .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ice); box-shadow: 0 0 0 4px rgba(0,139,255,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 6px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ice-2); }
.form .btn { margin-top: 20px; width: 100%; justify-content: center; }
.form-msg { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; display: none; }
.form-msg.show { display: block; background: rgba(46,230,107,.1); border: 1px solid rgba(46,230,107,.35); color: #d9f5e3; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 60px 0 30px; background: #030b16; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--muted); font-size: 14px; max-width: 360px; }
.foot h5 { font-family: var(--head); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--ice-2); margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--muted); font-size: 14px; transition: color .25s; }
.foot ul a:hover { color: #fff; }
.copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7,26,49,.9); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: .4s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--ice); }
.to-top svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.sim .pl-desc { text-transform: none; letter-spacing: 0; font-weight: 500; }
@media (max-width: 600px) { .sim .pl-desc { display: none; } }
