﻿:root {
  --bg: #080808;
  --bg-soft: #111111;
  --bg-elevated: #171717;
  --text: #f2eee5;
  --muted: #b8b09c;
  --gold: #d7ab57;
  --gold-soft: #f2d8a0;
  --gold-glow: #d7ab57;
  --line: rgba(215, 171, 87, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --danger: #dc4f45;
  --ok: #d7ab57;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(215, 171, 87, 0.15), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.04), transparent 30%),
    var(--bg);
  color: var(--text);
  font: 16px/1.7 'Manrope', 'Segoe UI', Tahoma, sans-serif;
}

:focus-visible {
  outline: 2px solid rgba(215, 171, 87, 0.85);
  outline-offset: 2px;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body:not(.admin-body) {
    cursor: none;
  }

  body:not(.admin-body) a,
  body:not(.admin-body) button,
  body:not(.admin-body) input,
  body:not(.admin-body) textarea,
  body:not(.admin-body) select,
  body:not(.admin-body) [role='button'] {
    cursor: none;
  }
}

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

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

.luxury-cursor,
.luxury-cursor-follower {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 220;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
}

.luxury-cursor {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-glow);
  box-shadow: 0 0 22px rgba(215, 171, 87, 0.62);
}

.luxury-cursor-follower {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(242, 216, 160, 0.52);
  border-radius: 999px;
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.luxury-cursor.is-visible,
.luxury-cursor-follower.is-visible {
  opacity: 1;
}

.luxury-cursor.is-active {
  background: var(--gold-soft);
}

.luxury-cursor-follower.is-active {
  width: 58px;
  height: 58px;
  border-color: rgba(215, 171, 87, 0.7);
  background: rgba(215, 171, 87, 0.055);
}

body.admin-body .luxury-cursor,
body.admin-body .luxury-cursor-follower {
  display: none;
}

@media (pointer: coarse) {
  .luxury-cursor,
  .luxury-cursor-follower {
    display: none;
  }
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 150;
  transform: translateY(-180%);
  background: #f3d398;
  color: #0b0b0b;
  border: 1px solid #f7deb0;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.05;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(34px, 5.8vw, 72px);
}

h2 {
  font-size: clamp(26px, 4.2vw, 46px);
}

h3 {
  font-size: clamp(20px, 2.8vw, 30px);
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
}

.site-header .brand img,
.site-header .brand-logo {
  display: block;
  width: auto;
  height: 62px;
  max-width: 240px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.nav-shell {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 8px;
  border-radius: 10px;
  transition: 0.2s ease;
  line-height: 1.2;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.is-active {
  color: var(--text);
  background: rgba(215, 171, 87, 0.16);
  border: 1px solid rgba(215, 171, 87, 0.35);
}

.lang-switcher {
  margin-left: auto;
  flex: 0 0 auto;
  position: relative;
}

.lang-switcher::after {
  content: '▾';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-soft);
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lang-switcher select {
  min-width: 78px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 6px 34px 6px 12px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  transition: 0.2s ease;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.lang-switcher select:hover,
.lang-switcher select:focus {
  color: var(--text);
  border-color: var(--gold);
  outline: none;
}

.lang-switcher:focus-within::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--gold);
}

.nav-backdrop {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 82vh, 860px);
  display: flex;
  align-items: center;
  padding: 118px 0 86px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 18% 20%, rgba(215, 171, 87, 0.13), transparent 19%),
    radial-gradient(circle at 78% 22%, rgba(215, 171, 87, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(14, 10, 5, 0.18), rgba(8, 8, 8, 0.94)),
    url('/public/assets/img/dyat/hero-bg.png') center / cover no-repeat,
    #0d0a06;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, transparent, rgba(215, 171, 87, 0.28), transparent) 50% 100% / 72% 3px no-repeat,
    linear-gradient(90deg, rgba(215, 171, 87, 0), rgba(215, 171, 87, 0.46), rgba(215, 171, 87, 0)) 50% 12% / 54% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 94px);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0.76;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 9% 3% 8%;
  z-index: -1;
  border: 1px solid rgba(215, 171, 87, 0.14);
  border-radius: 38px;
  background:
    radial-gradient(circle at 0 0, rgba(215, 171, 87, 0.11), transparent 24%),
    radial-gradient(circle at 100% 0, rgba(215, 171, 87, 0.08), transparent 22%);
  box-shadow: inset 0 0 72px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.hero-grid::before,
.hero-grid::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  border: 1px solid rgba(215, 171, 87, 0.28);
  box-shadow: 0 0 36px rgba(215, 171, 87, 0.06);
  opacity: 0.8;
  pointer-events: none;
}

