:root {
  --ink: #4a3228;
  --ink-soft: #6b564c;
  --rose: #d98ba8;
  --rose-soft: #fbf2f4;
  --rose-line: #f0e2e6;
  --cream: #fffdfd;
  --footer: #3a271f;
  --muted: #7a6358;
  --shell: min(100%, 1440px);
  --pad-x: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Jost, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header,
.hero,
.section,
.story,
.occasions,
.contact,
.site-footer {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--pad-x);
  background: var(--rose-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand__mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__script {
  color: var(--ink);
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  font-weight: 700;
  line-height: 30px;
}

.brand__small,
.nav a,
.footer-nav a,
.button,
.eyebrow {
  text-transform: uppercase;
}

.brand__small {
  color: #b98697;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.nav a,
.footer-nav a {
  color: #5a463c;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  background: var(--rose);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button--small {
  min-height: 42px;
  padding: 13px 26px;
}

.button--outline {
  border: 1.5px solid #8a6e60;
  background: transparent;
  color: #f3dfe5;
}

.hero {
  min-height: min(760px, calc(100svh - 128px));
  display: grid;
  grid-template-columns: 600px minmax(0, 840px);
  background: var(--rose-soft);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 80px 72px;
}

.eyebrow {
  color: #c18aa0;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 62px;
  font-weight: 800;
  line-height: 64px;
}

.hero h1 span {
  color: var(--rose);
  font-family: "Dancing Script", cursive;
  font-size: 54px;
  font-weight: 700;
  line-height: 58px;
}

.hero__lead {
  color: #7a5c50;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 500;
  line-height: 32px;
}

.hero__body {
  max-width: 440px;
  color: var(--ink-soft);
  line-height: 27px;
}

.hero__image {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

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

.hero__badge {
  position: absolute;
  top: 32px;
  left: 32px;
  border-radius: 999px;
  padding: 9px 18px;
  background: rgba(255, 253, 253, 0.9);
  color: #b17b8d;
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  text-transform: uppercase;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 100px var(--pad-x);
  background: var(--cream);
  text-align: center;
}

.section h2,
.story h2,
.occasions h2,
.contact h2 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 50px;
}

.section__intro {
  max-width: 620px;
  color: var(--ink-soft);
  line-height: 26px;
}

.section--products {
  padding-top: 96px;
  padding-bottom: 8px;
}

.product-grid {
  width: 100%;
  max-width: 1312px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 405px));
  justify-content: center;
  gap: 36px;
  padding-top: 52px;
  text-align: left;
}

.product-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--rose-soft);
}

.product-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.product-card div {
  min-height: 135px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 26px 30px;
}

.product-card h3,
.step-card h3,
.faq-list summary {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
}

.product-card p,
.step-card p {
  color: #7a6358;
  font-size: 14.5px;
  line-height: 22px;
}

.story {
  display: grid;
  grid-template-columns: 600px minmax(0, 584px);
  align-items: center;
  gap: 72px;
  padding: 104px var(--pad-x);
  background: var(--rose-soft);
}

.story__image {
  width: 600px;
  height: 470px;
  border-radius: 22px;
  object-fit: cover;
}

.story__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.story h2 {
  font-size: 42px;
  line-height: 48px;
}

.story p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 28px;
}

.story .signature {
  padding-top: 4px;
  color: var(--ink);
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  line-height: 36px;
}

.section--gallery {
  padding-block: 100px;
}

.gallery-grid {
  width: 100%;
  max-width: 1312px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 314px));
  align-items: start;
  justify-content: center;
  gap: 18px;
  padding-top: 34px;
}

.gallery-grid img {
  width: 100%;
  height: 368px;
  border-radius: 16px;
  object-fit: cover;
}

.gallery-grid .gallery-grid__tall {
  height: 434px;
}

.occasions {
  min-height: 482px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 96px var(--pad-x);
  background: var(--rose);
  text-align: center;
}

.eyebrow--light {
  color: #fbe4ec;
}

.eyebrow--muted {
  color: #d9a7b5;
}

.occasions h2 {
  color: #fff;
}

.occasions p {
  max-width: 680px;
  color: #fceaf0;
  font-size: 16.5px;
  line-height: 27px;
}

.occasion-list {
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-top: 18px;
}

.occasion-list span {
  border-radius: 999px;
  padding: 12px 26px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  line-height: 18px;
}

.section--steps {
  padding-block: 100px;
}

.step-grid {
  width: 100%;
  max-width: 1272px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  justify-content: center;
  gap: 36px;
  padding-top: 52px;
  text-align: left;
}

.step-card {
  min-height: 236px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 20px;
  padding: 38px 34px;
  background: var(--rose-soft);
}

.step-card span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.section--faq {
  background: var(--rose-soft);
  padding-block: 100px;
}

.faq-list {
  width: min(100%, 820px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  text-align: left;
}

.faq-list details {
  border-radius: 18px;
  background: #fff;
}

.faq-list details[open] {
  padding: 30px 34px;
}

.faq-list details:not([open]) {
  padding: 25px 34px;
}

.faq-list summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  font-family: Jost, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details[open] summary {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rose-line);
}

