:root {
  --bg: #faf8f5;
  --paper: #f7f2ec;
  --ink: #202020;
  --muted: #5f5d5a;
  --line: #d7cec5;
  --soft-line: #e7ded6;
  --accent: #9d8778;
  --dark: #211f1d;
  --white: #fffdfb;
  --radius: 8px;
  --container: 1284px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

.container {
  width: min(100% - 120px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  align-items: start;
  gap: 30px;
  width: min(100% - 120px, var(--container));
  margin: 0 auto;
  padding-top: 54px;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  gap: 0;
}

.brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.brand__caption {
  margin-top: 5px;
  color: #373431;
  font-size: 14px;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  padding-top: 20px;
  color: #151515;
  font-size: 18px;
  line-height: 1;
}

.main-nav a,
.footer a,
.more-link,
.text-link {
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.main-nav a:hover,
.footer a:hover,
.more-link:hover,
.text-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 27px;
  padding-top: 11px;
}

.icon-button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 34%),
    var(--bg);
}

.hero__photo {
  position: absolute;
  top: 116px;
  right: 0;
  width: 63vw;
  height: 564px;
  overflow: hidden;
}

.hero__photo::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 34%;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(250, 248, 245, 0.88) 26%, rgba(250, 248, 245, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__inner {
  position: relative;
  z-index: 3;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-top: 92px;
}

.hero__copy {
  width: min(560px, 46vw);
  padding-top: 18px;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 570px;
  font-size: 78px;
  line-height: 1.15;
}

.hero__copy p {
  max-width: 490px;
  margin: 38px 0 34px;
  font-size: 24px;
  line-height: 1.45;
}

.button {
  display: inline-grid;
  min-width: 244px;
  min-height: 70px;
  place-items: center;
  padding: 18px 34px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

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

.button--dark:hover {
  background: #34302d;
}

.section {
  padding: 62px 0 72px;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head h2,
.why h2 {
  color: #2a2928;
  font-size: 40px;
  line-height: 1;
}

.more-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f2e2c;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.more-link {
  margin-top: 7px;
}

.more-link svg,
.text-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.filters {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 50px;
  margin-bottom: 51px;
}

.filter-group p {
  margin: 0 0 13px;
  color: #4a4845;
  font-size: 14px;
  line-height: 1;
}

.filter-group--budget {
  justify-self: end;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  min-height: 29px;
  padding: 0 13px;
  border: 1px solid #cbc3ba;
  border-radius: 999px;
  background: transparent;
  color: #393735;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.chip--active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

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

.product-card {
  position: relative;
  min-width: 0;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 38%;
  background: #f0ece7;
}

.product-card__row {
  position: relative;
  display: grid;
  min-height: 84px;
  padding-right: 64px;
  padding-top: 21px;
}

.product-card h3 {
  min-height: 24px;
  margin: 0 0 13px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.product-card p {
  margin: 0;
  font-size: 20px;
  line-height: 1;
}

.add-button {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #c8c0b7;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.product-card__row .add-button {
  position: absolute;
  top: 42px;
  right: 0;
}

.add-button span,
.add-button span::after {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.add-button span::after {
  transform: rotate(90deg);
}

.offers {
  padding: 28px 0 70px;
}

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

.offer-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  background: var(--paper);
}

.offer-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 244, 239, 0.98) 0%, rgba(248, 244, 239, 0.82) 36%, rgba(248, 244, 239, 0.14) 62%, rgba(248, 244, 239, 0) 100%);
  content: "";
  pointer-events: none;
}

.offer-card__content {
  position: relative;
  z-index: 2;
  width: 52%;
  padding: 43px 0 42px 32px;
}

.offer-card h2 {
  margin-top: 27px;
  color: #373432;
  font-size: 35px;
  line-height: 1.08;
}

.offer-card p {
  max-width: 310px;
  margin: 20px 0 29px;
  color: #44413f;
  font-size: 16px;
  line-height: 1.55;
}

.offer-card img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 63%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.offer-card--wide {
  grid-column: 1 / -1;
  min-height: 290px;
}

.offer-card--wide::after {
  background: linear-gradient(90deg, rgba(248, 244, 239, 1) 0%, rgba(248, 244, 239, 0.94) 35%, rgba(248, 244, 239, 0.4) 55%, rgba(248, 244, 239, 0.06) 100%);
}

.offer-card--wide .offer-card__content {
  width: 42%;
  padding-left: 34px;
}

.offer-card--wide img {
  width: 62%;
  object-position: center 46%;
}

.line-icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.eyebrow {
  display: block;
  margin-bottom: 24px;
  color: #57524e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.offer-card--wide h2 {
  margin-top: 0;
}

.offer-card--wide .button {
  min-width: 210px;
  min-height: 56px;
  padding: 14px 24px;
  font-size: 16px;
}

.studio {
  padding-top: 0;
  padding-bottom: 58px;
}

.studio__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 86px;
  align-items: start;
  padding-top: 8px;
}

.studio__copy h2,
.contacts-section h2 {
  max-width: 610px;
  margin: 18px 0 24px;
  color: #2d2b29;
  font-size: 48px;
  line-height: 1.05;
}

.studio__copy p,
.contacts-section p {
  max-width: 520px;
  margin: 0;
  color: #4e4a46;
  font-size: 18px;
  line-height: 1.65;
}

.studio__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.studio__facts div {
  min-width: 0;
  padding: 28px 24px 26px;
  border-right: 1px solid var(--line);
}

.studio__facts div:last-child {
  border-right: 0;
}

.studio__facts dt {
  margin: 0 0 12px;
  color: #292725;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.studio__facts dd {
  margin: 0;
  color: #55504c;
  font-size: 15px;
  line-height: 1.55;
}

.why {
  padding-top: 42px;
  padding-bottom: 66px;
}

.why h2 {
  text-align: center;
  font-size: 51px;
}

.why__layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 328px;
  gap: 36px;
  align-items: start;
  margin-top: 58px;
}

