:root {
  --bg: #121821;
  --bg-2: #171f2a;
  --bg-3: #10161f;
  --panel: #1d2733;
  --panel-border: #2c3745;
  --text: #f8fafc;
  --muted: #bcc8d8;
  --accent-green: #5dda91;
  --accent-blue: #63b0e3;
  --accent-green-soft: rgb(93 218 145 / 15%);
  --accent-blue-soft: rgb(99 176 227 / 15%);
  --success: #34d399;
  --error: #f87171;
  --ring: rgb(99 176 227 / 30%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 10% 0, rgb(99 176 227 / 20%), transparent 34%),
    radial-gradient(circle at 90% 4%, rgb(93 218 145 / 14%), transparent 38%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 60%, var(--bg-3) 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  isolation: isolate;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  width: clamp(280px, 38vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(92px);
  opacity: 0.6;
  will-change: transform, opacity;
}

body::before {
  left: -10vw;
  top: 12vh;
  background: radial-gradient(circle, rgb(99 176 227 / 36%) 0%, rgb(99 176 227 / 0%) 70%);
  animation: ambientHaloOne 16s ease-in-out infinite alternate;
}

body::after {
  right: -8vw;
  bottom: 6vh;
  background: radial-gradient(circle, rgb(93 218 145 / 28%) 0%, rgb(93 218 145 / 0%) 70%);
  animation: ambientHaloTwo 18s ease-in-out infinite alternate;
}

@keyframes ambientHaloOne {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.56;
  }
  50% {
    transform: translate3d(12vw, 8vh, 0) scale(1.08);
    opacity: 0.72;
  }
  100% {
    transform: translate3d(4vw, 18vh, 0) scale(0.96);
    opacity: 0.52;
  }
}

@keyframes ambientHaloTwo {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.44;
  }
  50% {
    transform: translate3d(-10vw, -10vh, 0) scale(1.1);
    opacity: 0.66;
  }
  100% {
    transform: translate3d(-2vw, -20vh, 0) scale(0.94);
    opacity: 0.5;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s ease, border-color 0.24s ease, backdrop-filter 0.24s ease;
}

.site-header.scrolled {
  background: rgb(18 24 33 / 84%);
  backdrop-filter: blur(12px);
  border-bottom-color: rgb(255 255 255 / 8%);
}

.header-content {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
}

.brand-name {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 0.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.language-switch {
  display: flex;
  gap: 0.45rem;
}

.lang-btn,
.header-cta {
  border: 1px solid var(--panel-border);
  border-radius: 0.65rem;
  background: rgb(17 23 31 / 90%);
  color: var(--muted);
  padding: 0.45rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--text);
  border-color: var(--accent-green);
}

.header-cta {
  color: var(--text);
  background: linear-gradient(135deg, rgb(99 176 227 / 16%), rgb(93 218 145 / 12%));
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: var(--accent-blue);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 5.2rem 0 4rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.32;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.02) brightness(0.48);
}

.halo-bg::before,
.halo-bg::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
  animation: floatGlow 6s ease-in-out infinite;
}

.halo-bg::before {
  background: var(--accent-blue-soft);
  top: -120px;
  left: 3%;
}

.halo-bg::after {
  background: var(--accent-green-soft);
  top: -90px;
  right: 4%;
  animation-delay: 1.2s;
}

@keyframes floatGlow {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .halo-bg::before,
  .halo-bg::after {
    animation: none;
  }
}

.hero-content {
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1 {
  margin: 0.8rem auto 1rem;
  max-width: 980px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.hero-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-card {
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 2%)),
    linear-gradient(145deg, rgb(23 31 43 / 58%), rgb(19 26 36 / 46%));
  padding: 1rem;
  backdrop-filter: blur(14px) saturate(1.25);
  box-shadow:
    0 14px 30px rgb(0 0 0 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 18%);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  will-change: transform;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgb(99 176 227 / 42%);
  box-shadow:
    0 18px 34px rgb(0 0 0 / 24%),
    inset 0 1px 0 rgb(255 255 255 / 22%);
}

.stat-card strong {
  display: block;
  font-size: 1.32rem;
  color: var(--text);
}

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

.section {
  padding: 0.8rem 0 2rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

.align-start {
  align-items: start;
}

.card {
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(150deg, rgb(29 39 51 / 97%), rgb(22 30 40 / 97%));
  box-shadow: 0 24px 40px rgb(0 0 0 / 20%);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgb(93 218 145 / 38%);
  box-shadow: 0 30px 48px rgb(0 0 0 / 24%);
}

.card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.contact-card .info-block + .info-block {
  margin-top: 1.1rem;
}

.with-icon {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.8rem;
}

.inline-icon {
  width: 20px;
  margin-top: 0.15rem;
}

.info-block h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

p {
  margin: 0.4rem 0;
  color: var(--muted);
}

a {
  color: var(--text);
  text-decoration-color: rgb(99 176 227 / 50%);
  text-underline-offset: 0.14em;
}

.map-wrap {
  margin-top: 1rem;
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgb(99 176 227 / 26%);
}

.map-image {
  width: 100%;
  display: block;
  animation: mapPulse 5.2s ease-in-out infinite;
}

@keyframes mapPulse {
  0%,
  100% { filter: brightness(0.95); }
  50% { filter: brightness(1.03); }
}

.form-subtitle {
  margin-top: -0.2rem;
  margin-bottom: 1rem;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--panel-border);
  border-radius: 0.75rem;
  background: #151d27;
  color: var(--text);
  padding: 0.72rem 0.88rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent-blue);
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

textarea {
  resize: vertical;
  min-height: 132px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#submit-btn {
  margin-top: 0.9rem;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: linear-gradient(130deg, var(--accent-blue), #5ca5d5);
  color: #091018;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.78rem 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

#submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#form-status {
  min-height: 1.2rem;
  margin-top: 0.75rem;
  font-size: 0.86rem;
}

#form-status.pending {
  color: var(--accent-blue);
}

#form-status.success {
  color: var(--success);
}

#form-status.error {
  color: var(--error);
}

.site-footer {
  border-top: 1px solid rgb(255 255 255 / 8%);
  margin-top: 1rem;
  padding: 1.4rem 0;
  background: rgb(10 14 20 / 46%);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.aboutText {
  margin-bottom: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

@media (width <= 960px) {
  .two-columns,
  .form-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .header-content {
    min-height: 76px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
