/* KP Sky Works — "Night Orbit" one-page site */

/* ---------- Self-hosted fonts (variable, Cyrillic + Latin) ---------- */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/manrope-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/manrope-latin.woff2) format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Unbounded latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/unbounded-latin-ext.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Unbounded latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../assets/fonts/unbounded-latin.woff2) format('woff2');
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #4aa3ff;
  --accent-hover: #6bb5ff;
  --accent-soft: #8cc4ff;
  --accent-pale: #c9f3ff;
  --teal: #5fe3c6;
  --teal-deep: #2bc6a8;
  --indigo: #4c7dff;
  --indigo-soft: #9db6ff;

  --bg: #05080f;
  --bg-panel: #070c16;
  --bg-raised: #0b1424;
  --ink: #e8eef8;
  --ink-on-accent: #04131b;
  --text-2: #c5d0e2;
  --text-3: #a9b6cb;
  --text-4: #93a1b8;
  --text-5: #6f7e96;
  --step-num: #2a3a55;

  --line: rgba(120, 170, 255, 0.16);
  --line-soft: rgba(120, 170, 255, 0.12);
  --surface: rgba(255, 255, 255, 0.025);

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1280px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent-soft); }
a:hover { color: var(--accent-pale); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--ink-on-accent);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ink-on-accent); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Backgrounds ---------- */

.grid-bg {
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
}

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 30%, rgba(74, 163, 255, 0.18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(76, 125, 255, 0.12), transparent 70%);
}

/* ---------- Shared type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}
.eyebrow--teal { color: var(--teal); }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.h3-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
}

.lead {
  margin: 0;
  color: var(--text-3);
  font-size: 17px;
  line-height: 1.6;
}

.muted { color: var(--text-3); }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--ink-on-accent);
  border: 0;
  padding: 16px 28px;
}
.btn--primary:hover {
  color: var(--ink-on-accent);
  background: var(--accent-hover);
  box-shadow: 0 0 32px rgba(74, 163, 255, 0.5);
}
.btn--ghost {
  color: var(--ink);
  font-weight: 600;
  padding: 15px 26px;
  border: 1px solid rgba(232, 238, 248, 0.25);
}
.btn--ghost:hover {
  color: var(--ink);
  border-color: rgba(232, 238, 248, 0.55);
  background: rgba(232, 238, 248, 0.04);
}
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; min-width: 0; }
.brand img { display: block; height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 1061px) {
  .main-nav { flex-shrink: 0; white-space: nowrap; }
}
.main-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 999px;
}
.main-nav a:hover { color: var(--ink); }
.main-nav .nav-agriculture { color: var(--teal); }
.main-nav .nav-agriculture:hover { color: var(--ink); }
.main-nav .nav-cta {
  background: var(--accent);
  color: var(--ink-on-accent);
  font-weight: 700;
  padding: 12px 22px;
  margin-left: 4px;
  box-shadow: 0 0 28px rgba(74, 163, 255, 0.45);
}
.main-nav .nav-cta:hover { color: var(--ink-on-accent); background: var(--accent-hover); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .brand img { height: 32px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 24px;
    background: var(--bg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--line-soft);
    display: none;
  }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav .nav-cta { margin: 12px 0 0; text-align: center; padding: 16px; border-radius: 999px; border-bottom: 0; }
}

/* The language links stay visible beside the logo, including with the mobile menu closed. */
.language-switch {
  position: relative;
  isolation: isolate;
  order: 3;
  display: inline-flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-panel);
}
.language-switch::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(0);
  transition: transform 220ms ease-in-out;
}
.language-switch:has(a[lang="en"][aria-current="page"]):not([data-next-language])::before,
.language-switch[data-next-language="en"]::before { transform: translateX(100%); }
.language-switch[data-next-language="bg"]::before { transform: translateX(0); }
.language-switch.is-restoring::before { transition: none; }
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 36px;
  border-radius: 999px;
  color: var(--text-3);
  font: 500 12px var(--font-mono);
  text-decoration: none;
  transition: color 220ms ease-in-out;
}
.language-switch a:hover { color: var(--ink); background: var(--surface); }
.language-switch:not([data-next-language]) a[aria-current="page"],
.language-switch[data-next-language="bg"] a[lang="bg"],
.language-switch[data-next-language="en"] a[lang="en"] { color: var(--ink-on-accent); }
@media (max-width: 1200px) and (min-width: 1061px) {
  .brand img { height: 30px; }
  .header-inner { gap: 10px; }
  .main-nav a { padding: 12px 8px; font-size: 14px; }
  .main-nav .nav-cta { padding: 12px 16px; }
}
@media (max-width: 1060px) {
  .language-switch { order: 0; margin-left: auto; }
  .nav-toggle { flex: none; }
}
@media (max-width: 480px) {
  .header-inner { gap: 8px; padding-inline: 16px; }
  .brand { flex: 1; }
  .brand img { width: 100%; max-width: 200px; height: auto; }
  .language-switch a { min-width: 34px; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: var(--header-h); }
.hero-inner { position: relative; }

.hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding: 72px 0 64px;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 560px;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-agriculture { display: none; }
@media (max-width: 1060px) {
  .hero-agriculture {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--teal);
    font-weight: 700;
    text-underline-offset: 0.2em;
  }
}