.benefit {
  display: grid;
  grid-template-rows: 104px 52px auto;
  min-width: 0;
  min-height: 246px;
  justify-items: center;
  text-align: center;
}

.benefit svg {
  width: 76px;
  height: 76px;
  align-self: start;
  margin-top: 0;
  overflow: visible;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.benefit--heart svg {
  width: 76px;
  height: 76px;
  stroke-width: 1.8;
}

.benefit h3 {
  align-self: center;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.benefit p {
  max-width: 220px;
  margin: 0;
  color: #474542;
  font-size: 16px;
  line-height: 1.55;
}

.testimonial {
  display: grid;
  min-height: 326px;
  padding: 42px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}

.testimonial__body {
  transition: opacity 360ms ease, transform 360ms ease;
}

.testimonial.is-switching .testimonial__body {
  opacity: 0;
  transform: translateX(18px);
}

.quote-mark {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 50px;
  line-height: 0.4;
}

.testimonial p {
  margin: 0 0 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
}

.testimonial cite {
  color: #4d4946;
  font-size: 16px;
  font-style: normal;
}

.testimonial__controls {
  display: flex;
  align-self: end;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.testimonial__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.testimonial__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #cfc3b8;
  border-radius: 50%;
  background: #d4c8bd;
  cursor: pointer;
}

.testimonial__dots button:hover,
.testimonial__dots button:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.testimonial__dots .is-active {
  border-color: #202020;
  background: #202020;
}

.testimonial__arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 1px solid #d5cabf;
  border-radius: 50%;
  background: transparent;
  color: #514b46;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.testimonial__arrow:hover,
.testimonial__arrow:focus-visible {
  border-color: var(--accent);
  background: rgba(157, 135, 120, 0.08);
  color: var(--ink);
  outline: none;
}

.testimonial__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contacts-section {
  padding-top: 34px;
  padding-bottom: 72px;
}

.contacts-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.74fr);
  gap: 72px;
  align-items: start;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.contacts-list {
  display: grid;
  gap: 20px;
  margin: 7px 0 0;
  color: #3f3b37;
  font-size: 22px;
  font-style: normal;
  line-height: 1.25;
}

.contacts-list a {
  width: max-content;
  max-width: 100%;
  transition: color 180ms ease;
}

.contacts-list a:hover {
  color: var(--accent);
}

.footer {
  background: #f3eee8;
  padding: 64px 0 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.25fr 1.55fr;
  gap: 64px;
}

.footer .brand__name {
  font-size: 43px;
}

.footer__brand p,
.subscribe p {
  max-width: 260px;
  margin: 36px 0 30px;
  color: #57534f;
  font-size: 16px;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 32px;
}

.socials a {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #242220;
}

.socials img,
.socials svg {
  width: 27px;
  height: 27px;
}

.socials img {
  display: block;
  object-fit: contain;
}

.socials svg {
  fill: currentColor;
  stroke: none;
}

.footer h3 {
  margin: 0 0 27px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.footer__nav,
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 15px;
  color: #4f4b48;
  font-size: 16px;
  font-style: normal;
}

.footer__nav h3,
.footer__contacts h3 {
  color: var(--ink);
}

.subscribe h3 {
  margin-bottom: 27px;
}

.subscribe p {
  max-width: 360px;
  margin: 0 0 29px;
}

.subscribe-form__row {
  display: grid;
  grid-template-columns: 1fr 58px;
  min-height: 58px;
}

.subscribe-form input[type="email"] {
  min-width: 0;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--ink);
  padding: 0 22px;
  outline: none;
}

