:root {
  --ink: #181918;
  --ink-soft: #282927;
  --gold: #c49c5c;
  --gold-light: #ddbd82;
  --ivory: #f4f0e8;
  --paper: #fbf9f4;
  --stone: #a7a9ac;
  --line: rgba(24, 25, 24, 0.16);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(24, 25, 24, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 104px;
  padding: 0 4vw;
  background: rgba(251, 249, 244, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand-logo { width: 190px; height: 94px; object-fit: contain; }
.main-nav { display: flex; gap: 30px; font-size: 0.76rem; font-weight: 760; letter-spacing: 0.18em; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--gold); transition: right 0.25s ease; }
.main-nav a:hover::after { right: 0; }
.header-contact { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; padding: 8px 0; border-bottom: 1px solid var(--gold); line-height: 1.2; }
.header-contact span { color: #777870; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.header-contact strong { margin-top: 4px; font-size: 0.92rem; }

.section-shell { width: min(1440px, calc(100% - 8vw)); margin-inline: auto; }
.hero {
  min-height: min(820px, calc(100vh - 92px));
  display: grid;
  grid-template-columns: minmax(480px, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(34px, 3.8vw, 70px);
  padding-block: clamp(48px, 6vw, 92px);
}
.eyebrow { margin: 0 0 22px; color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.19em; }
.hero h1, .section-heading h2, .material-copy h2, .presentation-copy h2, .order-copy h2 {
  margin: 0;
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.95;
}
.hero-copy { min-width: 0; }
.hero h1 { max-width: 680px; font-size: clamp(3.8rem, 5.25vw, 6.15rem); }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: #53544f; font-size: clamp(1rem, 1.18vw, 1.12rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; font-weight: 760; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: var(--gold-light); }
.button-quiet { border-color: var(--line); background: transparent; }
.button-quiet:hover { border-color: var(--ink); }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { content: ""; position: absolute; inset: -18px 22px 18px -18px; border: 1px solid rgba(196, 156, 92, 0.55); z-index: -1; }
.hero-visual img { width: 100%; height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; object-position: center; box-shadow: var(--shadow); }
.hero-visual figcaption { position: absolute; right: 0; bottom: 0; max-width: 330px; padding: 18px 22px; background: var(--ink); color: var(--ivory); font-size: 0.82rem; letter-spacing: 0.04em; }

.benefits-rail { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); background: #202120; color: var(--ivory); }
.benefits-rail article { min-height: 154px; padding: 20px 1.7vw 22px; border-right: 1px solid rgba(196, 156, 92, 0.48); }
.benefits-rail article:last-child { border-right: 0; }
.benefit-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.benefit-icon { display: block; width: 64px; height: 64px; object-fit: contain; flex: none; transform-origin: center; transition: transform 0.35s ease, filter 0.35s ease; }
.benefit-icon-grip, .benefit-icon-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.benefit-icon-mask { background-color: var(--gold); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.benefit-icon-ukraine { width: 72px; }
.benefit-item.visible .benefit-icon { animation: icon-arrive 0.7s cubic-bezier(.2,.75,.25,1); }
.benefit-item:hover .benefit-icon { transform: translateY(-4px) scale(1.18); filter: brightness(1.45) saturate(1.22) drop-shadow(0 0 10px rgba(221,189,130,.72)); }
.benefit-item strong { display: block; width: 100%; max-width: 180px; margin: 0; font-size: 0.9rem; line-height: 1.25; text-align: center; }
@keyframes icon-arrive { from { transform: translateY(8px) scale(.82); filter: brightness(.8); opacity: 0; } 70% { transform: translateY(-2px) scale(1.1); filter: brightness(1.35); opacity: 1; } to { transform: translateY(0) scale(1); filter: brightness(1); opacity: 1; } }

.products { padding-block: clamp(72px, 8.5vw, 120px); }
.section-heading { display: grid; grid-template-columns: 0.48fr 1.52fr; align-items: end; gap: 4vw; margin-bottom: 42px; }
.section-heading .eyebrow { align-self: start; }
.section-heading h2, .material-copy h2, .presentation-copy h2, .order-copy h2 { font-size: clamp(2.8rem, 4.8vw, 5.5rem); }
.section-heading h2 span, .material-copy h2 span, .presentation-copy h2 span, .order-copy h2 span { color: var(--gold); }
.section-heading > p:last-child { margin: 0; color: #686961; }
.product-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; }
.product-card { overflow: hidden; background: #efede7; border: 1px solid var(--line); }
.product-label { display: grid; grid-template-columns: 56px auto; justify-content: center; align-items: center; column-gap: 16px; row-gap: 6px; min-height: 112px; padding: 20px; border-bottom: 1px solid var(--line); background: #f5f2eb; text-align: center; }
.product-label svg { grid-row: 1; width: 56px; height: 56px; fill: none; stroke: #956b2c; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.product-label span { color: var(--ink); font-size: 1.9rem; line-height: 1.1; font-weight: 800; letter-spacing: 0.035em; }
.product-label strong { grid-column: 1 / -1; font-size: 1rem; line-height: 1.35; font-weight: 500; text-align: center; color: #53544f; }
.product-card:hover .product-photo img { transform: scale(1.035); }
.product-photo { position: relative; aspect-ratio: 1.75; overflow: hidden; background: #222; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product-body { padding: 26px; }
.product-body h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.4; font-weight: 650; letter-spacing: 0; }
.product-body > p { min-height: 78px; margin: 0; color: #676862; }
.product-body a { display: inline-block; margin-top: 22px; border-bottom: 1px solid var(--gold); font-weight: 740; }

.material { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(48px, 7vw, 110px); align-items: center; padding-block: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); }
.material-gallery { display: grid; gap: 14px; }
.material-photo { position: relative; overflow: hidden; margin: 0; background: #e6e1d8; box-shadow: var(--shadow); }
.material-photo img { width: 100%; height: 100%; object-fit: cover; }
.material-photo figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 16px; background: rgba(16, 17, 16, 0.9); color: var(--ivory); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.025em; }
.material-colors { aspect-ratio: 3 / 2; }
.material-detail-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 14px; }
.material-detail-grid .material-photo { aspect-ratio: 1.25 / 1; }
.material-texture img { object-position: center 82%; }
.material-copy > p:not(.eyebrow) { max-width: 610px; margin: 30px 0; color: #65665f; font-size: 1.05rem; }
.color-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 34px 0; }
.color-list button { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; transition: border-color 0.2s ease, background 0.2s ease; }
.color-list button:hover, .color-list button.active { border-color: var(--gold); background: rgba(196, 156, 92, 0.1); }
.color-list i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); flex: none; }
.red { background: #9b211d; } .black { background: #111; } .beige { background: #c9a66f; } .gray { background: #777b7d; } .brown { background: #654a37; }
.text-link { display: inline-block; border-bottom: 1px solid var(--gold); font-weight: 760; }

.presentation-zone { background: #efeae1; border-top: 1px solid rgba(196,156,92,.55); border-bottom: 1px solid rgba(196,156,92,.55); }
.presentation { display: block; padding-block: clamp(80px, 9vw, 128px); }
.presentation-copy { display: grid; grid-template-columns: 0.9fr 1.1fr; column-gap: clamp(48px, 7vw, 100px); align-items: end; margin-bottom: clamp(38px, 5vw, 64px); }
.presentation-copy .eyebrow, .presentation-copy h2 { grid-column: 1; }
.presentation-copy > p:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 2; max-width: 560px; margin: 0; color: #686961; }
.packaging-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.packaging-card { overflow: hidden; margin: 0; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: linear-gradient(180deg, #8e8e94 0%, #a4a4ac 52%, #b1b1b9 100%); box-shadow: 0 14px 36px rgba(22, 22, 20, 0.09); }
.packaging-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.packaging-card--bags img { object-fit: cover; }

.order { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(48px, 7vw, 110px); padding-block: clamp(80px, 9vw, 130px); }
.order-copy > p:not(.eyebrow) { max-width: 530px; margin-top: 30px; color: #666760; }
.order-steps { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.order-steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 680; }
.order-steps span { color: var(--gold); }
.order-form { align-self: start; display: grid; gap: 15px; padding: clamp(26px, 3.2vw, 44px); background: var(--ink); color: var(--ivory); box-shadow: var(--shadow); }
.order-form label, .order-form legend { color: #bbbcb6; font-size: 0.78rem; font-weight: 720; letter-spacing: 0.04em; }
.order-form input, .order-form select { width: 100%; min-height: 52px; margin-top: 8px; padding: 0 15px; border: 1px solid var(--line-dark); border-radius: 0; outline: none; background: rgba(255,255,255,0.05); color: #fff; }
.order-form input:focus, .order-form select:focus { border-color: var(--gold); }
.order-form select option { color: var(--ink); }
.order-form fieldset { margin: 0; padding: 0; border: 0; }
.order-form label.is-invalid, .order-form fieldset.is-invalid > legend { color: #ff6b6b; }
.order-form label.is-invalid > input, .order-form label.is-invalid > select { border-color: #ff5d5d; box-shadow: 0 0 0 1px rgba(255,93,93,.32); }
.order-form fieldset.is-invalid .option-cards span { border-color: rgba(255,93,93,.78); }
.field-error { display: block; margin: 7px 0 0; color: #ff7777; font-size: .76rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span { display: grid; place-items: center; min-height: 50px; padding: 8px; border: 1px solid var(--line-dark); color: #fff; cursor: pointer; font-size: 0.76rem; text-align: center; }
.choice-row input:checked + span { border-color: var(--gold); background: rgba(196,156,92,0.15); color: var(--gold-light); }
.choice-row input:focus-visible + span, .option-cards input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.product-tabs { padding-bottom: 22px !important; border-bottom: 1px solid var(--line-dark) !important; }
.product-fields { display: grid; gap: 15px; padding-block: 2px; }
.product-fields[hidden] { display: none; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option-cards { display: grid; gap: 8px; margin-top: 8px; }
.option-cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-cards-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.size-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.option-cards label { position: relative; }
.option-cards input { position: absolute; opacity: 0; pointer-events: none; }
.option-cards span { display: flex; min-height: 58px; padding: 11px 12px; border: 1px solid var(--line-dark); color: #fff; flex-direction: column; justify-content: center; align-items: center; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; text-align: center; }
.option-cards strong { font-size: 0.9rem; line-height: 1.2; }
.option-cards small { margin-top: 6px; color: #989a94; font-size: 0.74rem; font-weight: 540; letter-spacing: 0; }
.option-cards input:checked + span { border-color: var(--gold); background: rgba(196,156,92,0.15); }
.option-cards input:checked + span strong, .option-cards input:checked + span small { color: var(--gold-light); }
.customer-fields { padding-top: 18px; border-top: 1px solid var(--line-dark); }
.checkbox-row { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 11px 14px; border: 1px solid var(--line-dark); cursor: pointer; }
.checkbox-row input { width: 20px; min-height: 20px; margin: 0; padding: 0; accent-color: var(--gold); }
.checkbox-row span { color: #fff; font-size: 0.86rem; letter-spacing: 0; }
.custom-size-fields[hidden] { display: none; }
.submit-button { width: 100%; border: 0; margin-top: 8px; }
.submit-button:disabled { cursor: wait; opacity: 0.68; }
.form-status { display: none; margin: 0; padding: 12px; border: 1px solid rgba(196,156,92,0.4); color: var(--gold-light); font-size: 0.82rem; }
.form-status.visible { display: block; }
.form-status.error { border-color: rgba(255,93,93,.72); background: rgba(255,93,93,.08); color: #ff8b8b; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: center; padding: 54px 4vw; background: #101110; color: #d4d2cc; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.brand-footer { padding: 0; background: transparent; }
.brand-footer .brand-logo { width: 154px; height: auto; }
.site-footer p { margin: 12px 0 0; color: #8e8f89; font-size: 0.82rem; }
.site-footer .footer-signature { margin-top: 18px; color: var(--gold-light); font-weight: 780; letter-spacing: 0.16em; }
.footer-info p { margin: 0 0 5px; }
.footer-contact { justify-self: end; border-bottom: 1px solid var(--gold); padding-bottom: 6px; color: #fff; font-weight: 720; }

.success-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 42px; border: 1px solid rgba(196,156,92,.6); background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.32); text-align: center; }
.success-dialog::backdrop { background: rgba(10,11,10,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 10px; right: 14px; border: 0; background: transparent; color: #777; font-size: 1.9rem; line-height: 1; }
.success-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: #1f9b55; color: #fff; font-size: 2rem; font-weight: 800; }
.success-dialog h2 { margin: 0; font-size: 1.75rem; line-height: 1.15; }
.success-dialog p { margin: 18px 0 0; color: #60615b; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1101px) and (max-height: 820px) {
  .hero { min-height: auto; padding-block: 36px; }
  .hero h1 { font-size: clamp(3.6rem, 4.7vw, 5.3rem); }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 780px; }
  .hero-visual { max-width: 930px; }
  .hero-visual img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; }
  .section-heading { grid-template-columns: 0.65fr 1.35fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-auto { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 0.8fr; }
  .product-auto .product-label { grid-column: 1 / -1; }
  .product-auto .product-photo { grid-column: 1; height: auto; min-height: 0; }
  .product-auto .product-body { grid-column: 2; }
  .benefits-rail { grid-template-columns: repeat(4, 1fr); }
  .benefits-rail article { border-bottom: 1px solid var(--line-dark); }
  .benefits-rail article:nth-child(4) { border-right: 0; }
  .benefits-rail article:nth-child(n+5) { border-bottom: 0; }
  .size-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 82px; padding-inline: 20px; }
  .main-nav { display: none; }
  .header-contact span { display: none; }
  .header-contact strong { margin: 0; font-size: 0.76rem; }
  .brand-logo { width: 142px; height: 72px; }
  .section-shell { width: min(100% - 36px, 640px); }
  .hero { padding-block: 62px 78px; gap: 52px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 5.5rem); }
  .hero-visual::before { inset: -10px 10px 10px -10px; }
  .hero-visual img { height: auto; min-height: 0; aspect-ratio: 11 / 10; object-fit: cover; object-position: 68% 50%; }
  .hero-visual figcaption { position: static; max-width: none; }
  .benefits-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-rail article { min-height: 142px; padding: 22px 20px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .benefits-rail article:nth-child(2n) { border-right: 0; }
  .benefits-rail article:nth-child(3) { border-right: 1px solid var(--line-dark); }
  .benefits-rail article:nth-child(4) { border-bottom: 1px solid var(--line-dark); }
  .benefits-rail article:nth-child(5) { border-bottom: 1px solid var(--line-dark); }
  .benefits-rail article:nth-child(6) { border-bottom: 1px solid var(--line-dark); }
  .benefits-rail article:nth-child(n+7) { border-bottom: 0; }
  .benefits-rail article:last-child { border-right: 0; border-bottom: 0; }
  .section-heading { display: block; }
  .section-heading h2, .material-copy h2, .presentation-copy h2, .order-copy h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .section-heading > p:last-child { margin-top: 28px; }
  .product-grid, .material, .presentation, .order { grid-template-columns: 1fr; }
  .product-auto { grid-column: auto; display: block; }
  .product-auto .product-label, .product-auto .product-photo, .product-auto .product-body { grid-column: auto; }
  .product-auto .product-photo, .product-photo { height: auto; min-height: 0; }
  .product-body > p { min-height: 0; }
  .material { gap: 60px; }
  .material-detail-grid { grid-template-columns: 1fr; }
  .material-detail-grid .material-photo { aspect-ratio: 4 / 3; }
  .color-list { grid-template-columns: 1fr; }
  .presentation-copy { display: block; margin-bottom: 34px; }
  .presentation-copy > p:not(.eyebrow) { margin-top: 26px; }
  .packaging-gallery { grid-template-columns: 1fr; gap: 14px; }
  .packaging-card { aspect-ratio: auto; }
  .packaging-card img { width: 100%; height: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .option-cards-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .size-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 48px 20px; }
  .footer-brand { grid-row: 1; }
  .footer-contact { justify-self: center; }
  .success-dialog { padding: 38px 24px 30px; }
}

@media (max-width: 430px) {
  .site-header { padding-inline: 14px; }
  .brand-logo { width: 124px; }
  .header-contact strong { font-size: 0.7rem; }
  .section-shell { width: min(100% - 28px, 640px); }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .benefits-rail { grid-template-columns: 1fr 1fr; }
  .benefit-item strong { font-size: .8rem; }
  .product-label { grid-template-columns: 56px auto; }
  .product-label strong { grid-column: 1 / -1; justify-self: center; text-align: center; }
  .order-form { padding: 24px 18px; }
  .choice-row { grid-template-columns: 1fr; }
  .option-cards-three { grid-template-columns: 1fr; }
  .size-cards { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
