:root {
  --bg-deep: #07080d;
  --bg-card: rgba(20, 22, 36, 0.72);
  --bg-elevated: #141622;
  --border: rgba(212, 175, 55, 0.2);
  --gold: #e4c34a;
  --gold-dim: #a67f2a;
  --text: #eceaf4;
  --text-muted: #9894ac;
  --accent: #ff7a5c;
  --accent-glow: rgba(255, 122, 92, 0.35);
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -25%, rgba(228, 195, 74, 0.14), transparent 58%),
    radial-gradient(ellipse 55% 45% at 100% 20%, rgba(255, 122, 92, 0.07), transparent 52%),
    radial-gradient(ellipse 45% 40% at 0% 85%, rgba(100, 130, 255, 0.05), transparent 48%),
    var(--bg-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .bg-glow {
    animation: bg-drift 28s var(--ease-out) infinite alternate;
  }
}

@keyframes bg-drift {
  0% {
    filter: hue-rotate(0deg) saturate(1);
    transform: scale(1);
  }
  100% {
    filter: hue-rotate(12deg) saturate(1.08);
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow {
    animation: none;
    transform: none;
    filter: none;
  }
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  border: 2px solid rgba(10, 11, 16, 0.35);
  transform: rotate(-6deg);
}

.brand-text strong {
  color: var(--gold);
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.25s var(--ease-out);
}

.nav a:hover {
  color: var(--gold);
  background: rgba(228, 195, 74, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
}

/* Вход и Играть: крупнее, золото, подсветка */
.header-actions .header-cta-gold {
  padding: 0.78rem 1.75rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 236, 160, 0.45);
  box-shadow:
    0 0 0 1px rgba(228, 195, 74, 0.25),
    0 4px 20px rgba(228, 195, 74, 0.35),
    0 0 32px rgba(228, 195, 74, 0.22);
}

.header-actions .header-cta-gold:hover {
  border-color: rgba(255, 244, 190, 0.75);
  box-shadow:
    0 0 0 1px rgba(228, 195, 74, 0.45),
    0 6px 28px rgba(228, 195, 74, 0.5),
    0 0 44px rgba(228, 195, 74, 0.45);
  transform: translateY(-2px);
}

.header-actions .header-cta-gold:focus-visible {
  outline: none;
  border-color: rgba(255, 248, 210, 0.9);
  box-shadow:
    0 0 0 3px rgba(7, 8, 13, 0.9),
    0 0 0 5px rgba(228, 195, 74, 0.55),
    0 8px 32px rgba(228, 195, 74, 0.45);
}

@media (prefers-reduced-motion: no-preference) {
  .header-actions .header-cta-gold {
    animation: header-gold-glow 3.2s ease-in-out infinite;
  }

  .header-actions .header-cta-gold:hover {
    animation: none;
  }
}

@keyframes header-gold-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(228, 195, 74, 0.22),
      0 4px 20px rgba(228, 195, 74, 0.32),
      0 0 28px rgba(228, 195, 74, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(228, 195, 74, 0.38),
      0 6px 26px rgba(228, 195, 74, 0.42),
      0 0 40px rgba(228, 195, 74, 0.32);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-actions .header-cta-gold {
    animation: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #f0d060, var(--gold) 45%, var(--gold-dim));
  color: #1a1205;
  box-shadow: 0 8px 32px rgba(228, 195, 74, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(228, 195, 74, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
  border-color: rgba(228, 195, 74, 0.45);
  color: var(--gold);
  background: rgba(228, 195, 74, 0.06);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

/* Фон главной: dragonmani.jpg + затемнение для читаемости текста */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/dragonmani.jpg") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    rgba(7, 8, 13, 0.9) 0%,
    rgba(7, 8, 13, 0.82) 38%,
    rgba(10, 11, 18, 0.86) 65%,
    rgba(7, 8, 13, 0.92) 100%
  );
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-shadow: 0 1px 24px rgba(7, 8, 13, 0.55);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Правая колонка: баннер + карточка */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-banner {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-xl);
  outline: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.hero-banner:focus-visible {
  box-shadow: 0 0 0 3px var(--bg-deep), 0 0 0 6px rgba(228, 195, 74, 0.55);
}

.hero-banner-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: linear-gradient(135deg, rgba(228, 195, 74, 0.55), rgba(255, 122, 92, 0.25), rgba(100, 130, 255, 0.2));
  opacity: 0.75;
  z-index: 0;
  filter: blur(12px);
  transition: opacity 0.35s var(--ease-out);
}

.hero-banner:hover .hero-banner-glow,
.hero-banner:focus-visible .hero-banner-glow {
  opacity: 1;
}

.hero-banner-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: #0c0d12;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  /* Вся картинка в кадре; при огромной высоте — вписываем в экран без обрезки */
  max-height: min(88vh, 920px);
}

.hero-banner img {
  display: block;
  max-width: 100%;
  max-height: min(88vh, 920px);
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

.hero-banner:hover img {
  transform: scale(1.02);
}

.hero-banner-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.07) 48%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-banner-shine {
    animation: banner-shine 7s var(--ease-out) infinite;
  }
}

@keyframes banner-shine {
  0%, 100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 8, 13, 0.75) 100%);
  pointer-events: none;
}

