:root {
  --bg: #f5f4ef;
  --panel: #fafafa;
  --ink: #2e2f30;
  --accent: #fdcb2a;
  --muted: #d4d4d4;
  --muted-dark: #a5a5a5;
  --white: #ffffff;
  --border: rgba(46, 47, 48, 0.12);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 15px;
  --shadow: 0 22px 60px rgba(46, 47, 48, 0.08);
}

.legal-page {
  padding-bottom: 56px;
}

.legal-page__section {
  display: grid;
  gap: 22px;
  padding-top: 28px;
}

.legal-page__intro {
  display: grid;
  gap: 16px;
  max-width: 840px;
}

.legal-page__intro h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.legal-page__intro p {
  margin: 0;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(46, 47, 48, 0.78);
}

.legal-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-page__viewer {
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-page__frame {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  border-radius: calc(var(--radius-lg) - 10px);
  background: var(--white);
}

.legal-page__fallback {
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 40px 24px;
}

.legal-page__fallback p {
  margin: 0;
  color: rgba(46, 47, 48, 0.78);
  font-size: 16px;
  line-height: 1.5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(253, 203, 42, 0.22), transparent 32%),
    linear-gradient(180deg, #fbfaf6 0%, #f0eee8 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.2;
}

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

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

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

button,
select {
  font: inherit;
}

.page-shell {
  overflow-x: clip;
  overflow-y: visible;
}

.back-to-top {
  position: fixed;
  right: max(18px, calc(env(safe-area-inset-right) + 18px));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(58px, 6vw, 72px);
  height: clamp(58px, 6vw, 72px);
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

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

.back-to-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px) scale(1.04);
}

.container {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 30;
  padding-top: 24px;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 11px 0 30px;
  min-height: 62px;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-label {
  display: none;
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(12px, 1.2vw, 20px);
  font-size: 15px;
  font-weight: 700;
}

.header-cta,
.menu-toggle {
  justify-self: end;
}

.main-nav a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(46, 47, 48, 0.16);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-accent {
  background: var(--accent);
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.hero-mobile-actions {
  display: none;
}

.hero-mobile-cta {
  background: var(--accent);
  color: var(--ink);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.mobile-nav[hidden] {
  display: none !important;
}

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

.menu-toggle {
  position: relative;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle__icon {
  display: block;
  width: 27px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.menu-toggle span {
  position: absolute;
  left: 15px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 24px;
}

.menu-toggle span:nth-child(3) {
  top: 31px;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 9, 10, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-nav__panel {
  position: absolute;
  top: 88px;
  right: 20px;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100dvh - 112px);
  overflow: auto;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 20%),
    rgba(33, 34, 35, 0.975);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 1, 0.22, 1);
}

body.menu-open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 2px;
}

.mobile-nav__title {
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.mobile-nav__close {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.mobile-nav__close span {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.mobile-nav__close span:first-child {
  transform: rotate(45deg);
}

.mobile-nav__close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav__links {
  display: grid;
  gap: 12px;
}

.mobile-nav__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.08);
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.mobile-nav__links a::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0.4;
  transform: rotate(45deg);
}

.mobile-nav__links a:hover,
.mobile-nav__links a:focus-visible {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.16);
}

.mobile-nav__links .mobile-nav__app-link {
  justify-content: center;
  min-height: 60px;
  margin-bottom: 2px;
  border: 1px solid rgba(253, 203, 42, 0.84);
  background: linear-gradient(180deg, rgba(253, 203, 42, 0.98), rgba(246, 195, 21, 0.98));
  color: var(--ink) !important;
  box-shadow: 0 14px 28px rgba(253, 203, 42, 0.18);
}

.mobile-nav__links .mobile-nav__app-link::after {
  display: none;
}

.mobile-nav__links .mobile-nav__app-link:hover,
.mobile-nav__links .mobile-nav__app-link:focus-visible {
  background: linear-gradient(180deg, rgba(255, 211, 73, 0.98), rgba(246, 195, 21, 0.98));
  border-color: rgba(255, 220, 104, 0.96);
}

.mobile-nav__cta {
  display: none;
}

.hero-wrap {
  background: var(--ink);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  padding: 24px 0 120px;
  margin-top: -86px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 30px;
  align-items: end;
  padding-top: 110px;
}

.hero-card {
  position: relative;
  min-height: 628px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 48px 32px 32px 24px;
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.14);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto auto 40px -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 203, 42, 0.3), transparent 70%);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(46, 47, 48, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(46, 47, 48, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 72%);
  pointer-events: none;
}

.hero-note {
  max-width: 345px;
  margin: 48px 60px 0 auto;
  font-size: 16px;
  line-height: 1.15;
}

.hero-copy {
  position: absolute;
  left: 23px;
  bottom: 30px;
  max-width: 746px;
}

.hero-copy h1,
.footer-brand p {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(72px, 11vw, 120px);
  line-height: 0.92;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.05em;
}

.hero-subtitle,
.hero-tagline,
.hero-pill,
.section-heading h2,
.panel h3,
.feature-content h3,
.step h3,
.audience-card h3,
.size-option,
.contact-pill,
.location-chip span,
.summary-price,
.footer-nav a,
.field span,
.map-info strong {
  font-family: "Unbounded", sans-serif;
}

