/*
 * Public font declarations live in the main stylesheet so first paint does not
 * wait for a second render-blocking CSS request. The standalone font sheet is
 * retained for specialised/admin pages that still load it directly.
 */
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("fonts/comfortaa-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("fonts/comfortaa-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("fonts/comfortaa-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("fonts/comfortaa-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/yeseva-one-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/yeseva-one-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/yeseva-one-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Yeseva One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/yeseva-one-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fff6ee;
  --bg-alt: #ffe8d4;
  --ink: #1f1a1d;
  --muted: #5e5755;
  --primary: #ff6f61;
  --secondary: #2ec4b6;
  --sun: #ffca3a;
  --sky: #5aa9e6;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(28, 24, 22, 0.14);
  --radius: 24px;
  --radius-sm: 16px;
  --page-padding: clamp(16px, 6vw, 96px);
}

.legal-warning {
  padding: 14px 16px;
  border: 1px solid rgba(180, 35, 24, 0.28);
  border-radius: 14px;
  background: rgba(180, 35, 24, 0.07);
  color: #7c241d;
  font-weight: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Comfortaa", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff0dd 0%, var(--bg) 45%, #fff8ef 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 202, 58, 0.55), rgba(255, 202, 58, 0));
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}

body::before {
  top: -140px;
  right: -80px;
}

body::after {
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 196, 182, 0.45), rgba(46, 196, 182, 0));
}

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

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

button {
  font-family: inherit;
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px var(--page-padding);
  scroll-margin-top: 140px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-heading h1,
.section-heading h2 {
  font-family: "Yeseva One", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 16px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.category-catalog-heading {
  max-width: 1180px;
}

.category-catalog-heading > h1,
.category-catalog-heading > h2,
.category-catalog-heading > p {
  max-width: 640px;
}

.catalog-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-benefit-card {
  position: relative;
  min-width: 0;
  padding: 20px;
  overflow: hidden;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 111, 97, 0.18);
  border-radius: 20px;
  background: linear-gradient(150deg, #fff 0%, #fff9f2 100%);
  box-shadow: 0 16px 36px rgba(88, 49, 27, 0.09);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.catalog-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ffb13b);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  backdrop-filter: blur(12px);
  background: rgba(255, 246, 238, 0.92);
  border-bottom: 1px solid rgba(31, 26, 29, 0.06);
}

.brand-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px var(--page-padding);
  border-bottom: 1px solid rgba(31, 26, 29, 0.08);
  box-shadow: 0 10px 28px rgba(31, 26, 29, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.1rem;
}

.header-contacts {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-primary-contacts {
  display: contents;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 8px 14px 8px 8px;
  background: var(--card);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(31, 26, 29, 0.08);
}

.phone:focus-visible {
  outline: 3px solid #9b4617;
  outline-offset: 3px;
}

.phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 122, 53, 0.16);
  color: #ff7a35;
}

.phone-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-text {
  white-space: nowrap;
}

.city-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid rgba(46, 196, 182, 0.28);
  box-shadow: 0 12px 30px rgba(31, 26, 29, 0.08);
}

.city-select {
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

.city-select:focus-visible {
  outline: 3px solid rgba(46, 196, 182, 0.28);
  outline-offset: 4px;
  border-radius: 8px;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--card);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 12px 30px rgba(31, 26, 29, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.social-links.compact .social-link {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 26, 29, 0.12);
}

.social-link.tg,
.social-link.vk {
  border: 1px solid rgba(90, 169, 230, 0.4);
}

.social-link.max {
  border: 1px solid rgba(46, 196, 182, 0.35);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(173, 74, 18, 0.42);
  background: linear-gradient(135deg, #ffb36b, #ffca59);
  box-shadow:
    0 14px 30px rgba(145, 72, 28, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .menu-toggle:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffc17a, #ffd36a);
    box-shadow:
      0 18px 38px rgba(145, 72, 28, 0.34),
      inset 0 1px 0 rgba(255, 255, 255, 0.62);
  }
}

.menu-toggle:focus-visible {
  outline: 3px solid #9b4617;
  outline-offset: 3px;
}

.menu-toggle[aria-expanded="true"] {
  transform: translateY(1px);
  box-shadow:
    0 8px 18px rgba(145, 72, 28, 0.28),
    inset 0 2px 5px rgba(125, 52, 16, 0.16);
}

.menu-toggle:active {
  transform: translateY(2px);
  box-shadow:
    0 5px 12px rgba(145, 72, 28, 0.26),
    inset 0 2px 6px rgba(125, 52, 16, 0.2);
}

.main-nav {
  padding: 12px var(--page-padding) 18px;
}

.public-breadcrumbs {
  padding: 12px var(--page-padding) 0;
  color: rgba(45, 35, 34, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.public-breadcrumbs-list {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  white-space: nowrap;
}

.public-breadcrumbs-item {
  display: flex;
  align-items: center;
  min-width: 0;
}

.public-breadcrumbs-item:not(:last-child)::after {
  content: "›";
  flex: 0 0 auto;
  margin: 0 0.48rem;
  color: rgba(145, 72, 28, 0.56);
}

.public-breadcrumbs-link,
.public-breadcrumbs-current {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-breadcrumbs-link {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

.public-breadcrumbs-link:hover {
  color: #7d3410;
  text-decoration: underline;
}

.public-breadcrumbs-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid rgba(155, 70, 23, 0.58);
  outline-offset: 3px;
}

.public-breadcrumbs-current {
  color: var(--ink);
  font-weight: 650;
}

.page-switcher {
  padding: 22px var(--page-padding) 0;
}

.page-switcher-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-switcher-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 48px;
  padding: 10px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 111, 97, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3e7, #ffe1c3);
  box-shadow: 0 12px 28px rgba(145, 72, 28, 0.12);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-switcher-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffe7cf, #ffc887);
  box-shadow: 0 16px 32px rgba(145, 72, 28, 0.18);
}

.page-switcher-link:focus-visible {
  outline: 3px solid rgba(255, 111, 97, 0.38);
  outline-offset: 3px;
}

.page-switcher-link.is-active {
  padding-right: 46px;
  background: linear-gradient(135deg, #ffb36b, #ffca59);
  border-color: rgba(173, 74, 18, 0.38);
  box-shadow: 0 16px 34px rgba(199, 91, 32, 0.24);
}

.page-switcher-link.is-active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  right: 12px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #7d3410;
  font-size: 0.85rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.page-switcher + main > .hero.section:first-child {
  padding-top: 48px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 111, 97, 0.12);
  color: var(--primary);
}

.nav-item {
  position: relative;
}

.nav-item.is-active .nav-link {
  background: rgba(255, 111, 97, 0.12);
  color: var(--primary);
}

.dropdown-toggle {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 6px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 14px;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.dropdown-menu li + li {
  margin-top: 8px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.is-active {
  background: rgba(46, 196, 182, 0.12);
  color: var(--secondary);
}

.nav-item.open .dropdown-menu,
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.album-hero {
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.4fr);
}

.album-detail-hero {
  align-items: start;
}

.album-page-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: -18px 0 clamp(48px, 8vw, 96px);
}

.album-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 26, 29, 0.08);
  box-shadow: 0 12px 28px rgba(31, 26, 29, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.album-arrow-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31, 26, 29, 0.12);
}

.album-arrow-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 111, 97, 0.12);
  color: var(--primary);
  line-height: 1;
}