.subscribe-form button {
  display: grid;
  place-items: center;
  border: 1px solid var(--dark);
  border-radius: 4px;
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
}

.subscribe-form button svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.checkbox {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 23px;
  color: #5c5753;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
}

.checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox span {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.checkbox input:checked + span {
  background:
    linear-gradient(45deg, transparent 0 48%, var(--dark) 49% 57%, transparent 58%),
    linear-gradient(-45deg, transparent 0 50%, var(--dark) 51% 59%, transparent 60%);
  background-size: 12px 12px, 16px 16px;
  background-position: 2px 4px, 5px 0;
  background-repeat: no-repeat;
}

.checkbox em {
  font-style: normal;
}

.form-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: #6b5c50;
  font-size: 13px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid #9f9892;
  color: #6a6662;
  font-size: 16px;
}

.footer-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.footer-link:hover {
  color: var(--accent);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 20, 0.48);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(86vh, 820px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--bg);
  padding: 38px;
  box-shadow: 0 24px 70px rgba(34, 29, 25, 0.22);
  outline: none;
}

.modal__dialog--wide {
  width: min(100%, 880px);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.modal h2 {
  padding-right: 36px;
  font-size: 40px;
  line-height: 1.05;
}

.modal p {
  margin: 18px 0 24px;
  color: #55504c;
  font-size: 16px;
}

.modal p a {
  border-bottom: 1px solid currentColor;
}

.full-catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.full-catalog article {
  min-width: 0;
}

.full-catalog img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #f0ece7;
  object-fit: cover;
  object-position: center 38%;
}

