:root {
  --night: #1a0b2e;
  --purple: #6d28d9;
  --deep: #4c1d95;
  --lilac: #f3e8ff;
  --line: #c4b5fd;
  --line-soft: #e9d5ff;
  --white: #ffffff;
  --ink: #1a1025;
  --muted: #6b6280;
  --gold: #e8b931;
  --gold-hover: #f3cc56;
  --card: #2a1548;
  --shadow: 0 18px 40px rgba(26, 11, 46, 0.12);
  --radius: 28px;
  --max: 1120px;
  --font: Manrope, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #f78ec9 url("../assets/lotus-bg.jpg") repeat;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--night);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  width: min(var(--max), calc(100% - 24px));
  margin: 12px auto 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  backdrop-filter: blur(28px) saturate(1.35);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(76, 29, 149, 0.18),
    0 10px 30px rgba(76, 29, 149, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.logo img { width: 28px; height: 28px; }
.logo small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}
.nav { position: relative; display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  z-index: 1;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a[aria-current="page"] { color: var(--deep); }
.nav-toggle {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.band { position: relative; overflow: hidden; }
.band-night { background: rgba(26, 11, 46, 0.72); color: var(--white); }
.band-white { background: rgba(255, 255, 255, 0.62); color: var(--ink); }
.band-purple { background: rgba(109, 40, 217, 0.58); color: var(--white); }
.band-lilac { background: rgba(243, 232, 255, 0.62); color: var(--ink); }
.band-pad { padding: 72px 0; }
.hero { padding: 48px 0 64px; }
.kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(46px, 7vw, 84px); line-height: 0.95; }
.hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: 0.01em; }
.hero .role { margin: 10px 0 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; color: var(--white); max-width: 720px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.lead { max-width: 640px; font-size: 18px; color: var(--line); margin: 18px 0 0; }
.section-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ribbon { position: absolute; pointer-events: none; z-index: 0; opacity: 0.45; }
.ribbon-right { right: -80px; top: 20px; width: min(460px, 42vw); }
.ribbon-left { left: -120px; bottom: -40px; width: min(380px, 36vw); opacity: 0.85; }
.hero-grid, .about-grid { position: relative; z-index: 1; }

.entry-card {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  color: var(--ink);
  border-radius: 32px;
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(76, 29, 149, 0.2),
    0 10px 30px rgba(76, 29, 149, 0.18);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.entry {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 22px;
  padding: 18px 18px 16px;
  min-height: 118px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.entry strong { font-size: 20px; }
.entry span { color: var(--muted); font-size: 14px; }
.entry-card .btn-gold { grid-column: 1 / -1; justify-self: center; margin-top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.btn-gold {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  color: var(--night);
  isolation: isolate;
}
.btn-gold:hover { background: var(--gold-hover); }
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55), transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn-white {
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 20px rgba(76, 29, 149, 0.12);
}
.btn-white:hover { background: rgba(255, 255, 255, 0.82); }
.btn-line {
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--deep);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-line:hover { border-color: var(--purple); background: rgba(255, 255, 255, 0.7); }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.mission {
  position: relative;
  overflow: hidden;
  background: rgba(109, 40, 217, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 30px rgba(76, 29, 149, 0.18);
}
.mission p { margin: 12px 0 0; font-size: 17px; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.principle {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border-radius: 22px;
  padding: 18px;
  min-height: 104px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(76, 29, 149, 0.16),
    0 10px 30px rgba(76, 29, 149, 0.12);
}
.principle strong { display: block; margin-bottom: 6px; }
.principle span { color: var(--muted); font-size: 14px; }

.service-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.offer {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  color: var(--ink);
  border-radius: 26px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(76, 29, 149, 0.2),
    0 10px 30px rgba(76, 29, 149, 0.18);
}
.offer h3 { font-size: 26px; line-height: 1.15; }
.offer p { margin: 0; color: var(--muted); flex: 1; }
.offer .price { color: #8a6a12; }
.price { color: var(--gold); font-weight: 800; font-size: 22px; }
.offer .btn { align-self: flex-start; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line);
}
.step {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  color: var(--ink);
  border-radius: 22px;
  padding: 54px 18px 18px;
  min-height: 180px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 30px rgba(76, 29, 149, 0.16);
}
.dot {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(232, 185, 49, 0.18);
}
.step strong { display: block; margin-bottom: 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.aside-note {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  color: var(--ink);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px rgba(76, 29, 149, 0.16);
}
.aside-note p { margin: 0; color: var(--muted); }

.gift-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 30px rgba(76, 29, 149, 0.16);
  margin-bottom: 36px;
}
.gift-card p { margin: 10px 0 0; color: var(--muted); max-width: 640px; }

.review-grid, .catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review, .card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border-radius: 24px;
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(76, 29, 149, 0.16),
    0 10px 30px rgba(76, 29, 149, 0.14);
  text-decoration: none;
  color: inherit;
}
.review p, .card p { margin: 10px 0 0; }
.review .who { font-weight: 800; }
.review .more { display: inline-block; margin-top: 14px; color: var(--deep); font-weight: 700; }
.muted { color: var(--muted); }
.center-link { margin-top: 22px; }

.seam { height: 52px; display: grid; }
.seam-night-white { background: linear-gradient(rgba(26, 11, 46, 0.72) 50%, rgba(255, 255, 255, 0.62) 50%); }
.seam-white-purple { background: linear-gradient(rgba(255, 255, 255, 0.62) 50%, rgba(109, 40, 217, 0.58) 50%); }
.seam-purple-night { background: linear-gradient(rgba(109, 40, 217, 0.58) 50%, rgba(26, 11, 46, 0.72) 50%); }
.seam-night-lilac { background: linear-gradient(rgba(26, 11, 46, 0.72) 50%, rgba(243, 232, 255, 0.62) 50%); }
.seam-lilac-night { background: linear-gradient(rgba(243, 232, 255, 0.62) 50%, rgba(26, 11, 46, 0.72) 50%); }
.seam-white-night { background: linear-gradient(rgba(255, 255, 255, 0.62) 50%, rgba(26, 11, 46, 0.72) 50%); }
.seam-line {
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.seam-line::before, .seam-line::after {
  content: "";
  height: 1px;
  width: min(220px, 24vw);
  background: var(--line);
}
.seam-line img { width: 40px; height: 40px; }

.page-intro { padding: 36px 0 28px; }
.page-intro h1 { font-size: clamp(36px, 5vw, 60px); }
.page-intro p { color: var(--line); max-width: 640px; }

.filters { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.chip, .sort-btn {
  position: relative;
  z-index: 1;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--deep);
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.chip[aria-pressed="true"], .sort-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.78);
  color: var(--deep);
  border-color: transparent;
}
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.search {
  flex: 1;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 0 18px;
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
}
.search:focus {
  outline: none;
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 2px rgba(232, 185, 49, 0.45);
}
.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 14px;
}
.group-title img { width: 24px; height: 24px; }
.card { display: flex; flex-direction: column; min-height: 210px; }
.card h3 { font-size: 20px; line-height: 1.25; }
.tag {
  align-self: flex-start;
  background: var(--lilac);
  color: var(--deep);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}
.card .price, .service .price { color: #8a6a12; }
.card .price { margin-top: auto; padding-top: 12px; }
.card .more { color: var(--deep); font-weight: 800; margin-top: 8px; }
.card .btn { margin-top: 12px; align-self: flex-start; }
.empty {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px rgba(76, 29, 149, 0.14);
}
.empty .btn { margin-top: 16px; }

.service { max-width: 760px; }
.crumbs { color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--deep); }
.service .price { font-size: 40px; margin: 12px 0; }
.receive { padding-left: 18px; }
.receive li { margin: 6px 0; }
.copy-box {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 22px; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.review-list { display: grid; gap: 14px; }
.review-full .who a { color: var(--deep); }
.review-full .date { color: var(--muted); font-size: 13px; }

.order-list { display: grid; gap: 12px; margin: 18px 0 22px; }
.order-list article {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.site-footer { color: var(--white); padding: 28px 0 36px; background: rgba(26, 11, 46, 0.92); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.site-footer a { color: var(--gold); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer p { color: #d5c7ef; font-size: 13px; max-width: 560px; }

@media (max-width: 1099px) {
  .service-row, .review-grid, .catalog-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    backdrop-filter: blur(28px) saturate(1.3);
    border-radius: 22px;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px 14px;
    gap: 4px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 10px 30px rgba(76, 29, 149, 0.18);
  }
  .nav a { min-height: 44px; display: flex; align-items: center; }
  .nav.open { display: flex; }
  .ribbon { display: none; }
  .entry-card, .service-row, .review-grid, .catalog-grid, .about-grid, .steps, .principles, .footer-grid, .gift-card, .toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }
  .service-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .offer { scroll-snap-align: start; }
  .gift-card, .aside-note, .footer-grid { display: flex; flex-direction: column; align-items: flex-start; }
  .band-pad { padding: 48px 0; }
  .seam-line::before, .seam-line::after { width: 18vw; }
  .search:focus { transform: none; }
}

.nav-pill, .filter-pill {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(76, 29, 149, 0.16);
  pointer-events: none;
  transition: transform 360ms cubic-bezier(0.22, 1.15, 0.36, 1), width 360ms cubic-bezier(0.22, 1.15, 0.36, 1), height 360ms cubic-bezier(0.22, 1.15, 0.36, 1);
}
body.has-pill .chip[aria-pressed="true"] { background: transparent; }

.lens, .entry, .offer, .card, .principle, .step, .review, .mission, .gift-card, .aside-note, .order-list article, .copy-box, .empty {
  --mx: 18%;
  --my: 12%;
}
.entry::before, .offer::before, .card::before, .principle::before, .step::before, .review::before, .mission::before, .gift-card::before, .aside-note::before, .order-list article::before, .copy-box::before, .empty::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(140px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.55), transparent 46%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
}
.entry > *, .offer > *, .card > *, .principle > *, .step > *, .review > *, .mission > *, .gift-card > *, .aside-note > *, .order-list article > *, .copy-box > *, .empty > * {
  position: relative;
  z-index: 1;
}
.step > .dot { position: absolute; z-index: 2; }

.glass-buy {
  position: sticky;
  bottom: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  backdrop-filter: blur(28px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 30px rgba(76, 29, 149, 0.16);
}
.glass-buy .price { margin-top: 0; }

.site-footer nav a { position: relative; text-decoration: none; }
.site-footer nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.site-footer nav a:hover::after { transform: scaleX(1); }

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.16), transparent 58%);
  animation: glass-sheen 8s linear infinite;
}
main, .seam { position: relative; z-index: 1; }
body.page-enter main { opacity: 0; transform: translateY(8px); }
body.page-enter-on main { opacity: 1; transform: none; transition: opacity 320ms ease, transform 320ms ease; }
body.page-leave main { opacity: 0; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; }

.catalog-grid .card { animation: glass-rise 320ms ease both; }
.catalog-grid .card:nth-child(2) { animation-delay: 30ms; }
.catalog-grid .card:nth-child(3) { animation-delay: 60ms; }
.catalog-grid .card:nth-child(4) { animation-delay: 90ms; }
.catalog-grid .card:nth-child(5) { animation-delay: 120ms; }
.catalog-grid .card:nth-child(6) { animation-delay: 150ms; }
.catalog-grid .card:nth-child(7) { animation-delay: 180ms; }
.catalog-grid .card:nth-child(8) { animation-delay: 210ms; }
.catalog-grid .card:nth-child(n + 9) { animation: none; }
.nav.open a { animation: glass-rise 320ms ease both; }
.nav.open a:nth-of-type(2) { animation-delay: 40ms; }
.nav.open a:nth-of-type(3) { animation-delay: 80ms; }
.nav.open a:nth-of-type(4) { animation-delay: 120ms; }
.nav.open a:nth-of-type(5) { animation-delay: 160ms; }

@keyframes glass-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes glass-sheen {
  from { transform: translateX(-30%); }
  to { transform: translateX(30%); }
}

@media (hover: hover) and (pointer: fine) and (min-width: 721px) {
  .entry, .offer, .card, .principle, .step, .review, .mission, .gift-card, .order-list article {
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, opacity 200ms ease;
  }
  .entry:hover, .offer:hover, .card:hover, .principle:hover, .step:hover, .review:hover, .mission:hover, .gift-card:hover, .order-list article:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.92),
      0 16px 36px rgba(76, 29, 149, 0.24);
  }
  .entry:hover::before, .offer:hover::before, .card:hover::before, .principle:hover::before, .step:hover::before, .review:hover::before, .mission:hover::before, .gift-card:hover::before, .order-list article:hover::before {
    opacity: 1;
  }
  .entry:active, .offer:active, .card:active, .btn:active {
    transform: scale(0.98);
    transition-duration: 120ms;
  }
  .entry-card:has(.entry:hover) .entry:not(:hover),
  .service-row:has(.offer:hover) .offer:not(:hover),
  .catalog-grid:has(.card:hover) .card:not(:hover),
  .review-grid:has(.review:hover) .review:not(:hover),
  .principles:has(.principle:hover) .principle:not(:hover),
  .steps:has(.step:hover) .step:not(:hover) {
    opacity: 0.86;
  }
  .btn-gold:hover::after { transform: translateX(120%); transition: transform 500ms ease; }
  .nav a:hover { color: var(--deep); }
  .search:focus { transform: scale(1.015); transition: transform 200ms ease, box-shadow 200ms ease; }
}

@media (hover: none), (max-width: 720px) {
  .entry:active, .offer:active, .card:active, .principle:active, .step:active, .review:active, .btn:active {
    box-shadow:
      inset 0 0 0 1.5px rgba(255, 255, 255, 0.95),
      0 8px 18px rgba(76, 29, 149, 0.2);
  }
  .entry:hover, .offer:hover, .card:hover, .principle:hover, .step:hover, .review:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before, .catalog-grid .card, .nav.open a, .btn-gold::after { animation: none; }
  .nav-pill, .filter-pill, .entry, .offer, .card, .btn, main { transition: none; }
  body.page-enter main, body.page-leave main { opacity: 1; transform: none; }
}
