:root {
  --bg: #09111f;
  --bg-soft: rgba(12, 23, 41, 0.72);
  --panel: rgba(11, 17, 31, 0.82);
  --line: rgba(183, 227, 255, 0.18);
  --text: #f5f7fb;
  --muted: #adc0d6;
  --accent: #67f0c2;
  --accent-strong: #ff9b71;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(103, 240, 194, 0.16), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(255, 155, 113, 0.18), transparent 22%),
    linear-gradient(135deg, #050913 0%, #09111f 45%, #0d1b33 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  pointer-events: none;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 23, 41, 0.88), rgba(7, 12, 24, 0.94));
  box-shadow: var(--shadow);
}

.subpage-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.subpage-card {
  position: relative;
  width: min(720px, 100%);
  padding: 42px 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 23, 41, 0.88), rgba(7, 12, 24, 0.94));
  box-shadow: var(--shadow);
  text-align: center;
}

.subpage-logo {
  position: absolute;
  top: 22px;
  right: 22px;
  width: min(120px, 22vw);
  max-height: 72px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0.5) 88%, transparent 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 68%, rgba(0, 0, 0, 0.5) 88%, transparent 100%);
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.back-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 155, 113, 0.52);
  background: rgba(255, 155, 113, 0.12);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 240, 194, 0.28), transparent 68%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand,
.contact-link,
.service-button,
.social-button {
  text-decoration: none;
  color: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(103, 240, 194, 0.2), rgba(255, 155, 113, 0.22));
  font-family: "Syne", sans-serif;
}

.brand-text {
  font-size: 1rem;
}

.contact-link {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lang-switcher {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-button {
  border: 0;
  min-width: 48px;
  padding: 10px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lang-button:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.lang-button.is-active {
  background: linear-gradient(135deg, rgba(103, 240, 194, 0.2), rgba(255, 155, 113, 0.22));
  color: var(--text);
}

.contact-link:hover,
.service-button:hover,
.social-button:hover {
  transform: translateY(-2px);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 28px;
  padding: 44px 26px 30px;
}

.hero-copy {
  padding: 12px 6px 12px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Syne", sans-serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
}

.subpage-title {
  max-width: none;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.02;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.summary {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.service-button,
.social-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-button {
  background: linear-gradient(135deg, rgba(103, 240, 194, 0.12), rgba(255, 255, 255, 0.04));
  font-weight: 700;
}

.service-button:hover {
  border-color: rgba(103, 240, 194, 0.55);
  background: linear-gradient(135deg, rgba(103, 240, 194, 0.22), rgba(255, 255, 255, 0.06));
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-button {
  min-height: 50px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.social-button:hover,
.contact-link:hover {
  border-color: rgba(255, 155, 113, 0.52);
  background: rgba(255, 155, 113, 0.12);
  color: var(--text);
}

.hero-panel {
  display: grid;
  gap: 18px;
  align-content: center;
}

.logo-slot,
.mini-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.logo-slot::before,
.mini-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.logo-slot {
  display: grid;
  place-items: center;
  text-align: center;
}

.site-logo,
.mini-card span {
  position: relative;
  z-index: 1;
}

.site-logo {
  max-width: min(100%, 320px);
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.25));
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0.78) 78%, rgba(0, 0, 0, 0.18) 92%, transparent 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0.78) 78%, rgba(0, 0, 0, 0.18) 92%, transparent 100%);
}

.mini-card {
  min-height: auto;
}

.mini-card span {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.anchors {
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 18px 8px 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.subpage-copy {
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.subpage-switcher {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
  }

  .topbar,
  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .social-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .logo-slot,
  .mini-card {
    min-height: 180px;
  }

  .subpage-logo {
    top: 18px;
    right: 18px;
    width: min(92px, 24vw);
    max-height: 56px;
  }
}
