:root {
  --navy: #0d1b3d;
  --navy-2: #14254d;
  --blue: #1ba8e5;
  --blue-2: #67c8f1;
  --light: #f2f7fb;
  --line: #d7e3ee;
  --text: #122033;
  --muted: #607086;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(13, 27, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 27, 61, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 220px;
}

.logo img {
  width: 255px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 700;
}

.menu a {
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--white);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(27, 168, 229, 0.24);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.language-switch a:hover,
.language-switch a.active {
  color: var(--navy);
  background: var(--white);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 130px;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 12% 12%, rgba(27, 168, 229, 0.2), transparent 32%), linear-gradient(135deg, #0a1430 0%, var(--navy) 52%, #12385f 100%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 130px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(242, 247, 251, 0) 0%, var(--light) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
  min-height: 620px;
  padding: 58px 0 112px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: inline-block;
}

.home-title {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.home-title span {
  display: block;
}

.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 850;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 440px;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: 88px 0;
}

.section.light {
  background: var(--light);
}

.section.light:has(+ .section:not(.light)) {
  background: linear-gradient(180deg, var(--light) 0%, var(--light) 72%, var(--white) 100%);
}

.section.light + .section:not(.light) {
  padding-top: 48px;
  background: linear-gradient(180deg, #fbfdff 0%, var(--white) 120px);
}

.hero + .section.light,
.page-hero + .section.light {
  padding-top: 56px;
}

.contact-section {
  padding-top: 36px;
}

.pre-footer {
  position: relative;
  overflow: hidden;
  padding-bottom: 150px;
}

.pre-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(242, 247, 251, 0) 0%, #dce8f3 46%, #102247 100%);
}

.section.dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tile,
.product-card,
.contact-card,
.wide-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(13, 27, 61, 0.06);
}

.tile {
  padding: 26px;
}

.tile h3,
.product-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.tile p,
.product-card p,
.contact-card p,
.wide-note p {
  color: var(--muted);
  line-height: 1.7;
}

.support-nav .tile {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-nav .tile:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 168, 229, 0.45);
  box-shadow: 0 16px 38px rgba(13, 27, 61, 0.1);
}

.support-sections {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  scroll-margin-top: 130px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white) 0%, #f9fcff 100%);
  box-shadow: 0 10px 30px rgba(13, 27, 61, 0.06);
}

.support-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.14;
}

.support-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.download-list {
  display: grid;
  gap: 14px;
}

