:root, [data-theme="dark"] {
  --orange: #ee7d00; --orange-dark: #e97838; --orange-light: #FF7A2F;
  --surface-base: #1b1b1b;
  --bg: #111213; --bg-2: #151617; --surface: var(--card-bg); --surface-2: #1c1c1c;
  --surface-3: #2d3033;
  --border: #35383c; --border-subtle: #25282b; --border-strong: #4d5358;
  --text: #f2f3f4; --text-2: #b4b8bc; --text-dim: #767d84;
  --success: #22C55E; --warning: #F59E0B; --danger: #EF4444; --info: #3B82F6;
  --nav-bg: transparent;
  --nav-bg-scrolled: var(--bg);
  --grid-line: rgba(53,56,60,0.18);
  --apron-line: rgba(180,184,188,0.18);
  --apron-taxi: rgba(240,90,0,0.08);
  --gate-dot: #b4b8bc;
  --shadow-frame: 0 30px 80px rgba(0,0,0,0.6);
  --shadow-focus: 0 0 0 4px rgba(240,90,0,0.15);
  --mock-dep: rgba(70,74,78,0.22);
  --mock-arr: rgba(104,98,84,0.16);
  --card-bg: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)), var(--surface-base);
}

[data-theme="light"] {
  --orange: #E04E00; --orange-dark: #B03E00; --orange-light: #F57128;
  --surface-base: #ffffff;
  --bg: #f4f5f6; --bg-2: #fcfcfc; --surface: #ffffff; --surface-2: #eceff1;
  --surface-3: #e0e4e7;
  --border: #d4d9dd; --border-subtle: #e6eaed; --border-strong: #afb7be;
  --text: #15181b; --text-2: #616970; --text-dim: #949ca3;
  --success: #16A34A; --warning: #D97706; --danger: #DC2626; --info: #2563EB;
  --nav-bg: rgba(255,255,255,0.75);
  --nav-bg-scrolled: rgba(255,255,255,0.95);
  --grid-line: rgba(97,105,112,0.08);
  --apron-line: rgba(97,105,112,0.2);
  --apron-taxi: rgba(224,78,0,0.05);
  --gate-dot: #949ca3;
  --shadow-frame: 0 30px 80px rgba(15,18,24,0.15);
  --shadow-focus: 0 0 0 4px rgba(224,78,0,0.2);
  --mock-dep: rgba(122,128,134,0.08);
  --mock-arr: rgba(217,119,6,0.08);
  --card-bg: var(--surface-base);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 300ms, color 300ms;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', monospace; }
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  text-align: left;
}

h1 .grad {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(24px, 0.8vw, 32px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 1rem 0;
}

h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

section { padding: 120px 0; position: relative; }
.container { max-width: 1320px; margin: 0 auto; }

.section-sub,
.card-sub {
  color: var(--text-2);
}

.section-sub {
  font-size: 20px;
  max-width: 700px;
  line-height: 1.6;
}

.card-sub {
  font-size: 17px;
  line-height: 1.72;
  width: 100%;
  margin: 0;
  max-width: none;
}

.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.center { text-align: center; }

.card {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)), var(--surface);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn.big {
  font-size: 18px;
  padding: 16px 24px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 0 24px rgba(240,90,0,0.45);
  transform: translateY(-1px);
}

.btn-frosted {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-frosted::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.btn-frosted > * {
  position: relative;
  z-index: 1;
}

.btn-frosted:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.12);
}

.theme-toggle,
.lang-toggle {
  height: 36px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: all 150ms;
}

.theme-toggle:hover,
.lang-toggle:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.theme-toggle {
  width: 36px;
  display: flex;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* ───── CONTACT CARD ───── */
.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  padding: 10px 10px 10px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  transition: border-color 200ms, box-shadow 200ms;
}
.contact-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-focus);
}
.contact-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  user-select: all;
}
.contact-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms, transform 100ms;
}
.contact-copy:hover { background: var(--orange-light); }
.contact-copy:active { transform: scale(0.97); }
.contact-copy.copied { background: var(--success); }
.contact-copied-toast {
  display: block;
  height: 18px;
  margin-top: 14px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--success);
  opacity: 0;
  transition: opacity 200ms;
}
.contact-copied-toast.show { opacity: 1; }

@media (max-width: 540px) {
  .contact-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 12px;
    text-align: center;
  }
  .contact-email { font-size: 15px; }
}
@media (max-width: 480px) {
  .contact-card { width: 100%; }
  .contact-email {
    font-size: 14px;
    overflow-wrap: anywhere;
  }
}

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.lang-toggle {
  padding: 0 10px;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-toggle .lang-current { color: var(--text); }
.lang-toggle svg { width: 12px; height: 12px; }
.lang-toggle .lang-flag { font-size: 14px; line-height: 1; display: inline-flex; align-items: center; }
.lang-toggle .lang-flag img { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; display: block; }
.lang-toggle .lang-caret { transition: transform 150ms; }
.lang-wrap.open .lang-toggle .lang-caret { transform: rotate(180deg); }

@media (max-width: 480px) {
  h2 { font-size: 24px; }
  h4 { font-size: 18px; }

  .section-sub,
  .card-sub {
    font-size: 15px;
    line-height: 1.6;
  }

  .card {
    border-radius: 20px;
  }
}
