:root {
  --bg: #07060a;
  --bg-2: #0d0b11;
  --bg-card: #121018;
  --red: #c4182c;
  --red-bright: #e5263c;
  --red-soft: rgba(196, 24, 44, 0.18);
  --silver: #c8c9d1;
  --silver-bright: #eef0f5;
  --muted: #8b8794;
  --line: rgba(200, 201, 209, 0.13);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--silver);
  line-height: 1.6;
  min-height: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--silver-bright); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

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

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(7, 6, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--silver-bright);
  text-transform: uppercase;
}
.nav__brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 0 18px rgba(196, 24, 44, 0.35);
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__menu a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--silver);
  transition: color 0.2s ease;
}
.nav__menu a:hover { color: var(--silver-bright); }
.nav__cta {
  padding: 8px 16px !important;
  border: 1px solid rgba(196, 24, 44, 0.7);
  border-radius: 999px;
  color: var(--silver-bright) !important;
  background: linear-gradient(180deg, rgba(196, 24, 44, 0.28), rgba(196, 24, 44, 0.08));
}
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--silver-bright);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 88px;
  min-height: calc(100svh - 66px);
  justify-content: center;
}
.hero__glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 52%;
  background:
    radial-gradient(ellipse at center, rgba(196, 24, 44, 0.38), transparent 62%),
    radial-gradient(ellipse at 50% 70%, rgba(80, 10, 16, 0.5), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero__logo {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(400px, 82vw);
  max-height: min(520px, 64svh);
  animation: rise 1s ease both;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.55));
}
.hero__eyebrow,
.hero__lead,
.hero__actions { position: relative; z-index: 1; }
.hero__eyebrow {
  margin-top: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
  animation: rise 1s ease 0.15s both;
}
.hero__lead {
  max-width: 560px;
  margin: 14px auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--silver);
  animation: rise 1s ease 0.25s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  animation: rise 1s ease 0.4s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 8px 24px rgba(196, 24, 44, 0.35);
}
.btn--primary:hover { box-shadow: 0 12px 28px rgba(196, 24, 44, 0.48); }
.btn--ghost {
  color: var(--silver-bright);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: rgba(232, 233, 239, 0.4); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.85rem; }

/* Sections */
.section { padding: 80px 0; }
.section--alt {
  background:
    linear-gradient(180deg, transparent, rgba(196, 24, 44, 0.05) 40%, transparent),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.section__head { max-width: 640px; margin-bottom: 40px; }
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.section__sub { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

.cat { margin-top: 48px; }
.cat__title {
  font-size: 1.7rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 24, 44, 0.45);
  box-shadow: 0 24px 50px rgba(196, 24, 44, 0.12), var(--shadow);
}
.card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a090d;
  box-shadow: inset 0 0 0 1px rgba(232, 233, 239, 0.08);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card__body h4 { font-size: 1.45rem; }
.card__body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Prices */
.price-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-group {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.price-group h3 { font-size: 1.5rem; margin-bottom: 16px; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.price-list li:first-child { border-top: 0; padding-top: 0; }
.price-list span { color: var(--silver); }
.price-list strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--silver-bright);
  white-space: nowrap;
}
.price-note { margin: 28px 0 22px; color: var(--muted); text-align: center; }
.center { text-align: center; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 26px;
  position: relative;
}
.steps__n {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--red-bright);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Contacts */
.section--contacts { padding-bottom: 100px; text-align: center; }
.section--contacts .section__sub { margin-left: auto; margin-right: auto; max-width: 520px; }
.contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  text-align: left;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover {
  border-color: rgba(196, 24, 44, 0.5);
  transform: translateY(-2px);
}
.contact-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.contact-card strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--silver-bright);
  font-weight: 600;
}
.contact-card span:last-child { color: var(--muted); font-size: 0.95rem; }

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .price-groups, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__toggle { display: inline-block; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 6, 10, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a { padding: 12px 8px; }
  .nav__cta { text-align: center; margin-top: 6px; }
  .hero { min-height: auto; padding: 16px 20px 64px; }
  .hero__logo { width: min(300px, 86vw); }
  .price-groups, .steps, .contacts { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .container { width: min(var(--max), calc(100% - 32px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__logo, .hero__eyebrow, .hero__lead, .hero__actions, .reveal, .card, .card__media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
