:root {
  --rose: #a78079;
  --rose-deep: #8d6a63;
  --blush: #e2c8c7;
  --sage: #A0B179;
  --gray: #919191;
  --paper: #f0f3ee;
  --ink: #4a3330;
  --white: #fffcfa;
  --header: 5.25rem;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Krub", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, .footer-brand, .price {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  color: var(--rose);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
}

h3 {
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: var(--rose);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rose);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: var(--white);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  background: rgba(255, 252, 250, 0.94);
  border-bottom: 1px solid rgba(167, 128, 121, 0.28);
  backdrop-filter: blur(12px);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: var(--header);
  margin-inline: auto;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-link img {
  width: auto;
  height: 4.4rem;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--blush);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel,
.nav-links,
.nav-contacts {
  display: flex;
  align-items: center;
}

.nav-panel {
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links,
.nav-contacts {
  gap: 1.15rem;
}

.nav-links a,
.nav-contacts a,
.footer-contacts a {
  text-decoration: none;
  font-weight: 500;
}

.nav-links a,
.nav-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.nav-links a:hover,
.nav-contacts a:hover,
.footer-contacts a:hover {
  color: var(--rose);
}

.nav-contacts a {
  color: var(--rose);
}

main {
  padding-top: var(--header);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  background: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 42rem;
}

.lead {
  max-width: 34rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 860px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  display: grid;
  gap: 0.85rem;
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-product {
  background: var(--blush);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.product-art {
  min-width: 0;
}

.product-art img {
  width: 100%;
  height: auto;
}

.product-copy {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.product-line {
  font-family: "Marcellus", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: var(--ink);
}

.product-copy h3 {
  margin-top: 0.6rem;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.benefit-list li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 252, 250, 0.72);
  color: var(--ink);
  font-weight: 500;
}

.benefit-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
  flex: 0 0 auto;
}

.section-buy {
  background:
    linear-gradient(180deg, rgba(226, 200, 199, 0.45), rgba(240, 243, 238, 0) 7rem),
    var(--paper);
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.buy-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(226, 200, 199, 0.95);
  min-width: 0;
}

.buy-card img {
  width: 100%;
  height: auto;
  background: #f6f1ea;
}

.buy-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.4rem 1.4rem 1.6rem;
  flex: 1;
}

.pre-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  background: var(--sage);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.price-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin-top: auto;
}

.price-full {
  color: var(--gray);
  font-size: 1.05rem;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.price {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
}

.is-full-price .pre-badge,
.is-full-price .price-full {
  display: none !important;
}

.btn-buy {
  width: 100%;
  margin-top: 0.35rem;
}

.doubt-link {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: -0.15rem;
  padding: 0.35rem 0.5rem;
  color: var(--rose-deep);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: var(--blush);
  text-underline-offset: 0.22em;
}

.doubt-link:hover {
  color: var(--ink);
  text-decoration-color: var(--rose);
}

.concept {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(28rem, 82vh, 46rem);
  overflow: hidden;
  background: var(--ink);
}

.concept img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
}

.concept::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 68%;
  background: linear-gradient(180deg, rgba(74, 51, 48, 0), rgba(74, 51, 48, 0.82));
  z-index: 0;
}

.concept-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.85rem;
  width: min(40rem, 100%);
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
}

.concept .kicker {
  color: var(--blush);
}

.concept h2,
.concept-steps {
  color: var(--paper);
}

.concept h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.concept-steps {
  font-weight: 500;
  letter-spacing: 0.08em;
}

.section-brand {
  background: var(--paper);
}

.brand-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
}

.brand-mark {
  width: 7.5rem;
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.brand-values {
  font-family: "Marcellus", Georgia, serif;
  color: var(--rose);
  letter-spacing: 0.04em;
}

.section-close {
  background: var(--white);
}

.close-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.close-layout img {
  width: 100%;
  height: auto;
  background: #f6f1ea;
}

.close-copy {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  min-width: 0;
}

.site-footer {
  background: var(--ink);
  color: var(--blush);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.site-footer :focus-visible {
  outline-color: var(--blush);
}

.footer-brand {
  font-size: 2.2rem;
  color: var(--blush);
  line-height: 1;
  margin-bottom: 1rem;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.footer-contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--paper);
}

.footer-legal,
.footer-credit {
  color: rgba(226, 200, 199, 0.82);
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-legal {
  margin-top: 0.85rem;
}

.footer-credit {
  margin-top: 0.35rem;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.15rem;
  color: var(--paper);
}

.site-footer a {
  color: var(--paper);
}

@media (max-width: 960px) {
  :root {
    --header: 4.6rem;
  }

  .logo-link {
    position: absolute;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
  }

  .logo-link img {
    height: 3.4rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    margin-left: auto;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    margin: 0;
    padding: 0.35rem 1.25rem 1.1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--blush);
    box-shadow: 0 16px 30px rgba(74, 51, 48, 0.06);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-links,
  .nav-contacts {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a,
  .nav-contacts a {
    min-height: 48px;
    width: 100%;
  }

  .wrap,
  .hero,
  .hero-media,
  .product-layout,
  .product-art,
  .product-copy,
  .buy-grid,
  .buy-card,
  .close-layout,
  .close-copy,
  .concept {
    min-width: 0;
    max-width: 100%;
  }

  .hero,
  .product-layout,
  .buy-grid,
  .close-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    padding: 2.4rem 1.25rem 1.5rem;
  }

  .hero-media img,
  .product-art img,
  .buy-card img,
  .close-layout img,
  .concept img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
    object-position: center;
  }

  .product-art {
    order: -1;
  }

  .brand-layout {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .brand-mark {
    width: 6.25rem;
  }

  .concept {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    overflow: visible;
  }

  .concept img {
    position: static;
    inset: auto;
  }

  .concept::after {
    content: none;
  }
}

@media (max-width: 720px) {
  .wrap,
  .header-bar {
    width: min(var(--max), calc(100% - 2rem));
  }

  .section {
    padding: 3.25rem 0;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
  }

  .concept-copy {
    padding-bottom: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
