﻿:root {
  --bg: #0f172a;
  --card: #ffffff;
  --navy: #0b1f3b;
  --navy-soft: #1d3d6d;
  --line: #dbe5f0;
  --text: #0b1f3b;
  --muted: #526174;
  --shadow: 0 18px 50px rgba(0,0,0,0.08);
  --radius: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
.top-nav {
  background: #ffffff;
  color: #020617;
  --nav-pad-y: 12px;
  --nav-pad-x: 24px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-bottom: 1px solid #dbe5f0;
}
 .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--nav-pad-y) var(--nav-pad-x);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  position: relative;
}
.brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand {
  padding: 6px 10px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.brand img { position: relative; z-index: 1; }
.brand::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--nav-pad-y));
  bottom: calc(-1 * var(--nav-pad-y));
  right: 100%;
  left: calc(-1 * var(--nav-pad-x) - 100vw);
  background: #ffffff;
  z-index: 0;
}
.brand::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--nav-pad-y));
  bottom: calc(-1 * var(--nav-pad-y));
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 0;
}
  .nav-links {
  display: flex;
  gap: 4px;
  margin-left: 0;
  justify-content: space-evenly;
  flex-wrap: nowrap;
  grid-column: 2;
  width: 100%;
}
 .nav-links a {
  color: #020617;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
  font-weight: 600;
  white-space: nowrap;
  font-size: 15px;
  transition: background 0.15s ease;
  flex: 1 1 0;
  text-align: center;
 }
.nav-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #dbe5f0;
}
.nav-links a:hover { background: rgba(2,6,23,0.06); }
.nav-domain { font-weight: 700; color: #020617; margin-left: 0; width: 72px; text-align: right; }
 .phone {
  margin-left: 0;
  padding: 10px 10px;
  border-radius: 10px;
  background: #0b1f3b;
  border: 1px solid transparent;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.4px;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  justify-self: start;
}
.phone:hover { background: #08172d; color: #c7d5ee; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: #0b1f3b;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px 34px;
  width: 100%;
  flex: 1 0 auto;
}
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 10px;
}
.hero-copy,
.hero-visual,
.article-main,
.article-aside {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-copy {
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--tag-bg, #dff4ea);
}
.hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: var(--navy);
}
.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 34rem;
}
.hero-visual {
  min-height: 360px;
  background: #1d3d6d;
  padding: 14px;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}
.article-main {
  padding: 34px 42px;
}
.article-main h2 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.article-main p {
  margin: 0 0 28px;
  font-size: 18px;
  color: #1d3555;
}
.article-aside {
  padding: 26px 30px;
  position: sticky;
  top: 112px;
}
.article-aside h3 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.06;
  color: var(--navy);
}
.article-aside ul {
  margin: 0;
  padding-left: 28px;
  color: var(--muted);
}
.article-aside li {
  margin-bottom: 18px;
  font-size: 18px;
}
.article-aside li:last-child { margin-bottom: 0; }
.article-cta {
  margin-top: 18px;
  border-radius: 34px;
  padding: 38px 36px;
  background: #1a3763;
  color: #ffffff;
}
.article-cta h3 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.article-cta p {
  margin: 0 0 26px;
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  max-width: 46rem;
}
.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 24px;
  border-radius: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
}
.btn-primary {
  background: #ffffff;
  color: var(--navy);
}
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
}
footer {
  text-align: center;
  color: #E5E7EB;
  font-size: 14px;
  margin-top: 32px;
  padding: 18px;
  background: #020617;
  width: 100%;
}
.footer-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.footer-meta a {
  color: #E5E7EB;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@keyframes navSheetIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
body.nav-open { overflow: hidden; }
.top-nav.open .nav-toggle {
  background: #0b1f3b;
  border-color: #fff;
  box-shadow: 0 10px 24px rgba(11,31,59,.18);
}
.top-nav.open .nav-toggle span { background: #fff; }
.top-nav.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.top-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.top-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 980px) {
  .top-nav {
    position: sticky;
    top: 0;
    margin-bottom: 0;
    overflow: visible;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
  }
  .top-nav::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 94px;
    background: #ffffff;
    z-index: 0;
  }
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 14px;
    padding: 14px 16px 16px;
    z-index: 1;
  }
  .nav-links {
    display: none;
    position: absolute;
    width: min(calc(100vw - 24px), 380px);
    left: auto;
    right: 12px;
    top: calc(100% + 10px);
    margin-left: 0;
    padding: 10px;
    background: rgba(11,31,59,.98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(11,31,59,.22);
    flex-direction: column;
    gap: 6px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    z-index: 20;
  }
  .nav-links a {
    padding: 14px 16px;
    border-radius: 14px;
    line-height: 1.3;
    color: #fff;
  }
  .nav-links a + a::before { content: none; }
  .nav-links a + a { border-top: none; }
  .top-nav.open .nav-links {
    display: flex;
    animation: navSheetIn .18s ease-out;
  }
  .nav-domain { display: none; }
  .phone {
    order: 3;
    position: static;
    transform: none;
    width: 100%;
    margin: 2px 0 0;
    text-align: center;
    padding: 14px 16px;
    border-radius: 999px;
    z-index: 1;
  }
  .nav-toggle {
    display: block;
    border: 1.5px solid currentColor;
    border-radius: 18px;
    padding: 10px 12px;
    margin-left: auto;
    z-index: 1;
  }
  .article-hero,
  .article-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 320px;
  }
  .article-aside {
    position: static;
    top: auto;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 12px 14px 24px;
  }
  .article-hero {
    display: flex;
    flex-direction: column;
  }
  .nav-inner {
    padding: 12px 14px 14px;
    row-gap: 10px;
  }
  .brand img { height: 36px; }
  .nav-toggle {
    padding: 10px;
    border-radius: 16px;
  }
  .nav-links {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    top: calc(100% + 8px);
  }
  .phone {
    width: 100%;
    max-width: none;
    margin-top: 2px;
    padding: 13px 16px;
    font-size: 15px;
  }
  .hero-copy,
  .article-main,
  .article-aside {
    padding: 26px 22px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }
  .hero-visual {
    min-height: 0;
    padding: 4px 4px 0;
  }
  .hero-visual img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    object-position: center top;
  }
  .article-main h2 {
    font-size: 34px;
  }
  .article-cta {
    padding: 28px 22px;
    border-radius: 26px;
  }
  .article-cta h3 {
    font-size: 30px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
}






