:root {
  --bg: #0b1220;
  --card: #121a2c;
  --muted: #8aa0c7;
  --text: #eaf0ff;
  --primary: #0ea5e9;
  --primary-700: #1e3a8a;
  --ok: #10b981;
  --error: #ef4444;
  --focus: #22d3ee;
  --shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
  --radius: 14px;
  --ring: 0 0 0 3px rgba(34, 211, 238, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(14,165,233,0.15), transparent),
              radial-gradient(800px 400px at 100% 0%, rgba(30,58,138,0.25), transparent),
              var(--bg);
}

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

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
}
.skip-link:focus {
  left: 12px; top: 12px; z-index: 9999;
  background: var(--primary); color: #001428;
  padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow);
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(12px);
  background: linear-gradient(to bottom, rgba(11,18,32,0.85), rgba(11,18,32,0.65));
  border-bottom: 1px solid rgba(138,160,199,0.15);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex; align-items: center; gap: 12px;
}
.logo {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: linear-gradient(135deg, rgba(30,58,138,0.6), rgba(14,165,233,0.3));
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.logo:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(14,165,233,0.25); }
.brand-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
}

.lang-select { position: relative; }
.lang-button {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, #0f172a, #0b1220);
  border: 1px solid rgba(138,160,199,0.2);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.lang-button:focus { outline: none; box-shadow: var(--ring); }

.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px);
  list-style: none; margin: 0; padding: 8px;
  background: var(--card);
  border: 1px solid rgba(138,160,199,0.2);
  border-radius: 14px;
  width: 280px; max-height: 360px; overflow: auto;
  display: none;
}
.lang-list[aria-expanded="true"], .lang-list.open { display: block; }
.lang-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px; border-radius: 10px; cursor: pointer;
}
.lang-list li:hover, .lang-list li:focus { background: rgba(14,165,233,0.1); outline: none; }
.flag { width: 20px; display: inline-block; }

.hero {
  padding: 48px 0 16px;
  background: linear-gradient(180deg, rgba(14,165,233,0.08), transparent);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-title {
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem);
  margin: 0 0 10px;
}
.hero-desc { color: var(--muted); margin: 0 0 22px; max-width: 60ch; }

.contact-form {
  background: linear-gradient(180deg, #0f172a, #0b1220);
  border: 1px solid rgba(138,160,199,0.2);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.contact-form:hover { transform: translateY(-2px); box-shadow: 0 16px 45px rgba(14,165,233,0.22); }

.contact-form h2 { margin-top: 0; font-size: 1.2rem; letter-spacing: 0.3px; }

.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; }
input, textarea {
  width: 100%; padding: 12px 12px;
  background: #0c1526; color: var(--text);
  border: 1px solid rgba(138,160,199,0.25);
  border-radius: 10px;
}
input::placeholder, textarea::placeholder { color: #9fb2d6; }
input:focus, textarea:focus {
  outline: none; box-shadow: var(--ring); border-color: var(--focus);
}

.error {
  color: var(--error);
  font-size: 0.9rem; min-height: 20px; margin: 6px 0 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: #001428; font-weight: 700;
  border: none; border-radius: 12px;
  padding: 12px 18px; cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14,165,233,0.35); }
.btn:focus { outline: none; box-shadow: var(--ring); }

.form-feedback { margin-top: 12px; min-height: 24px; color: var(--ok); }

.content { padding: 14px 0 48px; }
.content-inner h2 { margin: 0 0 8px; }
.content-inner p { color: var(--muted); margin: 0 0 10px; max-width: 72ch; }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .logo, .btn, .contact-form { transition: none; }
  html { scroll-behavior: auto; }
}