.full-catalog h3 {
  min-height: 40px;
  margin: 12px 0 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.full-catalog p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.order-form {
  display: grid;
  gap: 15px;
}

.order-form label {
  display: grid;
  gap: 7px;
  color: #4e4a46;
  font-size: 14px;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.order-form textarea {
  resize: vertical;
}

.order-form .button {
  min-height: 54px;
  margin-top: 4px;
  font-size: 16px;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .container,
  .site-header {
    width: min(100% - 72px, var(--container));
  }

  .site-header {
    grid-template-columns: 180px 1fr 92px;
  }

  .main-nav {
    gap: 30px;
    font-size: 15px;
  }

  .hero__photo {
    width: 65vw;
  }

  h1 {
    font-size: 64px;
  }

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

  .filters {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .filter-group--budget {
    justify-self: start;
  }

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

  .testimonial {
    grid-column: 1 / -1;
    width: min(100%, 420px);
    justify-self: center;
  }

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

@media (max-width: 860px) {
  .container,
  .site-header {
    width: min(100% - 40px, var(--container));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-top: 26px;
  }

  .brand__name {
    font-size: 34px;
  }

  .main-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 20px;
    overflow-x: auto;
    padding: 11px 0 4px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    grid-row: 1;
    grid-column: 2;
    gap: 16px;
    padding-top: 5px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__inner {
    min-height: 720px;
    align-items: start;
    padding-top: 142px;
  }

  .hero__copy {
    width: min(100%, 540px);
  }

  h1 {
    font-size: 56px;
  }

  .hero__copy p {
    max-width: 380px;
    margin: 24px 0 28px;
    font-size: 18px;
  }

  .hero__photo {
    top: 335px;
    right: -90px;
    width: 116vw;
    height: 385px;
  }

  .hero__photo::before {
    width: 18%;
  }

  .section {
    padding: 50px 0 58px;
  }

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

  .section-head h2,
  .why h2 {
    font-size: 38px;
  }

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

  .offers__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .studio__grid,
  .contacts-section__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .studio__facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .studio__facts div:last-child {
    border-bottom: 0;
  }

  .offer-card,
  .offer-card--wide {
    grid-column: auto;
    min-height: 360px;
  }

  .offer-card__content,
  .offer-card--wide .offer-card__content {
    width: min(100%, 360px);
    padding: 32px 28px;
  }

  .offer-card img,
  .offer-card--wide img {
    top: auto;
    width: 100%;
    height: 50%;
    object-position: center;
  }

  .offer-card::after,
  .offer-card--wide::after {
    background: linear-gradient(180deg, rgba(248, 244, 239, 1) 0%, rgba(248, 244, 239, 0.96) 47%, rgba(248, 244, 239, 0.08) 100%);
  }

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

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container,
  .site-header {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    gap: 10px;
  }

  .header-actions {
    gap: 10px;
  }

  .icon-button {
    width: 30px;
    height: 30px;
  }

  .icon-button svg {
    width: 28px;
    height: 28px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 7px 13px;
    overflow: visible;
    font-size: 12px;
    white-space: normal;
  }

  .hero {
    min-height: 655px;
  }

  .hero__inner {
    min-height: 655px;
    padding-top: 128px;
  }

  .hero__copy {
    padding-top: 0;
  }

  h1 {
    font-size: 45px;
    line-height: 1.1;
  }

  .hero__copy p {
    max-width: 330px;
    font-size: 16px;
  }

  .button {
    min-width: 190px;
    min-height: 54px;
    padding: 15px 22px;
    font-size: 15px;
  }

  .hero__photo {
    top: 330px;
    right: -116px;
    width: 142vw;
    height: 330px;
  }

  .section-head {
    display: grid;
    gap: 16px;
  }

  .section-head h2,
  .why h2 {
    font-size: 34px;
  }

  .chips {
    gap: 7px;
  }

  .chip {
    padding: 0 12px;
    font-size: 11px;
  }

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

  .product-card__row {
    padding-top: 16px;
  }

  .product-card img {
    aspect-ratio: 1.06 / 1;
  }

  .offer-card,
  .offer-card--wide {
    min-height: 405px;
  }

  .offer-card h2 {
    margin-top: 18px;
    font-size: 32px;
  }

  .offer-card p {
    margin: 16px 0 20px;
  }

  .studio {
    padding-bottom: 44px;
  }

  .studio__copy h2,
  .contacts-section h2 {
    font-size: 34px;
  }

  .studio__copy p,
  .contacts-section p {
    font-size: 16px;
  }

  .contacts-section {
    padding-top: 24px;
    padding-bottom: 52px;
  }

  .contacts-section__grid {
    padding-top: 32px;
  }

  .contacts-list {
    gap: 16px;
    font-size: 18px;
  }

  .why__layout {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .benefit svg {
    margin-bottom: 0;
  }

  .testimonial {
    width: 100%;
    padding: 34px 28px 28px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__brand p {
    margin: 28px 0 24px;
  }

  .subscribe-form__row {
    grid-template-columns: 1fr 54px;
  }

  .footer__bottom {
    margin-top: 46px;
  }

  .modal {
    padding: 14px;
  }

  .modal__dialog {
    padding: 30px 22px 24px;
  }

  .modal h2 {
    font-size: 34px;
  }

  .full-catalog {
    grid-template-columns: 1fr;
  }
}
