:root {
  --bg: #0f1114;
  --bg2: #171a1f;
  --card: rgba(255, 255, 255, .065);
  --card2: rgba(255, 255, 255, .1);

  --text: #f5f1e8;
  --muted: #a9adb5;
  --muted2: #777d88;

 --accent:#d97a12;
--accent2:#ffb347;
  --line: rgba(255, 255, 255, .12);

  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
  --radius: 28px;
  --radius2: 18px;
  --container: 1180px;
}

/* ===============================
   BASE
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(200, 167, 106, .16), transparent 33%),
    radial-gradient(circle at bottom right, rgba(142, 148, 156, .15), transparent 36%),
    linear-gradient(135deg, #0f1114 0%, #171a1f 48%, #101215 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent 75%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

p {
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 6vw, 7.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.8rem);
  letter-spacing: -.055em;
  font-weight: 900;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -.025em;
}

/* ===============================
   LAYOUT
================================ */

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-tight {
  padding: 74px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-head p {
  max-width: 560px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ===============================
   TEXT ELEMENTS
================================ */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent2);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 800;
  margin-bottom: 16px;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 720px;
}

/* ===============================
   HEADER
================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: .35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(15, 17, 20, .78);
  backdrop-filter: blur(22px);
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-logo-wrap {
  width: auto;
  height: 54px;
  border: none;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  overflow: visible;
}

.brand-logo {
  width: 108px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: .95rem;
}

.brand-text small {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .03em;
}

/* ===============================
   NAVIGATION
================================ */

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
}

.nav-link {
  font-size: .86rem;
  color: var(--muted);
  padding: 11px 14px;
  border-radius: 999px;
  transition: .25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .09);
}

.header-cta {
  font-size: .88rem;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1c160b;
  box-shadow: 0 14px 36px rgba(200, 167, 106, .22);
}

/* ===============================
   MOBILE MENU
================================ */

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  padding: 12px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 9px;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .58);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

.mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(390px, 90vw);
  background: #12151a;
  border-left: 1px solid var(--line);
  z-index: 80;
  transform: translateX(102%);
  transition: .36s cubic-bezier(.2, .8, .2, 1);
  padding: 24px;
  box-shadow: var(--shadow);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
}

.mobile-menu-head button {
  font-size: 34px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.mobile-nav {
  display: grid;
  gap: 10px;
  margin: 34px 0;
}

.mobile-link {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
  font-weight: 800;
}

.mobile-link.is-active {
  background: rgba(200, 167, 106, .14);
  border-color: rgba(200, 167, 106, .35);
}

.mobile-menu-card {
  margin-top: 20px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(200, 167, 106, .18), rgba(255, 255, 255, .05));
  border: 1px solid var(--line);
}

/* ===============================
   BUTTONS
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 900;
  transition: .25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #21180a;
  box-shadow: 0 18px 46px rgba(200, 167, 106, .2);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .055);
  color: var(--text);
}

/* ===============================
   HERO PAGE
================================ */

.hero-page {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: end;
  padding: 150px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05);
}

.hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 17, 20, .94), rgba(15, 17, 20, .54), rgba(15, 17, 20, .32)),
    linear-gradient(0deg, var(--bg), transparent 42%);
}

.hero-content {
  max-width: 900px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
  border-radius: 999px;
  color: var(--muted);
  font-size: .86rem;
}

/* ===============================
   CARDS
================================ */

.glass-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.info-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .055);
  border-radius: 24px;
  transition: .25s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .085);
}

.info-card .num {
  display: inline-flex;
  color: var(--accent2);
  font-weight: 900;
  margin-bottom: 28px;
}

