:root {
  --navy: #0B2447;
  --navy-deep: #061635;
  --navy-soft: #122B5C;
  --red: #E92938;
  --red-deep: #E92938;
  --ink: #0A0A0A;
  --ink-muted: #4A5160;
  --ink-soft: #6B7280;
  --line: #E5E7EB;
  --line-soft: #F0F1F4;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F4;
  --shadow-sm: 0 1px 2px rgba(11, 36, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 36, 71, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius: 4px;
  --header-h: 72px;
  --maxw: 1180px;
  --maxw-narrow: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

::selection { background: var(--navy); color: white; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--navy);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius);
  z-index: 1000;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: white; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow { max-width: var(--maxw-narrow); }

/* ─────────── HEADER ─────────── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand .logo {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.primary-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.primary-nav a {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.primary-nav a:hover { color: var(--navy); }
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }

.lang-switch {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-switch button:last-child { border-right: 0; }
.lang-switch button:hover { background: var(--line-soft); color: var(--ink); }
.lang-switch button[aria-current="true"] {
  background: var(--navy);
  color: white;
}

/* ─────────── HERO ─────────── */
.hero {
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 50%, var(--red) 50%, var(--red) 100%);
  opacity: 0.9;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 24px;
  padding: 6px 12px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: rgba(11, 36, 71, 0.03);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.hero h1 span {
  display: block;
}
.hero h1 span:first-child {
  color: var(--red-deep);
  font-size: 1.35em;
  line-height: 1.02;
  margin-bottom: 14px;
}
.hero h1 span + span { color: var(--navy); }
.hero .lead {
  font-size: clamp(18px, 1.45vw, 21px);
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  color: white;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-sm);
}
.cta:hover {
  background: var(--red);
  color: white;
  box-shadow: var(--shadow-md);
}
.cta::after {
  content: '→';
  font-weight: 400;
  transition: transform 0.18s;
}
.cta:hover::after { transform: translateX(3px); }

/* ─────────── SECTIONS ─────────── */
.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.022em;
  margin: 0 0 16px;
  line-height: 1.15;
  color: var(--ink);
}
.section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-top: 18px;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-muted);
  margin: 0 0 40px;
  line-height: 1.6;
}
.section p {
  font-size: 17.5px;
  margin: 0 0 22px;
  color: var(--ink);
  line-height: 1.7;
}

/* ─────────── CARDS ─────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:nth-child(2),
.card:nth-child(4) { border-top-color: var(--red); }
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.card p {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.6;
  max-width: none;
}

/* ─────────── METHOD LIST ─────────── */
.method-list {
  list-style: none;
  padding: 0;
  margin: 56px auto 0;
  max-width: 1000px;
}
.method-list li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}
.method-list li:last-child { border-bottom: none; }
.method-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.method-list p {
  font-size: 16.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.65;
  max-width: none;
}

/* ─────────── CONTACT ─────────── */
.section-contact .email {
  display: inline-block;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--navy);
  font-weight: 600;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 4px;
  margin-top: 28px;
  letter-spacing: -0.01em;
  transition: color 0.15s, border-color 0.15s;
}
.section-contact .email:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}
.contact-note {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 28px;
  max-width: 56ch;
}

/* ─────────── FOOTER ─────────── */
.site-footer {
  padding: 36px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.footer-left {
  display: flex;
  align-items: baseline;
}
.footer-names {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  letter-spacing: 0.01em;
}
.footer-names strong {
  color: white;
  font-weight: 700;
}
.footer-right {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 980px) {
  .primary-nav { gap: 24px; }
  .method-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
  }
  .hero-logo { max-width: 300px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }

  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 12px;
  }
  .brand .logo { height: 34px; }
  .brand-name { font-size: 17px; }
  .primary-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .primary-nav a { font-size: 13.5px; }
  .lang-switch button { padding: 6px 9px; font-size: 11.5px; }

  .hero { padding: 32px 0 64px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual { order: -1; }
  .hero-logo { max-width: 360px; width: 80%; }
  .hero h1 span { white-space: normal; }
  .section { padding: 72px 0; }
  .cards { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .cta { width: 100%; justify-content: center; padding: 15px 22px; }
  .brand-name { display: none; }
}

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