.hero-grid::before {
  width: clamp(58px, 7vw, 108px);
  height: clamp(58px, 7vw, 108px);
  left: -4vw;
  top: 4%;
  animation: dyat-spin 18s linear infinite;
}

.hero-grid::after {
  width: clamp(18px, 2.3vw, 36px);
  height: clamp(18px, 2.3vw, 36px);
  right: 2vw;
  bottom: 8%;
  background: rgba(215, 171, 87, 0.08);
  animation: dyat-float-x 4.5s ease-in-out infinite;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-glow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font: 600 12px/1.2 'Manrope', sans-serif;
  text-shadow: 0 0 24px rgba(215, 171, 87, 0.25);
}

.hero .eyebrow::before {
  content: '';
  width: 46px;
  height: 1px;
  background: var(--gold-glow);
}

.hero h1 {
  position: relative;
  display: inline-block;
  max-width: 980px;
  margin-bottom: 22px;
  padding: 0.13em 0 0.17em;
  border-top: clamp(4px, 0.65vw, 9px) solid rgba(215, 171, 87, 0.92);
  border-bottom: clamp(4px, 0.65vw, 9px) solid rgba(215, 171, 87, 0.92);
  font-size: clamp(42px, 7.2vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.03em;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.52);
  transform-origin: top center;
  animation: dyat-title-in 0.9s cubic-bezier(.2, .75, .2, 1) both;
}

.hero h1::after {
  content: '';
  position: absolute;
  left: 0;
  right: 14%;
  bottom: -12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 171, 87, 0.85), transparent);
  transform-origin: left center;
  animation: dyat-line-in 1.2s 0.25s cubic-bezier(.2, .75, .2, 1) both;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
}

.actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: dyat-fade-up 0.8s 0.22s both;
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 44vw, 560px);
  border: 1px solid rgba(215, 171, 87, 0.24);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(215, 171, 87, 0.08), transparent 32%),
    #101010;
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: rotate(-1.2deg);
  animation: dyat-float-y 5s ease-in-out infinite;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 16px;
  z-index: 2;
  border: 1px solid rgba(242, 216, 160, 0.2);
  border-radius: 26px;
  pointer-events: none;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.56)),
    radial-gradient(circle at 70% 20%, rgba(215, 171, 87, 0.13), transparent 46%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 42%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 44vw, 560px);
  object-fit: cover;
  filter: grayscale(18%) contrast(1.16) saturate(0.9);
  transform: scale(1.04);
}

.hero .lead,
.hero .eyebrow,
.hero-visual {
  will-change: transform, opacity;
}

.hero .lead {
  animation: dyat-fade-up 0.8s 0.1s both;
}

.dyat-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition: opacity 0.72s cubic-bezier(.2, .75, .2, 1), transform 0.72s cubic-bezier(.2, .75, .2, 1);
}

.dyat-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes dyat-title-in {
  0% {
    opacity: 0;
    transform: perspective(500px) rotateX(-52deg) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: perspective(500px) rotateX(0) translateY(0);
  }
}