.hero-text h1 {
  font-family: "Yeseva One", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 14px 0 16px;
}

.tag {
  display: grid;
  gap: 2px;
  width: fit-content;
  max-width: min(100%, 44rem);
  margin: 0;
  padding: 3px 0 3px 16px;
  list-style: none;
  border: 0;
  border-left: 4px solid #ff7a35;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.tag-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.tag-line::before {
  content: "•";
  color: var(--ink);
  font-size: 1.05em;
  line-height: 1.5;
}

.subtitle {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.album-subtitle {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.album-meta .album-subtitle {
  margin: 6px 0 8px;
  font-size: 0.95rem;
}

.album-description {
  max-width: 880px;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line;
}

.hero-subtitle {
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--sun));
  color: #fff;
  box-shadow: 0 18px 36px rgba(255, 111, 97, 0.3);
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(31, 26, 29, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.hero-gallery {
  position: relative;
  width: min(100%, 630px);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

#home .hero-visual {
  align-content: center;
  row-gap: clamp(16px, 2vw, 24px);
}

.hero-gallery-heading {
  width: min(100%, 880px);
  margin: 0;
  font-family: "Yeseva One", serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--hero-crossfade-duration, 5000ms) linear;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 961px) {
  #home.hero {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(32px, 4vw, 72px);
  }

  #home .hero-visual {
    width: calc(100% + clamp(28px, 3vw, 56px));
    min-height: clamp(400px, 38vw, 660px);
    justify-self: start;
    place-items: center start;
    transform: translate(
      clamp(0px, 1.5vw, 28px),
      clamp(10px, 2.2vw, 42px)
    );
  }

  #home .hero-gallery {
    width: min(100%, 880px);
  }
}

.album-hero .hero-visual {
  width: min(700px, 90vw);
  justify-self: center;
}

.album-hero .hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.album-preview[data-cover-src] {
  width: min(520px, 86vw);
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

button.album-preview[data-cover-src] {
  border: none;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.album-preview[data-cover-src]:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(28, 24, 22, 0.18);
}

button.album-preview[data-cover-src]:focus-visible {
  outline: 3px solid rgba(255, 111, 97, 0.45);
  outline-offset: 5px;
}

.album-preview[data-cover-src] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

.album-inner-cover-card {
  width: min(900px, 100%);
  margin: 0;
  padding: clamp(12px, 2vw, 22px);
  justify-self: center;
  border: 1px solid rgba(255, 111, 97, 0.14);
  border-radius: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 30px 70px rgba(31, 26, 29, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.85) inset;
}

.album-hero .album-preview.album-inner-cover[data-cover-src] {
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: clamp(14px, 2vw, 22px);
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.album-hero .album-preview.album-inner-cover[data-cover-src] picture {
  display: block;
  width: 100%;
}

.album-hero .album-preview.album-inner-cover[data-cover-src] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: clamp(14px, 2vw, 22px);
  background: #fffaf6;
  object-fit: contain;
  box-shadow: none;
}

button.album-preview.album-inner-cover[data-cover-src]:hover {
  transform: scale(1.006);
  box-shadow: none;
  opacity: 1;
}

.album-grid,
.video-grid,
.review-grid,
.process-grid {
  display: grid;
  gap: 24px;
}

.album-grid,
.process-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.home-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.album-card,
.process-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.home-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.album-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.album-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(28, 24, 22, 0.18);
}

.album-item:focus-visible {
  outline: 3px solid rgba(255, 111, 97, 0.45);
  outline-offset: 4px;
}

.album-media {
  aspect-ratio: 19 / 30;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f9f6f1;
}

.album-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.album-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.album-badge {
  --album-badge-background: linear-gradient(135deg, #ff9661, #ffd16e);
  --album-badge-border: rgba(167, 72, 27, 0.3);
  --album-badge-color: #2d211d;
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 14px);
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--album-badge-border);
  border-left: 0;
  border-radius: 0 18px 18px 0;
  background: var(--album-badge-background);
  color: var(--album-badge-color);
  box-shadow:
    0 9px 24px rgba(31, 26, 29, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: anywhere;
  pointer-events: none;
}

