/* ==========================================================================
   Pravda Books — Homepage (flat-minimal bookstore)
   ========================================================================== */

.page-home {
  --paper-bg: var(--pravda-ivory);
  --paper-warm: var(--pravda-paper);
  --header-height: 60px;
  --header-height-scrolled: 54px;
  background: var(--pravda-ivory);
  overflow-x: hidden;
}

/* --- Slim header (homepage) --- */
.page-home .header--slim {
  background: rgba(253, 251, 248, 0.96);
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) {
  background: rgba(248, 246, 241, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.page-home.page-home--hero .header--slim:not(.header--scrolled)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 22, 20, 0.18) 0%,
    rgba(20, 22, 20, 0.05) 65%,
    transparent 100%
  );
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__inner {
  position: relative;
  z-index: 1;
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .nav__link,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__icon-btn,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__menu-toggle,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__account-btn {
  color: #FFFDF8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    text-shadow 220ms ease;
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .nav__link:hover,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .nav__link--active {
  color: #FFFDF8;
  background: rgba(255, 255, 255, 0.08);
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__icon-btn:hover,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFDF8;
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__account-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFDF8;
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__logo img.header__logo-img--dark,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__logo-img--dark {
  display: none;
}
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__logo img.header__logo-img--light,
.page-home.page-home--hero .header--slim:not(.header--scrolled) .header__logo-img--light {
  display: block;
}
.page-home.page-home--hero .header--slim.header--scrolled .header__logo img.header__logo-img--light,
.page-home.page-home--hero .header--slim.header--scrolled .header__logo-img--light {
  display: none;
}
.page-home.page-home--hero .header--slim.header--scrolled .header__logo img.header__logo-img--dark,
.page-home.page-home--hero .header--slim.header--scrolled .header__logo-img--dark {
  display: block;
}
.page-home.page-home--hero #main-content > .hero.hero--banner:first-child {
  margin-top: calc(-1 * var(--header-height));
}
.page-home .header--slim .header__inner {
  padding: 0 0.25rem;
}
@media (min-width: 1024px) {
  .page-home .header--slim .header__inner {
    padding: 0 0.5rem;
  }
}
.page-home .header--slim.header--scrolled {
  background: rgba(253, 251, 248, 0.94);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid rgba(32, 31, 28, 0.08);
  box-shadow: 0 6px 24px rgba(32, 31, 28, 0.06);
}
.page-home .header--slim.header--scrolled .nav__link,
.page-home .header--slim.header--scrolled .header__icon-btn,
.page-home .header--slim.header--scrolled .header__menu-toggle,
.page-home .header--slim.header--scrolled .header__account-btn {
  color: #201F1C;
  text-shadow: none;
}
.page-home .header--slim.header--scrolled .nav__link:hover,
.page-home .header--slim.header--scrolled .nav__link--active,
.page-home .header--slim.header--scrolled .header__icon-btn:hover {
  color: var(--pravda-burgundy);
}
.page-home .header__logo img,
.page-home .header__logo-img {
  height: 40px;
}
.page-home .header--scrolled .header__logo img,
.page-home .header--scrolled .header__logo-img {
  height: 34px;
}
@media (min-width: 1024px) {
  .page-home {
    --header-height: 72px;
    --header-height-scrolled: 60px;
  }
  .page-home .header__logo img,
  .page-home .header__logo-img { height: 46px; }
  .page-home .header--scrolled .header__logo img,
  .page-home .header--scrolled .header__logo-img { height: 38px; }
}

/* --- Full-width banner hero (homepage) --- */
.page-home .hero.hero--banner {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

/*
 * Image-only hero: height follows artwork (recommended upload 1920×768, ~2.5:1).
 * No overlay text, gradients, or fixed-height letterboxing.
 */
.page-home .hero.hero--banner.hero--image-only,
.page-home .hero.hero--banner.hero--promo-mode {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  background: var(--pravda-ivory);
  overflow: hidden;
}

.page-home .hero.hero--banner.hero--image-only .hero__slider,
.page-home .hero.hero--banner.hero--promo-mode .hero__slider {
  position: relative;
  width: 100%;
  height: auto;
}

.page-home .hero.hero--banner.hero--image-only .hero__slide--banner,
.page-home .hero.hero--banner.hero--promo-mode .hero__slide--banner,
.page-home .hero.hero--banner.hero--promo-mode .hero__slide--promo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  inset: auto;
}

.page-home .hero.hero--banner.hero--image-only .hero__slide--banner.hero__slide--active,
.page-home .hero.hero--banner.hero--promo-mode .hero__slide--banner.hero__slide--active,
.page-home .hero.hero--banner.hero--promo-mode .hero__slide--promo.hero__slide--active {
  position: relative;
  inset: auto;
}

.page-home .hero.hero--banner.hero--image-only .hero__bg--banner,
.page-home .hero.hero--banner.hero--promo-mode .hero__slide--promo .hero__bg--promo {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  transform: none;
}

.page-home .hero.hero--banner.hero--image-only .hero__bg--banner picture,
.page-home .hero.hero--banner.hero--promo-mode .hero__bg--banner picture {
  display: block;
  width: 100%;
}

.page-home .hero.hero--banner.hero--image-only .hero__bg--banner img,
.page-home .hero.hero--banner.hero--promo-mode .hero__bg--banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: unset;
  object-position: center;
}

@media (max-width: 599px) {
  .page-home .hero.hero--banner.hero--image-only .hero__bg--banner,
  .page-home .hero.hero--banner.hero--promo-mode .hero__bg--banner {
    aspect-ratio: 2.1 / 1;
    min-height: 175px;
    background: var(--pravda-ivory);
  }
  .page-home .hero.hero--banner.hero--image-only .hero__bg--banner img,
  .page-home .hero.hero--banner.hero--promo-mode .hero__bg--banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

.page-home .hero.hero--banner .hero__nav {
  padding: 0.4rem 0.875rem;
  background: rgba(253, 251, 248, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid rgba(32, 31, 28, 0.1);
}
.page-home .hero.hero--banner .hero__dot {
  background: rgba(32, 31, 28, 0.28);
}
.page-home .hero.hero--banner .hero__dot--active {
  background: var(--pravda-charcoal);
  transform: scale(1.15);
}
.page-home .hero.hero--banner .hero__arrow {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: rgba(253, 251, 248, 0.92);
  border: var(--border-warm);
  color: var(--pravda-charcoal);
  box-shadow: var(--shadow-sm);
}
.page-home .hero.hero--banner .hero__arrow:hover {
  background: var(--color-white);
  color: var(--pravda-burgundy);
  border-color: rgba(148, 18, 56, 0.2);
}
.page-home .hero.hero--banner .hero__bottom {
  padding-bottom: 1rem;
}
.page-home .hero.hero--banner.hero--image-only .hero__arrow,
.page-home .hero.hero--banner.hero--promo-mode .hero__arrow {
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 599px) {
  .page-home .hero.hero--banner .hero__arrow {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
  .page-home .hero.hero--banner .hero__arrow svg {
    width: 16px;
    height: 16px;
  }
  .page-home .hero.hero--banner .hero__arrow--prev {
    left: 12px;
  }
  .page-home .hero.hero--banner .hero__arrow--next {
    right: 12px;
  }
  .page-home .hero.hero--banner .hero__bottom {
    padding-bottom: 0.625rem;
  }
  .page-home .hero.hero--banner .hero__bottom-inner {
    justify-content: flex-end;
  }
  .page-home .hero.hero--banner .hero__nav {
    padding: 0.25rem 0.5rem;
    gap: 0.35rem;
    min-height: 26px;
    align-items: center;
  }
  .page-home .hero.hero--banner .hero__dot {
    width: 6px;
    height: 6px;
  }
  .page-home .hero.hero--banner .hero__dot--active {
    width: 20px;
    border-radius: 999px;
    transform: none;
  }
}

/* --- Split hero (legacy, unused on homepage) --- */
.hero.hero--split {
  position: relative;
  height: auto;
  min-height: clamp(480px, 72vh, 540px);
  overflow: hidden;
  background: var(--paper-warm);
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .hero.hero--split {
    min-height: clamp(620px, 68vh, 700px);
  }
}
.hero--split .hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.hero--split .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}
.hero--split .hero__slide--active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-height: inherit;
}
.hero--split .hero__split-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(47, 107, 79, 0.07), transparent 58%),
    radial-gradient(ellipse 45% 55% at 8% 88%, rgba(26, 26, 26, 0.04), transparent 52%),
    linear-gradient(145deg, var(--paper-warm) 0%, var(--paper-bg) 100%);
}
.hero--split .hero__split-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0 5.5rem;
  min-height: clamp(480px, 72vh, 540px);
}
@media (min-width: 900px) {
  .hero--split .hero__split-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    padding: 3.5rem 0 6.5rem;
    min-height: clamp(620px, 68vh, 700px);
  }
}
.hero--split .hero__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero--split .hero__pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-black-soft);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.05);
}
.hero--split .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero--split .hero__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-gray-600);
  max-width: 34rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.hero--split .hero__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.75rem;
}
.hero--split .hero__price s {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-gray-400);
  margin-left: 0.5rem;
}
.hero--split .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}
.hero--split .hero__split-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  padding: 1rem 0;
}
@media (min-width: 900px) {
  .hero--split .hero__split-visual {
    min-height: 420px;
    justify-content: flex-end;
    padding-right: 1rem;
  }
}
.hero--split .hero__cover-card {
  position: relative;
  z-index: 2;
  width: min(300px, 78vw);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(26, 26, 26, 0.18);
  transform: rotate(-3deg);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}
