:root {
  --bg: #0a101b;
  --bg-soft: #121b2b;
  --panel: rgba(14, 22, 36, 0.9);
  --panel-solid: #111a2b;
  --border: rgba(123, 149, 190, 0.22);
  --text: #e8eef9;
  --muted: #a6b4cb;
  --brand: #3fa0ff;
  --brand-2: #2d7fd1;
  --accent: #9fb3d6;
  --shadow: 0 14px 34px rgba(3, 9, 23, 0.36);
  --radius-xl: 14px;
  --radius-lg: 10px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #0a101b 0%, #0c1422 100%);
  font-family: "IBM Plex Sans", sans-serif;
  min-height: 100vh;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(131, 173, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 173, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.15) 100%);
}

.orb {
  display: none;
}

.orb-left {
  top: -120px;
  left: -120px;
  background: #2f6dff;
}

.orb-right {
  right: -120px;
  bottom: 10%;
  background: #00c9b8;
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(131, 173, 255, 0.16);
  border-radius: 10px;
  background: rgba(12, 18, 30, 0.92);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #051022;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 1.06rem;
}

.brand-text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a {
  text-decoration: none;
  color: #d6e1f8;
  font-weight: 600;
  opacity: 0.95;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--brand);
  opacity: 1;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(131, 173, 255, 0.28);
  border-radius: 999px;
  padding: 3px;
  background: rgba(11, 21, 42, 0.85);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #bdd0f2;
  min-width: 44px;
  height: 34px;
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-btn.is-active {
  color: #031225;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.section {
  margin-top: 34px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(16, 25, 41, 0.96), rgba(12, 20, 33, 0.96));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 16px;
}

.hero-copy {
  padding: 34px;
  animation: rise 460ms ease-out both;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8eb8e8;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
strong {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  max-width: 64ch;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 150ms ease, filter 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.button-primary {
  color: #f3f7ff;
  background: linear-gradient(135deg, #2f80cc, #2567a7);
  border: 1px solid rgba(159, 193, 236, 0.35);
}

.button-secondary {
  border: 1px solid rgba(131, 173, 255, 0.3);
  background: rgba(17, 28, 47, 0.9);
}

.hero-points {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #c3d2ef;
  line-height: 1.65;
}

.hero-visual {
  padding: 16px;
  display: grid;
  gap: 14px;
  animation: rise 560ms ease-out both;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 4px 10px;
}

.visual-topline span {
  color: #8eb8e8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 600;
}

.visual-topline strong {
  font-size: 0.92rem;
  color: #d7e6ff;
}

.hero-loop {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(9, 18, 36, 0.9), rgba(6, 14, 29, 0.9));
  border: 1px solid rgba(131, 173, 255, 0.2);
  overflow: hidden;
}

.hero-loop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 220ms ease;
  opacity: 1;
}

.hero-loop img.is-fading {
  opacity: 0.35;
}

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

.trust-row div {
  border: 1px solid rgba(131, 173, 255, 0.24);
  border-radius: 8px;
  padding: 10px 10px;
  text-align: center;
  color: #c5d7f6;
  background: rgba(14, 25, 49, 0.72);
}

.trust-row span {
  font-size: 0.8rem;
  font-weight: 600;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  color: #9fc0eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 600;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.04rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: saturate(0.96) contrast(1.04);
  cursor: zoom-in;
  transition: transform 180ms ease, filter 180ms ease;
}

.photo-card:hover img {
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 22, 0.92);
  display: grid;
  place-items: center;
  z-index: 99;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1280px, calc(100vw - 60px));
  max-height: calc(100vh - 80px);
  border-radius: 12px;
  border: 1px solid rgba(131, 173, 255, 0.28);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 33, 66, 0.9);
  color: #e7f0ff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.section-heading {
  max-width: 72ch;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

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

.service-card,
.platform-column,
.assetra-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.service-card h3,
.platform-column h3 {
  margin: 0 0 9px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.service-card p,
.platform-column li,
.assetra-copy p,
.assetra-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.66;
}

.platform-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-column ul,
.contact-note ul {
  margin: 0;
  padding-left: 18px;
}

.assetra-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 12px;
  align-items: stretch;
}

.assetra-copy {
  padding: 16px 4px;
}

.assetra-copy a {
  color: var(--brand);
}

.assetra-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.assetra-card span {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.75rem;
}

.contact-section {
  margin-top: 28px;
}

.contact-panel {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 14px;
}

.contact-note {
  padding: 16px;
  border-radius: 14px;
  background: rgba(14, 25, 49, 0.72);
  border: 1px solid rgba(131, 173, 255, 0.2);
}

.site-footer {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(131, 173, 255, 0.2);
  display: flex;
  gap: 18px;
  opacity: 0.9;
}

.site-footer a {
  color: #bfd0ee;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
}

.legal-page {
  padding-top: 28px;
}

.legal-back {
  margin-bottom: 14px;
}

.legal-card {
  padding: 28px;
}

.legal-card h1 {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.legal-card h2,
.legal-card h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-card hr {
  border: 0;
  border-top: 1px solid rgba(131, 173, 255, 0.2);
  margin: 24px 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .assetra-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 14px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-copy,
  .hero-visual,
  .service-card,
  .platform-column,
  .assetra-card,
  .contact-panel {
    padding: 18px;
  }

  .hero-loop {
    height: 260px;
  }

  .metrics,
  .service-grid,
  .platform-layout,
  .trust-row,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 220px;
  }

  .legal-card {
    padding: 20px;
  }

  h1 {
    max-width: none;
  }
}