.album-badge > span:last-child {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.album-badge-icon {
  flex: 0 0 auto;
  line-height: 1;
}

.album-badge--coral {
  --album-badge-background: linear-gradient(135deg, #ff9b91, #ffc7b4);
}

.album-badge--gold {
  --album-badge-background: linear-gradient(135deg, #ffd76b, #fff0a8);
  --album-badge-border: rgba(154, 112, 13, 0.3);
}

.album-badge--mint {
  --album-badge-background: linear-gradient(135deg, #a7e9db, #ddf7ea);
  --album-badge-border: rgba(20, 127, 117, 0.28);
}

.album-badge--sky {
  --album-badge-background: linear-gradient(135deg, #b6dcff, #e3f2ff);
  --album-badge-border: rgba(46, 105, 161, 0.27);
}

.album-badge--berry {
  --album-badge-background: linear-gradient(135deg, #f3a2c5, #ffd3df);
  --album-badge-border: rgba(144, 48, 94, 0.3);
}

.album-badge--lilac {
  --album-badge-background: linear-gradient(135deg, #d8c0f4, #f1e5ff);
  --album-badge-border: rgba(102, 72, 139, 0.27);
}

.album-badge--graphite {
  --album-badge-background: linear-gradient(135deg, #393339, #6b6167);
  --album-badge-border: rgba(31, 26, 29, 0.6);
  --album-badge-color: #fffaf6;
}

.album-badge--outline {
  --album-badge-background: rgba(255, 250, 246, 0.94);
  --album-badge-border: #ff8a65;
}

.album-meta {
  padding: 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.album-price,
.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 111, 97, 0.12);
  font-weight: 700;
  color: var(--primary);
  width: fit-content;
}

.album-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.spread-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  align-items: start;
}

.btn.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.album-card h3 {
  margin-top: 0;
  font-family: "Yeseva One", serif;
}

.home-card h3 {
  margin-top: 0;
  font-family: "Yeseva One", serif;
}

.album-card p,
.process-card p,
.home-card p {
  color: var(--muted);
  line-height: 1.6;
}

.album-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  color: var(--muted);
}

.home-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  color: var(--muted);
}

.album-card li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.home-card li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.album-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.home-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.process-card.highlight {
  background: linear-gradient(140deg, #fff, #f2fbfa);
}

.text-link {
  font-weight: 600;
  color: var(--primary);
}

.empty-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  color: var(--muted);
}

.videos {
  background: linear-gradient(180deg, rgba(255, 111, 97, 0.08), rgba(255, 202, 58, 0.06));
}

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

.video-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.video-card .video-embed {
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  border-radius: 20px;
}

.video-card .video-embed iframe,
.video-card .video-embed video,
.video-card .video-disk-link {
  border-radius: 20px;
}

.video-card .video-embed video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  object-fit: contain;
}

.video-disk-link {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: #050505;
  color: #fff;
  text-decoration: none;
}

.video-disk-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}

.video-poster-image {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.video-poster-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster-button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.video-poster-image + .video-disk-play {
  background: rgba(0, 0, 0, 0.45);
}

.video-disk-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.video-disk-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
}

.video-card h3 {
  margin: 0 0 8px;
  font-family: "Yeseva One", serif;
}

.video-card p {
  margin: 0;
  color: var(--muted);
}

.video-frame {
  height: 180px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffe1d4, #ffd9a0);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.video-frame.sunrise {
  background: linear-gradient(135deg, #d6f0ff, #ffe6e0);
}

.video-frame.confetti {
  background: linear-gradient(135deg, #fff4c9, #e6f9f6);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.4;
}

.play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  z-index: 1;
  box-shadow: 0 12px 24px rgba(31, 26, 29, 0.12);
}

.video-embed {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-embed {
  max-width: 960px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.video-embed [data-video-error][hidden] {
  display: none;
}

.video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

.album-video-embed video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  object-fit: contain;
}

.album-detail-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.album-order-button {
  min-width: 206px;
  font-family: inherit;
  font-weight: 700;
}

.shared-workflow {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 202, 58, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(255, 111, 97, 0.07), rgba(255, 255, 255, 0));
}

.shared-section-heading {
  max-width: 820px;
}

.shared-workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.shared-workflow-card {
  position: relative;
  min-width: 0;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 111, 97, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fff 0%, #fff9f2 100%);
  box-shadow: 0 18px 44px rgba(88, 49, 27, 0.1);
}

.shared-workflow-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #ffb13b);
}

.shared-workflow-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: inherit;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.3;
}

.shared-workflow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.shared-callback-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.shared-callback-cta .btn {
  min-width: min(100%, 320px);
  min-height: 52px;
  padding: 14px 32px;
  color: #52230d;
  font-size: 0.98rem;
}

.shared-about {
  background: linear-gradient(135deg, rgba(255, 232, 212, 0.82), rgba(255, 246, 238, 0.68));
}

.shared-about-card {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 111, 97, 0.2);
  border-radius: clamp(22px, 4vw, 36px);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 202, 58, 0.2), transparent 34%),
    #fff;
  box-shadow: var(--shadow);
}

.shared-about-paragraph {
  position: relative;
  padding-left: 22px;
}

.shared-about-paragraph::before {
  content: "";
  position: absolute;
  top: 0.35em;
  bottom: 0.35em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), #ffb13b);
}

.shared-about-paragraph + .shared-about-paragraph {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(31, 26, 29, 0.08);
}

.shared-about-paragraph h3,
.shared-about-paragraph p {
  margin: 0;
}

.shared-about-paragraph h3 {
  margin-bottom: 10px;
  font-family: "Yeseva One", serif;
}

.shared-about-paragraph p {
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.8;
}

.shared-about-paragraph strong,
.shared-faq-answer strong {
  color: #a33b17;
}

.category-thematic {
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 202, 58, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 248, 239, 0.35), rgba(255, 232, 212, 0.72));
}

.category-thematic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.category-thematic-card {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 111, 97, 0.18);
  border-radius: clamp(20px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(88, 49, 27, 0.09);
}

.category-thematic-card:first-child {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 202, 58, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.98);
}

.category-thematic-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #ffb13b);
}

.category-thematic-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
}

.category-thematic-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.07rem);
  line-height: 1.78;
}

.category-thematic-card p + p,
.category-thematic-card ul + p {
  margin-top: 16px;
}

.category-thematic-card ul {
  margin: 16px 0 0;
  padding-left: 23px;
  color: var(--muted);
  line-height: 1.7;
}