@keyframes dyat-line-in {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes dyat-fade-up {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dyat-float-y {
  0%,
  100% {
    transform: rotate(-1.2deg) translateY(-8px);
  }
  50% {
    transform: rotate(-1.2deg) translateY(14px);
  }
}

@keyframes dyat-float-x {
  0%,
  100% {
    transform: translateX(-8px);
  }
  50% {
    transform: translateX(12px);
  }
}

@keyframes dyat-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dyat-button-shine {
  0% {
    left: -45%;
  }
  100% {
    left: 120%;
  }
}

.section {
  padding: 64px 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(circle at 80% -10%, rgba(215, 171, 87, 0.12), transparent 30%),
    var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

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

.section-head p {
  color: var(--muted);
  max-width: 680px;
}

.page-outline {
  position: sticky;
  top: 102px;
  z-index: 35;
  margin: 10px auto 0;
  width: min(1240px, 92%);
}

.page-outline__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(215, 171, 87, 0.2);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(8px);
}

.page-outline__label {
  flex: 0 0 auto;
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-outline__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
}

.page-outline__list::-webkit-scrollbar {
  display: none;
}

.page-outline__link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  transition: 0.2s ease;
}

.page-outline__link:hover {
  color: var(--text);
  border-color: rgba(215, 171, 87, 0.5);
}

.page-outline__link.is-active {
  color: #0b0b0b;
  background: var(--gold);
  border-color: var(--gold);
}

.breadcrumbs {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--gold-soft);
}

.prose {
  max-width: 1060px;
}

.prose article,
.panel,
.form-wrap {
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.wysiwyg-body,
.article-body {
  color: var(--text);
  line-height: 1.8;
}

.wysiwyg-body p,
.article-body p {
  margin: 0 0 16px;
}

.wysiwyg-body h2,
.article-body h2,
.wysiwyg-body h3,
.article-body h3 {
  margin-top: 24px;
}

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

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.two-columns-public {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
}

.card strong {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card span {
  color: var(--muted);
  font-size: 14px;
}

.tile-card {
  padding: 0;
  min-height: 220px;
  overflow: hidden;
}

.tile-card__image,
.tile-card__overlay {
  position: absolute;
  inset: 0;
}

.tile-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
}

.tile-card__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 85% 10%, rgba(215, 171, 87, 0.24), transparent 48%);
}

.tile-card__content {
  position: relative;
  z-index: 2;
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.tile-card .tile-card__content strong,
.tile-card .tile-card__content span {
  color: #f5f2ea;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.tile-card .tile-card__content span {
  color: rgba(245, 242, 234, 0.85);
}

.tile-card.card-link::after {
  display: none;
}

.card-link::after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: 16px;
  width: 40px;
  height: 2px;
  background: rgba(215, 171, 87, 0.45);
  transition: width 0.2s ease;
}

.card-link {
  width: 100%;
  min-height: 100%;
  cursor: pointer;
}

.card-link:hover {
  border-color: var(--line);
}

.card-link:hover::after {
  width: 72px;
  background: var(--gold);
}

.seo-link-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 12% 0, rgba(215, 171, 87, 0.12), transparent 34%);
  border-top: 1px solid var(--line-soft);
}

.seo-link-groups {
  display: grid;
  gap: 18px;
}

.seo-link-group {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.026);
}

.seo-link-group__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.seo-link-group__head h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
}

.seo-link-group__head p {
  max-width: 520px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.seo-link-card {
  position: relative;
  min-height: 92px;
  border: 1px solid rgba(215, 171, 87, 0.18);
  border-radius: 16px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(215, 171, 87, 0.08), rgba(255, 255, 255, 0.025));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  overflow: hidden;
}

.seo-link-card::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(215, 171, 87, 0.12);
  transition: transform 0.22s ease;
}

.seo-link-card strong,
.seo-link-card span {
  position: relative;
  z-index: 1;
}

.seo-link-card strong {
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
}

.seo-link-card span {
  color: var(--muted);
  font-size: 13px;
}

.seo-link-card:hover {
  border-color: rgba(215, 171, 87, 0.54);
  transform: translateY(-1px);
}

.seo-link-card:hover::before {
  transform: scale(1.35);
}

.faq-section {
  border-top: 1px solid var(--line-soft);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}

.service-geo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-geo-region-card {
  min-height: 0;
  gap: 14px;
}

.service-geo-region-card strong a {
  color: var(--text);
}

.service-geo-region-card strong a:hover {
  color: var(--gold-soft);
}