@media (min-width: 900px) {
  .hero--split .hero__cover-card {
    width: min(380px, 100%);
    max-width: 400px;
  }
}
.hero__slide--active .hero__cover-card {
  transform: rotate(0deg);
}
.hero--split .hero__cover-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.hero--split .hero__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  padding: 0.4rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}
.hero--split .hero__shape {
  position: absolute;
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.hero--split .hero__shape--1 {
  width: 200px;
  height: 200px;
  top: 2%;
  right: 4%;
  background: rgba(196, 30, 58, 0.09);
  transform: rotate(14deg);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero--split .hero__shape--2 {
  width: 140px;
  height: 140px;
  bottom: 8%;
  left: 2%;
  background: rgba(26, 26, 26, 0.05);
  border-radius: 50%;
  animation: heroFloat 7s ease-in-out infinite reverse;
}
.hero--split .hero__shape--3 {
  width: 72px;
  height: 72px;
  top: 18%;
  left: 12%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 30, 58, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
  animation: heroFloat 5s ease-in-out infinite 0.5s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-10px) rotate(12deg); }
}
.hero--split .hero__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 0 0 2rem;
  pointer-events: none;
}
.hero--split .hero__bottom-inner {
  display: flex;
  justify-content: center;
  pointer-events: auto;
}
.hero--split .hero__nav {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.06);
}
.hero--split .hero__dot {
  background: var(--color-gray-300);
}
.hero--split .hero__dot--active {
  background: var(--color-primary);
}
.hero--split .hero__arrow {
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
}
.hero--split .hero__arrow:hover {
  background: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* --- Home search --- */
.home-search {
  padding: 2rem 0 2.25rem;
  margin-top: 0;
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-bg) 100%);
}
.home-search__card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.home-search__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.1), 0 2px 8px rgba(26, 26, 26, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.home-search__bar:focus-within {
  border-color: rgba(47, 107, 79, 0.3);
  box-shadow: 0 16px 40px rgba(47, 107, 79, 0.1), var(--focus-ring);
  transform: translateY(-1px);
}
.home-search__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-gray-500);
}
.home-search__input {
  width: 100%;
  padding: 1.125rem 0;
  border: none;
  background: transparent;
  font-size: 1.0625rem;
}
.home-search__input::placeholder {
  color: var(--color-gray-400);
}
.home-search__input:focus {
  outline: none;
}
.page-home .search-dropdown {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 56px rgba(26, 26, 26, 0.12);
  overflow: hidden;
}
.page-home .search-dropdown__item {
  padding: 0.875rem 1.25rem;
}
.page-home .search-dropdown__view-all {
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-gray-50);
}