.category-thematic-card li + li {
  margin-top: 7px;
}

.category-thematic-card li::marker {
  color: var(--primary);
}

.category-thematic-card strong {
  color: var(--text);
  font-weight: 800;
}

.category-thematic-card.highlight {
  border-color: rgba(255, 111, 97, 0.38);
  box-shadow: 0 20px 48px rgba(88, 49, 27, 0.14);
}

.shared-faq {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 202, 58, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 232, 212, 0.72));
}

.shared-faq-list {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: shared-faq;
}

.shared-faq-item {
  counter-increment: shared-faq;
}

.shared-faq-item + .shared-faq-item {
  margin-top: 14px;
}

.shared-faq-item details {
  overflow: hidden;
  border: 1px solid rgba(255, 111, 97, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(75, 43, 28, 0.08);
}

.shared-faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

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

.shared-faq-item summary::before {
  content: counter(shared-faq) ".";
  color: #a33b17;
  font-weight: 700;
}

.shared-faq-item summary:focus-visible {
  outline: 3px solid #7d3410;
  outline-offset: -3px;
}

.shared-faq-question {
  min-width: 0;
}

.shared-faq-toggle {
  width: 14px;
  height: 14px;
  border-right: 3px solid #a33b17;
  border-bottom: 3px solid #a33b17;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.shared-faq-item details[open] .shared-faq-toggle {
  transform: rotate(225deg) translate(-2px, -2px);
}

.shared-faq-answer {
  padding: 0 64px 24px 58px;
  border-top: 1px solid rgba(31, 26, 29, 0.07);
  color: var(--muted);
  line-height: 1.75;
}

.shared-faq-answer p {
  margin: 18px 0 0;
}

.shared-faq-answer ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.shared-faq-answer li + li {
  margin-top: 8px;
}

.shared-faq-answer li::marker {
  color: var(--primary);
}

.shared-faq-closing {
  width: min(980px, 100%);
  margin: 34px auto 0;
  padding: 24px clamp(22px, 5vw, 44px);
  border: 1px solid rgba(255, 111, 97, 0.2);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fff2df);
  box-shadow: 0 16px 38px rgba(75, 43, 28, 0.1);
  color: #853116;
  text-align: center;
  line-height: 1.65;
}

.shared-faq-closing p {
  margin: 0;
}

.reviews {
  background: var(--bg-alt);
}

.review-grid {
  display: block;
  column-count: 3;
  column-gap: 24px;
}

.review-card {
  position: relative;
  display: grid;
  /* Long words must not widen the implicit track beyond a masonry column. */
  grid-template-columns: minmax(0, 1fr);
  overflow-wrap: anywhere;
  gap: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, #fff 0%, #fffaf6 100%);
  padding: 28px;
  border: 1px solid rgba(255, 122, 53, 0.15);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(64, 40, 28, 0.1);
  line-height: 1.6;
  color: var(--ink);
  width: 100%;
  margin: 0 0 24px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ff6f61, #ffb13b);
}

.review-card-head,
.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: #d8d2ce;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.review-stars .is-filled {
  color: #f5a623;
  text-shadow: 0 2px 8px rgba(245, 166, 35, 0.24);
}

.review-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 26, 29, 0.11);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(31, 26, 29, 0.07);
}