.info-card h3 {
  margin-bottom: 12px;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 420px;
  background: #222;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: .7s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card .caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(15, 17, 20, .72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

.split-card {
  padding: 36px;
}

/* ===============================
   LISTS
================================ */

.list-check {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.list-check span {
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.list-check span::before {
  content: "✓";
  color: var(--accent2);
  font-weight: 900;
}

/* ===============================
   CTA
================================ */

.cta-band {
  padding: 46px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(200, 167, 106, .22), rgba(255, 255, 255, .06));
  border: 1px solid rgba(200, 167, 106, .28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.cta-band p {
  max-width: 660px;
}

/* ===============================
   FOOTER
================================ */

.site-footer {
  padding: 76px 0 28px;
  background: rgba(0, 0, 0, .18);
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: 34px;
}

.footer-brand img {
  width: 96px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-col a,
.footer-col p {
  color: var(--muted);
  font-size: .95rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 22px;
  color: var(--muted2);
  font-size: .9rem;
}

/* ===============================
   REVEAL ANIMATION
================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVE TABLET
================================ */

@media (max-width: 980px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section {
    padding: 78px 0;
  }

  .hero-page {
    min-height: 76vh;
    padding-top: 130px;
  }

  .brand-text {
    display: none;
  }

  .cta-band {
    display: block;
  }

  .cta-band .btn {
    margin-top: 22px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin: 10px 0;
  }
}

/* ===============================
   RESPONSIVE MOBILE
================================ */

@media (max-width: 620px) {
  .container {
    width: min(100% - 26px, var(--container));
  }

  .header-inner {
    height: 74px;
  }

  .brand-logo-wrap {
  height: 54px;
}

.brand-logo {
  width: 102px;
}

  h1 {
    font-size: clamp(2.7rem, 17vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .image-card {
    min-height: 330px;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding: 52px 0;
  }

  .grid-3,
  .grid-4 {
    gap: 14px;
  }

  .info-card,
  .split-card {
    padding: 22px;
  }

  .hero-page::after {
    background:
      linear-gradient(90deg, rgba(15, 17, 20, .96), rgba(15, 17, 20, .66)),
      linear-gradient(0deg, var(--bg), transparent 45%);
  }
}

/* =========================================================
   RESPONSIVE FIX — TABLET / MOBILE / SMALL MOBILE
   Вставить в самый низ style.css
========================================================= */

/* Общая защита от вылета элементов за экран */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-text-size-adjust: 100%;
}

img,
video,
svg,
canvas {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

p,
li,
span,
a,
h1,
h2,
h3,
strong,
small {
  overflow-wrap: break-word;
  word-break: normal;
}

/* Чтобы кнопки не ломали ширину экрана */
.btn,
.header-cta,
.nav-link,
.mobile-link {
  max-width: 100%;
}

/* =========================================================
   LARGE TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1180px) {
  :root {
    --container: 1040px;
  }

  .container {
    width: min(var(--container), calc(100% - 36px));
  }

  h1 {
    font-size: clamp(3rem, 7vw, 6.2rem);
  }

  h2 {
    font-size: clamp(2.1rem, 5vw, 4rem);
  }

  .section {
    padding: 92px 0;
  }

  .section-tight {
    padding: 64px 0;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-page {
    min-height: 68vh;
    padding: 140px 0 66px;
  }

  .image-card {
    min-height: 380px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  :root {
    --radius: 24px;
    --radius2: 16px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
    flex: 0 0 auto;
  }

  .header-inner {
    height: 78px;
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    display: none;
  }

  .brand-logo-wrap {
    height: 52px;
  }

  .brand-logo {
    width: 104px;
  }

  h1 {
    font-size: clamp(2.6rem, 8vw, 5rem);
    line-height: .98;
    letter-spacing: -.045em;
  }

  h2 {
    font-size: clamp(2rem, 7vw, 3.8rem);
    line-height: 1;
    letter-spacing: -.045em;
  }

  h3 {
    font-size: 1.18rem;
  }

  p {
    line-height: 1.65;
  }

  .lead {
    font-size: clamp(1rem, 2.4vw, 1.22rem);
    max-width: 100%;
  }

  .section {
    padding: 76px 0;
  }

  .section-tight {
    padding: 58px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 30px;
  }

  .section-head p {
    max-width: 100%;
    margin-top: 14px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 18px;
  }

  .hero-page {
    min-height: auto;
    padding: 128px 0 66px;
    align-items: flex-end;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-badges {
    margin-top: 24px;
  }

  .badge {
    font-size: .84rem;
  }

  .image-card {
    min-height: 360px;
  }

  .split-card,
  .info-card {
    padding: 24px;
  }

  .cta-band {
    display: block;
    padding: 34px;
    border-radius: 28px;
  }

  .cta-band p {
    max-width: 100%;
  }

  .cta-band .btn {
    margin-top: 22px;
  }

  .footer-grid {
    gap: 28px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 10px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {
  :root {
    --radius: 22px;
    --radius2: 15px;
  }

  .container {
    width: min(100% - 26px, var(--container));
  }

  .header-inner {
    height: 70px;
  }

  .brand-logo-wrap {
    height: 48px;
  }

  .brand-logo {
    width: 94px;
  }

  .burger {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    padding: 11px;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.04em;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.85rem);
    line-height: 1.03;
    letter-spacing: -.04em;
  }

  h3 {
    font-size: 1.12rem;
    line-height: 1.18;
  }

  p {
    font-size: .96rem;
    line-height: 1.62;
  }

  .lead {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .kicker {
    font-size: .7rem;
    letter-spacing: .18em;
    margin-bottom: 13px;
  }

  .kicker::before {
    width: 26px;
  }

  .section {
    padding: 58px 0;
  }

  .section-tight {
    padding: 46px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .hero-page {
    min-height: auto;
    padding: 106px 0 52px;
  }

  .hero-page::after {
    background:
      linear-gradient(90deg, rgba(15, 17, 20, .97), rgba(15, 17, 20, .72)),
      linear-gradient(0deg, var(--bg), transparent 48%);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
    min-width: 0;
  }

  .btn {
    padding: 14px 18px;
    font-size: .94rem;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .hero-badges {
    gap: 8px;
    margin-top: 22px;
  }

  .badge {
    font-size: .8rem;
    padding: 8px 10px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 14px;
  }

  .info-card,
  .split-card {
    padding: 21px;
    border-radius: 21px;
  }

  .info-card .num {
    margin-bottom: 20px;
  }

  .image-card {
    min-height: 300px;
    border-radius: 22px;
  }

  .image-card .caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .list-check {
    gap: 10px;
    margin-top: 18px;
  }

  .list-check span {
    gap: 10px;
    font-size: .95rem;
  }

  .cta-band {
    padding: 26px;
    border-radius: 24px;
  }

  .mobile-menu {
    width: min(360px, 92vw);
    padding: 20px;
  }

  .mobile-nav {
    margin: 28px 0;
  }

  .mobile-link {
    padding: 16px;
    border-radius: 16px;
  }

  .mobile-menu-card {
    padding: 18px;
    border-radius: 18px;
  }

  .site-footer {
    padding: 58px 0 24px;
    margin-top: 56px;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-brand img {
    width: 86px;
    height: auto;
  }
}

/* =========================================================
   SMALL MOBILE
   Например iPhone SE / старые Android / узкие экраны
========================================================= */

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .header-inner {
    height: 66px;
  }

  .brand-logo {
    width: 86px;
  }

  .burger {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(2rem, 11.5vw, 3rem);
    letter-spacing: -.035em;
  }

  h2 {
    font-size: clamp(1.65rem, 8.8vw, 2.45rem);
    letter-spacing: -.035em;
  }

  h3 {
    font-size: 1.05rem;
  }

  p {
    font-size: .93rem;
    line-height: 1.6;
  }

  .lead {
    font-size: .98rem;
  }

  .kicker {
    font-size: .66rem;
    letter-spacing: .16em;
    gap: 8px;
  }

  .kicker::before {
    width: 22px;
  }

  .section {
    padding: 50px 0;
  }

  .section-tight {
    padding: 40px 0;
  }

  .hero-page {
    padding: 96px 0 44px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .btn {
    padding: 13px 16px;
    font-size: .9rem;
  }

  .badge {
    font-size: .76rem;
    padding: 7px 9px;
  }

  .info-card,
  .split-card {
    padding: 18px;
    border-radius: 19px;
  }

  .image-card {
    min-height: 260px;
  }

  .image-card .caption {
    padding: 12px;
  }

  .cta-band {
    padding: 22px;
    border-radius: 22px;
  }

  .mobile-menu {
    width: 94vw;
    padding: 18px;
  }

  .mobile-link {
    padding: 15px;
  }

  .footer-bottom {
    font-size: .84rem;
  }
}

/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 360px) {
  .container {
    width: min(100% - 18px, var(--container));
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  p {
    font-size: .9rem;
  }

  .lead {
    font-size: .94rem;
  }

  .hero-page {
    padding-top: 88px;
  }

  .btn {
    font-size: .86rem;
    padding: 12px 14px;
  }

  .image-card {
    min-height: 230px;
  }

  .info-card,
  .split-card,
  .cta-band {
    padding: 17px;
  }
}