:root {
  --bg: #e9e1d4;
  --bg-deep: #e0d6c7;
  --panel: rgba(251, 247, 241, 0.92);
  --panel-strong: #fffdfa;
  --panel-dark: #5a4738;
  --ink: #231c17;
  --muted: #6e6256;
  --muted-strong: #4b4035;
  --line: rgba(35, 28, 23, 0.1);
  --line-strong: rgba(35, 28, 23, 0.16);
  --shadow: 0 18px 48px rgba(70, 54, 38, 0.12);
  --shadow-strong: 0 26px 72px rgba(70, 54, 38, 0.16);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1.125rem;
  --content-width: 70rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.46), transparent 28%),
    linear-gradient(180deg, #eee7dc 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

main {
  display: grid;
  gap: 1.5rem;
}

.page-shell {
  width: min(var(--content-width), calc(100vw - 1.25rem));
  margin: 0 auto;
  padding: 0.875rem 0 2rem;
}

.topbar,
.hero__banner,
.card,
.info-panel,
.footer {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  display: grid;
  gap: 0.875rem;
  padding: 1rem;
  border-radius: 1.375rem;
  margin-bottom: 1rem;
}

.topbar__label,
.topbar__nav a,
.eyebrow,
.card__eyebrow,
.info-panel__label,
.legal-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.topbar__nav a {
  position: relative;
  color: var(--muted-strong);
  padding-bottom: 0.125rem;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.hero {
  display: grid;
  gap: 1rem;
}

.hero__banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero__visual {
  position: absolute;
  inset: 0;
  background-color: #d8cebf;
  background-image: url("./assets/hero-left.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(0.94) contrast(1.02);
}

.hero__visual::before,
.hero__visual::after,
.card--photo::before,
.card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero__visual::before {
  background:
    linear-gradient(180deg, rgba(33, 23, 15, 0.18) 0%, rgba(33, 23, 15, 0.04) 34%, rgba(33, 23, 15, 0.58) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.08));
}

.hero__visual::after {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.28), transparent 12%),
    linear-gradient(0deg, rgba(248, 245, 239, 0.12), rgba(248, 245, 239, 0.12));
}

.hero__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  max-width: calc(100% - 2rem);
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(43, 34, 28, 0.26);
  color: rgba(255, 250, 244, 0.92);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0.875rem;
  min-height: 27rem;
  padding: 6rem 1.25rem 1.25rem;
}

.hero__overlay h1,
.section-heading h2,
.card h2,
.info-panel__value,
.footer__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.94;
}

.hero__overlay .eyebrow {
  color: rgba(255, 249, 243, 0.78);
}

.hero__overlay h1 {
  max-width: 7.5ch;
  color: #fffdf9;
  font-size: clamp(3.2rem, 17vw, 5.8rem);
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  text-shadow: 0 0.25rem 1.5rem rgba(24, 20, 16, 0.2);
}

.hero__lede {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 250, 243, 0.88);
  font-size: 0.96rem;
  line-height: 1.7;
  text-shadow: 0 1px 0.75rem rgba(32, 27, 23, 0.18);
}

.mosaic,
.details__grid {
  display: grid;
  gap: 1rem;
}

.card,
.info-panel,
.footer {
  border-radius: var(--radius-lg);
}

.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
  overflow: hidden;
}

.card--text {
  min-height: 14rem;
}

.card--photo {
  min-height: 18.5rem;
  align-content: end;
  color: #fffaf4;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-strong);
}

.card--photo::before {
  background:
    linear-gradient(180deg, rgba(28, 22, 17, 0.1), rgba(28, 22, 17, 0.68)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.08));
}

.card--photo::after {
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
}

.card--duvet {
  background-image: url("./assets/Коллекция-Gagachi-4-scaled.jpg");
  background-position: center 58%;
}

.card--pillows {
  background-image: url("./assets/nnnnnnnnn.png");
  background-position: center;
}

.card h2 {
  font-size: clamp(2rem, 9vw, 3rem);
}