.product-downloads {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-docs-section {
  padding-top: 64px;
}

.download-card {
  display: block;
  padding: 18px;
  border: 1px solid rgba(27, 168, 229, 0.2);
  border-radius: 8px;
  background: rgba(27, 168, 229, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.download-card:hover {
  border-color: rgba(27, 168, 229, 0.55);
  background: rgba(27, 168, 229, 0.11);
}

.download-card.disabled {
  cursor: default;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.download-card.disabled span {
  color: var(--muted);
}

.download-card strong,
.download-card span {
  display: block;
}

.download-card strong {
  margin-bottom: 6px;
  color: var(--text);
}

.download-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.support-guide .support-panel {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.support-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-checklist li,
.support-copy p {
  position: relative;
  margin: 0;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.65;
}

.support-checklist li::before,
.support-copy p::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}

.support-copy {
  display: grid;
  gap: 12px;
}

.support-docs {
  color: var(--white);
  border-color: rgba(27, 168, 229, 0.28);
  background: linear-gradient(135deg, var(--navy) 0%, #132a55 100%);
}

.support-docs h2,
.support-docs .download-card strong {
  color: var(--white);
}

.support-docs p,
.support-docs .download-card span {
  color: rgba(255, 255, 255, 0.74);
}

.support-docs .download-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.wide-note {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 22px;
  padding: 30px;
}

.wide-note h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.wide-note .feature-list {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 44px;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
  gap: 24px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, #f8fbfe 100%);
}

.product-card .body {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 28px;
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 270px;
  padding: 22px;
  background: radial-gradient(circle at 76% 18%, rgba(27, 168, 229, 0.34), transparent 32%), linear-gradient(135deg, #08142f 0%, var(--navy) 58%, #113a61 100%);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.35));
}

.product-media.drone-category-media {
  padding: 0;
  background: #08142f;
}

.product-media.drone-category-media img {
  width: 100%;
  max-width: none;
  min-height: 270px;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.product-media.concept-media {
  padding: 0;
  background: #08142f;
}

.product-media.concept-media img {
  width: 100%;
  max-width: none;
  min-height: 270px;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.render-slot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(100%, 520px);
  min-height: 260px;
  padding: 26px;
  border: 1px dashed rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(27, 168, 229, 0.16), 0 22px 42px rgba(0, 0, 0, 0.22);
}

.render-slot::before {
  content: "";
  width: 76px;
  height: 76px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.48);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(27, 168, 229, 0.18) 100%);
}

.render-slot strong {
  font-size: 18px;
}

.render-slot small {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

.render-slot.compact {
  width: min(100%, 310px);
  min-height: 190px;
}

.product-media span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(27, 168, 229, 0.28);
}

.product-type {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.product-specs div {
  padding: 12px;
  border-radius: 8px;
  background: rgba(27, 168, 229, 0.08);
}

.product-specs dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-specs dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.product-card .button {
  justify-self: stretch;
}

.product-card > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #08142f 0%, var(--navy) 48%, #1ba8e5 48%, #1ba8e5 72%, #d9dee6 72%, #d9dee6 79%, #08142f 79%);
}

.product-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(242, 247, 251, 0) 0%, var(--light) 100%);
}

.product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: 46px;
  min-height: 560px;
  padding: 64px 0 112px;
}

.product-hero-copy {
  max-width: 560px;
  padding: 34px;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.back-link::before {
  content: "←";
  margin-right: 8px;
}

.product-hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4vw, 56px);
}

.product-hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: var(--blue);
}

.product-hero-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.product-hero-copy .button.secondary {
  color: var(--text);
  border-color: var(--line);
  background: var(--white);
}

.product-hero-device {
  position: relative;
  display: grid;
  place-items: center;
}

.product-hero-device img {
  width: min(100%, 620px);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.35));
}

.hero-render {
  min-height: 360px;
}

.product-hero-device span {
  position: absolute;
  right: 0;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 850;
  box-shadow: 0 16px 34px rgba(27, 168, 229, 0.28);
}

.smart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: start;
}

.smart-grid.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.smart-info-list {
  display: grid;
  gap: 16px;
}

.smart-info-list article,
.smart-panel,
.smart-audience,
.safety-grid article {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(13, 27, 61, 0.06);
}

.smart-info-list article {
  padding: 24px;
  color: var(--white);
  background: var(--navy);
}

.smart-info-list h3,
.smart-panel h2,
.smart-audience h2,
.safety-grid h3 {
  margin-bottom: 12px;
}

.smart-info-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.smart-panel {
  padding: 32px;
  color: var(--white);
  background: var(--navy);
}

.smart-panel h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

.smart-panel ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.smart-panel li {
  position: relative;
  padding-left: 42px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.smart-panel li::before,
.audience-grid div::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--blue);
  background: #d8fbff;
  font-weight: 900;
}

.smart-panel li::before {
  position: absolute;
  top: 0;
  left: 0;
}

.smart-device-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 40%, var(--navy) 40%, var(--navy) 100%);
  box-shadow: var(--shadow);
}

.smart-device-frame img {
  width: min(100%, 520px);
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.36));
}

.device-render {
  min-height: 300px;
}

.smart-audience {
  padding: 34px;
  background: var(--light);
}

.smart-audience h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.audience-grid div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(13, 27, 61, 0.08);
  color: var(--text);
  font-weight: 800;
  line-height: 1.5;
}

