:root {
  --navy: #0b1f3a;
  --navy-deep: #07152a;
  --ink: #142033;
  --muted: #5b6778;
  --line: #d8deea;
  --paper: #f7f5f0;
  --white: #ffffff;
  --gold: #b8893a;
  --gold-soft: #f3e6cc;
  --focus: #1d4e89;
  --danger: #9b2c2c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header .wrap,
.site-footer .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: #f4e6c4;
  display: grid;
  place-items: center;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: 18px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--navy-deep); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.hero {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(184, 137, 58, 0.16), transparent 55%),
    linear-gradient(180deg, #0b1f3a 0%, #12305a 100%);
  color: #f4f6fb;
  padding: 72px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4c58a;
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2, .serif { font-family: Fraunces, Georgia, serif; }

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 620;
  max-width: 14ch;
  margin-bottom: 18px;
}

.lede {
  font-size: 18px;
  max-width: 52ch;
  color: #d5dceb;
  margin-bottom: 28px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: #c9d3e4;
}

.trust a { color: #f0d7a0; }

.card {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.card h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.card p.hint {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 12px 0 6px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 46px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-error {
  color: var(--danger);
  font-size: 14px;
  min-height: 1.2em;
  margin: 8px 0;
}

.section { padding: 72px 0; }
.section.alt { background: var(--paper); }

h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; margin-bottom: 12px; }

.agent {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.meta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.meta dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 12px;
}

.meta dt:first-child { margin-top: 0; }
.meta dd { font-weight: 600; }

.register {
  display: inline-block;
  margin-top: 16px;
  color: var(--focus);
  font-weight: 650;
}

.disclaimer {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer {
  background: var(--navy-deep);
  color: #d5dceb;
  padding: 36px 0 28px;
  font-size: 14px;
}

.site-footer a { color: #f0d7a0; }
.site-footer .legal { color: #9eabc0; margin-top: 16px; max-width: 72ch; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

.legal-page { padding: 56px 0 80px; }
.legal-page h1 { max-width: none; font-size: 42px; margin-bottom: 10px; }
.legal-page h2 { font-size: 24px; margin: 28px 0 8px; }
.legal-page p, .legal-page li { margin-bottom: 12px; max-width: 70ch; }
.legal-page ul { padding-left: 20px; }

.success-box {
  max-width: 640px;
  margin: 64px auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.nav-drop { position: relative; }
.nav-drop > a { padding: 8px 0; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 17rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.12);
  z-index: 40;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--navy);
}
.nav-drop-menu a:hover { background: var(--paper); }

.lang-switcher { position: relative; }
.lang-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
}
.lang-switcher-toggle:hover,
.lang-switcher.is-open .lang-switcher-toggle {
  border-color: var(--navy);
  color: var(--navy);
}
.lang-switcher-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 80;
  min-width: 13.75rem;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
}
.lang-switcher-menu a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.75rem;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.lang-switcher-menu a:hover { background: #f8f9fb; }
.lang-switcher-menu a.is-active {
  background: #eef3ff;
  color: var(--focus);
  font-weight: 650;
}
.lang-switcher-code {
  font-size: 11px;
  color: #8a90a6;
  text-align: right;
}

.prose { max-width: 72ch; }
.prose p, .prose li { margin-bottom: 14px; }
.prose h2 { font-size: 26px; margin: 28px 0 10px; }
.prose ul { padding-left: 20px; }
.lede-ink { font-size: 18px; color: var(--muted); margin-bottom: 22px; }

.visa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.visa-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}
.visa-card:hover { border-color: var(--navy); }
.visa-card h3 { font-family: Fraunces, Georgia, serif; font-size: 20px; margin-bottom: 8px; }
.visa-card p { font-size: 14px; color: var(--muted); }

.seo-block { max-width: 74ch; }
.seo-block p { margin-bottom: 14px; }
.seo-block a { color: var(--focus); font-weight: 650; }

.page-hero { padding: 48px 0 20px; }
.cta-band {
  margin: 36px 0 8px;
  padding: 22px;
  background: var(--paper);
  border-radius: 14px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 20px;
}
.foot-cols h3 { color: #f0d7a0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.foot-cols a { display: block; margin: 6px 0; }

@media (max-width: 860px) {
  .hero-grid, .agent, .form-row, .visa-grid, .foot-cols { grid-template-columns: 1fr; }
  nav .hide-sm { display: none; }
  .hero { padding: 48px 0 56px; }
  h1 { max-width: none; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; padding: 0; }
}