.hero-media {
  flex: 1 1 520px;
  min-width: 0;
  position: relative;
  padding: 14px;
}
.corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 0 solid var(--accent);
}
.corner--tl { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.corner--tr { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.corner--bl { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.corner--br { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }

.hero-frame { position: relative; border-radius: 18px; overflow: hidden; }
.hero-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hud {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.hud li {
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(140, 196, 255, 0.35);
  padding: 8px 12px;
  border-radius: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1px;
  margin: 0 0 96px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.stat {
  background: var(--bg-panel);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.stat dt { order: 2; font-size: 14px; color: var(--text-4); }
.stat dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Cards ---------- */

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(74, 163, 255, 0.5); }

/* ---------- Services ---------- */

.services { padding: 96px 24px 48px; gap: 48px; }

.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.services-head .section-head { max-width: 720px; }
.services-head .lead { max-width: 440px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 20px;
}

.service {
  background: var(--surface);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 6px;
}
.service-code { font-family: var(--font-mono); font-size: 13px; color: var(--accent-soft); }
.service h3 { margin: 0; font-size: 22px; font-weight: 700; }
.service p { margin: 0; color: var(--text-3); line-height: 1.6; }

.promo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 18px;
  border: 1px solid rgba(74, 163, 255, 0.45);
  background: rgba(74, 163, 255, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.promo:hover { color: var(--ink); background: rgba(74, 163, 255, 0.1); border-color: rgba(74, 163, 255, 0.7); }
.promo-body { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.promo-title { font-size: 22px; font-weight: 700; }
.promo-cta { font-weight: 700; color: var(--accent-soft); }

.badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: var(--ink-on-accent);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 500;
}

.icon-tile {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 163, 255, 0.12);
  border: 1px solid rgba(74, 163, 255, 0.35);
}
.icon-tile--teal { background: rgba(95, 227, 198, 0.12); border-color: rgba(95, 227, 198, 0.4); }

/* ---------- Why drones ---------- */

.benefits {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}
.benefit { display: flex; flex-direction: column; gap: 10px; }
.benefit h3 { margin: 0; font-size: 19px; }
.benefit p { margin: 0; color: var(--text-3); line-height: 1.6; }

/* ---------- Sectors ---------- */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}
.sector {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sector-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sector-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-5); }
.sector h3 { margin: 6px 0 0; font-size: 19px; }
.sector p { margin: 0; color: var(--text-3); line-height: 1.55; font-size: 15px; }

.sector-cta {
  text-decoration: none;
  border-radius: 16px;
  padding: 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: var(--accent);
  color: var(--ink-on-accent);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.sector-cta:hover { color: var(--ink-on-accent); background: var(--accent-hover); box-shadow: 0 0 32px rgba(74, 163, 255, 0.4); }
.sector-cta strong { font-size: 19px; }
.sector-cta span { font-weight: 600; }

/* ---------- Drones ---------- */

.drones {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: 48px;
}
.drones-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.split-copy {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split-media { flex: 1 1 520px; min-width: 0; }

.product-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.product-tagline { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.35; }

.feature-list { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.feature {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(120, 170, 255, 0.14);
}
.feature-key { font-family: var(--font-mono); color: var(--accent-soft); font-size: 13px; padding-top: 3px; }
.feature-body { display: flex; flex-direction: column; gap: 4px; }
.feature-body strong { font-size: 17px; }
.feature-body span { color: var(--text-3); }

.product-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(120, 170, 255, 0.2);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  border-radius: 10px;
}
.chip--water { border: 1px solid var(--teal-deep); color: var(--teal); }
.chip--power { border: 1px solid var(--indigo); color: var(--indigo-soft); }

.stack { display: flex; flex-direction: column; gap: 24px; }

.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.figure figcaption { display: flex; flex-direction: column; gap: 6px; }
.figure strong { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent-soft); }
.figure span { color: var(--text-3); line-height: 1.55; }

.specs-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.specs {
  flex: 1 1 520px;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.specs-scroll { overflow-x: auto; }
.specs table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 440px; }
.specs thead tr { background: rgba(74, 163, 255, 0.08); }
.specs thead th {
  text-align: left;
  padding: 16px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-4);
  font-weight: 500;
}
.specs thead th:last-child { color: var(--accent-soft); }
.specs tbody tr { border-top: 1px solid var(--line-soft); }
.specs tbody th { text-align: left; padding: 14px 22px; color: var(--text-3); font-weight: 500; }
.specs tbody td { padding: 14px 22px; }

.specs-aside { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel {
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-raised);
  border: 1px solid rgba(74, 163, 255, 0.3);
}
.panel p { margin: 0; font-size: 18px; line-height: 1.6; }
.panel--plain { background: rgba(255, 255, 255, 0.03); border-color: var(--line); gap: 8px; }
.panel-figure { font-family: var(--font-display); font-size: clamp(34px, 4vw, 44px); font-weight: 600; color: var(--accent); line-height: 1.15; }
.panel--plain .panel-note { color: var(--text-3); line-height: 1.55; font-size: 16px; }

.env-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.env {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.env img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.env:hover img { transform: scale(1.04); }
.env-body {
  position: relative;
  padding: 70px 22px 22px;
  background: linear-gradient(0deg, rgba(5, 8, 15, 0.95) 30%, rgba(5, 8, 15, 0));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.env-body h4 { margin: 0; font-size: 18px; }
.env-body p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* ---------- Agriculture ---------- */

.agri { padding: 96px 24px; flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: center; }
.agri-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.agri-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.agri-list li { display: flex; gap: 12px; align-items: baseline; }
.agri-list li::before { content: '—'; color: var(--teal); }

.agri-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 10px;
  margin: 0;
}
.agri-spec {
  border: 1px solid rgba(95, 227, 198, 0.3);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agri-spec dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-4); }
.agri-spec dd { margin: 0; font-weight: 700; }
.agri-note { margin: 0; color: var(--text-4); font-size: 14px; }
.agri-note a { color: var(--teal); text-decoration: underline; text-underline-offset: 0.2em; }

.agri-media {
  flex: 1 1 480px;
  min-width: 0;
  margin: 0;
}
.agri-media img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid rgba(95, 227, 198, 0.3); }
.agri-media figcaption { margin-top: 10px; color: var(--text-4); font-size: 13px; }

/* ---------- Process ---------- */

.process { padding: 48px 24px 96px; }
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.step {
  border-top: 2px solid var(--accent);
  padding: 24px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-num { font-family: var(--font-display); font-size: 40px; color: var(--step-num); line-height: 1.2; }
.step strong { font-size: 19px; }
.step span:last-child { color: var(--text-3); line-height: 1.55; }

/* ---------- Contact ---------- */

.contact { position: relative; border-top: 1px solid var(--line-soft); }
.contact-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.contact-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-copy h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }

.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.contact-list li > * { display: inline-flex; gap: 14px; align-items: center; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent-pale); }
.contact-list svg { flex: none; }

.quote-form {
  flex: 1 1 560px;
  min-width: 0;
  background: rgba(10, 16, 30, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(120, 170, 255, 0.2);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  align-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}
.field--full { grid-column: 1 / -1; }
.field .req { color: var(--accent-soft); font-weight: 500; }

.input {
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-panel);
  border: 1px solid rgba(120, 170, 255, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.15s ease;
}
.input::placeholder { color: var(--text-5); }
.input:hover { border-color: rgba(120, 170, 255, 0.4); }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea.input { resize: vertical; min-height: 120px; }

select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238CC4FF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
select.input option { background: var(--bg-panel); color: var(--ink); }

.field.is-invalid .input { border-color: #ff7a8a; }
.field-error { color: #ff9aa6; font-size: 13px; font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-note { color: var(--text-4); font-size: 14px; }
.form-submit { padding: 16px 30px; box-shadow: 0 0 28px rgba(74, 163, 255, 0.4); }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(4, 19, 27, 0.35);
  border-top-color: var(--ink-on-accent);
  animation: spin 0.8s linear infinite;
  display: none;
}
.form-submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.form-status:empty { display: none; }
.form-status.is-success { background: rgba(95, 227, 198, 0.1); border: 1px solid rgba(95, 227, 198, 0.45); color: #bff5e8; }
.form-status.is-error { background: rgba(255, 122, 138, 0.08); border: 1px solid rgba(255, 122, 138, 0.45); color: #ffc7ce; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line-soft); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-4);
  font-size: 14px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: var(--text-4); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); }
.footer-nav .social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -8px -10px 0; }
@media (max-width: 600px) { .footer-nav { align-items: center; } }

/* ---------- Scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 600px) {
  .hero-main { padding: 40px 0 48px; gap: 40px; }
  .hero-sub { font-size: 17px; }
  .stats { margin-bottom: 64px; }
  .services { padding-top: 72px; }
  .service, .promo { padding: 22px; }
  .drones-inner, .agri, .contact-inner { padding-top: 72px; padding-bottom: 72px; }
  .panel { padding: 24px; }
}

/* Contact form is hidden for now (see index.html); keep the contact details readable on their own */
.quote-form[hidden] { display: none; }
.contact-inner:has(.quote-form[hidden]) .contact-copy { max-width: 640px; }

/* Preserve whole Bulgarian words in the display face at every screen size. */
html:lang(bg) .hero h1 { font-size: clamp(32px, 4.4vw, 56px); }