.service-geo-country-list {
  display: grid;
  gap: 12px;
}

.service-geo-country-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.service-geo-country-link {
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-geo-country-link:hover {
  color: var(--gold-soft);
}

.service-geo-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-geo-city-links a {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(215, 171, 87, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.service-geo-city-links a:hover {
  color: var(--text);
  border-color: var(--gold);
  background: rgba(215, 171, 87, 0.12);
}

.btn {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 15px;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  inset: -2px auto -2px -45%;
  width: 38%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0;
  pointer-events: none;
}

.btn:hover::before {
  opacity: 1;
  animation: dyat-button-shine 0.72s ease forwards;
}

.btn-gold {
  color: #0b0b0b;
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(180deg, #ebc674, #d7ab57);
  box-shadow: 0 14px 34px rgba(215, 171, 87, 0.16);
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

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

.btn-dark:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-1px);
}

.lead-form,
.grid-form {
  display: grid;
  gap: 14px;
}

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

.lead-form input,
.lead-form textarea,
.lead-form select,
.grid-form input,
.grid-form textarea,
.grid-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 13px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}

.lead-form textarea,
.grid-form textarea {
  min-height: 110px;
}

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

.grid-form .full {
  grid-column: 1 / -1;
}

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

.gallery-card {
  margin: 0;
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  filter: grayscale(22%);
}

.gallery-card figcaption {
  margin-top: 8px;
  color: var(--muted);
}

.pager {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.inline-toolbar {
  position: sticky;
  top: 90px;
  z-index: 40;
  width: min(1240px, 92%);
  margin: 14px auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 8, 8, 0.94);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.inline-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

[data-inline-field] {
  transition: box-shadow 0.2s ease, outline-color 0.2s ease;
}

[data-inline-field][contenteditable='true'] {
  outline: 1px dashed rgba(215, 171, 87, 0.38);
  outline-offset: 4px;
}

[data-inline-field].is-editing {
  outline-color: rgba(215, 171, 87, 0.8);
  box-shadow: 0 0 0 3px rgba(215, 171, 87, 0.15);
}

[data-inline-field].is-saving {
  opacity: 0.72;
}

.inline-saved {
  box-shadow: 0 0 0 3px rgba(215, 171, 87, 0.25);
}

.inline-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  background: #0d0d0d;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s ease;
}

.inline-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 38px 0 50px;
  background: #0b0b0b;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 24px;
}

.footer-grid a {
  display: block;
  margin: 4px 0;
}

.hero-inner {
  padding-top: 54px;
  padding-bottom: 34px;
}

.hero-copy {
  width: min(900px, 100%);
}

.content-section,
.prose-block {
  padding: 54px 0;
}

.small-muted,
.admin-hint,
.muted {
  color: #94a3b8;
  font-size: 12px;
}

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid transparent;
}

.alert.success {
  border-color: rgba(215, 171, 87, 0.3);
  background: rgba(215, 171, 87, 0.1);
}