.hero-banner-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(7, 8, 13, 0.95);
  background: linear-gradient(135deg, var(--gold), #c9a227);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-banner-cta-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(228, 195, 74, 0.95);
  position: relative;
  box-shadow: 0 4px 14px rgba(228, 195, 74, 0.4);
}

.hero-banner-cta-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -4px 0 0 -5px;
  border: solid #1a1205;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

.hero-banner:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner:hover,
  .hero-banner:hover img {
    transform: none;
  }
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.lead strong {
  color: var(--text);
}

.hero-bullets {
  margin: 0 0 1.75rem;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.hero-bullets li {
  margin-bottom: 0.45rem;
}

.hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.hero-cta .btn {
  flex: 0 1 auto;
  white-space: nowrap;
}

.hero-cta .btn-lg {
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
}

@media (min-width: 480px) {
  .hero-cta .btn-lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Две карточки слотов под баннером */
.hero-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 420px) {
  .hero-slots {
    grid-template-columns: 1fr;
  }
}

.hero-slot-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(20, 22, 36, 0.88);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.hero-slot-card:hover {
  border-color: rgba(228, 195, 74, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(228, 195, 74, 0.1);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slot-card:hover {
    transform: none;
  }
}

.hero-slot-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0c0d12;
  overflow: hidden;
}

.hero-slot-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 13, 0.55) 100%);
  pointer-events: none;
}

.hero-slot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}

.hero-slot-card:hover .hero-slot-media img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slot-card:hover .hero-slot-media img {
    transform: none;
  }
}

.hero-slot-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
}

.hero-slot-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-slot-play {
  width: 100%;
  margin-top: auto;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  font-size: 0.82rem;
  border-radius: 12px;
  text-align: center;
  justify-content: center;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(22, 24, 40, 0.55), rgba(7, 8, 13, 0.2));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

/* Фон images/dragonmani.jpg + затемнение: зеркало, блок «как ищут бренд» */
.section-bg-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-bg-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/dragonmani.jpg") center center / cover no-repeat;
}

.section-bg-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    168deg,
    rgba(7, 8, 13, 0.9) 0%,
    rgba(7, 8, 13, 0.78) 45%,
    rgba(10, 11, 18, 0.88) 100%
  );
}

.section-bg-banner > .container {
  position: relative;
  z-index: 1;
}

.section-alt.section-bg-banner {
  background: transparent;
  border-block-color: rgba(255, 255, 255, 0.08);
}

.section-bg-banner .split h2,
.section-bg-banner .split p {
  text-shadow: 0 1px 22px rgba(7, 8, 13, 0.6);
}