.hero-subtitle {
  max-width: 480px;
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 35px);
  line-height: 1;
  text-transform: uppercase;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(46, 47, 48, 0.08);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-tagline {
  margin: 30px 0 0;
  max-width: 343px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.hero-side {
  position: relative;
  min-height: 628px;
}

.hero-side__display {
  position: relative;
  width: 100%;
  height: 628px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.hero-side__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-side__dot {
  fill: #fff;
  opacity: 0;
  shape-rendering: geometricPrecision;
  will-change: opacity;
}

.hero-side__brand-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  z-index: 2;
  width: min(58%, 188px);
  aspect-ratio: 21.1 / 17.1;
  transform: translate(-50%, -50%);
  background: var(--ink);
  -webkit-mask: url("./assets/logo.svg") center / contain no-repeat;
  mask: url("./assets/logo.svg") center / contain no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .about-slider__image {
    animation: none;
    transition: none;
  }

  .hero-side__dot {
    animation: none;
    opacity: 0.62;
  }
}

.hero-statement {
  margin-top: 42px;
  text-align: center;
}

.hero-statement p {
  max-width: 1340px;
  margin: 0 auto;
  color: var(--white);
  text-align: center;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 500;
}

.hero-statement span {
  color: var(--accent);
}

.section {
  padding: 96px 0 0;
}

.section-dark {
  margin-top: 120px;
  padding: 50px 0 60px;
  background: var(--ink);
  border-radius: var(--radius-xl);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 1000px;
  margin: 0;
  color: var(--accent);
  font-size: clamp(28px, 4vw, 35px);
  line-height: 1.15;
  font-weight: 500;
}

.section-heading p {
  max-width: 1122px;
  margin: 15px 0 0;
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.15;
}

.section-dark .section-heading p {
  color: var(--white);
}

.intro-grid,
.feature-grid,
.audience-grid {
  display: grid;
  gap: 30px;
}

.about-slider {
  margin-bottom: 30px;
}

.about-slider__viewport {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #d8d8d8;
  box-shadow: 0 24px 50px rgba(46, 47, 48, 0.12);
}

.about-slider__viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(46, 47, 48, 0.08), rgba(46, 47, 48, 0.04) 24%, rgba(46, 47, 48, 0.52) 100%),
    radial-gradient(circle at 82% 18%, rgba(253, 203, 42, 0.28), transparent 26%);
  pointer-events: none;
}

.about-slider__image {
  width: 100%;
  height: 356px;
  object-fit: cover;
  transition:
    opacity 0.45s ease,
    transform 1.2s ease;
  animation: about-slider-pan 16s ease-in-out infinite alternate;
}

.about-slider__image.is-swapping {
  opacity: 0.68;
  transform: scale(1.03);
}

.about-slider__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.about-slider__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-slider__title {
  margin: 0 auto 0 0;
  max-width: 520px;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(24px, 3.1vw, 34px);
  line-height: 1.05;
  font-weight: 500;
}

.about-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.about-slider__dot.is-active {
  width: 34px;
  background: var(--accent);
}

.about-slider__dot:hover,
.about-slider__dot:focus-visible {
  transform: scale(1.06);
}

.intro-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.panel,
.feature-card,
.step,
.audience-card,
.audience-showcase,
.calculator-summary,
.field select,
.video-main,
.video-side__panel,
.location-chip,
.map-stage,
.size-preview__media,
.size-preview img {
  border-radius: var(--radius-lg);
}

.panel {
  position: relative;
  min-height: 315px;
  padding: 92px 25px 25px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.panel-wide {
  grid-column: span 1;
  min-height: 315px;
}

.panel-dark {
  background: var(--ink);
  color: var(--white);
}

.panel-light {
  background: var(--panel);
}

.panel:hover,
.feature-card:hover,
.audience-card:hover,
.audience-showcase:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(46, 47, 48, 0.12);
  border-color: rgba(253, 203, 42, 0.28);
}

.panel p,
.feature-content p,
.step p,
.audience-card p,
.size-preview p,
.map-info li,
.summary-list li,
.field select,
.video-main small {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.15;
  margin: 0;
}

.panel h3 {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}

.panel-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  background: url("assets/panel-badge-star.svg")
    center / contain no-repeat;
  z-index: 3;
}

@keyframes about-slider-pan {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

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

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 415px;
  padding: 24px 25px 25px;
  background: var(--panel);
  border: 0;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.feature-card-dark {
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card::after,
.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(253, 203, 42, 0.06), transparent 18%);
  pointer-events: none;
}

.feature-card__media {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 208px;
  padding: 8px 8px 0 88px;
  z-index: 2;
}

.feature-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 8px;
}

.feature-image {
  position: relative;
  pointer-events: none;
  transform-origin: center;
  transition: transform 0.45s ease;
  z-index: 1;
  object-fit: contain;
}

.feature-image-tilt {
  align-self: center;
  width: 290px;
  margin-top: -34px;
  margin-right: 10px;
  transform: rotate(36deg);
}

.feature-image-lock {
  width: 338px;
  margin-top: -58px;
  margin-right: -18px;
  transform: rotate(-6deg);
}

.feature-image-box {
  width: 404px;
  margin-top: -30px;
  margin-right: -42px;
}

.feature-image-clean {
  width: 246px;
  margin-top: -42px;
  margin-right: -18px;
}

.feature-image-flex {
  width: 360px;
  margin-top: -42px;
  margin-right: -10px;
}

.feature-image-control {
  width: 278px;
  margin-top: -18px;
  margin-right: 6px;
}

.feature-card:hover .feature-image-tilt {
  transform: translateY(-8px) rotate(36deg) scale(1.03);
}

.feature-card:hover .feature-image-lock {
  transform: translateY(-8px) rotate(-6deg) scale(1.03);
}

.feature-card:hover .feature-image-clean {
  transform: translateY(-8px) rotate(8deg) scale(1.03);
}

.feature-card:hover .feature-image-flex {
  transform: translateY(-8px) rotate(-5deg) scale(1.03);
}

.feature-card:hover .feature-image-control {
  transform: translateY(-8px) rotate(-7deg) scale(1.03);
}

.feature-content h3,
.feature-content p {
  margin: 0;
  max-width: 100%;
}