/* --- Homepage search --- */
.book-finder .search-dropdown {
  margin-top: 0.5rem;
  border-radius: 0.875rem;
  box-shadow: 0 10px 32px rgba(32, 31, 28, 0.1);
  max-height: min(18rem, 52vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.book-finder .store-search__recent {
  margin-top: 0.625rem;
}

.page-home .store-search__whatsapp-hint {
  max-width: 720px;
  margin: 0 auto 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--color-gray-500);
  text-align: center;
}
.page-home .store-search__whatsapp-hint a {
  font-weight: 600;
  color: var(--pravda-sage);
  text-decoration: none;
  white-space: nowrap;
}
.page-home .store-search__whatsapp-hint a:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .page-home .store-search__whatsapp-hint {
    font-size: 0.875rem;
  }
}
.page-home .store-search--prominent .store-search__card {
  max-width: 720px;
  margin: 0 auto;
}
.page-home .store-search--prominent .store-search__bar {
  padding: 0.35rem 1.125rem;
  background: var(--pravda-paper);
  border: var(--border-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  min-height: 52px;
}
.page-home .store-search--prominent .store-search__bar:focus-within {
  border-color: rgba(47, 107, 79, 0.35);
  box-shadow: var(--focus-ring);
}
.page-home .store-search--prominent .store-search__input {
  font-size: 1rem;
  padding: 0.875rem 0;
}
.page-home .search-dropdown {
  border-radius: var(--radius-lg);
  border: var(--border-warm);
  box-shadow: var(--shadow-md);
  background: var(--pravda-paper);
}

/* --- WhatsApp order card --- */
.home-whatsapp-card {
  padding: 0.875rem 0 0.5rem;
  background: var(--pravda-ivory, #F8F6F1);
}
.home-whatsapp-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.125rem 1.25rem;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(47, 107, 79, 0.06), transparent 70%),
    linear-gradient(135deg, rgba(253, 251, 248, 0.98), rgba(248, 246, 241, 0.96));
  border: 1px solid rgba(49, 84, 73, 0.12);
  border-radius: 1.375rem;
  box-shadow: 0 8px 28px rgba(32, 31, 28, 0.05);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.home-whatsapp-card__link:hover {
  border-color: rgba(47, 107, 79, 0.22);
  box-shadow: 0 12px 32px rgba(32, 31, 28, 0.08);
  transform: translateY(-1px);
}
.home-whatsapp-card__content {
  min-width: 0;
}
.home-whatsapp-card__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-gray-600);
}
.home-whatsapp-card__brand {
  margin: 0.125rem 0 0.375rem;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 4.5vw, 2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #2F6B4F;
}
.home-whatsapp-card__hint {
  margin: 0 0 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray-600);
}
.home-whatsapp-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: rgba(47, 107, 79, 0.1);
  border: 1px solid rgba(47, 107, 79, 0.18);
}
.home-whatsapp-card__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: #2F6B4F;
}
.home-whatsapp-card__cta-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}
.home-whatsapp-card__cta-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pravda-charcoal);
  letter-spacing: 0.01em;
}
.home-whatsapp-card__visual {
  position: relative;
  flex-shrink: 0;
  width: clamp(5.5rem, 18vw, 7.5rem);
  color: rgba(38, 59, 74, 0.35);
}
.home-whatsapp-card__books {
  display: block;
  width: 100%;
  height: auto;
}
.home-whatsapp-card__motif {
  position: absolute;
  inset: -0.35rem -0.5rem auto auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 84, 73, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 479px) {
  .home-whatsapp-card__link {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .home-whatsapp-card__visual {
    justify-self: end;
    width: 5.25rem;
    margin-top: -0.25rem;
  }
  .home-whatsapp-card__hint-break {
    display: none;
  }
}
@media (min-width: 768px) {
  .home-whatsapp-card {
    padding: 1rem 0 0.625rem;
  }
  .home-whatsapp-card__link {
    padding: 1.25rem 1.5rem;
  }
}

/* --- Pre-booking scroller --- */
.home-prebooking {
  padding: 1.5rem 0 2rem;
  background: var(--surface-paper);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.home-prebooking__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.home-prebooking__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pravda-burgundy);
  margin-bottom: 0.25rem;
}
.home-prebooking__title {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  margin: 0;
}