.alert.error {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lead-modal[hidden] {
  display: none;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(2px);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(215, 171, 87, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(23, 23, 23, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.48);
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lead-modal.is-open .lead-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lead-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal__close:hover {
  border-color: var(--line);
  color: var(--gold-soft);
}

.lead-modal__subtitle {
  margin-bottom: 16px;
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 85;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(215, 171, 87, 0.48);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.86);
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  border-color: var(--gold);
  color: var(--text);
}

/* Admin */
.admin-body {
  background:
    radial-gradient(circle at 10% -10%, rgba(59, 130, 246, 0.18), transparent 38%),
    radial-gradient(circle at 85% 0%, rgba(215, 171, 87, 0.12), transparent 32%),
    #040912;
  color: #e6edf8;
}

.admin-body h1,
.admin-body h2,
.admin-body h3 {
  text-transform: none;
  letter-spacing: 0.01em;
}

.admin-body h1 {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.12;
}

.admin-body h2 {
  font-size: clamp(22px, 2.3vw, 34px);
}

.admin-body h3 {
  font-size: clamp(18px, 1.8vw, 26px);
}

.admin-layout {
  display: grid;
  grid-template-columns: 312px 1fr;
  min-height: 100vh;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  max-height: 100vh;
  padding: 20px 16px;
  border-right: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(8, 20, 42, 0.96), rgba(6, 14, 29, 0.98));
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.admin-content {
  padding: 24px 28px;
  overflow: auto;
}

.admin-content-inner {
  width: min(1320px, 100%);
}

.admin-sidebar a {
  display: block;
  border-radius: 12px;
  padding: 10px 12px;
  color: #c1cce4;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.admin-sidebar a:hover,
.admin-sidebar a.active,
.admin-sidebar .brand {
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.26);
}

.admin-sidebar .brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.admin-user-chip {
  border: 1px solid rgba(215, 171, 87, 0.35);
  border-radius: 999px;
  padding: 6px 10px;
  color: #f8deb3;
  font-size: 13px;
  margin-bottom: 4px;
}

.admin-nav-tree {
  display: grid;
  gap: 10px;
}

.admin-nav-branch {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: rgba(9, 17, 34, 0.5);
}

.admin-nav-branch > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6edf7;
}

.admin-nav-branch > summary::-webkit-details-marker {
  display: none;
}

.admin-nav-links {
  display: grid;
  gap: 2px;
  padding: 0 6px 8px;
}

.admin-nav-links a {
  margin: 0;
  font-size: 14px;
  padding: 8px 10px;
}

.logout-link {
  margin-top: auto;
  color: #fca5a5;
}

.admin-content label {
  display: grid;
  gap: 6px;
  color: #d3dcf1;
  font-size: 14px;
}

.admin-content input,
.admin-content select,
.admin-content textarea {
  font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
}

.admin-content .panel {
  border-color: rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(15, 26, 49, 0.56), rgba(6, 12, 23, 0.72));
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.table-wrap {
  overflow: auto;
}

.wide-table {
  min-width: 1800px;
  font-size: 13px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.toolbar h1 {
  margin: 0;
}

.admin-filters {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.admin-filters input,
.admin-filters select,
.admin-filters button,
.quick-status-form select,
.order-inline-table .order-quick-select,
.order-inline-table .order-quick-input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: #0f172a;
  color: #e5e7eb;
  padding: 8px 10px;
}

.two-col-admin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.order-inline-table .order-actions-cell {
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-meta-strip {
  margin-bottom: 16px;
}

.order-secondary-panels {
  margin-top: 18px;
}

.notes-list {
  display: grid;
  gap: 12px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.form-actions.compact {
  justify-content: flex-start;
}

.button-small {
  padding: 6px 10px;
  font-size: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.78);
  color: #e5edf9;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.button:hover {
  border-color: var(--gold);
  color: #fff8e8;
}

.panel-head-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.note-edit-form textarea {
  min-height: 110px;
}

.order-timeline-panel {
  margin-top: 20px;
}

.cell-ellipsis {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-item {
  border: 1px solid rgba(215, 171, 87, 0.2);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.note-meta {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.timeline-item {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.45);
}

.timeline-item--status {
  border-color: rgba(215, 171, 87, 0.28);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.timeline-body {
  white-space: pre-wrap;
  line-height: 1.6;
}

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

.team-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.team-photo-wrap {
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 18% 12%, rgba(215, 171, 87, 0.3), transparent 45%), #111;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-body {
  padding: 16px;
}

.team-role {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-weight: 700;
}

.team-short {
  color: var(--muted);
}

.team-details {
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.team-details p {
  margin-top: 8px;
  color: var(--muted);
}

.button-danger {
  border-color: #7f1d1d;
  background: #3a1111;
  color: #fecaca;
}

.media-picker-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.media-picker-top input {
  flex: 1;
}

.media-upload-inline {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}

.gallery-chip-list {
  margin-top: 10px;
}

.gallery-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(215, 171, 87, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  margin: 0 8px 8px 0;
  background: #0f172a;
  cursor: move;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.media-thumb {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  background: #0c111f;
  color: #f1f5f9;
}

.media-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}

.media-thumb.is-hero {
  border-color: rgba(215, 171, 87, 0.72);
  box-shadow: 0 0 0 2px rgba(215, 171, 87, 0.2);
}

.media-thumb.is-gallery {
  outline: 2px solid rgba(215, 171, 87, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0;
}

.dashboard-grid-2,
.compact-grid {
  display: grid;
  gap: 14px;
}

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

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

.chart-row {
  display: grid;
  grid-template-columns: 180px 1fr 56px;
  gap: 10px;
  align-items: center;
}

.chart-row .bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.chart-row .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f2d38e);
}

.admin-auth-body {
  min-height: 100vh;
}

.admin-auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-auth-card {
  width: min(620px, 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(215, 171, 87, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(13, 27, 52, 0.92), rgba(6, 13, 25, 0.96));
}

.admin-auth-card h1 {
  margin-bottom: 8px;
}

.admin-auth-subtitle {
  color: #a5b4d1;
  margin-bottom: 18px;
}

.admin-auth-form {
  display: grid;
  gap: 12px;
}

.admin-auth-links {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-auth-links a {
  color: #a7c9ff;
}

.admin-auth-links a:hover {
  color: #f2d8a0;
}

.admin-auth-divider {
  margin: 20px 0 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #95a3c1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.admin-telegram-login {
  display: flex;
  justify-content: center;
}

.admin-auth-muted {
  color: #93a4c5;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .cards-grid,
  .gallery-grid,
  .team-grid,
  .stats-grid,
  .dashboard-grid-2,
  .compact-grid,
  .admin-filters,
  .grid-form,
  .grid-2,
  .seo-link-grid,
  .two-columns-public,
  .mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-geo-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 96px 0 64px;
  }

  .hero::after {
    inset: 6% 4%;
  }

  .hero-visual {
    order: 0;
    min-height: 360px;
    transform: none;
    animation: none;
  }

  .chart-row {
    grid-template-columns: 130px 1fr 44px;
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .site-header .brand img,
  .site-header .brand-logo {
    height: 48px;
    max-width: 170px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-shell {
    position: fixed;
    top: 78px;
    right: 12px;
    left: 12px;
    z-index: 75;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 14px;
  }

  .nav-shell.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-links a {
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lang-switcher {
    margin-left: 0;
  }

  .lang-switcher select {
    width: 100%;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 74;
    background: rgba(0, 0, 0, 0.58);
  }

  body.menu-open .nav-backdrop {
    display: block;
  }

  .inline-toolbar {
    top: 78px;
    flex-direction: column;
    align-items: stretch;
  }

  .page-outline {
    top: 82px;
  }

  .page-outline__inner {
    padding: 8px 10px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 12px;
    gap: 8px;
  }

  .admin-nav-tree {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .admin-nav-branch {
    min-width: 200px;
  }

  .logout-link {
    margin-top: 0;
  }

  .media-upload-inline {
    grid-template-columns: 1fr;
  }
}

/* Admin UX refresh */
.admin-layout {
  grid-template-columns: minmax(252px, 286px) minmax(0, 1fr);
  align-items: start;
}

.admin-content {
  padding: 18px clamp(14px, 2vw, 26px) 24px;
  min-width: 0;
}

.admin-content-inner {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.admin-sidebar {
  padding: 14px 12px 12px;
}

.admin-nav-branch > summary {
  font-family: 'Manrope', 'Segoe UI', Tahoma, sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 700;
}

.admin-mobile-bar {
  display: none;
}

.admin-shell-backdrop {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.admin-menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.86);
  color: #d6e3ff;
  padding: 10px 9px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.admin-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
}

.orders-toolbar {
  margin-bottom: 12px;
  align-items: flex-end;
}

.orders-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.crm-filters {
  margin-bottom: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
}

.crm-filters .btn {
  width: 100%;
}

.bulk-panel.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.admin-table-wide,
.order-inline-table {
  min-width: 1940px;
}

.crm-table-wrap {
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  background: rgba(5, 12, 25, 0.66);
  max-height: calc(100vh - 322px);
}

.crm-table-wrap .admin-table {
  border: 0;
  background: transparent;
}

.order-inline-table th {
  position: sticky;
  top: 0;
  z-index: 4;
  white-space: nowrap;
  background: rgba(8, 18, 35, 0.96);
  backdrop-filter: blur(6px);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.order-inline-table td {
  white-space: nowrap;
  font-size: 12px;
}

.order-inline-table td:nth-child(16) {
  white-space: normal;
  min-width: 220px;
  max-width: 320px;
}

.order-inline-table th:first-child,
.order-inline-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 6;
  min-width: 44px;
  width: 44px;
  background: rgba(8, 18, 35, 0.96);
}

.order-inline-table th:nth-child(2),
.order-inline-table td:nth-child(2) {
  position: sticky;
  left: 44px;
  z-index: 6;
  min-width: 120px;
  background: rgba(8, 18, 35, 0.96);
}

.order-inline-table tr:hover td {
  background: rgba(30, 58, 106, 0.26);
}

.order-inline-table tr:hover td:first-child,
.order-inline-table tr:hover td:nth-child(2) {
  background: rgba(24, 50, 94, 0.96);
}

.order-inline-table .order-quick-select,
.order-inline-table .order-quick-input {
  min-width: 118px;
  padding: 6px 8px;
  font-size: 12px;
}

.order-inline-table .order-actions-cell {
  min-width: 108px;
}

.order-inline-table .order-actions-cell .button {
  width: 100%;
}

@media (max-width: 1180px) {
  .admin-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 130;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(5, 13, 28, 0.96);
    backdrop-filter: blur(10px);
  }

  .admin-mobile-brand {
    font-weight: 700;
    color: #f7fbff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-mobile-logout {
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 10px;
    padding: 8px 10px;
    color: #fecaca;
    font-size: 13px;
    line-height: 1;
  }

  .admin-layout {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 62px);
  }

  .admin-sidebar {
    position: fixed;
    top: 62px;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    max-height: none;
    border-right: 1px solid rgba(148, 163, 184, 0.24);
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(7, 18, 38, 0.98), rgba(3, 10, 21, 0.98));
    transform: translateX(-102%);
    transition: transform 0.22s ease;
    z-index: 140;
    overflow-y: auto;
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-shell-backdrop {
    position: fixed;
    inset: 62px 0 0;
    z-index: 135;
    display: block;
    background: rgba(2, 6, 14, 0.7);
    transition: opacity 0.2s ease;
  }

  body:not(.admin-menu-open) .admin-shell-backdrop {
    opacity: 0;
    pointer-events: none;
  }

  body.admin-menu-open .admin-shell-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-content {
    padding: 12px 12px 18px;
  }

  .admin-sidebar .brand,
  .admin-sidebar .admin-user-chip,
  .admin-sidebar .admin-dashboard-link,
  .admin-sidebar .logout-link {
    display: none;
  }

  .admin-nav-tree {
    display: grid;
    gap: 10px;
    padding-bottom: 8px;
    overflow: visible;
  }

  .admin-nav-branch {
    min-width: 0;
  }

  .crm-table-wrap {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 74px 0 48px;
  }

  .hero h1 {
    font-size: clamp(40px, 14vw, 68px);
    line-height: 0.9;
  }

  .hero-visual {
    min-height: 260px;
    border-radius: 22px;
    animation: none;
  }

  .hero-visual img {
    min-height: 260px;
  }

  .hero-grid::before,
  .hero-grid::after {
    display: none;
  }

  .seo-link-group__head {
    display: block;
  }

  .page-outline__label {
    display: none;
  }

  .page-outline__inner {
    gap: 6px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
  }

  .orders-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-toolbar-actions {
    justify-content: flex-start;
  }

  .orders-toolbar-actions .button,
  .orders-toolbar-actions .btn {
    width: 100%;
  }

  .order-inline-table th,
  .order-inline-table td {
    font-size: 11px;
    padding: 8px;
  }

  .order-inline-table .order-quick-select,
  .order-inline-table .order-quick-input {
    min-width: 92px;
    font-size: 11px;
    padding: 5px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

