/* ReStar direction landing pages (/prilozhenie-dlya-restorana/ and others): standalone pages in the main site's dark style. */

@font-face { font-family: "ForrestSans"; src: url("../fonts/Onest-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ForrestSans"; src: url("../fonts/Onest-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ForrestSans"; src: url("../fonts/Onest-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "ForrestSans"; src: url("../fonts/Ruberoid-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --bg: #050505;
  --card: #151515;
  --border: rgba(255, 255, 255, 0.09);
  --text: #fff;
  --muted: #b8b8b8;
  --soft: rgba(255, 255, 255, 0.64);
  --orange: #ff6a00;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "ForrestSans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }

.l-shell { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* header */
.l-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(14px);
}

.l-header .l-shell { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.l-logo { display: inline-flex; flex: none; }
.l-logo img { display: block; width: 132px; height: auto; }

.l-nav { display: flex; gap: 22px; margin-left: auto; }
.l-nav a { color: rgba(255, 255, 255, 0.8); font-size: 15px; text-decoration: none; }
.l-nav a:hover { color: #fff; }

.l-header__cta { flex: none; }

/* buttons */
.l-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.l-btn:hover { transform: translateY(-2px); }

.l-btn--wa { background: linear-gradient(180deg, #ff7a1a, var(--orange)); box-shadow: 0 14px 38px rgba(255, 106, 0, 0.28); }
.l-btn--tg { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); }
.l-btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; border-radius: 12px; }

.l-btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }

/* hero */
.l-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 6vw, 88px);
  background:
    radial-gradient(circle at 78% 30%, rgba(255, 107, 0, 0.16), transparent 40%),
    radial-gradient(circle at 10% 0%, rgba(255, 107, 0, 0.07), transparent 30%),
    var(--bg);
}

.l-crumbs { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; color: var(--soft); font-size: 14px; }
.l-crumbs li + li::before { content: "›"; margin-right: 8px; color: rgba(255, 255, 255, 0.35); }
.l-crumbs a { color: var(--soft); text-decoration: none; }
.l-crumbs a:hover { color: #fff; }

.l-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }

.l-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.075);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 600;
}

.l-hero h1 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; line-height: 1.05; }
.l-hero h1 span, .l-h2 span { color: var(--orange); }

.l-lead { max-width: 600px; margin: 20px 0 0; color: var(--soft); font-size: clamp(17px, 1.6vw, 19px); }

.l-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.l-note { margin: 14px 0 0; color: rgba(255, 255, 255, 0.5); font-size: 14px; }
.l-note a { color: rgba(255, 255, 255, 0.78); text-decoration-color: rgba(255, 106, 0, 0.6); text-underline-offset: 3px; }

.l-hero__media { display: flex; justify-content: center; }
.l-hero__media img { max-height: 520px; width: auto; border-radius: 22px; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }

.l-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.l-stats li { padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255, 255, 255, 0.035); color: var(--soft); font-size: 14px; }
.l-stats b { display: block; margin-bottom: 4px; color: var(--orange); font-size: 26px; font-weight: 700; line-height: 1.1; }

/* sections */
.l-section { padding: clamp(60px, 6vw, 96px) 0; border-top: 1px solid rgba(255, 255, 255, 0.05); background: linear-gradient(180deg, #0b0b0b 0%, #101010 100%); }
.l-section--plain { background: var(--bg); }

.l-head { max-width: 820px; margin: 0 0 36px; }
.l-h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.1; }
.l-head p { margin: 16px 0 0; color: var(--soft); font-size: 17px; }

.l-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.l-card {
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)), var(--card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 56px rgba(0, 0, 0, 0.28);
}

.l-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; line-height: 1.25; }
.l-card p { margin: 0; color: var(--muted); font-size: 15px; }

.l-num {
  display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; margin-bottom: 18px;
  border: 1px solid rgba(255, 107, 0, 0.36); border-radius: 12px; background: rgba(255, 107, 0, 0.08);
  color: var(--orange); font-size: 14px; font-weight: 600;
}

.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.l-split .l-text p { margin: 0 0 16px; color: var(--muted); font-size: 17px; }
.l-split .l-text p:last-child { margin-bottom: 0; }
.l-split img { display: block; margin: 0 auto; max-height: 460px; width: auto; border-radius: 20px; }

.l-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.l-list li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.l-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15); }
.l-list b { color: #fff; font-weight: 600; }

/* prices */
.l-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.l-price { padding: 28px 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--card); }
.l-price--hot { border-color: rgba(255, 106, 0, 0.5); box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.2), 0 24px 60px rgba(255, 106, 0, 0.12); }
.l-price h3 { margin: 0; font-size: 20px; }
.l-price strong { display: block; margin: 12px 0 6px; font-size: 32px; line-height: 1; }
.l-price strong small { color: var(--soft); font-size: 15px; font-weight: 400; }
.l-price p { margin: 0; color: var(--muted); font-size: 15px; }
.l-prices__note { margin: 18px 0 0; color: var(--soft); font-size: 15px; }
.l-prices__note a { color: #fff; text-decoration-color: rgba(255, 106, 0, 0.6); text-underline-offset: 3px; }

/* faq */
.l-faq { max-width: 900px; }
.l-q { margin-bottom: 12px; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014)), var(--card); }
.l-q summary { position: relative; display: block; padding: 20px 64px 20px 24px; font-size: 17px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.l-q summary::-webkit-details-marker { display: none; }
.l-q summary::before, .l-q summary::after { content: ""; position: absolute; top: 50%; right: 26px; width: 14px; height: 2px; border-radius: 2px; background: var(--orange); transition: transform 0.2s ease; }
.l-q summary::after { transform: rotate(90deg); }
.l-q[open] summary::after { transform: rotate(0deg); }
.l-q p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* final cta + links */
.l-final { text-align: center; }
.l-final .l-head { margin: 0 auto 8px; }
.l-final .l-actions { justify-content: center; }

.l-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.l-more a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255, 255, 255, 0.03); text-decoration: none; transition: border-color 0.2s ease; }
.l-more a:hover { border-color: rgba(255, 106, 0, 0.5); }
.l-more b { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 600; }
.l-more span { color: var(--muted); font-size: 14px; }

.l-footer { padding: 32px 0 40px; border-top: 1px solid var(--border); color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.l-footer .l-shell { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.l-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.l-footer a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.l-footer a:hover { color: #fff; }

@media (max-width: 1023px) {
  .l-hero__grid, .l-split { grid-template-columns: 1fr; }
  .l-hero__media img { max-height: 420px; }
  .l-grid, .l-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-nav { display: none; }
  .l-header__cta { margin-left: auto; }
}

@media (max-width: 639px) {
  .l-grid, .l-more, .l-prices { grid-template-columns: 1fr; }
  .l-actions { flex-direction: column; }
  .l-actions .l-btn { width: 100%; }
  .l-logo img { width: 112px; }
  .l-q summary { padding: 18px 56px 18px 18px; font-size: 16px; }
  .l-q summary::before, .l-q summary::after { right: 20px; }
  .l-q p { padding: 0 18px 18px; }
}