/* --- Horizontal scroller (shared) --- */
.horizontal-scroller {
  position: relative;
}
.horizontal-scroller__track {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 0.25rem max(0.75rem, env(safe-area-inset-left)) 0.5rem max(0.75rem, env(safe-area-inset-right));
}
.horizontal-scroller__track::-webkit-scrollbar {
  display: none;
}
.horizontal-scroller__track:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.horizontal-scroller__inner {
  display: flex;
  gap: 0.625rem;
  width: max-content;
  min-width: 100%;
}
.horizontal-scroller__arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.1);
  color: var(--color-black);
  transition: background var(--transition), transform var(--transition);
}
.horizontal-scroller__arrow:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.05);
}
.horizontal-scroller__arrow svg {
  width: 18px;
  height: 18px;
}
.horizontal-scroller__arrow--prev {
  left: 0.25rem;
}
.horizontal-scroller__arrow--next {
  right: 0.25rem;
}
@media (min-width: 900px) {
  .horizontal-scroller__arrow {
    display: flex;
  }
  .horizontal-scroller__track {
    scroll-padding-inline: 2.5rem;
  }
}
.book-grid--scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.625rem;
}
.book-grid--scroll .book-card--store {
  flex: 0 0 clamp(9.5rem, 42vw, 11.5rem);
  scroll-snap-align: start;
  max-width: 11.5rem;
}
@media (min-width: 600px) {
  .book-grid--scroll .book-card--store {
    flex-basis: clamp(10rem, 22vw, 12.5rem);
    max-width: 12.5rem;
  }
}

