:root {
  --header-bg: #0B0B0B;
  --page: #FFFFFF;
  --text: #111111;
  --muted: #5b5b5b;
  --red: #E10600;
  --red-hover: #c10500;
  --white: #FFFFFF;
  --card: #FFFFFF;
  --card-border: #E6E6E6;
  --card-shadow: 0 10px 30px rgba(11, 11, 11, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Outfit", Arial, sans-serif;
  --radius: 10px;
  --header: 84px;
  --shell: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.preview-bar {
  background: #111111;
  color: #f3f3f3;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 16px;
  line-height: 1.45;
  border-bottom: 2px solid var(--red);
}
.preview-bar span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 8px;
  background: var(--red);
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 4px;
}
.preview-bar a {
  color: var(--white);
  text-decoration: underline;
}

.topbar {
  background: #050608;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #9aa3b2;
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar p { margin: 0; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  background: #0B0B0B;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.site-header .nav-wrap {
  width: min(1280px, calc(100% - 40px));
  height: var(--header);
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 220px;
}
.brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  object-position: center;
}
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  color: #9aa3b2;
}
.brand strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 18px;
  margin-left: auto;
}
.main-nav a {
  position: relative;
  color: #c5ccd6;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 0;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); opacity: 1; }
.main-nav .nav-link { opacity: 0.92; }
.main-nav .nav-link:hover,
.main-nav .nav-link.active { opacity: 1; }
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.2s ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { right: 0; }
.main-nav .header-phone {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: var(--red-hover); }
.button-ghost {
  border-color: var(--card-border);
  color: var(--text);
  background: var(--white);
}
.main-nav .nav-cta {
  flex: 0 0 auto;
  gap: 8px;
  min-height: 44px;
  margin-left: 4px;
  padding: 10px 18px;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.main-nav .nav-cta:hover { color: var(--white); }
.main-nav .nav-cta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; font-family: var(--sans); font-weight: 600; }

.lede { max-width: 62ch; color: var(--muted); margin: 14px 0 0; }
.muted { color: var(--muted); }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
}

.site-footer {
  background: #0b0b0b;
  color: rgba(255, 255, 255, 0.72);
  padding: 14px 0;
  font-size: 0.8rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer-legal p { margin: 0; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 1180px) {
  body.nav-open { overflow: hidden; }
  .menu-toggle { display: block; }
  .site-header .nav-wrap { min-height: 60px; height: auto; gap: 12px; }
  .brand { min-width: 0; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 20px 20px;
    background: #0B0B0B;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.4);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 0.95rem; }
  .main-nav .nav-link::after { display: none; }
  .main-nav .header-phone { margin-left: 0; }
  .main-nav .nav-cta {
    margin: 10px 0 0;
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .topbar-inner { justify-content: center; }
  .topbar p,
  .topbar-links span { display: none; }
  .brand span { display: none; }
}