.card__text,
.contact-note,
.info-panel__note,
.footer__text,
.footer__legal,
.legal-list dd,
.info-panel__hours,
.hours-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card__photo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  max-width: 30ch;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(35, 26, 20, 0.12), rgba(35, 26, 20, 0.46));
}

.card--photo .card__eyebrow,
.card--photo .card__text {
  color: rgba(255, 248, 240, 0.84);
}

.card--photo h2 {
  color: #fffaf4;
}

.contact-lines,
.hours-list,
.legal-list,
.info-panel__hours,
.footer__legal {
  display: grid;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  width: fit-content;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 10vw, 2.6rem);
  line-height: 0.98;
  position: relative;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.125rem;
  width: 100%;
  height: 1px;
  background: rgba(35, 28, 23, 0.34);
}

.contact-note {
  max-width: 32ch;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(35, 28, 23, 0.08);
}

.hours-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours-list strong {
  color: var(--ink);
  font-weight: 600;
}

.details {
  display: grid;
  gap: 1rem;
}

.products {
  display: grid;
  gap: 1rem;
}

.products__heading {
  display: grid;
  gap: 0.875rem;
}

.products__intro {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  min-height: 13rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.product-card__image {
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 48%),
    linear-gradient(180deg, #eee5d8, #ddd0bf);
}

.product-card__image img {
  width: 100%;
  max-height: 12rem;
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 1rem rgba(70, 54, 38, 0.16));
}

.product-card__body {
  display: grid;
  align-content: start;
  gap: 0.625rem;
  padding: 1rem;
}

.product-card__category {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 7vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
}

.product-card__contents {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding-top: 0.25rem;
}

.product-card__price {
  color: var(--ink);
  font-size: 1.15rem;
}

.details__intro {
  display: grid;
  gap: 1rem;
}

.section-heading {
  display: grid;
  gap: 0.625rem;
  padding: 0 0.125rem;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 12vw, 4.4rem);
}

.callback-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 28%),
    linear-gradient(180deg, rgba(94, 75, 59, 0.96), rgba(60, 47, 37, 0.98));
  border: 1px solid rgba(35, 28, 23, 0.2);
  box-shadow: var(--shadow);
  color: #f7f0e8;
}

.callback-card__eyebrow {
  margin: 0;
  color: rgba(247, 240, 232, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.callback-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  line-height: 0.94;
}

.callback-card__text,
.callback-form__hint,
.callback-form__status {
  margin: 0;
  color: rgba(247, 240, 232, 0.84);
  line-height: 1.6;
}

.callback-form {
  display: grid;
  gap: 0.75rem;
}

.callback-form__input,
.callback-form__submit {
  min-height: 3.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: inherit;
}

.callback-form__input {
  width: 100%;
  padding: 0 1rem;
  background: rgba(255, 252, 247, 0.12);
  color: #fffaf4;
  outline: none;
}

.callback-form__input::placeholder {
  color: rgba(247, 240, 232, 0.52);
}

.callback-form__input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.12);
}

.callback-form__input[aria-invalid="true"] {
  border-color: rgba(255, 214, 214, 0.82);
  box-shadow: 0 0 0 0.2rem rgba(168, 57, 57, 0.14);
}