/* --- Browse by Category (homepage) --- */
.home-browse {
  padding: clamp(1.25rem, 3vw, 2rem) 0 0;
  background: var(--pravda-ivory);
}
.home-browse__head {
  margin-bottom: 1rem;
}
.home-browse__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}

.home-category-grid:not(.is-expanded) .home-category-card--extra {
  display: none;
}
.home-category-grid__toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 0;
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .home-category-grid__toggle-wrap {
    padding-bottom: clamp(2rem, 3.5vw, 3rem);
  }
}
.home-category-grid__toggle {
  min-height: 44px;
  padding: 0.625rem 1.125rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pravda-burgundy);
  background: rgba(253, 251, 248, 0.95);
  border: 1px solid rgba(148, 18, 56, 0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.home-category-grid__toggle:hover {
  background: var(--color-white);
  border-color: rgba(148, 18, 56, 0.24);
  box-shadow: 0 4px 16px rgba(32, 31, 28, 0.06);
}
.home-category-grid__toggle:focus-visible {
  outline: 2px solid var(--pravda-burgundy);
  outline-offset: 2px;
}
.home-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-bottom: 0;
}
.home-browse .container > .home-category-grid:last-child {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .home-browse .container > .home-category-grid:last-child {
    margin-bottom: clamp(2rem, 3.5vw, 3rem);
  }
}
@media (min-width: 600px) {
  .home-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
  }
}
@media (min-width: 1024px) {
  .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
  }
}
.home-category-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.625rem 0.75rem 0.625rem 0;
  border: 1px solid rgba(32, 31, 28, 0.08);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--pravda-charcoal);
  background: var(--pravda-paper);
  box-shadow: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}
.home-category-card::before {
  content: '';
  flex: 0 0 4px;
  align-self: stretch;
  width: 4px;
  background: var(--category-accent, var(--pravda-burgundy));
  border-radius: 4px 0 0 4px;
  margin-right: 0.5rem;
}
.home-category-card:hover {
  border-color: rgba(32, 31, 28, 0.14);
  transform: translateY(-1px);
}
.home-category-card__label {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-category-card__chevron {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  color: var(--pravda-slate);
}
.home-category-card__chevron svg {
  width: 100%;
  height: 100%;
}
.home-category-card--blush { background: rgba(148, 18, 56, 0.06); }
.home-category-card--sand { background: rgba(139, 115, 85, 0.08); }
.home-category-card--sage { background: rgba(49, 84, 73, 0.08); }
.home-category-card--slate { background: rgba(38, 59, 74, 0.07); }
.home-category-card--lavender { background: rgba(92, 74, 114, 0.07); }
.home-category-card--blue { background: rgba(47, 74, 102, 0.07); }
.home-category-card--peach { background: rgba(166, 94, 59, 0.08); }

/* --- Featured collection --- */
.home-featured {
  padding: 2rem 0 2.5rem;
  background: var(--pravda-sand);
}
.home-featured__card {
  display: grid;
  gap: 0;
  background: var(--pravda-paper);
  border: var(--border-warm);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .home-featured__card {
    grid-template-columns: 1fr 1.05fr;
    min-height: 280px;
  }
}
.home-featured__content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .home-featured__content {
    padding: 2.5rem 2.25rem;
  }
}
.home-featured__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pravda-burgundy);
  margin-bottom: 0.625rem;
}
.home-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.home-featured__subtitle {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}
.home-featured__visual {
  min-height: 200px;
  overflow: hidden;
}
.home-featured__visual img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .home-featured__visual img {
    min-height: 100%;
  }
}