.faq-list p {
  max-width: 700px;
  padding-top: 18px;
  color: #7a6358;
  font-size: 15.5px;
  line-height: 25px;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 104px var(--pad-x);
  background: var(--ink);
  text-align: center;
}

.contact h2 {
  color: var(--rose-soft);
  font-size: 46px;
  line-height: 52px;
}

.contact p {
  max-width: 600px;
  color: #d9c6bd;
  font-size: 17px;
  line-height: 28px;
}

.contact__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
}

.contact__actions .button {
  min-height: 51px;
  padding: 16px 30px;
}

.icon-button {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(33, 20, 16, 0.2);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(33, 20, 16, 0.3);
  outline: none;
}

.icon-button svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.icon-button svg * {
  fill: currentColor;
  stroke: none;
}

.icon-button--instagram {
  color: #e4405f;
}

.icon-button--whatsapp {
  color: #25d366;
}

.icon-button--viber {
  color: #7360f2;
}

.icon-button--mail {
  color: #8a6e60;
}

.icon-button--whatsapp:hover,
.icon-button--whatsapp:focus-visible {
  background: #25d366;
}

.icon-button--viber:hover,
.icon-button--viber:focus-visible {
  background: #7360f2;
}

.icon-button--instagram:hover,
.icon-button--instagram:focus-visible {
  background: #e4405f;
}

.icon-button--mail:hover,
.icon-button--mail:focus-visible {
  background: #8a6e60;
}

.site-footer {
  min-height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px var(--pad-x);
  background: var(--footer);
}

.brand--footer .brand__mark {
  width: 46px;
  height: 46px;
}

.brand--footer .brand__script {
  color: #fff;
  font-size: 24px;
  line-height: 25px;
}

.brand--footer .brand__small {
  color: #d1b7bf;
  font-size: 10px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-nav a {
  color: #c9b8af;
  font-weight: 400;
}

.site-footer p {
  color: #9c8980;
  font-size: 13px;
  line-height: 18px;
}

@media (max-width: 1180px) {
  :root {
    --pad-x: 40px;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 18px 28px;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero__copy {
    padding: 72px var(--pad-x) 56px;
  }

  .hero__image {
    min-height: 420px;
  }

  .product-grid,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 405px));
  }

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

  .story__image {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 314px));
  }

  .site-footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  :root {
    --pad-x: 22px;
  }

  .site-header {
    min-height: auto;
    padding-block: 18px;
  }

  .brand__mark {
    width: 56px;
    height: 56px;
  }

  .brand__script {
    font-size: 26px;
  }

  .nav {
    gap: 12px 18px;
  }

  .nav a,
  .footer-nav a,
  .button,
  .eyebrow {
    font-size: 12px;
  }

  .button {
    width: 100%;
    max-width: 330px;
  }

  .hero__copy,
  .section,
  .story,
  .occasions,
  .contact {
    padding-block: 64px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 50px;
  }

  .hero h1 span {
    font-size: 44px;
    line-height: 46px;
  }

  .hero__lead {
    font-size: 21px;
    line-height: 30px;
  }

  .hero__image {
    min-height: 340px;
  }

  .hero__badge {
    top: 20px;
    left: 20px;
  }

  .section h2,
  .occasions h2,
  .contact h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .story h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .product-grid,
  .step-grid,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .product-card img {
    height: 245px;
  }

  .gallery-grid img,
  .gallery-grid .gallery-grid__tall {
    height: 360px;
  }

  .story__image {
    height: 360px;
  }

  .occasion-list {
    gap: 10px;
  }

  .occasion-list span {
    padding: 10px 18px;
  }

  .faq-list details[open],
  .faq-list details:not([open]) {
    padding: 24px;
  }

  .faq-list summary {
    align-items: flex-start;
  }

  .faq-list summary::after {
    width: 34px;
    height: 34px;
  }

  .contact__actions {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    padding: 30px var(--pad-x);
  }

  .footer-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 24px;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 12px;
    padding: 16px;
  }

  .site-header .button {
    width: auto;
    min-height: 40px;
    padding: 12px 22px;
  }

  .site-header .brand {
    gap: 10px;
  }

  .site-header .brand__mark {
    width: 50px;
    height: 50px;
  }

  .site-header .brand__script {
    font-size: 24px;
    line-height: 26px;
  }

  .site-header .brand__small {
    font-size: 10px;
    line-height: 12px;
  }

  .nav {
    display: none;
  }

  .hero__copy {
    gap: 18px;
    padding-block: 42px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 42px;
  }

  .hero h1 span {
    font-size: 38px;
    line-height: 40px;
  }

  .hero__lead {
    font-size: 20px;
    line-height: 29px;
  }

  .hero__image {
    height: 235px;
    min-height: 0;
  }

  .section--products {
    padding-top: 26px;
  }

  .section h2,
  .story h2,
  .occasions h2,
  .contact h2 {
    font-size: 30px;
    line-height: 36px;
  }
}