.review-source-badge img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.review-quote {
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

.review-quote::before {
  content: "“";
  position: absolute;
  top: -13px;
  left: -4px;
  color: rgba(255, 122, 53, 0.3);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.review-quote p {
  margin: 0;
  white-space: pre-line;
}

.review-card-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(31, 26, 29, 0.09);
}

.review-author {
  display: block;
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.review-source-link {
  color: #a33b17;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(163, 59, 23, 0.32);
  text-underline-offset: 4px;
}

.review-source-link:hover,
.review-source-link:focus-visible {
  color: var(--primary);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card.highlight {
  background: linear-gradient(140deg, #fff, #f2fbfa);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
}

.contact-list a,
.footer-contacts a {
  width: fit-content;
  padding: 4px 9px;
  margin: -4px -9px;
  border-radius: 10px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible,
.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--ink);
  background: rgba(255, 173, 87, 0.24);
  box-shadow: 0 8px 20px rgba(255, 122, 53, 0.14);
  transform: translateY(-1px);
}

.contact-list a:focus-visible,
.footer-contacts a:focus-visible {
  outline: 2px solid rgba(255, 122, 53, 0.58);
  outline-offset: 2px;
}

.social-icon-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 18px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(31, 26, 29, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-card > div {
  min-width: 0;
}

.social-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-card strong {
  display: block;
  font-weight: 600;
}

.social-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(31, 26, 29, 0.12);
}

.social-card.tg {
  border: 1px solid rgba(90, 169, 230, 0.35);
}

.social-card.vk {
  border: 1px solid rgba(46, 196, 182, 0.35);
}

.social-card.max {
  border: 1px solid rgba(46, 196, 182, 0.35);
}

.spread-thumb {
  border: none;
  padding: 16px;
  background: #fff;
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.spread-thumb picture {
  display: block;
}

.spread-thumb img {
  width: 100%;
  height: auto;
}

.spread-thumb:hover img {
  transform: none;
}

.album-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  transition:
    opacity 0.24s ease,
    visibility 0s linear 0.24s;
}

.album-viewer[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

.viewer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(20, 16, 18, 0.68);
  -webkit-backdrop-filter: blur(18px) saturate(0.82);
  backdrop-filter: blur(18px) saturate(0.82);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.24s ease;
}

.album-viewer.open .viewer-backdrop {
  opacity: 1;
}

.viewer-backdrop.is-tracking,
.viewer-backdrop.is-resetting {
  transition: none;
}

.album-viewer.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 0.24s ease,
    visibility 0s linear 0s;
}

.album-viewer.is-closing {
  visibility: visible;
  opacity: 0;
  pointer-events: none;
}

.album-viewer.is-closing.is-swipe-closing {
  opacity: 1;
}

.viewer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.album-viewer.open .viewer-inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.album-viewer.is-closing .viewer-inner {
  opacity: 0;
  transform: translateY(16px) scale(0.985);
}

.album-viewer.is-closing.is-swipe-closing .viewer-inner {
  opacity: 0;
  transform: translateY(0) scale(1);
}

.viewer-top {
  position: absolute;
  top: max(8px, env(safe-area-inset-top));
  left: max(8px, env(safe-area-inset-left));
  right: max(8px, env(safe-area-inset-right));
  z-index: 5;
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f7f2ea;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.viewer-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.viewer-count {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 5px 2px;
  border-radius: 0;
  background: transparent;
  color: #fffaf5;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  text-align: center;
}

.viewer-title {
  min-width: 0;
  max-width: min(42vw, 640px);
  font-weight: 600;
  color: rgba(255, 248, 242, 0.88);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.viewer-zoom-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.viewer-tool,
.viewer-close,
.viewer-zoom-button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fffaf5;
  cursor: pointer;
  font: inherit;
  font-size: 1.08rem;
  line-height: 1;
  box-shadow: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.viewer-zoom-button {
  font-weight: 700;
  box-shadow: none;
}

.viewer-zoom-reset {
  width: auto;
  min-width: 58px;
  padding: 0 9px;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.viewer-close {
  width: 46px;
  height: 46px;
  border-color: transparent;
  background: transparent;
  color: #fffaf5;
  font-size: 1.7rem;
}

.viewer-tool:disabled,
.viewer-nav:disabled,
.viewer-zoom-button:disabled {
  cursor: default;
  opacity: 0.3;
  filter: saturate(0.4);
  box-shadow: none;
}

.viewer-tool:not(:disabled):hover,
.viewer-tool:not(:disabled):focus-visible,
.viewer-close:hover,
.viewer-close:focus-visible,
.viewer-zoom-button:not(:disabled):hover,
.viewer-zoom-button:not(:disabled):focus-visible {
  border-color: rgba(255, 170, 120, 0.68);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
  transform: none;
  outline: none;
}

.viewer-tool[aria-pressed="true"] {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.viewer-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  overflow: visible;
}

.viewer-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: contain;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  user-select: none;
  cursor: grab;
  transition:
    opacity 0.22s ease,
    transform 0.24s ease,
    border-color 0.2s ease;
}

.viewer-frame.is-zoomed {
  cursor: grab;
}

.viewer-frame.is-zoomed.is-gesturing {
  cursor: grabbing;
}

.viewer-frame.is-gesturing {
  cursor: grabbing;
}

.viewer-frame:focus-visible {
  border-color: transparent;
  outline: 2px solid rgba(255, 202, 58, 0.84);
  outline-offset: 3px;
}

.viewer-frame::before {
  content: none;
}

.viewer-frame::after {
  content: none;
}

.viewer-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  transform-origin: center;
  transition:
    transform 0.16s ease,
    opacity 0.18s ease;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.viewer-frame.is-gesturing .viewer-image {
  transition: none;
}

.viewer-image.is-swipe-dismissing {
  transition:
    transform 0.28s cubic-bezier(0.2, 0.72, 0.28, 1),
    opacity 0.24s ease;
}

.viewer-image.is-resetting {
  transition: none !important;
}

.viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 56px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #fffaf5;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.72));
  transform: translateY(-50%);
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.viewer-nav::before {
  content: "";
  width: 19px;
  height: 19px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.viewer-prev {
  left: max(8px, env(safe-area-inset-left));
}

.viewer-next {
  right: max(8px, env(safe-area-inset-right));
}

.viewer-prev::before {
  transform: rotate(45deg);
}

.viewer-next::before {
  transform: rotate(-135deg);
}

.viewer-nav:not(:disabled):hover,
.viewer-nav:not(:disabled):focus-visible {
  border-color: transparent;
  background: transparent;
  color: #ffd384;
  box-shadow: none;
  transform: translateY(-50%);
  outline: 2px solid rgba(255, 211, 132, 0.7);
  outline-offset: -8px;
}

.viewer-thumbnails {
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(max(8px, env(safe-area-inset-bottom)) + 24px);
  z-index: 5;
  min-width: 0;
  min-height: 0;
  max-height: 92px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height 0.22s ease,
    opacity 0.18s ease,
    transform 0.22s ease;
}

.viewer-thumbnails-track {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 4px 4px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 137, 91, 0.76) rgba(255, 255, 255, 0.08);
}

.viewer-thumbnails-track::-webkit-scrollbar {
  height: 6px;
}

.viewer-thumbnails-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.viewer-thumbnails-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--sun));
}

.viewer-thumbnail {
  position: relative;
  flex: 0 0 auto;
  width: clamp(72px, 7vw, 104px);
  height: clamp(48px, 4.7vw, 70px);
  padding: 3px;
  overflow: hidden;
  scroll-snap-align: center;
  border: 2px solid transparent;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0.62;
  transition:
    opacity 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.viewer-thumbnail:first-child {
  margin-inline-start: auto;
}

.viewer-thumbnail:last-child {
  margin-inline-end: auto;
}

.viewer-thumbnail img {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: contain;
  background: rgba(18, 15, 17, 0.82);
  pointer-events: none;
}

.viewer-thumbnail:hover,
.viewer-thumbnail:focus-visible {
  opacity: 0.94;
  border-color: rgba(255, 180, 108, 0.58);
  transform: translateY(-2px);
  outline: none;
}

.viewer-thumbnail.is-active,
.viewer-thumbnail[aria-current="true"] {
  opacity: 1;
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.5), rgba(255, 202, 58, 0.42));
  box-shadow:
    0 0 0 2px rgba(255, 202, 58, 0.22),
    0 10px 26px rgba(255, 111, 97, 0.24);
  transform: translateY(-2px);
}

.viewer-help {
  position: absolute;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(4px, env(safe-area-inset-bottom));
  z-index: 5;
  min-height: 1.25em;
  margin: 0;
  color: rgba(255, 245, 238, 0.76);
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  line-height: 1.35;
  text-align: center;
}