.section-bg-banner .callout {
  background: rgba(18, 20, 32, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.section-bg-banner .keywords-title,
.section-bg-banner .keywords-lead {
  text-shadow: 0 1px 22px rgba(7, 8, 13, 0.6);
}

.section-bg-banner .keywords-list li {
  background: rgba(18, 20, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head h2,
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.slot-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.25s;
}

.slot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(228, 195, 74, 0.12);
  border-color: rgba(228, 195, 74, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .slot-card:hover {
    transform: none;
  }
}

.slot-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0e14;
  position: relative;
}

.slot-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 13, 0.45) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.3s;
}

.slot-card:hover .slot-media::after {
  opacity: 0.65;
}

.slot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.slot-card:hover .slot-media img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .slot-card:hover .slot-media img {
    transform: none;
  }
}

.slot-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.2rem 1.2rem;
  gap: 0;
}

.slot-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.slot-body p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.slot-cta {
  display: inline-flex;
  width: 100%;
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  font-size: 0.82rem;
  border-radius: 12px;
  box-sizing: border-box;
}

.split {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split p {
  color: var(--text-muted);
}

.split h2 {
  margin-top: 0;
}

.callout {
  background: rgba(20, 22, 36, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow-soft);
}

.callout h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.callout ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.callout li {
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 800px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.step:hover {
  border-color: rgba(228, 195, 74, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.step-num {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #1a1205;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.brand-note-bar {
  padding: 0.65rem 0 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52rem;
}

.brand-note-em {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hero-bridge {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 36rem;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .intent-grid {
    grid-template-columns: 1fr;
  }
}

.intent-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.intent-card:hover {
  border-color: rgba(228, 195, 74, 0.15);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.intent-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.intent-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.intent-card-wide {
  grid-column: 1 / -1;
}

.note {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.note code,
.section-head code {
  font-size: 0.85em;
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

/* FAQ — карточки в современном стиле */
.section-faq .container {
  max-width: 760px;
}

.faq-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.faq-head h2 {
  margin-bottom: 0.5rem;
}

.faq-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.faq-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-inline: auto;
  line-height: 1.55;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(145deg, rgba(28, 30, 48, 0.92), rgba(18, 20, 32, 0.85));
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.25s var(--ease-out);
}

.faq-item:hover {
  border-color: rgba(228, 195, 74, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.faq-item[open] {
  border-color: rgba(228, 195, 74, 0.32);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(228, 195, 74, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.faq-item[open]:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item[open]:hover {
    transform: none;
  }
}

.faq-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem 1.2rem 1.45rem;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text);
  position: relative;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "";
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 12px;
  background: rgba(228, 195, 74, 0.1);
  border: 1px solid rgba(228, 195, 74, 0.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e4c34a' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, border-color 0.25s;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(180deg);
  background-color: rgba(228, 195, 74, 0.18);
  border-color: rgba(228, 195, 74, 0.4);
}

.faq-summary:hover::after {
  border-color: rgba(228, 195, 74, 0.45);
}

.faq-q {
  flex: 1;
  padding-right: 0.25rem;
}

.faq-answer {
  padding: 0 1.45rem 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -1px;
  animation: faq-open 0.35s var(--ease-out);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer {
    animation: none;
  }

  .faq-summary::after {
    transition: none;
  }
}

.faq-answer p {
  margin: 0;
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.25rem 0;
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(12, 14, 22, 0.95), rgba(7, 8, 13, 0.98));
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--gold);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 420px;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Блок поисковых формулировок — отдельно от основного текста */
.section-keywords {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.keywords-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.keywords-lead {
  margin: 0 0 1.25rem;
  max-width: 720px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.keywords-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.keywords-list li {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(155, 151, 173, 0.95);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(20, 22, 36, 0.55);
  transition: border-color 0.2s;
}

.keywords-list li:hover {
  border-color: rgba(228, 195, 74, 0.15);
}
