/* Centrum Rentals — утилитарный промышленный стиль. Сначала телефон (360–430 px), затем шире.
   Цвета: графит #14171A, светлый фон #F4F5F3, акцент #F26A1B (на нём только тёмный текст). */

@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../fonts/inter/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('../fonts/inter/Inter-Bold.woff2') format('woff2'); }

:root {
  --graphite: #14171A;
  --graphite-2: #22272C;
  --bg: #F4F5F3;
  --white: #FFFFFF;
  --accent: #F26A1B;
  --accent-dark: #d85a12;
  --text: #14171A;
  --muted: #4A5159;        /* на #F4F5F3 — контраст 7:1 */
  --muted-dark: #B9BFC6;   /* на графите — контраст 9:1 */
  --line: #D9DCD8;
  --line-dark: #343A40;
  --error: #B3261E;
  --ok: #1E7A46;
  --radius: 6px;
  --wrap: 1120px;
  --gutter: 16px;
  --head: 'Manrope', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.5; color: var(--text); background: var(--bg); padding-bottom: 76px; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(30px, 7.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 5.4vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--graphite); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 32px; } body { padding-bottom: 0; } }

/* --- Кнопки (не ниже 44 px) --- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.btn--accent { background: var(--accent); color: var(--graphite); border-color: var(--accent); }
.btn--light { background: var(--white); color: var(--graphite); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
  .btn--light:hover { background: var(--bg); border-color: var(--bg); }
  .btn--outline:hover { background: var(--graphite); color: var(--white); }
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --- Шапка --- */
.top { position: sticky; top: 0; z-index: 10; background: var(--graphite); color: var(--white); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 18px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.brand b { font-weight: 800; color: var(--accent); }
.brand__mark { width: 14px; height: 24px; background: var(--accent); transform: skewX(-12deg); flex: none; }
.top__nav { display: none; gap: 24px; }
.top__nav a { color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; }
.top__nav a:hover { color: var(--accent); }
.top__cta { min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (min-width: 900px) { .top__inner { min-height: 68px; } .top__nav { display: flex; } }

/* --- Первый экран --- */
.hero { background: var(--graphite); color: var(--white); padding: 36px 0 44px; }
.hero__tag { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { margin-bottom: 16px; max-width: 900px; }
.hero__sub { font-size: clamp(17px, 3.6vw, 21px); color: var(--muted-dark); max-width: 640px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.facts { list-style: none; display: grid; gap: 16px; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.facts li { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--accent); padding-left: 12px; }
.facts strong { font-family: var(--head); font-size: 18px; }
.facts span { color: var(--muted-dark); font-size: 15px; }
@media (min-width: 600px) { .hero__actions { flex-direction: row; } .facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .hero { padding: 72px 0 64px; } }

/* --- Блоки --- */
.block { padding: 56px 0; }
.block--alt { background: var(--white); }
.block--dark { background: var(--graphite); color: var(--white); }
.block__head { max-width: 720px; margin-bottom: 28px; }
.block__head p { color: var(--muted); margin: 0; }
.block--dark .block__head p { color: var(--muted-dark); }
.tag { display: inline-block; background: var(--accent); color: var(--graphite); font-weight: 600; font-size: 13px; padding: 4px 10px; border-radius: 3px; letter-spacing: .02em; }
.tag--muted { background: var(--line); color: var(--graphite); font-weight: 500; }
@media (min-width: 900px) { .block { padding: 80px 0; } }

/* --- Каталог --- */
.cards { display: grid; gap: 14px; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
/* Верх карточки: фото 4:3, а пока его нет — крупная оранжевая иконка на графитовой плитке */
.item__media { margin: -22px -22px 8px; aspect-ratio: 4 / 3; background: var(--graphite); display: grid; place-items: center; border-bottom: 3px solid var(--accent); }
.item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item__icon { width: 44%; max-width: 120px; color: var(--accent); }
.item__icon svg { width: 100%; height: 100%; display: block; }
.item h3 { margin: 0; font-size: 19px; }
.item__specs { list-style: none; color: var(--muted); font-size: 15px; display: grid; gap: 4px; }
.item__specs li { padding-left: 14px; position: relative; }
.item__specs li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent); }
.item__price { font-size: 17px; margin-top: 6px; }
.item__price b { font-family: var(--head); font-size: 22px; }
.item__note { font-size: 14px; color: var(--muted); }
.item .btn { margin-top: auto; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } .item { padding: 26px; } .item__media { margin: -26px -26px 8px; } }

.group { margin-top: 28px; }
.group:first-of-type { margin-top: 0; }
.group__title { font-size: 22px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--accent); }
.item h4 { margin: 0; font-family: var(--head); font-size: 19px; line-height: 1.15; letter-spacing: -0.01em; }
.more { margin-top: 36px; background: var(--graphite); color: var(--white); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.more h3 { margin-bottom: 6px; }
.more p { color: var(--muted-dark); margin: 0; }
.more .btn { justify-self: start; }
@media (min-width: 900px) { .more { grid-template-columns: 1fr auto; align-items: center; padding: 32px; } }

/* --- Комплекты --- */
.kits { display: grid; gap: 14px; }
.kit { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.kit h3 { margin: 0; }
.kit__items { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.kit__items li { padding-left: 14px; position: relative; }
.kit__items li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent); }
.kit__price { font-family: var(--head); font-weight: 700; font-size: 18px; margin-top: auto; }
@media (min-width: 700px) { .kits { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* --- О компании --- */
.about { display: grid; gap: 28px; }
.about p { color: var(--muted); }
.about__facts { margin: 0; border-top: 1px solid var(--line); }
.about__facts div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.about__facts dt { color: var(--muted); font-size: 14px; }
.about__facts dd { margin: 0; font-weight: 500; }
@media (min-width: 900px) { .about { grid-template-columns: 1.2fr 1fr; gap: 56px; } .about__facts div { grid-template-columns: 110px 1fr; gap: 12px; } }

/* --- Как работаем --- */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.steps__n { grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent); color: var(--graphite); font-family: var(--head); font-weight: 800; font-size: 18px; }
.steps strong { font-family: var(--head); font-size: 19px; }
.steps span:last-child { color: var(--muted-dark); font-size: 15px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; } .steps li { grid-template-columns: 1fr; border-top: 2px solid var(--line-dark); } .steps__n { grid-row: auto; margin-bottom: 10px; } }

/* --- Кабинет --- */
.cabinet { display: grid; gap: 32px; }
.cabinet > * { min-width: 0; } /* таблица отчёта не растягивает сетку шире экрана */
.cabinet .tag { margin-bottom: 14px; }
.cabinet p { color: var(--muted); }
.list { list-style: none; display: grid; gap: 10px; }
.list li { padding-left: 22px; position: relative; }
.list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; background: var(--accent); }
.list .tag { margin: 0 0 0 6px; vertical-align: middle; }
.report { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 13px; overflow-x: auto; }
@media (min-width: 600px) { .report { padding: 18px; font-size: 14px; } }
.report figcaption { font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.report__head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.report table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report th, .report td { text-align: left; padding: 8px 4px; border-top: 1px solid var(--line); vertical-align: top; }
.report th { color: var(--muted); font-weight: 600; font-size: 13px; border-top: 0; }
.report .ok { color: var(--ok); font-weight: 600; }
.report .warn { color: var(--accent-dark); font-weight: 600; }
.report__foot { margin-top: 10px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 900px) { .cabinet { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }

/* --- Объекты --- */
.objects { display: grid; gap: 14px; }
.object { border-top: 3px solid var(--accent); padding-top: 14px; }
.object h3 { margin-bottom: 6px; }
.object p { color: var(--muted); margin: 0; font-size: 16px; }
@media (min-width: 640px) { .objects { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1000px) { .objects { grid-template-columns: repeat(4, 1fr); } }

/* --- Вопросы --- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--head); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 26px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* --- Форма --- */
.request { display: grid; gap: 24px; }
.request__text p { color: var(--muted-dark); }
.request__text a { color: var(--accent); }
.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field input[type=date] { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 17px; color: var(--text); background: var(--white); border: 1.5px solid #9AA0A6; border-radius: var(--radius); appearance: none; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--graphite); outline: none; box-shadow: 0 0 0 3px rgba(242,106,27,.35); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.errorlist { list-style: none; color: var(--error); font-size: 14px; margin-top: 6px; }
.form__alert { background: #FBE9E7; color: var(--error); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.form__note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.form__done { text-align: center; padding: 20px 0; }
.form__done h3 { font-size: 24px; }
.form__done p { color: var(--muted); margin: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.choices { display: grid; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px; text-align: center; border: 1.5px solid #9AA0A6; border-radius: var(--radius); font-weight: 500; cursor: pointer; }
.choice input:checked + span { border-color: var(--graphite); background: var(--graphite); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (min-width: 480px) { .choices { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .request { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; } .form { padding: 32px; } }

/* --- Подвал --- */
.foot { background: var(--graphite-2); color: var(--muted-dark); padding: 44px 0 28px; font-size: 15px; }
.foot a { color: var(--white); }
.foot__grid { display: grid; gap: 28px; }
.brand--foot { color: var(--white); margin-bottom: 12px; }
.foot__title { color: var(--white); font-weight: 600; margin-bottom: 8px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot__bottom { border-top: 1px solid var(--line-dark); margin-top: 32px; padding-top: 16px; font-size: 13px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* --- Закреплённая кнопка WhatsApp на телефоне --- */
.wa-fixed { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; justify-content: center; min-height: 52px;
  background: var(--accent); color: var(--graphite); font-weight: 700; text-decoration: none; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
@media (min-width: 900px) { .wa-fixed { display: none; } }
