/* МойСам 24/7 — лендинг. Палитра: день на мойке — светлое небо,
   графит профлиста (как здание), вода-синий, LED-табло как на фасаде. */

@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/russo-one-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Russo One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/russo-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}

:root {
  --paper: #eef4f9;
  --paper-top: #dce9f3;
  --ink: #1c2126;
  --muted: #59646e;
  --line: #cfdce7;
  --graphite: #262b31;
  --graphite-rib: rgba(0, 0, 0, 0.28);
  --accent: #1787d8;
  --accent-press: #0f6fbb;
  --led-bg: #101418;
  --led-green: #42e97e;
  --led-amber: #ffc14d;
  --star: #f5a623;
  --card: #ffffff;
  --display: "Russo One", "Arial Black", "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font: 16px/1.55 var(--body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-top), var(--paper) 42%);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* ---------- Шапка: полоса «профлиста» ---------- */

.top {
  background:
    repeating-linear-gradient(90deg, var(--graphite-rib) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #2c323a, var(--graphite));
  color: #fff;
}

.top-inner {
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: 10px clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.brand-word {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8fd8ff, var(--accent) 70%);
  display: inline-block;
}

.brand-chip {
  font-family: var(--display);
  font-size: 12px;
  color: var(--led-green);
  border: 1px solid rgba(66, 233, 126, 0.55);
  border-radius: 7px;
  padding: 3px 7px;
  text-shadow: 0 0 8px rgba(66, 233, 126, 0.5);
}

.top-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 0;
  font: 600 15px/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}
.btn-solid:hover { background: var(--accent-press); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover { border-color: var(--accent-press); color: var(--accent-press); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Полотно страницы ---------- */

.page {
  flex: 1;
  width: min(1100px, 100%);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
  display: flex;
  flex-direction: column;
}

/* ---------- Герой ---------- */

.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: clamp(12px, 2.4vh, 28px) clamp(10px, 1.8vh, 20px);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3.9vw, 38px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 8px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
}

.rating {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 2px 10px rgba(28, 45, 60, 0.06);
}

.rating-star { color: var(--star); font-size: 17px; }
.rating-num { font-family: var(--display); font-size: 17px; }
.rating-src { color: var(--muted); font-size: 13.5px; }
.rating:hover { border-color: var(--accent); }

/* ---------- Фото-панорама ---------- */

.photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 45, 60, 0.16);
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(30vh, 300px);
  object-fit: cover;
  object-position: 30% center;
}

/* ---------- LED-строка: табло как на фасаде ---------- */

.led {
  margin-top: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px),
    var(--led-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
}

.led-track {
  display: flex;
  justify-content: center;
}

.led-run {
  font-family: var(--display);
  font-size: 13.5px;
  line-height: 2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--led-green);
  text-shadow: 0 0 7px rgba(66, 233, 126, 0.55);
  padding: 6px 14px;
}

.led-run i {
  font-style: normal;
  color: rgba(66, 233, 126, 0.4);
  text-shadow: none;
  margin-inline: 1.1em;
  font-size: 9px;
  vertical-align: 2px;
}

.led-run b {
  font-weight: 400;
  color: var(--led-amber);
  text-shadow: 0 0 7px rgba(255, 193, 77, 0.55);
  white-space: nowrap;
}

/* ---------- Карточки ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-block: clamp(12px, 2.2vh, 26px);
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 22px);
  box-shadow: 0 2px 12px rgba(28, 45, 60, 0.05);
}

.card p { color: var(--muted); font-size: 14.5px; }

.card-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 10px;
}

.card-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  font: 600 12px/1 var(--body);
  color: #8a5c00;
  background: #fff3d6;
  border: 1px solid #f0d9a0;
  border-radius: 999px;
  padding: 5px 10px;
}

.route-addr { line-height: 1.6; }
.route-phone { color: var(--ink); text-decoration: none; font-weight: 600; }
.route-phone:hover { color: var(--accent); }

.route-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- Подвал ---------- */

.foot {
  padding: 8px 16px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.foot a { color: var(--muted); }

/* ---------- Диалог «Войти» ---------- */

.login-dlg {
  margin: auto;
  border: 0;
  border-radius: 16px;
  padding: 26px;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(10, 20, 30, 0.35);
}
.login-dlg::backdrop { background: rgba(16, 20, 24, 0.55); }
.login-dlg p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

/* ---------- Мобильная вёрстка ---------- */

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .top-note { display: none; }
}

@media (max-width: 640px) {
  .hero { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: clamp(21px, 6.2vw, 25px); }
  .photo img { max-height: 30vh; }
  .route-btns .btn { flex: 1; }
  .brand-word { font-size: 19px; }
}