.audience-grid div::before {
  flex: 0 0 26px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.safety-grid article {
  padding: 26px;
  background: var(--white);
}

.safety-grid h3 {
  font-size: 20px;
}

.safety-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.app-screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 420px));
  justify-content: center;
  align-items: start;
  gap: 30px;
}

.webapp-showcase {
  display: grid;
  gap: 22px;
}

.webapp-shot {
  overflow: hidden;
  border: 1px solid rgba(13, 27, 61, 0.12);
  border-radius: 8px;
  background: #121922;
  box-shadow: 0 14px 34px rgba(13, 27, 61, 0.08);
}

.webapp-shot.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  align-items: stretch;
}

.webapp-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  background: #121922;
}

.webapp-shot.featured img {
  height: 760px;
}

.webapp-shot-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  background: var(--white);
}

.webapp-shot-copy h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.14;
}

.webapp-shot-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.webapp-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.webapp-shot-grid .webapp-shot img {
  height: 360px;
  aspect-ratio: 4 / 3;
}

.smartheat-webapp .webapp-shot {
  background: #f3f5f2;
}

.smartheat-webapp .webapp-shot img,
.smartheat-webapp .webapp-shot.featured img,
.smartheat-webapp .webapp-shot-grid .webapp-shot img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f3f5f2;
}

.mobile-app-layout {
  display: grid;
  gap: 30px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-button {
  display: inline-grid;
  gap: 2px;
  min-width: 164px;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(13, 27, 61, 0.16);
}

.store-button span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 750;
}

.store-button strong {
  font-size: 18px;
  line-height: 1.1;
}

.mobile-shot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
}

.mobile-shot {
  display: grid;
  gap: 12px;
  margin: 0;
  scroll-snap-align: start;
}

.mobile-shot img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(13, 27, 61, 0.12);
  border-radius: 8px;
  background: #efe5d2;
  box-shadow: 0 18px 44px rgba(13, 27, 61, 0.12);
  cursor: zoom-in;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mobile-shot:hover img {
  border-color: rgba(27, 168, 229, 0.35);
  box-shadow: 0 24px 56px rgba(13, 27, 61, 0.18);
  transform: translateY(-8px) rotate(-0.7deg) scale(1.015);
}

.mobile-shot figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.image-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 20, 47, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(92vw, 520px);
  max-height: 88vh;
  border-radius: 10px;
  background: #efe5d2;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s ease;
}

.image-lightbox.is-open img {
  transform: translateY(0) scale(1);
}

.image-lightbox button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-shot img,
  .mobile-shot:hover img,
  .image-lightbox,
  .image-lightbox img {
    transition: none;
    transform: none;
  }
}

.drone-project-grid {
  display: grid;
  gap: 22px;
}

.drone-project-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(13, 27, 61, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(13, 27, 61, 0.08);
}

.drone-project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
  background: #08142f;
}

.drone-project-card > div {
  display: grid;
  gap: 16px;
}

.drone-project-card h3 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.5vw, 32px);
}

