:root {
  --navy-900: #0a1f3d;
  --navy-800: #102a4c;
  --navy-700: #1b3a66;
  --navy-50: #f4f6fb;
  --ink: #16223a;
  --muted: #5a6b85;
  --line: #e4e8f0;
  --bg: #ffffff;
  --yellow: #f5c518;
  --yellow-600: #e0b212;
  --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 31, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 61, 0.14);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1120px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { color: var(--navy-900); letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 12px; color: var(--ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--yellow);
  color: var(--navy-900);
  box-shadow: 0 6px 14px rgba(245, 197, 24, 0.35);
}
.btn-primary:hover { background: var(--yellow-600); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-weight: 700;
}
.logo-text { font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-dot { color: var(--yellow); }

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a {
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--navy-900); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  gap: 4px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--muted);
  font: inherit;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.lang-btn:hover { color: var(--navy-900); }
.lang-btn.is-active { color: var(--navy-900); }
.lang-sep { color: var(--line); }

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  padding: 96px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(245, 197, 24, 0.18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
  opacity: 0.7;
}

.hero-inner { max-width: 820px; }
.hero h1 { color: #fff; }
.hero .accent {
  color: var(--yellow);
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(245, 197, 24, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin-top: 12px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.78);
}
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-item strong {
  color: var(--yellow);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.meta-item span { font-size: 0.875rem; }
.meta-divider {
  width: 1px; height: 36px;
  background: rgba(255, 255, 255, 0.18);
}

/* ===== Sections ===== */
.section {
  padding: 96px 0;
}
.section-alt { background: var(--navy-50); }

.section-head .kicker,
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 12px;
}
.section-head.center { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
}
.about-body p { color: var(--muted); font-size: 1.02rem; }
.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}
.value-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 31, 61, 0.12);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 { color: var(--navy-900); }
.service-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }
.service-cta { margin-top: 18px; }
.service-cta:empty { display: none; }

.services-note {
  text-align: center;
  margin-top: 36px;
  color: var(--muted);
}
.services-note a {
  color: var(--navy-900);
  font-weight: 600;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contact-info p { color: var(--muted); font-size: 1.02rem; max-width: 460px; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 0.95rem;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.contact-list a { color: var(--navy-900); font-weight: 600; }
.contact-list a:hover { color: var(--yellow-600); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(27, 58, 102, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-status.is-success { color: #1a7f4b; }
.form-status.is-error { color: #b3261e; }

.form-fineprint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
}
.site-footer .logo-text { color: #fff; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand p { color: rgba(255, 255, 255, 0.6); margin: 6px 0 0; font-size: 0.9rem; }
.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
}
.footer-meta a { color: var(--yellow); }
.footer-meta a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .hero { padding: 72px 0 88px; }
  .hero-meta { gap: 18px; }
  .meta-divider { display: none; }
  .section { padding: 72px 0; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .header-actions .btn { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
