:root {
  --navy: #0f1b2d;
  --navy-2: #1b2b44;
  --orange: #f26b1d;
  --text: #1c2430;
  --muted: #4a5566;
  --gray: #f2f4f7;
  --line: #dde2e9;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

header { position: sticky; top: 0; background: var(--navy); color: #fff; }
header .wrap { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.logo { font-weight: 800; letter-spacing: .06em; text-decoration: none; margin-right: auto; }
.lang { text-decoration: none; color: #d6deea; font-weight: 700; padding: 10px 4px; }
.lang:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border-radius: 6px;
  background: var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap;
}
header .btn { padding: 10px 12px; font-size: .95rem; }
.btn:hover { background: #ff8a45; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; margin: 0; padding: 8px 0; list-style: none; background: #fff; color: var(--text); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.menu li a { display: block; padding: 12px 16px; font-weight: 600; text-decoration: none; }
.menu li a:hover { background: var(--gray); }

.hero { background: var(--navy); color: #fff; padding: 56px 0; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); max-width: 20ch; }
.hero p { font-size: 1.2rem; color: #d6deea; max-width: 40ch; }
.hero strong { color: #fff; }

section { padding: 56px 0; scroll-margin-top: 64px; }
section:nth-of-type(odd) { background: var(--gray); }
h2 { font-size: 1.75rem; }

.parts { grid-template-columns: 1fr 1fr; }
.grid { display: grid; gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 6px; padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.parts li { min-height: 150px; display: flex; align-items: flex-end; padding: 16px; border-radius: 6px; color: #fff; font-weight: 700; font-size: 1.15rem; background: var(--navy) center/cover; background-image: linear-gradient(rgba(15,27,45,.25), rgba(15,27,45,.75)), var(--img, none); }
.note { margin-top: 24px; padding: 16px 20px; border-left: 4px solid var(--orange); background: #fff; font-size: 1.1rem; }

.steps { counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; }
.steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 800;
}

.contact { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 12px; }
.contact span { display: inline-block; min-width: 110px; color: var(--muted); }
.contact a { font-weight: 600; overflow-wrap: anywhere; }

footer { background: var(--navy); color: #d6deea; padding: 24px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer strong { color: #fff; letter-spacing: .08em; }

@media (max-width: 359px) {
  header .btn { white-space: normal; text-align: center; padding: 6px 10px; }
}

@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .parts { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