.viewer-frame.flip-next {
  animation: flipNext 0.28s ease;
}

.viewer-frame.flip-prev {
  animation: flipPrev 0.28s ease;
}

body.viewer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .viewer-backdrop {
    background: rgba(20, 16, 18, 0.84);
  }
}

.album-viewer:fullscreen,
.album-viewer.is-fullscreen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 0;
}

.album-viewer:fullscreen .viewer-inner,
.album-viewer.is-fullscreen .viewer-inner {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.album-viewer:fullscreen .viewer-stage,
.album-viewer.is-fullscreen .viewer-stage,
.album-viewer:fullscreen .viewer-frame,
.album-viewer.is-fullscreen .viewer-frame {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
}

.album-viewer:fullscreen .viewer-image,
.album-viewer.is-fullscreen .viewer-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.site-footer {
  padding: 48px var(--page-padding) 32px;
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(31, 26, 29, 0.06);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer-brand h2 {
  font-family: "Yeseva One", serif;
  margin: 0 0 12px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-contacts,
.footer-nav {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-contacts {
  font-style: normal;
}

.footer-contacts h3,
.footer-nav h3 {
  margin: 0 0 8px;
  color: var(--ink);
}

.footer-contacts a,
.footer-nav a {
  color: inherit;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 26, 29, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: var(--muted);
}

.metrics-disclosure {
  flex: 1 1 320px;
}

.cookie-settings-link {
  border: none;
  background: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font: inherit;
}

.cookie-settings-link:hover {
  color: #d95d4f;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 14px;
}

.cookie-banner[hidden],
.cookie-banner [hidden] {
  display: none;
}

.cookie-banner-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(31, 26, 29, 0.96);
  color: #fdf7ef;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cookie-banner-inner p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.cookie-banner-inner a {
  color: #ffd56f;
  text-decoration: underline;
}

.cookie-banner-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  min-width: 122px;
}

.cookie-banner .btn.ghost {
  background: transparent;
  color: #fdf7ef;
  border-color: rgba(255, 255, 255, 0.4);
}

.legal-page {
  max-width: 920px;
}

.legal-page h1,
.legal-page h2 {
  font-family: "Yeseva One", serif;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.65;
}

.legal-page ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  --delay: 0.05s;
}

.delay-2 {
  --delay: 0.15s;
}

.delay-3 {
  --delay: 0.25s;
}

.delay-4 {
  --delay: 0.35s;
}

@media (max-width: 1400px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .album-list {
    width: 100%;
    /* Five tracks minus four 24px gaps; never shrink a card below 280px. */
    grid-template-columns: repeat(auto-fit, minmax(max(280px, calc(20% - 19.2px)), 1fr));
    justify-content: stretch;
    align-items: start;
  }

  .album-item {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .brand-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo menu"
      "contacts contacts";
    gap: 12px;
  }

  .logo {
    grid-area: logo;
  }

  .header-contacts {
    grid-area: contacts;
    justify-self: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-area: menu;
  }

  .main-nav {
    padding: 10px var(--page-padding) 18px;
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .page-switcher {
    padding: 14px var(--page-padding) 0;
  }

  .page-switcher-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-switcher + main > .hero.section:first-child {
    padding-top: 36px;
  }

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

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

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

  .review-grid {
    column-count: 2;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--card);
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    padding: 10px 0 0;
    margin-top: 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .nav-item.open .dropdown-menu {
    display: block;
  }

  .nav-item:not(.open) .dropdown-menu {
    display: none;
  }

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

}

@media (max-width: 720px) {
  .section {
    padding: 72px var(--page-padding);
  }

  .catalog-benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
  }

  .catalog-benefit-card {
    padding: 16px;
    border-radius: 18px;
    font-size: 0.96rem;
  }

  .shared-workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .shared-workflow-card {
    padding: 22px;
  }

  .shared-about-card {
    padding: 24px 20px;
  }

  .shared-about-paragraph {
    padding-left: 16px;
  }

  .shared-faq-item summary {
    gap: 10px;
    min-height: 64px;
    padding: 16px;
  }

  .shared-faq-answer {
    padding: 0 18px 20px 42px;
  }

  .category-thematic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-thematic-card,
  .category-thematic-card:first-child {
    grid-column: auto;
    padding: 22px 20px;
  }

  .brand-row {
    padding: 12px 16px 14px;
    gap: 10px;
  }

  .logo {
    gap: 10px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .menu-toggle {
    padding: 9px 16px;
  }

  .page-switcher {
    padding: 12px 16px 0;
  }

  .public-breadcrumbs {
    padding: 10px 16px 0;
    font-size: 0.74rem;
  }

  .public-breadcrumbs-item:not(:last-child)::after {
    margin: 0 0.34rem;
  }

  .page-switcher-link {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .page-switcher-link.is-active {
    padding-right: 38px;
  }

  .page-switcher-link.is-active::after {
    right: 9px;
    width: 21px;
    height: 21px;
    font-size: 0.76rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-contacts {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .header-primary-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
    order: 1;
    flex-wrap: nowrap;
  }

  .phone {
    order: 1;
    min-height: 38px;
    gap: 6px;
    padding: 5px 9px 5px 5px;
    font-size: 0.84rem;
  }

  .phone-icon {
    width: 26px;
    height: 26px;
  }

  .phone-icon svg {
    width: 16px;
    height: 16px;
  }

  .city-select-wrap {
    order: 3;
    gap: 5px;
    padding: 6px 9px;
  }

  .city-select {
    font-size: 0.78rem;
  }

  .social-links.compact {
    order: 2;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .social-links.compact .social-link {
    gap: 5px;
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .social-link img {
    width: 16px;
    height: 16px;
  }

  .contacts .section-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .contact-card {
    text-align: center;
  }

  .contact-list {
    justify-items: center;
  }

  .social-icon-grid {
    justify-items: center;
  }

  .social-card {
    width: min(100%, 320px);
    text-align: left;
  }

  .hero-gallery {
    width: min(100%, 520px);
  }

  .album-hero .hero-visual {
    width: min(520px, 100%);
  }

  .album-preview[data-cover-src] {
    width: min(420px, 90vw);
    padding: 16px;
  }

  .hero-visual {
    min-height: 240px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .metrics-disclosure {
    flex: none;
  }

  .cookie-banner {
    padding: 10px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }

  .cookie-banner-actions {
    margin-left: 0;
    width: 100%;
  }

  .cookie-banner .btn {
    flex: 1 1 160px;
  }

  .viewer-inner {
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }

  .viewer-top {
    min-height: 48px;
    padding: 4px 4px 4px 8px;
    gap: 6px;
    border-radius: 0;
  }

  .viewer-meta {
    flex: 0 1 auto;
    gap: 0;
  }

  .viewer-count {
    min-width: 54px;
    padding: 6px 7px;
    font-size: 0.74rem;
  }

  .viewer-title {
    display: none;
  }

  .viewer-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 4px;
  }

  .viewer-zoom-controls {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .viewer-zoom-out {
    display: none;
  }

  .viewer-zoom-reset {
    width: 42px;
    min-width: 42px;
    padding: 0 3px;
    font-size: 0.64rem;
  }

  .viewer-tool,
  .viewer-close,
  .viewer-zoom-button {
    width: 38px;
    height: 38px;
    font-size: 0.96rem;
  }

  .viewer-close {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .viewer-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: visible;
  }

  .viewer-frame {
    padding: 0;
    border-radius: 0;
  }

  .viewer-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .viewer-nav {
    width: 46px;
    height: 72px;
    background: transparent;
    box-shadow: none;
  }

  .viewer-prev {
    left: max(3px, env(safe-area-inset-left));
  }

  .viewer-next {
    right: max(3px, env(safe-area-inset-right));
  }

  .viewer-thumbnails {
    left: max(6px, env(safe-area-inset-left));
    right: max(6px, env(safe-area-inset-right));
    bottom: max(6px, env(safe-area-inset-bottom));
  }

  .viewer-thumbnails-track {
    gap: 6px;
    padding: 2px 2px 5px;
  }

  .viewer-thumbnail {
    width: 64px;
    height: 46px;
    padding: 2px;
    border-radius: 9px;
  }

  .viewer-thumbnail img {
    border-radius: 5px;
  }

  .viewer-help {
    display: none;
  }
}

@media (max-width: 640px) {
  .album-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
    align-items: start;
    gap: 14px 10px;
  }

  .album-item {
    width: 100%;
    min-width: 0;
    border-radius: 16px;
  }

  .album-meta {
    padding: 10px 9px 11px;
    gap: 6px;
  }

  .album-meta h3 {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .album-meta .album-subtitle {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.72rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .album-meta .album-price {
    max-width: 100%;
    padding: 4px 7px;
    font-size: 0.72rem;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .album-actions {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .album-actions .btn.small {
    width: 100%;
    min-height: 44px;
    padding: 6px 5px;
    font-size: 0.72rem;
    line-height: 1.15;
    white-space: normal;
  }

  .album-badge {
    top: 8px;
    gap: 4px;
    max-width: calc(100% - 8px);
    padding: 6px 8px 6px 7px;
    border-radius: 0 13px 13px 0;
    font-size: 0.66rem;
  }

  .album-list .empty-card {
    grid-column: 1 / -1;
  }

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

  .review-grid {
    column-count: 1;
  }

  .spread-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .album-preview[data-cover-src] {
    width: min(360px, 92vw);
    padding: 14px;
  }

  .album-inner-cover-card {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
  }
}

@media (max-width: 340px) {
  .album-list {
    gap: 10px 8px;
  }

  .album-meta {
    padding-inline: 7px;
  }

  .album-meta h3 {
    font-size: 0.8rem;
  }

  .album-meta .album-price {
    font-size: 0.67rem;
  }

  .viewer-count {
    min-width: 48px;
    padding-inline: 5px;
  }
}

@media (orientation: landscape) and (max-height: 720px), (max-height: 560px) {
  .album-viewer {
    padding: 0;
  }

  .viewer-inner {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
  }

  .viewer-top {
    top: max(3px, env(safe-area-inset-top));
    left: max(5px, env(safe-area-inset-left));
    right: max(5px, env(safe-area-inset-right));
    min-height: 42px;
    padding-block: 2px;
  }

  .viewer-stage,
  .viewer-frame {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .viewer-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    object-fit: contain;
  }

  .viewer-tool,
  .viewer-close,
  .viewer-zoom-button {
    width: 36px;
    height: 36px;
  }

  .viewer-close {
    width: 38px;
    height: 38px;
  }

  .viewer-thumbnails-track {
    gap: 5px;
    padding-bottom: 3px;
  }

  .viewer-thumbnails {
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(4px, env(safe-area-inset-bottom));
  }

  .viewer-thumbnail {
    width: 60px;
    height: 40px;
  }

  .viewer-help {
    display: none;
  }
}

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

  .reveal {
    transition: none;
  }

  .btn,
  .menu-toggle,
  .page-switcher-link,
  .contact-list a,
  .footer-contacts a,
  .social-link,
  .social-card {
    transition: none;
  }

  .viewer-frame {
    transition: none;
    animation: none !important;
  }

  .album-viewer,
  .viewer-backdrop,
  .viewer-inner,
  .viewer-tool,
  .viewer-close,
  .viewer-zoom-button,
  .viewer-nav,
  .viewer-thumbnails,
  .viewer-thumbnail {
    transition: none !important;
  }

  .viewer-image {
    transition: none !important;
  }

}

@keyframes flipNext {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes flipPrev {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.callback-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 122, 53, 0.5);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(31, 26, 29, 0.08);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.callback-header-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 53, 0.72);
  background: #fffaf5;
  box-shadow: 0 16px 36px rgba(31, 26, 29, 0.12);
}

.callback-header-button:focus-visible,
.album-order-button:focus-visible,
.callback-dialog-close:focus-visible,
.callback-field input:focus-visible,
.callback-field select:focus-visible,
.callback-consent input:focus-visible,
.callback-submit:focus-visible {
  outline: 3px solid #7d3410;
  outline-offset: 3px;
}

.callback-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 30px;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(62, 31, 14, 0.34);
}

.callback-dialog::backdrop {
  background: rgba(45, 24, 14, 0.66);
  backdrop-filter: blur(6px);
}

.callback-dialog.is-open-fallback {
  position: fixed;
  inset: 16px;
  z-index: 1000;
  display: block;
}

.callback-dialog-panel {
  position: relative;
  padding: clamp(24px, 5vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(179, 81, 24, 0.18);
  border-radius: inherit;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 191, 102, 0.38), transparent 42%),
    linear-gradient(145deg, #fffaf5, #fff0df);
}

.callback-dialog-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -65px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 122, 53, 0.12);
  pointer-events: none;
}

.callback-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(125, 52, 16, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: #7d3410;
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.callback-dialog-heading {
  position: relative;
  padding-right: 42px;
}

.callback-dialog-heading > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 122, 53, 0.15);
  color: #8d3e13;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.callback-dialog-heading h2 {
  margin: 0 0 10px;
  font-family: "Yeseva One", serif;
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  line-height: 1.08;
}

.callback-dialog-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.callback-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.callback-field {
  display: grid;
  gap: 7px;
}

.callback-album-field {
  grid-column: 1 / -1;
}

.callback-album-field[hidden] {
  display: none;
}

.callback-album-field input[readonly] {
  cursor: default;
  background: rgba(255, 247, 238, 0.94);
  color: #4f3528;
  font-weight: 700;
}

.callback-field > span,
.callback-city-fixed > span {
  color: #6f3a1e;
  font-size: 0.82rem;
  font-weight: 800;
}

.callback-field input,
.callback-field select,
.callback-city-fixed {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid rgba(145, 72, 28, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.callback-field input::placeholder {
  color: #9e8577;
}

.callback-field input:focus,
.callback-field select:focus {
  border-color: rgba(255, 122, 53, 0.72);
  background: #fff;
}

.callback-city-fixed {
  display: grid;
  align-content: center;
  gap: 2px;
}

.callback-city-fixed strong {
  font-size: 0.96rem;
}

.callback-consent,
.callback-altcha,
.callback-submit,
.callback-security-note,
.callback-form-status,
.callback-form-unavailable {
  grid-column: 1 / -1;
}

.callback-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #624b40;
  font-size: 0.8rem;
  line-height: 1.5;
}

.callback-consent input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: #ef6c2f;
}

.callback-consent a {
  color: #a14516;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.callback-altcha {
  --altcha-border-color: rgba(218, 113, 53, 0.34);
  --altcha-border-radius: 14px;
  --altcha-color-base: #fffaf5;
  --altcha-color-base-content: #35251e;
  --altcha-color-primary: #df6428;
  --altcha-color-primary-content: #fff;
  --altcha-color-success: #3b9c61;
  --altcha-max-width: 100%;
  width: 100%;
}

.callback-altcha altcha-widget {
  display: block;
  width: 100%;
}

.callback-submit.btn.primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  color: #52230d;
  font-size: 1rem;
}

.callback-submit:disabled,
.callback-form[aria-disabled="true"] .callback-submit {
  cursor: not-allowed;
  opacity: 0.58;
}

.callback-security-note {
  margin: -4px 0 0;
  color: #7a6559;
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: center;
}

.callback-form-status,
.callback-form-unavailable {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.callback-form-status.is-success {
  border: 1px solid rgba(46, 150, 91, 0.26);
  background: rgba(75, 190, 117, 0.12);
  color: #245d39;
}

.callback-form-status.is-error,
.callback-form-unavailable {
  border: 1px solid rgba(193, 77, 43, 0.24);
  background: rgba(255, 111, 97, 0.12);
  color: #7c321c;
}

.callback-honeypot {
  position: fixed !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.callback-dialog-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .callback-header-button {
    min-height: 38px;
    padding: 7px 13px;
    font-size: 0.8rem;
  }

  .callback-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 22px;
  }

  .callback-dialog-panel {
    padding: 24px 18px;
  }

  .callback-dialog-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .callback-dialog-heading {
    padding-right: 34px;
  }

  .callback-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    margin-top: 20px;
  }

  .callback-consent,
  .callback-album-field,
  .callback-altcha,
  .callback-submit,
  .callback-security-note,
  .callback-form-status,
  .callback-form-unavailable {
    grid-column: 1;
  }
}

@media (max-width: 420px) {
  .header-primary-contacts {
    flex: 0 1 100%;
    width: 100%;
  }

  .callback-header-button {
    flex: 0 1 auto;
    order: 0;
    min-width: 0;
    min-height: 38px;
    padding: 6px 10px;
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .header-contacts {
    gap: 6px;
  }

  .city-select-wrap {
    gap: 3px;
    padding: 6px 7px;
  }

  .city-select {
    font-size: 0.72rem;
  }

  .social-links.compact {
    gap: 4px;
  }

  .social-links.compact .social-link {
    gap: 4px;
    padding: 6px 7px;
    font-size: 0.74rem;
  }

  .social-links.compact .social-link img {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 340px) {
  .header-contacts {
    gap: 4px;
  }

  .header-primary-contacts {
    gap: 6px;
  }

  .city-select-wrap {
    gap: 2px;
    padding: 6px 5px;
  }

  .social-links.compact {
    gap: 3px;
  }

  .social-links.compact .social-link {
    padding-inline: 5px;
  }

  .phone {
    min-width: 0;
    min-height: 38px;
    padding: 6px 8px;
    font-size: 0.78rem;
  }

  .phone-icon {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .callback-header-button,
  .album-order-button,
  .callback-dialog-close {
    transition: none;
  }

  .callback-altcha {
    --altcha-transition-duration: 0s;
  }
}