.drone-project-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.phone-screen {
  overflow: hidden;
  width: min(100%, 420px);
  min-height: 640px;
  padding: 18px;
  border: 12px solid #111827;
  border-radius: 32px;
  color: #1b1d19;
  background: radial-gradient(circle at top, #606a52 0%, #495241 18%, #2a2f28 55%, #1e211d 100%);
  box-shadow: 0 18px 46px rgba(13, 27, 61, 0.18);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  color: #f5f0e2;
  background: linear-gradient(145deg, #2e342b 0%, #4f5e45 50%, #676e55 100%);
}

.phone-top strong {
  font-size: 28px;
  letter-spacing: 0;
}

.phone-top span {
  align-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(19, 21, 17, 0.3);
  color: rgba(245, 240, 226, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.phone-stats div {
  padding: 13px;
  border-radius: 12px;
  color: #f5f0e2;
  background: rgba(15, 17, 14, 0.24);
}

.phone-stats span,
.phone-card p {
  display: block;
  color: rgba(245, 240, 226, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.phone-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
}

.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(30, 33, 28, 0.82);
}

.phone-tabs span {
  min-width: 0;
  padding: 12px 6px;
  border-radius: 10px;
  color: #b9b7a8;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.phone-tabs .active {
  color: #f4efdf;
  background: linear-gradient(180deg, #4f6b3e 0%, #394d2c 100%);
}

.phone-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #b8ae97;
  border-radius: 14px;
  background: linear-gradient(180deg, #f0ead9 0%, #e6deca 100%);
}

.phone-card h3 {
  margin-bottom: 2px;
  font-size: 22px;
}

.phone-card button {
  min-height: 54px;
  border: 1px solid rgba(21, 28, 17, 0.25);
  border-radius: 12px;
  color: #f7f3e7;
  background: linear-gradient(180deg, #4f6b3e 0%, #394d2c 100%);
  font-size: 15px;
  font-weight: 900;
}

.phone-card button.danger {
  background: linear-gradient(180deg, #a33d30 0%, #8d3327 100%);
}

.phone-card button.secondary {
  color: #25261f;
  background: #f3ecd9;
  border-color: #b8ae97;
}

.phone-card label {
  display: grid;
  gap: 7px;
  color: #1b1d19;
  font-size: 15px;
  font-weight: 900;
}

.phone-card i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #394d2c;
}

.phone-card p {
  margin-bottom: 0;
  color: #596052;
  font-size: 16px;
}

.app-shot {
  overflow: hidden;
  width: min(100%, 390px);
  height: 760px;
  border-radius: 18px;
  background: #1e211d;
  box-shadow: 0 18px 46px rgba(13, 27, 61, 0.18);
}

.app-shot iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.advantage-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 72px;
  padding: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.advantage-section h2 {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
}

.advantage-list {
  display: grid;
  gap: 14px;
}

.advantage-list div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
  line-height: 1.4;
}

.advantage-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

.advantage-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 18px;
  min-height: 320px;
  padding: 42px 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.advantage-chart div {
  position: relative;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #f59e0b 0%, #8a2d0b 100%);
}

.advantage-chart div::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: -18px;
  left: 28%;
  height: 8px;
  border-radius: 999px;
  background: rgba(103, 200, 241, 0.85);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 112px;
  color: var(--white);
  background: linear-gradient(135deg, #0a1430 0%, var(--navy) 56%, #12385f 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 500px));
  gap: 20px;
  align-items: stretch;
  justify-content: center;
}

.contact-card {
  padding: 28px;
}

.contact-card-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  min-height: 210px;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  border-color: rgba(27, 168, 229, 0.25);
  background: radial-gradient(circle at 88% 18%, rgba(27, 168, 229, 0.32), transparent 32%), linear-gradient(135deg, #0a1430 0%, var(--navy) 58%, #12385f 100%);
  box-shadow: var(--shadow);
}

.contact-card-profile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(13, 27, 61, 0) 0%, rgba(13, 27, 61, 0.38) 100%);
  pointer-events: none;
}

.contact-details {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 28px;
}

.contact-details h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.08;
}

.contact-details p {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-portrait {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 210px;
}

.contact-portrait img {
  position: absolute;
  right: var(--contact-photo-right, -8px);
  bottom: var(--contact-photo-bottom, -5px);
  width: min(var(--contact-photo-width, 205px), 130%);
  max-width: none;
  transform: translate(var(--contact-photo-x, 0), var(--contact-photo-y, 0)) scale(var(--contact-photo-scale, 1));
  transform-origin: bottom right;
}

.contact-placeholder {
  position: absolute;
  right: 20px;
  bottom: 34px;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 2px solid rgba(94, 213, 250, 0.9);
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 35% 25%, rgba(94, 213, 250, 0.32), rgba(9, 31, 70, 0.98) 68%);
  box-shadow: 0 18px 36px rgba(4, 12, 30, 0.22);
  font-size: 34px;
  font-weight: 900;
}

.contact-card a {
  display: block;
  margin-top: 7px;
  color: var(--blue-2);
  font-weight: 800;
}

.footer {
  position: relative;
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 24px;
}

@media (max-width: 900px) {
  .nav {
    min-height: 92px;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .logo img {
    width: 218px;
  }

  .menu {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    overflow-x: auto;
    font-size: 14px;
  }

  .cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero-grid,
  .product-hero-grid,
  .smart-grid,
  .smart-grid.reverse,
  .split,
  .offer-grid,
  .product-card,
  .drone-project-card,
  .contact-grid,
  .support-panel,
  .wide-note,
  .contact-card-profile {
    grid-template-columns: 1fr;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .product-hero-grid {
    min-height: 0;
    padding: 54px 0 92px;
  }

  .product-hero-copy {
    width: 100%;
    min-width: 0;
    padding: 28px;
  }

  .product-hero-device,
  .product-hero-device img,
  .smart-grid > *,
  .smart-grid.reverse > * {
    min-width: 0;
  }

  .product-hero-device span {
    right: 12px;
  }

  .audience-grid,
  .safety-grid,
  .advantage-section {
    grid-template-columns: 1fr;
  }

  .app-screen-grid {
    grid-template-columns: minmax(0, 420px);
  }

  .webapp-shot.featured,
  .webapp-shot-grid {
    grid-template-columns: 1fr;
  }

  .webapp-shot.featured img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .webapp-shot-grid .webapp-shot img {
    height: auto;
  }

  .advantage-chart {
    min-height: 240px;
  }

  .contact-card-profile {
    min-height: 0;
  }

  .contact-details {
    padding: 28px;
  }

  .contact-portrait {
    min-height: 245px;
  }

  .contact-portrait img {
    right: 50%;
    width: min(var(--contact-photo-mobile-width, 235px), 86vw);
    transform: translateX(50%) translate(var(--contact-photo-mobile-x, 0), var(--contact-photo-mobile-y, 0)) scale(var(--contact-photo-mobile-scale, 1));
    transform-origin: bottom center;
  }

  .contact-placeholder {
    right: 50%;
    bottom: 58px;
    width: 132px;
    height: 132px;
    transform: translateX(50%);
  }

  .hero-grid {
    min-height: 0;
    padding: 54px 0 66px;
  }

  .capabilities {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
  html,
  body,
  main,
  .topbar,
  .product-hero {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container,
  .nav {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .section {
    padding: 64px 0;
  }

  .hero-visual {
    min-height: 0;
  }

  .menu {
    justify-content: flex-start;
  }

  .language-switch {
    width: 100%;
    max-width: 100%;
    justify-content: stretch;
    margin-left: 0;
    order: 4;
    overflow: hidden;
  }

  .language-switch a {
    min-width: 0;
    flex: 1;
  }

  .product-hero-grid {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .product-hero-copy {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    padding: 28px 22px;
    justify-self: start;
  }

  .product-hero-copy p,
  .product-hero-copy h1 {
    overflow-wrap: anywhere;
  }

  .product-hero-copy .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .drone-project-card {
    padding: 18px;
  }

  .product-hero-copy .button {
    width: 100%;
    min-width: 0;
  }

  .product-hero-device {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  .product-hero-device img {
    width: 100%;
    max-width: 100%;
  }

  .product-hero-device span {
    right: 8px;
    bottom: 12px;
    max-width: calc(100% - 16px);
    white-space: normal;
    text-align: center;
  }

  .webapp-shot-copy {
    padding: 22px;
  }

  .webapp-shot-copy h3 {
    font-size: 21px;
  }
}