.feature-content h3 {
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 25px 35px;
  background: var(--white);
  border: 1px solid rgba(46, 47, 48, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.step-dark {
  background: var(--ink);
  color: var(--white);
}

.step:hover {
  transform: translateX(6px);
  box-shadow: 0 18px 40px rgba(46, 47, 48, 0.1);
}

.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  min-height: 58px;
}

.step-number img {
  max-width: 54px;
  max-height: 54px;
}

.step-number-text {
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 70px;
  font-weight: 500;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.step p {
  font-size: 20px;
}

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

.audience-card,
.audience-showcase {
  position: relative;
  min-height: 415px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.audience-card {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 25px 25px;
  background:
    radial-gradient(circle at 78% 22%, rgba(253, 203, 42, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fdfbf5);
  border: 1px solid rgba(253, 203, 42, 0.08);
}

.audience-showcase {
  grid-column: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(253, 203, 42, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.audience-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-card__media {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 172px;
  padding: 10px 6px 0 92px;
  z-index: 2;
}

.audience-card__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.audience-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 500;
  max-width: 100%;
}

.audience-card p {
  font-size: 20px;
  max-width: 100%;
  margin: 0;
}

.audience-card__image {
  position: relative;
  pointer-events: none;
  z-index: 1;
  object-fit: contain;
}

.audience-card__image-home {
  width: 286px;
  margin-top: -10px;
  margin-right: -6px;
}

.audience-card__image-move {
  width: 278px;
  margin-top: -12px;
  margin-right: -2px;
}

.audience-card__image-travel {
  width: 352px;
  margin-top: -18px;
  margin-right: -12px;
}

.audience-card__image-furniture {
  width: 320px;
  margin-top: -8px;
  margin-right: -18px;
}

.audience-card__image-business {
  width: 286px;
  margin-top: 6px;
  margin-right: 2px;
}

.audience-card__image-company {
  width: 324px;
  margin-top: 2px;
  margin-right: -12px;
}

.map-card {
  display: grid;
  gap: 10px;
}

.map-stage {
  position: relative;
  min-height: 466px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(253, 203, 42, 0.08);
  background:
    linear-gradient(90deg, rgba(46, 47, 48, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(46, 47, 48, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 30% 35%, rgba(253, 203, 42, 0.18), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f4 100%);
  background-size: 60px 60px, 60px 60px, auto, auto;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(46, 47, 48, 0.08);
}

.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-stage::before,
.map-stage::after {
  display: none;
}

.map-stage::before {
  left: 6%;
  top: 22%;
  width: 42%;
  height: 18px;
  transform: rotate(18deg);
}

.map-stage::after {
  left: 12%;
  top: 60%;
  width: 52%;
  height: 18px;
  transform: rotate(-12deg);
}

.map-info {
  position: absolute;
  top: 93px;
  right: 126px;
  width: min(504px, calc(100% - 32px));
  padding: 15px 25px;
  z-index: 2;
}

.map-info strong {
  display: inline-flex;
  padding: 15px 25px;
  border-radius: var(--radius-md);
  background: var(--accent);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}

.map-info ul {
  margin: 10px 0 0;
  padding: 15px 25px;
  list-style: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(253, 203, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.map-info li + li {
  margin-top: 10px;
}

.map-pin {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  transform: rotate(-45deg);
  box-shadow: 0 12px 24px rgba(46, 47, 48, 0.18);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--ink);
}

.map-pin.is-active {
  transform: rotate(-45deg) scale(1.08);
}

.map-pin:hover,
.map-pin:focus-visible {
  transform: rotate(-45deg) scale(1.12);
  box-shadow: 0 20px 30px rgba(46, 47, 48, 0.22);
}

.location-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.location-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 26px;
  border: 1px solid rgba(253, 203, 42, 0.1);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.location-chip small {
  font-size: 20px;
  line-height: 1;
}

.location-chip.is-active {
  background: var(--ink);
  color: var(--white);
}

.location-chip:hover,
.location-chip:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(46, 47, 48, 0.08);
}

.sizes-layout,
.calculator-layout,
.video-layout {
  display: grid;
  gap: 30px;
}

.sizes-layout {
  grid-template-columns: 426px minmax(0, 1fr);
  align-items: stretch;
}

.sizes-sidebar {
  height: 100%;
}

.sizes-list {
  display: grid;
  height: 100%;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.size-option {
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 15px 25px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--panel);
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.size-option__label,
.size-option__price {
  position: relative;
  z-index: 1;
}

.size-option__label {
  min-width: 0;
  color: var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.size-option__price {
  margin-left: auto;
  color: rgba(46, 47, 48, 0.68);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}

.size-option::before {
  content: "1";
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
}

.size-option:nth-child(2)::before {
  content: "2";
}

.size-option:nth-child(3)::before {
  content: "3";
}

.size-option:nth-child(4)::before {
  content: "4";
}

.size-option.is-active,
.size-option:hover,
.size-option:focus-visible {
  background: var(--ink);
  color: var(--white);
  transform: translateX(6px);
  box-shadow: 0 18px 32px rgba(46, 47, 48, 0.12);
}

.size-option.is-active .size-option__label,
.size-option:hover .size-option__label,
.size-option:focus-visible .size-option__label {
  color: var(--white);
}

.size-option.is-active .size-option__price,
.size-option:hover .size-option__price,
.size-option:focus-visible .size-option__price {
  color: rgba(255, 255, 255, 0.8);
}

.size-preview {
  height: 100%;
}

.size-preview__media {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 22px 44px rgba(46, 47, 48, 0.1);
}

.size-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.size-preview img.is-swapping {
  opacity: 0.6;
  transform: scale(0.985);
}

.calculator-layout {
  grid-template-columns: minmax(0, 660px) minmax(320px, 1fr);
}

.calculator-form {
  display: grid;
  gap: 26px;
}

.calc-group {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.calc-group legend,
.summary-label {
  padding: 0;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
  font-family: "Unbounded", sans-serif;
}

.calc-group legend {
  margin-bottom: 18px;
}

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

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

.selector-card {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.selector-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.selector-surface {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  min-height: 112px;
  padding: 18px 18px 16px;
  border-radius: 28px;
  border: 1px solid rgba(46, 47, 48, 0.1);
  background:
    radial-gradient(circle at top right, rgba(253, 203, 42, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 240, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 16px 30px rgba(46, 47, 48, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.selector-surface::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(46, 47, 48, 0.2);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.selector-title {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.selector-grid-months .selector-title {
  font-size: 18px;
  line-height: 0.96;
}

.calc-discount-note {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(253, 203, 42, 0.14);
  color: rgba(46, 47, 48, 0.88);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
}

.selector-meta {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  color: rgba(46, 47, 48, 0.68);
}

.selector-input:checked + .selector-surface {
  border-color: rgba(253, 203, 42, 0.92);
  background:
    radial-gradient(circle at top right, rgba(253, 203, 42, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(46, 47, 48, 0.98), rgba(38, 39, 40, 0.98));
  color: var(--white);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 34px rgba(46, 47, 48, 0.14);
}

.selector-input:checked + .selector-surface::after {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(253, 203, 42, 0.18);
}

.selector-input:checked + .selector-surface .selector-meta {
  color: rgba(255, 255, 255, 0.72);
}

.selector-card:hover .selector-surface,
.selector-card:focus-within .selector-surface {
  transform: translateY(-3px);
  border-color: rgba(253, 203, 42, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 20px 34px rgba(46, 47, 48, 0.1);
}

.calculator-summary {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(253, 203, 42, 0.22), transparent 26%),
    linear-gradient(180deg, #b5b5b5 0%, #8e8e8e 100%);
  color: var(--white);
}

.summary-price {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.95;
  font-weight: 700;
}

.summary-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}

.summary-list {
  margin: 0;
  padding-left: 24px;
}

.summary-list li {
  font-size: 16px;
  line-height: 1.15;
}

.summary-list li + li {
  margin-top: 8px;
}

.summary-cta {
  margin-top: 0;
  min-height: 52px;
  font-size: 18px;
}

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

.video-main,
.video-side__panel {
  position: relative;
  overflow: hidden;
}

.video-main {
  display: grid;
  align-content: end;
  min-height: 567px;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(46, 47, 48, 0.08), rgba(46, 47, 48, 0.72)),
    url("assets/c7028035651be107b2f02560a3fcf235158c5613.png")
      center/cover;
  color: var(--white);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.video-main strong {
  font-family: "Unbounded", sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
}

.video-main small {
  margin-top: 10px;
  display: block;
  font-size: 20px;
}

.play-button {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(253, 203, 42, 0.94);
  box-shadow: 0 18px 35px rgba(46, 47, 48, 0.22);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.play-button::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 26px;
  border-left: 24px solid var(--ink);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.video-side {
  display: grid;
  gap: 18px;
}

.video-side__panel {
  min-height: 274px;
  background: var(--muted);
  padding: 28px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.video-main:hover,
.video-side__panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(46, 47, 48, 0.12);
}

.video-main:hover .play-button {
  transform: scale(1.08);
  box-shadow: 0 24px 38px rgba(46, 47, 48, 0.24);
}

.video-side__panel p {
  max-width: 240px;
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.site-footer {
  margin-top: 120px;
  padding: 24px 0 0;
  background: var(--ink);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  overflow: hidden;
}

.footer-top {
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-column-wide {
  padding-right: 12px;
}

.footer-kicker {
  margin: 0;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-heading {
  margin: 0;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 500;
}

.footer-text,
.footer-facts span,
.footer-meta {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.35;
}

.footer-text {
  margin: 0;
}

.footer-facts {
  display: grid;
  gap: 8px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--white);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
}

.footer-link-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
}

.footer-meta-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-actions,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 8px 32px;
  flex-wrap: wrap;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 19px;
  border-radius: 40px;
  background: var(--accent);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.contact-pill::after {
  content: "";
  width: 10px;
  height: 10px;
  background:
    radial-gradient(circle at 50% 38%, var(--ink) 0 28%, transparent 29%),
    linear-gradient(45deg, transparent 42%, var(--ink) 43% 57%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--ink) 43% 57%, transparent 58%);
}

.footer-nav a {
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.footer-nav span {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.8;
}

.footer-cta {
  padding: 6px 19px;
  border: 1px solid var(--white);
  border-radius: 30px;
}

.footer-brand {
  padding: 112px 0 0;
}

.footer-brand p {
  transform: translateX(-8px);
  color: var(--accent);
  font-size: clamp(92px, 17vw, 240px);
}

.subpage-main {
  padding-bottom: 0;
}

.subpage-wrap {
  background: var(--ink);
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  padding: 24px 0 100px;
  margin-top: -86px;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 30px;
  align-items: stretch;
  padding-top: 110px;
}

.subpage-card,
.partner-card,
.partner-format-card,
.partner-contact-card,
.partner-band {
  border-radius: var(--radius-lg);
}

.subpage-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 34px 30px;
  background: var(--white);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.14);
}

.subpage-card::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 203, 42, 0.24), transparent 72%);
  pointer-events: none;
}

.subpage-card-dark {
  background: linear-gradient(180deg, #38393b 0%, #2e2f30 100%);
  color: var(--white);
}

.subpage-kicker,
.partner-contact-card__label {
  margin: 0;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subpage-title {
  max-width: 780px;
  margin: 18px 0 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  font-weight: 500;
}

.subpage-lead {
  max-width: 700px;
  margin: 18px 0 0;
  font-size: 21px;
  line-height: 1.2;
}

.partner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.subpage-facts,
.partner-grid,
.partner-format-grid,
.partner-contact-grid {
  display: grid;
  gap: 24px;
}

.subpage-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.subpage-fact {
  display: grid;
  gap: 10px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.subpage-fact strong,
.partner-card h3,
.partner-format-card h3,
.partner-band h2,
.partner-contact-card a,
.partner-contact-card span {
  font-family: "Unbounded", sans-serif;
}

.subpage-fact strong {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}

.subpage-fact span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.3;
}

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

.partner-card,
.partner-format-card,
.partner-contact-card {
  padding: 26px 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.partner-card__index {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.partner-card h3,
.partner-format-card h3,
.partner-band h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
}

.partner-card p:last-child,
.partner-format-card p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.3;
}

.partner-format-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.partner-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px 30px;
  background: linear-gradient(135deg, rgba(253, 203, 42, 0.2), rgba(255, 255, 255, 0.92) 42%);
  border: 1px solid rgba(253, 203, 42, 0.32);
  box-shadow: 0 22px 60px rgba(46, 47, 48, 0.08);
}

.partner-band__content p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.3;
}

.partner-band__link {
  min-width: 220px;
}

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

.partner-contact-card {
  display: grid;
  gap: 12px;
}

.partner-contact-card a,
.partner-contact-card span {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 1, 0.22, 1);
}

.reveal-up {
  transform: translateY(42px);
}

.reveal-in {
  transform: translateY(-18px);
}

.reveal-delay-2 {
  transition-delay: 0.12s;
}

.reveal-delay-3 {
  transition-delay: 0.2s;
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .brand-label {
    display: inline;
  }

  .menu-toggle {
    display: grid;
  }

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

  .intro-grid,
  .feature-grid,
  .sizes-layout,
  .calculator-layout,
  .video-layout {
    grid-template-columns: 1fr;
  }

  .about-slider__viewport {
    min-height: 320px;
  }

  .about-slider__image {
    height: 320px;
  }

  .about-slider__content {
    flex-wrap: wrap;
    align-items: end;
  }

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

  .audience-card,
  .audience-showcase {
    grid-column: auto;
  }

  .feature-card__media,
  .audience-card__media {
    padding-left: 64px;
  }

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 20px, 1340px);
  }

  .site-header {
    position: relative;
    top: 0;
    padding-top: 14px;
  }

  .topbar {
    min-height: 74px;
    padding: 10px 14px;
    border-radius: 24px;
  }

  .hero-wrap {
    padding: 16px 0 70px;
    margin-top: 0;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .subpage-wrap {
    padding: 16px 0 70px;
    margin-top: 0;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
  }

  .hero {
    gap: 18px;
    padding-top: 0;
  }

  .hero-card {
    min-height: auto;
    padding: 24px 20px 24px;
    border-radius: 24px;
    box-shadow: none;
  }

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

  .hero-note {
    max-width: none;
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.25;
  }

  .hero-copy {
    position: static;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(56px, 15vw, 76px);
    line-height: 0.9;
  }

  .hero-pill {
    display: none;
  }

  .hero-subtitle {
    max-width: none;
    font-size: 24px;
    line-height: 0.96;
  }

  .hero-tagline {
    max-width: none;
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-side {
    display: none;
  }

  .hero-mobile-actions {
    display: block;
    margin-top: 16px;
  }

  .hero-mobile-cta {
    width: 100%;
    min-height: 58px;
    border-radius: 20px;
    font-size: 20px;
  }

  .hero-statement {
    display: none;
  }

  .section {
    padding-top: 72px;
  }

  .subpage-hero {
    padding-top: 72px;
    gap: 18px;
  }

  .subpage-card,
  .partner-card,
  .partner-format-card,
  .partner-contact-card,
  .partner-band {
    border-radius: 24px;
    box-shadow: none;
  }

  .subpage-card {
    padding: 26px 20px;
  }

  .subpage-title {
    font-size: 32px;
  }

  .subpage-lead {
    font-size: 18px;
  }

  .subpage-facts {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .partner-grid,
  .partner-format-grid,
  .partner-contact-grid {
    gap: 18px;
  }

  .partner-band {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .partner-band__link {
    width: 100%;
  }

  .section-dark {
    margin-top: 88px;
    padding: 28px 0 36px;
    border-radius: 28px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .section-heading p {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.18;
  }

  .panel,
  .feature-card,
  .audience-card,
  .audience-showcase,
  .step,
  .calculator-summary,
  .video-main,
  .video-side__panel {
    border-radius: 24px;
    box-shadow: none;
  }

  .panel,
  .audience-card {
    min-height: auto;
    padding: 92px 20px 20px;
  }

  .panel,
  .feature-card,
  .audience-card,
  .audience-showcase,
  .step,
  .location-chip,
  .selector-surface,
  .calculator-summary,
  .map-stage,
  .video-side__panel {
    border-color: transparent;
  }

  .intro-grid,
  .feature-grid,
  .steps,
  .map-card,
  .sizes-layout,
  .calculator-layout,
  .video-layout {
    gap: 18px;
  }

  .feature-card {
    min-height: 320px;
    padding: 20px;
  }

  .feature-card__media {
    min-height: 168px;
    padding: 8px 0 0 72px;
  }

  .feature-image-tilt {
    width: 238px;
    margin-top: -24px;
    margin-right: 6px;
  }

  .feature-image-lock {
    width: 274px;
    margin-top: -42px;
    margin-right: -14px;
  }

  .feature-image-box {
    width: 324px;
    margin-top: -24px;
    margin-right: -34px;
  }

  .feature-image-clean {
    width: 198px;
    margin-top: -26px;
    margin-right: -10px;
  }

  .feature-image-flex {
    width: 274px;
    margin-top: -24px;
    margin-right: -4px;
  }

  .feature-image-control {
    width: 228px;
    margin-top: -8px;
    margin-right: 0;
  }

  .step {
    align-items: flex-start;
    padding: 22px;
  }

  .step:hover,
  .size-option.is-active,
  .size-option:hover,
  .size-option:focus-visible {
    transform: none;
  }

  .audience-grid,
  .location-list,
  .footer-top {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-top {
    gap: 20px;
  }

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

  .footer-column-wide {
    padding-right: 0;
    grid-column: 1 / -1;
  }

  .location-chip {
    align-items: flex-start;
    flex-direction: column;
  }

  .sizes-list {
    order: 1;
    height: auto;
    grid-template-rows: none;
  }

  .size-preview {
    order: 2;
    height: auto;
  }

  .size-option {
    gap: 18px;
    height: auto;
    min-height: 76px;
  }

  .size-option__label {
    font-size: 20px;
  }

  .size-option__price {
    font-size: 14px;
  }

  .audience-card {
    padding: 20px;
  }

  .audience-card__media {
    min-height: 150px;
    padding: 0 0 0 72px;
  }

  .audience-card__image-home,
  .audience-card__image-move,
  .audience-card__image-business,
  .audience-card__image-company,
  .audience-card__image-furniture {
    width: 226px;
  }

  .audience-card__image-home {
    margin-top: -6px;
    margin-right: -4px;
  }

  .audience-card__image-move {
    margin-top: -8px;
    margin-right: 0;
  }

  .audience-card__image-travel {
    width: 292px;
    margin-top: -14px;
    margin-right: -10px;
  }

  .audience-card__image-business {
    margin-top: 4px;
    margin-right: 0;
  }

  .audience-card__image-company {
    width: 248px;
    margin-top: 2px;
    margin-right: -8px;
  }

  .audience-showcase {
    min-height: 320px;
  }

  .map-stage {
    min-height: 360px;
    box-shadow: none;
  }

  .map-info {
    top: 20px;
    left: 20px;
    right: 20px;
    width: auto;
    padding: 0;
  }

  .map-info strong {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .map-info ul {
    padding: 14px 18px;
  }

  .size-preview__media {
    box-shadow: 0 18px 30px rgba(46, 47, 48, 0.08);
  }

  .calculator-summary {
    order: 2;
    min-height: auto;
    padding: 28px;
  }

  .video-main {
    min-height: 320px;
  }

  .video-side {
    grid-template-columns: 1fr 1fr;
  }

  .video-side__panel {
    min-height: 150px;
  }

  .footer-nav a {
    font-size: 17px;
  }

  .footer-meta-row {
    margin-top: 20px;
    padding-top: 18px;
  }

  .footer-brand {
    padding-top: 96px;
  }

  .mobile-nav__backdrop {
    background: rgba(8, 9, 10, 0.46);
  }

  .mobile-nav__panel {
    top: 86px;
    right: 20px;
    width: min(330px, calc(100vw - 40px));
    max-height: calc(100dvh - 108px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
    padding: 18px;
  }

  .mobile-nav__head {
    margin-bottom: 16px;
  }

  .mobile-nav__links a {
    min-height: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.11);
    color: var(--white);
  }

  .mobile-nav__links .mobile-nav__app-link {
    min-height: 58px;
  }

  .mobile-nav__close {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), 370px);
  }

  .section-heading,
  .section-heading-wide,
  .about-slider__content,
  .feature-content,
  .step > div,
  .audience-card__content,
  .subpage-card,
  .partner-card,
  .partner-format-card,
  .partner-band,
  .footer-column {
    text-align: center;
  }

  .about-slider__content {
    align-items: center;
  }

  .about-slider__title,
  .section-heading h2,
  .panel h3,
  .feature-content h3,
  .step h3,
  .audience-card h3,
  .subpage-title,
  .partner-card h3,
  .partner-format-card h3,
  .partner-band h2,
  .footer-kicker,
  .footer-heading {
    text-align: center;
  }

  .site-header {
    position: relative;
    padding-top: 20px;
    z-index: 35;
  }

  .site-header::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -20px;
    bottom: -1px;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--ink);
    z-index: -1;
  }

  .topbar {
    min-height: 48px;
    padding: 4px 13px 4px 15px;
    border-radius: 15px;
    border: 0;
    background: var(--accent);
  }

  .brand {
    gap: 0;
    min-height: 38px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-label {
    display: none;
  }

  .menu-toggle {
    width: 27px;
    height: 16px;
    border-radius: 0;
    background: transparent;
  }

  .menu-toggle__icon {
    filter: none;
  }

  .mobile-nav__panel {
    top: 74px;
    right: 12px;
    width: min(366px, calc(100vw - 24px));
    max-height: calc(100dvh - 90px);
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(33, 34, 35, 0.975);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
  }

  .mobile-nav__links a {
    min-height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.11);
  }

  .mobile-nav__links .mobile-nav__app-link {
    min-height: 54px;
    margin-bottom: 4px;
  }

  .mobile-nav__head {
    margin-bottom: 14px;
  }

  .mobile-nav__title {
    font-size: 15px;
  }

  .mobile-nav__links {
    gap: 10px;
  }

  .hero-wrap {
    padding-top: 18px;
    padding-bottom: 31px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .subpage-wrap {
    padding-top: 18px;
    padding-bottom: 40px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .subpage-hero {
    padding-top: 34px;
    gap: 14px;
  }

  .subpage-card {
    padding: 24px 18px;
  }

  .subpage-card::before {
    right: -54px;
    bottom: -54px;
    width: 190px;
    height: 190px;
  }

  .subpage-kicker,
  .partner-contact-card__label {
    font-size: 11px;
  }

  .subpage-title {
    margin-top: 14px;
    font-size: clamp(24px, 8vw, 29px);
    line-height: 0.98;
    text-wrap: balance;
  }

  .subpage-lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.24;
  }

  .partner-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .partner-actions .button {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    font-size: 17px;
  }

  .subpage-facts {
    gap: 12px;
    margin-top: 14px;
  }

  .subpage-fact {
    gap: 8px;
    padding: 16px;
    border-radius: 20px;
  }

  .subpage-fact strong {
    font-size: 17px;
    line-height: 1.06;
  }

  .subpage-fact span {
    font-size: 14px;
    line-height: 1.3;
  }

  .subpage-main .section {
    padding-top: 56px;
  }

  .subpage-main .section-heading {
    margin-bottom: 18px;
  }

  .subpage-main .section-heading h2 {
    font-size: 24px;
    text-wrap: balance;
  }

  .subpage-main .section-heading p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.24;
  }

  .partner-grid,
  .partner-format-grid,
  .partner-contact-grid {
    gap: 14px;
  }

  .partner-card,
  .partner-format-card,
  .partner-contact-card,
  .partner-band {
    padding: 20px 18px;
  }

  .partner-card__index {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .partner-card h3,
  .partner-format-card h3,
  .partner-band h2 {
    font-size: 19px;
    line-height: 1.08;
    text-wrap: balance;
  }

  .partner-card p:last-child,
  .partner-format-card p,
  .partner-band__content p:last-child {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.28;
  }

  .partner-band__link {
    min-height: 54px;
    border-radius: 18px;
  }

  .partner-contact-card {
    gap: 10px;
  }

  .partner-contact-card a,
  .partner-contact-card span {
    font-size: 18px;
    line-height: 1.18;
    word-break: break-word;
  }

  .hero {
    gap: 0;
    padding-top: 16px;
  }

  .hero-card {
    min-height: 434px;
    padding: 0;
    border-radius: 36px;
    border: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 24%, rgba(18, 18, 18, 0.08) 100%),
      linear-gradient(90deg, rgba(18, 18, 18, 0.22) 0%, rgba(18, 18, 18, 0.1) 34%, rgba(18, 18, 18, 0) 68%),
      url("./assets/hero-mobile-boxstar.jpg") center 62% / cover no-repeat,
      #d9d9d9;
  }

  .hero-note {
    display: none;
  }

  .about-slider {
    margin-bottom: 18px;
  }

  .about-slider__viewport {
    min-height: 248px;
    border-radius: 24px;
    box-shadow: none;
  }

  .about-slider__image {
    height: 248px;
  }

  .about-slider__content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .about-slider__kicker {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .about-slider__title {
    max-width: 230px;
    margin: 0;
    font-size: 22px;
  }

  .about-slider__dot.is-active {
    width: 28px;
  }

  .hero-copy {
    position: absolute;
    top: 36px;
    left: 22px;
    right: 20px;
    bottom: auto;
    max-width: 312px;
    display: none;
  }

  .hero-copy h1 {
    font-size: 48px;
    line-height: 0.92;
    text-shadow: 0 8px 24px rgba(18, 18, 18, 0.18);
  }

  .hero-subtitle {
    font-size: 20px;
    line-height: 0.95;
    color: var(--white);
    max-width: 228px;
    text-shadow: 0 8px 22px rgba(18, 18, 18, 0.3);
  }

  .hero-tagline {
    display: none;
  }

  .hero-statement {
    display: block;
    margin-top: 24px;
  }

  .hero-statement p {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(29px, 8.1vw, 34px);
    line-height: 1.08;
    font-weight: 500;
  }

  .hero-statement span {
    display: block;
    margin-top: 4px;
  }

  .hero-mobile-actions {
    display: block;
    margin-top: 23px;
  }

  .hero-mobile-cta {
    min-height: 56px;
    border-radius: 37px;
    background: var(--accent);
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: none;
  }

  .hero-mobile-cta:hover,
  .hero-mobile-cta:focus-visible {
    transform: none;
    box-shadow: none;
  }

  .panel p,
  .feature-content p,
  .step p,
  .audience-card p,
  .sizes-intro,
  .size-preview p,
  .map-info li,
  .summary-list li,
  .selector-meta,
  .video-main small,
  .section-heading p {
    font-size: 17px;
  }

  .feature-content h3,
  .step h3,
  .audience-card h3,
  .size-option__label,
  .location-chip span,
  .map-info strong,
  .selector-title {
    font-size: 18px;
  }

  .map-stage {
    min-height: 320px;
  }

  .map-info {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .map-pin {
    width: 38px;
    height: 38px;
  }

  .selector-grid,
  .selector-grid-compact {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .audience-showcase {
    min-height: auto;
  }

  .feature-card {
    padding: 18px;
    border: 0;
  }

  .feature-card__media {
    min-height: 116px;
    padding-left: 56px;
    margin-top: 8px;
  }

  .feature-content {
    padding-top: 2px;
  }

  .feature-image-tilt {
    width: 174px;
    margin-top: -14px;
    margin-right: 0;
  }

  .feature-image-lock {
    width: 204px;
    margin-top: -22px;
    margin-right: -12px;
  }

  .feature-image-box {
    width: 230px;
    margin-top: -14px;
    margin-right: -22px;
  }

  .feature-image-clean {
    width: 146px;
    margin-top: -12px;
    margin-right: -6px;
  }

  .feature-image-flex {
    width: 188px;
    margin-top: -10px;
    margin-right: -2px;
  }

  .feature-image-control {
    width: 168px;
    margin-top: 2px;
    margin-right: -4px;
  }

  .audience-card {
    padding: 18px;
    border: 0;
  }

  .audience-card__media {
    min-height: 116px;
    padding-left: 56px;
  }

  .audience-card__image {
    width: 154px;
    max-width: none;
  }

  .audience-card__image-home {
    margin-top: -4px;
    margin-right: -2px;
  }

  .audience-card__image-move {
    margin-top: -4px;
    margin-right: 0;
  }

  .audience-card__image-travel {
    width: 208px;
    margin-top: -8px;
    margin-right: -8px;
  }

  .audience-card__image-business {
    margin-top: 2px;
    margin-right: 0;
  }

  .audience-card__image-company {
    width: 176px;
    margin-top: 2px;
    margin-right: -4px;
  }

  .audience-card h3 {
    margin-bottom: 12px;
  }

  .audience-showcase {
    min-height: 220px;
    border: 0;
  }

  .panel-badge {
    width: 38px;
    height: 38px;
    top: 18px;
    left: 18px;
  }

  .calculator-summary {
    min-height: auto;
    padding: 24px;
  }

  .selector-surface {
    min-height: 84px;
    padding: 14px;
    border-radius: 22px;
  }

  .video-main {
    min-height: 240px;
    padding: 18px;
    border: 0;
  }

  .video-side {
    grid-template-columns: 1fr;
  }

  .video-side__panel {
    min-height: 120px;
    padding: 18px;
    border: 0;
  }

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

  .footer-column-wide {
    grid-column: auto;
  }

  .footer-heading {
    font-size: 22px;
  }

  .footer-links a,
  .footer-text,
  .footer-facts span,
  .footer-meta {
    font-size: 15px;
  }

  .footer-link-cta {
    width: 100%;
  }

  .footer-brand {
    padding-top: 64px;
    display: flex;
    justify-content: center;
  }

  .footer-brand p {
    width: 100%;
    margin: 0;
    font-size: 56px;
    text-align: center;
    transform: none;
  }

  .partner-card h3,
  .partner-format-card h3,
  .partner-band h2,
  .partner-contact-card a,
  .partner-contact-card span {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .section {
    padding-top: 60px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .panel,
  .feature-card,
  .audience-card,
  .step,
  .location-chip,
  .calculator-summary {
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .summary-price {
    font-size: 38px;
  }

  .mobile-nav__panel {
    padding: 16px;
  }

  .footer-brand.container {
    width: min(calc(100% - 8px), 460px);
  }

  .footer-brand p {
    font-size: clamp(62px, 20vw, 76px);
  }
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: stretch;
}

.gallery-main,
.gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 22px 44px rgba(46, 47, 48, 0.1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.gallery-main {
  min-height: 567px;
}

.gallery-main__image,
.gallery-thumb__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-main__overlay,
.gallery-thumb__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 47, 48, 0.06), rgba(46, 47, 48, 0.78));
}

.gallery-main__content {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  z-index: 1;
  display: grid;
  gap: 12px;
  color: var(--white);
}

.gallery-main__kicker {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(253, 203, 42, 0.94);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-main strong {
  max-width: 560px;
  font-family: "Unbounded", sans-serif;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 500;
}

.gallery-main small {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.9);
}

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

.gallery-thumb {
  min-height: 274px;
}

.gallery-thumb__title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 500;
}

.gallery-main:hover,
.gallery-main:focus-visible,
.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(46, 47, 48, 0.12);
}

.gallery-thumb.is-active {
  border-color: rgba(253, 203, 42, 0.6);
}

.gallery-main:hover .gallery-main__image,
.gallery-main:focus-visible .gallery-main__image,
.gallery-thumb:hover .gallery-thumb__image,
.gallery-thumb:focus-visible .gallery-thumb__image,
.gallery-thumb.is-active .gallery-thumb__image {
  transform: scale(1.03);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 18, 18, 0.76);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  padding: 24px;
  border: 1px solid rgba(46, 47, 48, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(245, 244, 239, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.gallery-lightbox.is-open .gallery-lightbox__backdrop {
  opacity: 1;
}

.gallery-lightbox.is-open .gallery-lightbox__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(46, 47, 48, 0.92);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-lightbox__close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
}

.gallery-lightbox__close span:first-child {
  transform: rotate(45deg);
}

.gallery-lightbox__close span:last-child {
  transform: rotate(-45deg);
}

.gallery-lightbox__figure {
  margin: 0;
}

.gallery-lightbox__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  background: #d9d9d9;
}

.gallery-lightbox__caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.gallery-lightbox__caption strong {
  max-width: 680px;
  font-family: "Unbounded", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
}

.gallery-lightbox__caption span,
.gallery-lightbox__counter {
  color: rgba(46, 47, 48, 0.72);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.gallery-lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.gallery-lightbox__nav {
  min-width: 140px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(46, 47, 48, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible,
.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(46, 47, 48, 0.14);
}

@media (max-width: 1180px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    min-height: 420px;
  }

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

@media (max-width: 860px) {
  .gallery-layout {
    gap: 18px;
  }

  .gallery-main,
  .gallery-thumb,
  .gallery-lightbox__dialog {
    border-radius: 24px;
    box-shadow: none;
  }

  .gallery-main {
    min-height: 320px;
  }

  .gallery-side {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-thumb {
    min-height: 168px;
  }

  .gallery-lightbox {
    padding: 20px;
  }

  .gallery-lightbox__dialog {
    padding: 20px;
  }

  .gallery-lightbox__image {
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .gallery-layout {
    gap: 18px;
  }

  .gallery-main {
    min-height: 240px;
    border: 0;
  }

  .gallery-main__content {
    left: 18px;
    right: 18px;
    bottom: 18px;
    gap: 10px;
  }

  .gallery-main__kicker {
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }

  .gallery-main strong {
    max-width: 240px;
    font-size: 22px;
  }

  .gallery-main small {
    font-size: 17px;
  }

  .gallery-side {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .gallery-thumb {
    min-height: 120px;
    border: 0;
  }

  .gallery-thumb__title {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 14px;
  }

  .gallery-lightbox {
    padding: 14px;
  }

  .gallery-lightbox__dialog {
    padding: 54px 14px 14px;
    border-radius: 24px;
  }

  .gallery-lightbox__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox__image {
    border-radius: 20px;
  }

  .gallery-lightbox__caption {
    margin-top: 14px;
    flex-direction: column;
    gap: 8px;
  }

  .gallery-lightbox__caption strong {
    font-size: 18px;
  }

  .gallery-lightbox__caption span,
  .gallery-lightbox__counter {
    font-size: 14px;
  }

  .gallery-lightbox__controls {
    gap: 10px;
    margin-top: 14px;
  }

  .gallery-lightbox__nav {
    min-width: 0;
    flex: 1 1 0;
    min-height: 44px;
    padding: 0 12px;
  }
}