/* --- Book discovery --- */
.home-discovery {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: clamp(1.25rem, 3vw, 2rem) 0 3rem;
  background: var(--pravda-paper);
  border-top: 1px solid rgba(32, 31, 28, 0.06);
}
.home-discovery::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/category-atmosphere.svg') center top / cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.home-discovery > * {
  position: relative;
  z-index: 1;
}
[data-filter-sticky-sentinel] {
  height: 1px;
  margin-top: -1px;
}
.home-discovery__head {
  margin-bottom: 0.625rem;
}
.home-discovery__title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.home-discovery .container {
  display: flex;
  flex-direction: column;
}
.home-discovery__sticky-wrap {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  margin-bottom: 0;
  padding: 0.375rem 0;
  border-bottom: 1px solid transparent;
  flex-shrink: 0;
  transition: box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.home-discovery__grid-wrap {
  margin-top: 0;
  padding-top: clamp(1.125rem, 2.75vw, 1.375rem);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .home-discovery__grid-wrap {
    padding-top: clamp(1.25rem, 2vw, 1.5rem);
  }
}
@media (min-width: 900px) {
  .home-discovery__grid-wrap {
    padding-top: clamp(1.5rem, 1.75vw, 1.75rem);
  }
}
.home-discovery .book-grid--store {
  margin-top: 0;
  padding-top: 0;
}
.home-discovery__sticky-wrap.is-stuck {
  margin-left: calc(-1 * clamp(0.75rem, 3vw, 1rem));
  margin-right: calc(-1 * clamp(0.75rem, 3vw, 1rem));
  padding-left: clamp(0.75rem, 3vw, 1rem);
  padding-right: clamp(0.75rem, 3vw, 1rem);
  background: rgba(253, 251, 248, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(32, 31, 28, 0.06);
  box-shadow: 0 4px 20px rgba(32, 31, 28, 0.05);
}
.home-discovery__filter-card {
  margin-bottom: 0;
  padding: 0.5rem 0.625rem;
  background: rgba(253, 251, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(32, 31, 28, 0.06);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.home-discovery__sticky-wrap.is-stuck .home-discovery__filter-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(32, 31, 28, 0.07);
  box-shadow: none;
}
.home-discovery__filter-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.home-discovery__filter-toolbar .filter-pills {
  flex: 1;
  min-width: 0;
  width: auto;
}
.discovery-count-chip {
  display: none;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-600);
  background: var(--pravda-ivory);
  border: var(--border-warm);
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
}
@media (min-width: 768px) {
  .home-discovery .discovery-count-chip {
    display: inline-flex;
  }
}
.discovery-count-chip__icon {
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 700;
  color: var(--pravda-burgundy);
}
.discovery-count-chip__nums {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.discovery-count-chip__num {
  font-weight: 700;
  color: var(--color-black);
}
.filter-pills {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  padding: 0.125rem;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0;
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-500);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all var(--transition);
  cursor: pointer;
}
.filter-pill:hover {
  color: var(--color-black);
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.06);
}
.filter-pills--discovery {
  flex-wrap: nowrap;
  padding-bottom: 0.125rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
@media (max-width: 767px) {
  .home-discovery__filter-toolbar {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .home-discovery .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
}
.home-discovery .filter-pill {
  color: var(--pravda-charcoal);
  background: var(--pravda-paper);
  border: var(--border-warm);
}
.home-discovery .filter-pill:hover {
  color: var(--pravda-charcoal);
  background: var(--pravda-ivory);
  border-color: rgba(32, 31, 28, 0.12);
}
.home-discovery .filter-pill--active {
  color: var(--pravda-ivory);
  background: var(--pravda-burgundy);
  border-color: var(--pravda-burgundy);
}
.home-discovery .filter-pill--active:hover {
  color: var(--pravda-ivory);
  background: var(--pravda-burgundy);
  border-color: var(--pravda-burgundy);
}
.book-grid--store {
  gap: 0.625rem;
}
@media (min-width: 600px) {
  .book-grid--store {
    gap: 1rem;
  }
}
@media (min-width: 900px) {
  .book-grid--store {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.home-discovery__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  text-align: center;
}
.home-discovery__loading {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  animation: discoveryPulse 1.2s ease-in-out infinite;
}
@keyframes discoveryPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.home-discovery__sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}
.home-discovery__end {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  font-style: italic;
}

/* --- Publish services (homepage) --- */
.home-publish {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
}
.home-publish::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/vectors/paper-ink-motif.svg') right 8% top 50% / 420px auto no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.home-publish > .container {
  position: relative;
  z-index: 1;
}
.home-publish {
  background: var(--pravda-ivory);
  border-top: var(--border-warm);
}
.home-publish__intro {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.home-publish__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pravda-burgundy);
  margin-bottom: 0.5rem;
}
.home-publish__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.625rem;
}
.home-publish__lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray-600);
  margin: 0;
}
.home-publish__cards {
  display: flex;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
  padding-bottom: 0.25rem;
}
.home-publish-service {
  position: relative;
  flex: 0 0 clamp(18rem, 88vw, 22rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  min-height: 11.875rem;
  max-height: 13.125rem;
  height: 11.875rem;
  padding: 1.5rem 1.25rem;
  border-radius: 1.375rem;
  color: var(--color-white);
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-publish-service:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(32, 31, 28, 0.14);
}
.home-publish-service--book {
  background: var(--pravda-burgundy);
}
.home-publish-service--thesis {
  background: var(--pravda-slate);
}
.home-publish-service--seminar {
  background: var(--pravda-sage);
}
.home-publish-service__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background: rgba(253, 251, 248, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.875rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: rgba(253, 251, 248, 0.95);
}
.home-publish-service__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}
.home-publish-service__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-right: clamp(4.25rem, 20vw, 5rem);
}
.home-publish-service__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: rgba(253, 251, 248, 0.98);
}
.home-publish-service__text {
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(253, 251, 248, 0.88);
  margin: 0;
}
.home-publish-service__arrow {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: rgba(253, 251, 248, 0.92);
  color: var(--pravda-charcoal);
  border-radius: 50%;
  transition: transform var(--transition), background var(--transition);
}
.home-publish-service__arrow svg {
  width: 1.125rem;
  height: 1.125rem;
}
.home-publish-service:hover .home-publish-service__arrow {
  transform: translateX(2px);
}
.home-publish-service__illustration {
  position: absolute;
  z-index: 0;
  right: -0.35rem;
  bottom: -0.35rem;
  width: clamp(6.75rem, 30vw, 8.5rem);
  height: clamp(6.75rem, 30vw, 8.5rem);
  object-fit: contain;
  opacity: 1;
  pointer-events: none;
}
@media (min-width: 900px) {
  .home-publish__scroller .horizontal-scroller__track {
    overflow: visible;
  }
  .home-publish__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 1.125rem;
  }
  .home-publish-service {
    flex: initial;
    width: 100%;
    min-height: 11.875rem;
    height: 11.875rem;
  }
  .home-publish-service__body {
    padding-right: clamp(5rem, 7vw, 6.25rem);
  }
  .home-publish-service__illustration {
    right: 0.25rem;
    bottom: auto;
    top: 54%;
    transform: translateY(-50%);
    width: clamp(7.5rem, 10vw, 10rem);
    height: clamp(7.5rem, 10vw, 10rem);
  }
  .home-publish__scroller .horizontal-scroller__arrow {
    display: none;
  }
}

