/* Алтын Орда — светлый песочно-золотой, скошенные углы */
:root {
  --bg: #fbfaf6;
  --sand: #f3eee1;
  --card: #ffffff;
  --ink: #2e2b24;
  --soft: #837c6e;
  --gold: #d9971c;
  --gold-d: #b37a10;
  --gold-soft: #f8ecd2;
  --line: #e9e3d3;
  --cut: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Onest', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Unbounded', sans-serif; font-weight: 600; line-height: 1.16; }
h2 { font-size: clamp(24px, 3vw, 38px); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo-t { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 19px; white-space: nowrap; }
.logo-t em { font-style: normal; color: var(--gold); }
.logo-s { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.nav { display: flex; gap: 20px; margin-left: 10px; }
.nav a { font-size: 14.5px; font-weight: 600; position: relative; padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0;
  background: var(--gold); transition: width .25s;
}
.nav a:hover::after, .nav a.on::after { width: 100%; }
.hdr-r { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.hdr-tel { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); margin: 5px 0; }
.lang { display: inline-flex; border: 1.5px solid var(--line); overflow: hidden; background: var(--card); }
.lang a { padding: 6px 12px; font-size: 12.5px; font-weight: 700; color: var(--soft); transition: background .2s, color .2s; }
.lang a.on { background: var(--ink); color: #fff; }
.lang a:not(.on):hover { color: var(--ink); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; font-weight: 700; font-size: 15px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: transform .18s ease, background .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #191712; }
.btn-line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-d); }
.btn-big { padding: 16px 30px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d);
  background: var(--gold-soft); padding: 7px 14px; margin-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.hero h1 { font-size: clamp(27px, 3.6vw, 46px); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { margin-top: 18px; font-size: clamp(15.5px, 1.5vw, 17.5px); color: var(--soft); max-width: 470px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts { margin-top: 32px; display: flex; gap: 22px; flex-wrap: wrap; }
.hf { border-left: 3px solid var(--gold); padding-left: 12px; }
.hf b { display: block; font-size: 14.5px; }
.hf span { font-size: 12.5px; color: var(--soft); }
.hero-img { position: relative; }
.hero-img img {
  width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.hero-badge {
  position: absolute; left: -12px; bottom: 26px;
  background: var(--gold); color: #fff;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 14px;
  padding: 12px 20px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  box-shadow: 0 14px 30px rgba(217, 151, 28, .35);
}

/* ---------- цитата ---------- */
.quote-band { background: var(--sand); padding: 58px 0; position: relative; }
.quote-band::before, .quote-band::after {
  content: ''; position: absolute; left: 0; right: 0; height: 18px;
}
.qb-in { text-align: center; max-width: 820px; margin: 0 auto; }
.qb-in p {
  font-family: 'Unbounded', sans-serif; font-weight: 500;
  font-size: clamp(18px, 2.4vw, 28px); line-height: 1.4;
}
.qb-in p em { font-style: normal; color: var(--gold-d); }
.qb-sub { margin-top: 12px; font-size: 13.5px; color: var(--soft); font-family: 'Onest', sans-serif !important; }

/* ---------- секции ---------- */
.sec { padding: 76px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.sec-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-d); margin-bottom: 10px;
}
.sec-note { color: var(--soft); font-size: 14px; max-width: 320px; text-align: right; }
.sec-link { font-size: 14.5px; font-weight: 700; color: var(--gold-d); white-space: nowrap; }
.sec-link:hover { color: var(--ink); }

/* ---------- каталог-карточки ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  background: var(--card); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(46, 43, 36, .12); }
.cat-img { aspect-ratio: 16 / 9; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 17px; }
.cat-list { margin: 10px 0 14px; list-style: none; }
.cat-list li { position: relative; padding: 3px 0 3px 18px; font-size: 13.5px; color: var(--soft); }
.cat-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); }
.cat-go { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--gold-d); }

/* ---------- прокат ---------- */
.rent { padding: 0; }
.rent-in {
  background: var(--gold-soft);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 48px 52px;
}
.rent-in h2 em { font-style: normal; color: var(--gold-d); }
.rent-in p { margin: 14px 0 24px; color: #6d6350; font-size: 15.5px; max-width: 440px; }
.rent-img img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* ---------- шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--line); padding: 24px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.step i {
  font-style: normal; font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 15px; color: var(--gold);
}
.step b { display: block; font-size: 16.5px; margin: 10px 0 6px; }
.step span { font-size: 14px; color: var(--soft); }

/* ---------- контакты ---------- */
.contact { background: var(--sand); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.contact-txt p { margin: 14px 0 24px; color: var(--soft); font-size: 15.5px; max-width: 430px; }
.c-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.c-row { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.c-row b { min-width: 92px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-d); }
.map-link { font-size: 13.5px; color: var(--soft); text-decoration: underline; }
.map-link:hover { color: var(--ink); }
.contact-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

/* ---------- каталог-страница ---------- */
.page-head { padding: 44px 0 8px; }
.crumbs { font-size: 13px; color: var(--soft); margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold-d); }
.page-head h1 { font-size: clamp(26px, 3.6vw, 44px); }
.chipbar {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(251, 250, 246, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.chips { display: flex; gap: 9px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 1.5px solid var(--line); background: var(--card);
  padding: 8px 16px; font-size: 13.5px; font-weight: 600;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: all .2s;
}
.chip:hover { border-color: var(--gold); color: var(--gold-d); }
.dep { padding: 56px 0; border-bottom: 1px solid var(--line); }
.dep:last-of-type { border-bottom: 0; }
.dep-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.dep-in.flip .dep-img { order: 2; }
.dep-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.dep-body h2 { font-size: clamp(21px, 2.6vw, 30px); }
.dep-body > p { margin-top: 10px; color: var(--soft); font-size: 15px; max-width: 480px; }
.dep-list { margin: 16px 0 22px; list-style: none; columns: 2; column-gap: 26px; }
.dep-list li { position: relative; padding: 4px 0 4px 20px; font-size: 14.5px; break-inside: avoid; }
.dep-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* ---------- footer ---------- */
.ftr { background: #262319; color: #cfc9ba; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 34px; padding-top: 52px; padding-bottom: 36px; }
.f-logo { font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 20px; color: #faf7ef; margin-bottom: 12px; }
.f-logo em { font-style: normal; color: var(--gold); }
.ftr-brand p { font-size: 14px; color: #9d9683; max-width: 300px; }
.ftr-inst { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; }
.ftr-inst:hover { color: #fff; }
.ftr-h { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 13px; font-weight: 700; }
.ftr-col p { font-size: 14px; color: #9d9683; margin-bottom: 9px; }
.ftr-col a:hover { color: var(--gold); }
.ftr-btm {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px; padding-bottom: 22px; font-size: 12.5px; color: #797263;
}

/* ---------- wa fab ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #26a95c; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(38, 169, 92, .35);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(38, 169, 92, .45);
  animation: waPulse 3.2s ease-out infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(38, 169, 92, .45); }
  45% { box-shadow: 0 0 0 15px rgba(38, 169, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 169, 92, 0); }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-fab::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- мобилка ---------- */
@media (max-width: 960px) {
  .nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 14px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; font-size: 15.5px; }
  .burger { display: block; }
  .hdr-tel { display: none; }
  .hero { padding: 40px 0 58px; }
  .hero-in { grid-template-columns: 1fr; gap: 38px; }
  .hero-badge { left: 0; }
  .cats { grid-template-columns: 1fr 1fr; }
  .rent-in { grid-template-columns: 1fr; gap: 26px; padding: 36px 30px; }
  .steps { grid-template-columns: 1fr; }
  .contact-in { grid-template-columns: 1fr; gap: 30px; }
  .dep-in, .dep-in.flip { grid-template-columns: 1fr; gap: 22px; }
  .dep-in.flip .dep-img { order: 0; }
  .chipbar { top: 64px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sec-note { display: none; }
}
@media (max-width: 600px) {
  .logo-s { display: none; }
  .hdr-in { gap: 10px; height: 64px; }
  .hdr-r { gap: 8px; }
  .lang a { padding: 5px 9px; font-size: 11.5px; }
  .hdr .btn { padding: 9px 13px; font-size: 13px; }
  .nav { top: 64px; }
  .cats { grid-template-columns: 1fr; }
  .sec { padding: 52px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .dep-list { columns: 1; }
  .hero-facts { gap: 14px; }
  .ftr-grid { grid-template-columns: 1fr; }
  .btn-big { width: 100%; }
  .wa-fab { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}
@media (max-width: 430px) {
  .logo-t { font-size: 16px; }
  .hdr-in { gap: 8px; }
  .hdr-r { gap: 6px; }
  .lang a { padding: 5px 7px; font-size: 11px; }
  .hdr .btn { padding: 8px 10px; font-size: 12px; }
  .burger { padding: 4px; }
  .burger span { width: 20px; }
}
