:root {
  --ink: #16181d;
  --ink-2: #4a4f5a;
  --bg: #fff;
  --bg-alt: #f5f3ee;
  --line: #e4e0d6;
  --accent: #e3a33b;
  --accent-dark: #b97a12;
  --radius: 14px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--bg); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.01em; max-width: 22ch; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.eyebrow { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); margin-bottom: 12px; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 60ch; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--ink); font: 600 17px var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: #f0b552; border-color: #f0b552; }
.btn--sm { padding: 9px 18px; font-size: 15px; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: var(--ink); color: #fff; }
.header__row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.15; }
.nav { margin-left: auto; display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: 15px; color: #d5d7dc; }
.nav a:hover { color: #fff; }
.burger { display: none; }
.header__tel { text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 72px 0 88px;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: #c9ccd3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.banner { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); margin-top: 32px; background: var(--line); }
.hero--photo { position: relative; padding: 0; overflow: hidden; background-image: none; }
.hero__bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 38%, rgba(22,24,29,.6) 50%, rgba(22,24,29,0) 66%); }
.hero--photo .wrap { position: relative; z-index: 2; min-height: 660px; display: flex; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero__content { max-width: 600px; }
.hl { color: var(--accent); }
.btn--lg { padding: 17px 32px; font-size: 18px; }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: #d5d7dc; }
.badges li { padding-left: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='%23e3a33b' stroke-width='2.2'/%3E%3C/svg%3E") left center/16px no-repeat; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section--dark .lead { color: #c9ccd3; }

.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.card p, .tile p { color: var(--ink-2); margin: 0; }
.card__n { display: block; font-weight: 800; font-size: 14px; color: var(--accent-dark); margin-bottom: 16px; }
.tile { padding: 28px; background: #fff; border-radius: var(--radius); border-top: 4px solid var(--accent); overflow: hidden; }
.tile img { width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; margin: -28px -28px 20px; background: var(--line); }
.tile--accent { background: var(--ink); color: #fff; }
.tile--accent p { color: #c9ccd3; margin-bottom: 14px; }
.tile--accent a { color: var(--accent); font-weight: 600; text-decoration: none; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--accent); font-weight: 800; }
.steps p { color: var(--ink-2); font-size: 16px; margin: 0; }

.compare { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.compare__row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; }
.compare__row > span { padding: 16px 20px; border-top: 1px solid var(--line); }
.compare__row > span:first-child { font-weight: 600; }
.compare__row > span:nth-child(2) { color: var(--ink-2); }
.compare__row > span:last-child { background: #fbf3e4; font-weight: 600; }
.compare__head > span { border-top: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.compare__head > span:last-child { background: var(--accent); }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--accent-dark); }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--ink-2); }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contacts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.contacts a { font-size: 20px; font-weight: 600; text-decoration: none; }
.contacts a:hover { color: var(--accent); }
.contacts small { color: #8d929c; margin-left: 6px; }
.form { background: #fff; color: var(--ink); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea {
  font: 400 16px var(--font); padding: 12px 14px; border: 1px solid #cfcabd; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: 13px; color: var(--ink-2); margin: 0; }
.hp { display: none; }

/* Inner pages */
.nav a[aria-current] { color: var(--accent); }
.hero--page { padding: 56px 0 64px; }
.hero--page h1 { max-width: 24ch; }
.btn--line { background: transparent; border-color: var(--ink); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.more { display: inline-block; margin-top: 28px; font-weight: 600; color: var(--accent-dark); text-decoration: none; }
.more:hover { text-decoration: underline; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' fill='none' stroke='%23b97a12' stroke-width='2.2'/%3E%3C/svg%3E") left 5px/18px no-repeat; }
.row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row h2 { font-size: clamp(22px, 2.6vw, 30px); }
.row p { color: var(--ink-2); }
.row .checklist { align-self: center; }
.vac { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.vac:first-child { border-top: 0; padding-top: 0; }
.vac img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: center 30%; border-radius: var(--radius); background: var(--line); }
.vac h2 { font-size: clamp(22px, 2.6vw, 30px); }
.section--alt .checklist { margin-top: 24px; grid-template-columns: repeat(2, 1fr); }
.req { display: grid; grid-template-columns: 220px 1fr; margin: 32px 0 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.req dt, .req dd { margin: 0; padding: 16px 20px; border-top: 1px solid var(--line); }
.req dt { font-weight: 600; }
.req dt:first-of-type, .req dt:first-of-type + dd { border-top: 0; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2, .cta p { margin-bottom: 8px; }

.footer { background: #0f1115; color: #9a9fa9; font-size: 14px; padding: 32px 0; }
.footer__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* Mobile */
@media (max-width: 960px) {
  .form-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(22,24,29,0) 0%, rgba(22,24,29,0) 22%, var(--ink) 46%, var(--ink) 100%); }
  .hero__bg { width: 100%; height: 520px; object-position: 50% 15%; }
  .hero--photo .wrap { min-height: 0; padding-top: 340px; padding-bottom: 56px; }
  .banner { aspect-ratio: 16 / 10; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
  .steps li::before { grid-row: span 2; margin: 0; }
  .header__tel { display: none; }
  .burger { display: block; order: 3; cursor: pointer; width: 40px; height: 40px; position: relative; background: none; border: 0; padding: 0; }
  .burger span, .burger span::before, .burger span::after {
    position: absolute; left: 9px; width: 22px; height: 2px; background: #fff; content: ""; }
  .burger span { top: 19px; }
  .burger span::before { top: -7px; left: 0; }
  .burger span::after { top: 7px; left: 0; }
  .header .btn--sm { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--ink); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid #2e323b; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .grid--3, .grid--2, .form__row, .row, .vac, .section--alt .checklist { grid-template-columns: 1fr; }
  .row, .vac { gap: 20px; }
  .req { grid-template-columns: 1fr; }
  .req dd { border-top: 0; padding-top: 0; }
  .header__row { gap: 12px; }
  .logo span { display: none; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; border-top: 1px solid var(--line); }
  .compare__row > span:not(:first-child) { border-top: 0; padding-top: 4px; }
  .compare__head > span:first-child { display: none; }
  .form { padding: 24px 20px; }
}
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--accent-dark); }
.form__note a { color: inherit; }
.crumbs { font-size: 14px; color: #9a9fa9; margin-bottom: 20px; }
.crumbs a { color: #c9ccd3; }
.wrap.vac { padding-top: 0; padding-bottom: 0; border-top: 0; }
.vac h2 a { color: inherit; text-decoration: none; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a:hover, .vac h2 a:hover { color: var(--accent-dark); }
.card .checklist { margin-top: 12px; }
.card a { color: var(--accent-dark); }
.note { margin-top: 24px; font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; background: #fff; }
.chip:hover { border-color: var(--accent); }
.map { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); margin-top: 28px; background: var(--line); }
.footer__nav { display: grid; gap: 6px; align-content: start; }
.footer a { color: #c9ccd3; }
.footer__nav a { text-decoration: none; }