/* --- Gallery strip --- */
.home-gallery-strip {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 2.5rem;
}
.home-gallery-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/category-atmosphere.svg') center / cover no-repeat;
  opacity: 0.035;
  pointer-events: none;
}
.home-gallery-strip > .container {
  position: relative;
  z-index: 1;
}
.home-gallery-strip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.home-gallery-strip__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 600;
}
.home-gallery-strip__view-all {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-burgundy, #941238);
  text-decoration: none;
}
.home-gallery-strip__view-all:hover {
  text-decoration: underline;
}
.home-gallery-strip__track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.home-gallery-strip__track.is-marquee-active {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.home-gallery-strip.is-marquee .home-gallery-strip__track {
  overflow-x: auto;
  cursor: default;
}
.home-gallery-strip.is-marquee.is-paused .home-gallery-strip__track {
  cursor: grab;
}
.home-gallery-strip.is-marquee.is-paused .home-gallery-strip__track:active {
  cursor: grabbing;
}
.home-gallery-strip__item--clone {
  pointer-events: none;
  user-select: none;
}
.home-gallery-strip__track::-webkit-scrollbar {
  display: none;
}
.home-gallery-strip__item {
  flex: 0 0 clamp(10.5rem, 58vw, 14rem);
  scroll-snap-align: start;
  display: block;
  border-radius: var(--radius-lg, 10px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(32, 31, 28, 0.06);
}
@media (min-width: 600px) {
  .home-gallery-strip__item {
    flex-basis: clamp(11rem, 32vw, 15rem);
  }
}
@media (min-width: 1024px) {
  .home-gallery-strip__item {
    flex-basis: clamp(12rem, 20vw, 16rem);
  }
}
.home-gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Our Promise (editorial closing) --- */
.home-promise {
  --promise-section-y: clamp(4.375rem, 6vw, 5.625rem);
  --promise-heading-gap: clamp(0.625rem, 1.5vw, 0.75rem);
  --promise-copy-gap: clamp(0.875rem, 2vw, 1.125rem);
  --promise-grid-gap: clamp(1.125rem, 2.5vw, 1.375rem);
  --promise-cta-gap: clamp(1.25rem, 2.5vw, 1.5rem);
  position: relative;
  overflow: hidden;
  padding: var(--promise-section-y) 0;
  background: var(--pravda-sand);
  border-top: var(--border-warm);
}
.home-promise::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  bottom: -1rem;
  width: clamp(8.5rem, 16vw, 13rem);
  height: clamp(8.5rem, 16vw, 13rem);
  background: url('../images/illustrations/publish-book.svg') no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.home-promise > .container {
  position: relative;
  z-index: 1;
}
.home-promise__inner {
  max-width: clamp(48rem, 94vw, 54rem);
  margin: 0 auto;
  text-align: center;
}
.home-promise__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pravda-burgundy);
  margin-bottom: var(--promise-heading-gap);
}
.home-promise__title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
  color: var(--pravda-charcoal);
}
.home-promise__ornament {
  display: block;
  width: clamp(2.5rem, 5vw, 3.25rem);
  height: 2px;
  margin: var(--promise-heading-gap) auto var(--promise-copy-gap);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 164, 93, 0.35) 18%,
    #B88A3B 50%,
    rgba(201, 164, 93, 0.35) 82%,
    transparent
  );
  border-radius: 1px;
}
.home-promise__ornament::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  margin: -2px auto 0;
  background: #B88A3B;
  transform: rotate(45deg);
  opacity: 0.55;
}
.home-promise__text {
  max-width: clamp(47.5rem, 88vw, 53.75rem);
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-600);
  margin-bottom: 0.75rem;
}
.home-promise__text--secondary {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  margin-bottom: var(--promise-grid-gap);
}
.home-promise__trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  margin: 0 0 var(--promise-cta-gap);
  padding: 0;
  list-style: none;
  text-align: left;
}
@media (min-width: 640px) {
  .home-promise__trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6875rem 0.875rem;
  }
}
.home-promise__trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6875rem 0.9375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pravda-charcoal);
  background: var(--pravda-paper);
  border: 1px solid rgba(32, 31, 28, 0.08);
  border-radius: 15px;
  box-shadow:
    0 1px 2px rgba(32, 31, 28, 0.04),
    0 3px 10px rgba(32, 31, 28, 0.03);
  overflow: hidden;
}
.home-promise__trust-item::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(184, 138, 59, 0.42) 0%,
    rgba(184, 138, 59, 0.14) 42%,
    transparent 78%
  );
  pointer-events: none;
}
.home-promise__trust-item::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(184, 138, 59, 0.32) 0%,
    rgba(184, 138, 59, 0.1) 45%,
    transparent 80%
  );
  pointer-events: none;
}
.home-promise__trust-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--pravda-slate);
  background: rgba(253, 251, 248, 0.88);
  border: 1px solid rgba(184, 138, 59, 0.16);
  border-radius: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.home-promise__trust-icon svg {
  width: 1rem;
  height: 1rem;
}
.home-promise__cta.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pravda-charcoal);
  background: var(--pravda-paper);
  border: 1px solid rgba(32, 31, 28, 0.2);
  border-radius: 13px;
  box-shadow: none;
  transform: none;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.home-promise__cta.btn--outline:hover {
  background: var(--pravda-ivory);
  border-color: rgba(148, 18, 56, 0.26);
  color: var(--pravda-charcoal);
  transform: none;
  box-shadow: none;
}
@media (max-width: 640px) {
  .home-promise {
    --promise-section-y: clamp(3rem, 8vw, 4rem);
  }
  .home-promise__text,
  .home-promise__text--secondary {
    max-width: none;
  }
  .home-promise__trust-item {
    padding: 0.625rem 0.875rem;
  }
  .home-promise__cta.btn--outline {
    width: 100%;
    max-width: 18rem;
  }
}