.callback-form__submit {
  padding: 0 1.25rem;
  background: #f8f4ee;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.callback-form__submit:hover,
.callback-form__submit:focus-visible {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.callback-form__submit:active {
  transform: translateY(0);
}

.callback-form__hint {
  color: rgba(247, 240, 232, 0.68);
  font-size: 0.92rem;
}

.callback-form__status {
  padding-top: 0.125rem;
  font-size: 0.94rem;
}

.callback-form__status[data-state="error"] {
  color: #ffe1df;
}

.callback-form__status[data-state="success"] {
  color: #efffef;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.info-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
  min-height: 0;
}

.info-panel__value {
  display: inline-block;
  font-size: clamp(2rem, 10vw, 2.8rem);
}

.info-panel__value--static {
  max-width: 14ch;
  font-size: clamp(1.55rem, 7vw, 2.2rem);
  line-height: 1.02;
}

.info-panel__hours p,
.footer__legal p,
.footer__text {
  margin: 0;
}

.info-panel--accent {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(94, 75, 59, 0.98), rgba(56, 44, 35, 0.98));
  border-color: rgba(35, 28, 23, 0.22);
  color: #f7f0e8;
}

.info-panel--accent .info-panel__label,
.info-panel--accent .legal-list dt,
.info-panel--accent .legal-list dd,
.info-panel--accent .info-panel__note {
  color: rgba(247, 240, 232, 0.84);
}

.legal-list dd {
  margin: 0;
  color: inherit;
}

.info-panel--accent .legal-list {
  gap: 0.9rem;
}

.footer {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
}

.footer__title {
  font-size: clamp(2rem, 10vw, 2.8rem);
}

.footer__legal {
  text-align: left;
}

@media (min-width: 48rem) {
  .page-shell {
    width: min(var(--content-width), calc(100vw - 2rem));
    padding: 1.25rem 0 2.5rem;
  }

  main {
    gap: 2rem;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.125rem 1.25rem;
  }

  .hero {
    gap: 1.25rem;
  }

  .hero__overlay {
    min-height: 33rem;
    padding: 7rem 2rem 2rem;
  }

  .hero__overlay h1 {
    max-width: 8.5ch;
    font-size: clamp(4.4rem, 9vw, 7rem);
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card--text {
    min-height: 16rem;
  }

  .card--photo {
    min-height: 22rem;
  }

  .hours-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 1rem;
  }

  .details {
    gap: 1.25rem;
  }

  .products {
    gap: 1.25rem;
  }

  .products__heading {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 34rem);
    align-items: end;
    gap: 1.25rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .product-card {
    grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr);
  }

  .product-card__body {
    padding: 1.25rem;
  }

  .details__intro {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
    align-items: start;
    gap: 1.25rem;
  }

  .callback-card {
    padding: 1.5rem;
  }

  .details__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .info-panel {
    padding: 1.5rem;
  }

  .footer {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 1fr);
    align-items: end;
    padding: 1.5rem;
  }

  .footer__legal {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 70rem) {
  .page-shell {
    width: min(var(--content-width), calc(100vw - 4rem));
    padding: 1.75rem 0 3rem;
  }

  .topbar {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
  }

  .hero__banner {
    border-radius: 2.25rem;
  }

  .hero__visual {
    background-position: center 34%;
  }

  .hero__overlay {
    min-height: 38rem;
    padding: 8rem 2.75rem 2.5rem;
  }

  .hero__badge {
    top: 1.25rem;
    left: 1.25rem;
  }

  .hero__overlay h1 {
    font-size: clamp(5.4rem, 8vw, 8.6rem);
  }

  .mosaic,
  .product-grid,
  .details__grid {
    gap: 1.375rem;
  }

  .card,
  .product-card,
  .info-panel,
  .footer {
    border-radius: 1.75rem;
  }

  .card {
    padding: 1.75rem;
  }

  .card--text {
    min-height: 17.5rem;
  }

  .card--photo {
    min-height: 24.5rem;
  }

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

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

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card__image {
    min-height: 15rem;
  }

  .product-card__image img {
    max-height: 13.5rem;
  }

  .details__intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(23rem, 26rem);
    gap: 1.375rem;
  }

  .callback-card {
    padding: 1.75rem;
  }

  .callback-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .callback-form__input,
  .callback-form__submit {
    min-height: 3.75rem;
  }

  .callback-form__hint,
  .callback-form__status {
    grid-column: 1 / -1;
  }

  .info-panel {
    min-height: 17.25rem;
    padding: 1.75rem;
  }

  .footer {
    padding: 1.5rem 1.75rem;
  }
}

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

  .topbar__nav a::after {
    transition: none;
  }
}
