/* Первый экран: сохраняем визуальное направление набросков. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-tight-400.ttf") format("truetype");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-tight-500.ttf") format("truetype");
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-tight-600.ttf") format("truetype");
}
:root {
  --dark: #171717;
  --paper: #f9f9f9;
  --muted: #d5d4d0;
  --accent: #9f4058;
  --accent-light: #cf8b9c;
  --line: #343434;
  --max-width: 1120px;
  --header-height: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  background: var(--dark);
  color: var(--paper);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-light); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 5px; }
.wrap { width: 100%; max-width: var(--max-width); padding-inline: 20px; margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--paper); color: var(--dark); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--dark); }
.header-bar { min-height: var(--header-height); display: flex; align-items: center; gap: 26px; }
.brand { display: flex; flex-direction: column; flex: 0 0 auto; line-height: 1.12; }
.brand strong { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.brand span { margin-top: 5px; font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; white-space: nowrap; }
.desktop-nav > * { padding-block: 9px; border-bottom: 2px solid transparent; font-size: 14px; color: var(--muted); }
.desktop-nav a[aria-current="page"] { color: var(--paper); border-color: var(--accent); }
.nav-pending { color: #a6a6a2; cursor: default; }
.nav-pending small { margin-left: 8px; font-size: 11px; color: #a6a6a2; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; font-weight: 600; }
.header-phone svg { width: 15px; height: 15px; flex: 0 0 auto; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; background: var(--accent); color: #fff; font-size: 15px; line-height: 1.25; font-weight: 600; text-align: center; }
.button:hover { background: #b04b64; color: #fff; }
.button-outline { background: transparent; border-color: #737373; }
.button-outline:hover { background: #292024; border-color: var(--accent-light); }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.header-messengers { position: relative; flex: 0 0 auto; }
.header-messengers > summary { display: flex; gap: 8px; list-style: none; cursor: pointer; }
.header-messengers > summary::-webkit-details-marker { display: none; }
.header-messengers > summary svg { width: 12px; height: 12px; flex: 0 0 auto; }
.header-messengers[open] > summary svg { transform: rotate(180deg); }
.header-messengers__list { position: absolute; top: calc(100% + 10px); right: 0; width: 230px; max-width: calc(100vw - 40px); margin: 0; padding: 6px; list-style: none; border: 1px solid #555; background: #202020; color: var(--paper); }
.header-messengers__list a { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 14px; }
.header-messengers__list a:hover { background: #30262a; color: #fff; }
.header-messengers__list a:focus-visible { outline-offset: -2px; }
.menu-toggle { display: none; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 10px; background: none; color: var(--paper); border: 0; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }
.mobile-nav { display: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 64px; padding-top: 60px; padding-bottom: 48px; }
.hero-copy { min-width: 0; }
.location { margin: 0 0 28px; color: var(--accent-light); font-size: 13px; font-weight: 500; }
h1 { margin: 0; font-size: clamp(60px, 6.7vw, 84px); line-height: .95; font-weight: 500; letter-spacing: -.035em; }
.hero-kicker { display: block; margin-bottom: 14px; color: var(--muted); font-size: 25px; line-height: 1.25; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; }
.hero-lead { margin: 26px 0 0; font-size: 27px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.hero-description { max-width: 50ch; margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-description p { margin: 0; }
.hero-description p + p { margin-top: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .button { flex-grow: 1; }
.hero-portrait { position: relative; margin: 0; min-width: 0; }
.hero-portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1.16; object-fit: cover; object-position: 50% 35%; }
.hero-portrait figcaption { position: absolute; bottom: 0; right: 0; padding: 11px 16px; background: var(--accent); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35; }
.hero-portrait figcaption span { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; }
.interior-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.interior-strip img { width: 100%; height: 180px; object-fit: cover; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; padding-block: 46px 50px; font-size: 15px; }
.footer-brand { margin-bottom: 18px; color: var(--paper); }
.footer-brand span { margin-top: 14px; }
.footer-about p { max-width: 38ch; margin: 0 0 10px; line-height: 1.45; }
.footer-nav, .footer-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer h2 { margin: 0 0 3px; color: var(--paper); font-size: 15px; font-weight: 600; }
.contact-note { margin: -7px 0 6px; font-size: 12px; color: #a6a6a2; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 981px) and (max-width: 1090px) {
  .header-bar { gap: 16px; }
  .desktop-nav { gap: 17px; }
  .header-actions { gap: 12px; }
  .header-messengers > summary { padding-inline: 12px; }
}
@media (max-width: 980px) {
  :root { --header-height: 60px; }
  .header-bar { gap: 12px; }
  .brand span, .desktop-nav, .header-cta { display: none; }
  .brand strong { font-size: 16px; }
  .header-actions { margin-left: auto; }
  .header-phone { font-size: 12px; gap: 6px; }
  .header-phone svg { width: 14px; height: 14px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .mobile-nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; border-top: 1px solid var(--line); }
  .mobile-nav > a, .mobile-nav > span { padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 20px; }
  .mobile-messengers { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 24px; padding-top: 18px; }
  .hero-grid { gap: 36px; padding-top: 40px; }
  h1 { font-size: clamp(46px, 7.7vw, 72px); }
  .hero-kicker { font-size: 19px; }
  .hero-lead { font-size: 23px; }
  .hero-description { font-size: 17px; }
  .hero-actions .button { flex-basis: 100%; }
  .footer-grid { gap: 30px; grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 20px; padding-bottom: 44px; }
  .hero-portrait { grid-row: 1; }
  .hero-portrait img { aspect-ratio: 1; }
  .hero-portrait figcaption { padding: 10px 14px; font-size: 14px; }
  .hero-portrait figcaption span { font-size: 11px; }
  .location { margin-bottom: 26px; }
  h1 { font-size: clamp(42px, 11.8vw, 68px); line-height: .97; }
  .hero-kicker { font-size: 14px; line-height: 1.3; margin-bottom: 12px; }
  .hero-lead { margin-top: 24px; font-size: 21px; line-height: 1.3; }
  .hero-description { margin-top: 24px; font-size: 18px; line-height: 1.55; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .button { width: 100%; }
  .interior-strip img { height: 100px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 40px 32px; }
  .footer-brand span { display: block; font-size: 10px; }
  .footer-brand strong { font-size: 18px; }
  .footer-bottom { align-items: flex-start; padding-block: 20px; min-height: 64px; }
}
@media (max-width: 359px) {
  .header-bar { gap: 6px; padding-inline: 16px; }
  .header-phone { font-size: 11px; }
  .header-phone svg { display: none; }
  .wrap:not(.header-bar) { padding-inline: 16px; }
  .hero-description { font-size: 17px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
