:root {
  color-scheme: light;
  --ink: #183128;
  --muted: #66736d;
  --green: #174a35;
  --green-2: #226247;
  --sage: #edf4ee;
  --paper: #fbfcfa;
  --white: #ffffff;
  --red: #c8072e;
  --line: rgba(16, 37, 26, 0.11);
  --shadow: 0 22px 60px rgba(18, 60, 43, 0.08);
  --glass-border: rgba(255, 255, 255, 0.86);
  --glass-highlight: rgba(255, 255, 255, 0.94);
  --glass-shadow: 0 18px 48px rgba(18, 60, 43, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --radius: 1.25rem;
  --container: min(100% - 8rem, 82rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(ellipse at 10% -12%, rgba(225, 237, 226, 0.64), transparent 34rem), var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "Hiragino Sans", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 5rem;
  padding: 0 4rem;
  border-bottom: 1px solid rgba(16, 37, 26, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 248, 0.97));
  box-shadow: 0 8px 24px rgba(18, 60, 43, 0.035), inset 0 1px 0 var(--glass-highlight);
}

.brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  width: max-content;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand i,
.site-footer i { color: var(--red); font-style: normal; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.74rem;
}

.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; font-size: 0.84rem; font-weight: 500; }
.nav a:hover { color: var(--red); }

.availability {
  justify-self: end;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(241,247,242,0.82));
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.availability span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #65a679;
  box-shadow: 0 0 0 0.22rem rgba(101, 166, 121, 0.13);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  gap: 5rem;
  align-items: center;
  min-height: 39rem;
  padding: 5.5rem max(4rem, calc((100% - 82rem) / 2));
  background:
    linear-gradient(90deg, rgba(255,255,255,0.82), rgba(255,255,255,0.5)),
    url("assets/marble-olive-hero.webp") center / cover no-repeat;
}

.hero__content { max-width: 39rem; }
.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(4rem, 6.4vw, 6.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero__model {
  margin-bottom: 2rem;
  color: var(--red);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero__batch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; max-width: 38rem; }
.batch-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
}
.batch-card__label { color: var(--muted); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.batch-card__date { color: var(--green); font-size: 1.12rem; font-weight: 600; }
.batch-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.45rem; margin: 0.15rem 0 0; }
.batch-card__price strong { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.batch-card__price span { color: var(--muted); font-size: 0.7rem; }
.hero__cta { width: max-content; margin-top: 1.2rem; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.45rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button--primary { background: linear-gradient(145deg, #205b41, var(--green)); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.button--primary:hover { transform: translateY(-2px); background: linear-gradient(145deg, #2b6c4e, var(--green-2)); }
.button--secondary { width: max-content; max-width: 100%; border: 1.5px solid var(--ink); text-align: center; }
.button--secondary:hover { transform: translateY(-2px); background: var(--ink); color: var(--white); }
.button--disabled { min-width: 17rem; background: var(--sage); color: #5a6c60; cursor: not-allowed; }
.button.is-disabled { pointer-events: none; background: var(--sage); color: #607166; }

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 33rem);
  justify-self: end;
  padding: 2rem 2rem 1.4rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(18,60,43,0.1);
  border-radius: calc(var(--radius) * 1.35);
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(239,247,241,0.8));
  box-shadow: var(--glass-shadow);
}

.hero__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 0.45rem;
  background: var(--red);
  content: "";
}

.hero__visual img {
  width: min(100%, 25rem);
  height: auto;
  max-height: 24rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero__visual figcaption,
.product__photo figcaption {
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.facts { padding: 0 4rem; border-block: 1px solid rgba(255,255,255,0.9); background: linear-gradient(120deg, rgba(255,255,255,0.88), rgba(244,249,245,0.82)); box-shadow: inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 rgba(16,37,26,0.04); color: var(--ink); }
.facts dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 82rem;
  margin: 0 auto;
}

.facts dl > div { min-height: 8rem; padding: 2.15rem 2rem; border-left: 1px solid var(--line); }
.facts dl > div:last-child { border-right: 1px solid var(--line); }
.facts dt { margin-bottom: 0.65rem; color: var(--muted); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 1.02rem; font-weight: 500; }

.section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6rem;
  align-items: center;
  padding: 7rem max(4rem, calc((100% - 82rem) / 2));
}

.product { background: var(--paper); }
.product__photo { width: min(100%, 38rem); justify-self: center; margin: 0; overflow: hidden; border: 1px solid var(--glass-border); border-radius: var(--radius); background: linear-gradient(145deg, #fff, #f1f6f2); box-shadow: var(--glass-shadow); }
.product__photo img { width: 100%; height: auto; object-fit: contain; }

.section__copy h2 {
  max-width: 38rem;
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section__copy > p:not(.eyebrow) { max-width: 36rem; color: var(--muted); font-size: 1.04rem; line-height: 1.65; }
.section__copy h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.section__copy hr { max-width: 36rem; margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.section__copy .compact { font-size: 0.86rem; line-height: 1.55; }

.product__details {
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
  line-height: 1.55;
}

.product__details li {
  position: relative;
  padding-left: 1.2rem;
}

.product__details li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.section__copy .product__notice {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
}

.document { background: var(--white); }
.document .section__copy { min-width: 0; }
.document__preview {
  position: relative;
  display: block;
  width: min(100%, 32rem);
  aspect-ratio: 4 / 3;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 1.2rem;
  background: var(--white);
  box-shadow: var(--glass-shadow);
  text-decoration: none;
}

.document__preview::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(15, 38, 28, 0.6));
  content: "";
  pointer-events: none;
}

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

.document__preview span {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.85rem;
  left: 1rem;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.order {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  margin: 3rem auto 5rem;
  width: var(--container);
  min-height: 21rem;
  padding: 3.5rem;
  border-radius: calc(var(--radius) * 1.35);
  border: 1px solid rgba(255,255,255,0.82);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94), rgba(245,249,245,0.77)),
    url("assets/marble-olive-hero.webp") center / cover no-repeat;
  color: var(--ink);
  box-shadow: var(--glass-shadow);
}

.eyebrow--light { color: var(--red); }
.order h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.order h2 span { display: block; font-size: 0.56em; letter-spacing: -0.02em; }
.order p:not(.eyebrow) { max-width: 42rem; margin: 0; color: var(--muted); line-height: 1.6; }

.order__copy { position: relative; z-index: 2; max-width: 45rem; }

.button--telegram {
  gap: 0.7rem;
  margin-top: 2rem;
  background: var(--green);
  color: var(--white);
}

.button--telegram:hover { transform: translateY(-2px); background: var(--green-2); }

.telegram-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  font-size: 0.82rem;
}

.order__cover {
  position: relative;
  flex: 0 0 19rem;
  aspect-ratio: 1;
  border: 1px solid rgba(23,74,53,0.2);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b6c50, var(--green) 62%, #123b2a 63%);
}

.order__signal {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  transform: translate(-50%, -62%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 22px 50px rgba(0,0,0,0.16);
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.order__leaf {
  position: absolute;
  width: 6rem;
  height: 2rem;
  border-radius: 100% 0 100% 0;
  background: rgba(129,181,141,0.65);
  transform-origin: 100% 50%;
}

.order__leaf--one { top: 3.4rem; left: -0.5rem; transform: rotate(25deg); }
.order__leaf--two { right: -0.5rem; bottom: 5.2rem; transform: rotate(205deg); }

.transition-dialog {
  width: min(calc(100% - 2rem), 32rem);
  padding: 2.4rem;
  border: 1px solid var(--glass-border);
  border-radius: 1.7rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.99), rgba(239,247,241,0.97));
  box-shadow: 0 30px 80px rgba(8,31,21,0.22), inset 0 1px 0 var(--glass-highlight);
  color: var(--ink);
}

.transition-dialog::backdrop {
  background: rgba(8,31,21,0.38);
}

.transition-dialog[open] { animation: dialog-in 220ms ease-out both; }
.transition-dialog h2 { margin: 0 0 1.5rem; padding-right: 2.5rem; font-size: 2rem; font-weight: 500; line-height: 1.08; letter-spacing: -0.04em; }
.transition-dialog > p { color: var(--muted); line-height: 1.6; }
.dialog-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 2rem; border-radius: 50%; background: var(--green); color: var(--white); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 2.6rem; height: 2.6rem; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.dialog-actions { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.dialog-actions .button { flex: 1; }

.glass-surface {
  border-color: var(--glass-border);
  background: linear-gradient(145deg, rgba(255,255,255,0.94), rgba(238,246,240,0.78));
  box-shadow: var(--glass-shadow);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(0.8rem) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 2rem 4rem 3rem;
  font-size: 0.72rem;
}

.site-footer strong { letter-spacing: 0.08em; }
.site-footer p { margin: 0; color: var(--muted); }

.footer-nav { display: flex; gap: 1.2rem; }
.footer-nav a { color: var(--muted); text-underline-offset: 0.2em; }
.footer-nav a:hover { color: var(--red); }

.reveal { opacity: 1; transform: none; }
.has-js .reveal { opacity: 0; transform: translateY(1rem); transition: opacity 500ms ease, transform 500ms ease; }
.has-js .reveal[data-delay="1"] { transition-delay: 100ms; }
.has-js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) and (min-width: 981px) {
  .document {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
  }

  .document .section__copy {
    max-width: 44rem;
  }

  .document__preview {
    order: -1;
    width: min(100%, 32rem);
    justify-self: start;
  }
}

@media (max-width: 980px) {
  :root { --container: min(100% - 3rem, 50rem); }
  .site-header { grid-template-columns: 1fr auto; padding: 0 1.5rem; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1.5rem; }
  .hero__content { max-width: 48rem; }
  .hero__visual { min-height: 0; justify-self: center; }
  .facts { padding: 0 1.5rem; }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .facts dl > div:nth-child(3) { border-top: 1px solid var(--line); }
  .facts dl > div:nth-child(4) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .section { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .section__copy { max-width: 48rem; }
  .document__preview { order: -1; width: min(100%, 32rem); }
  .order { flex-direction: column; align-items: flex-start; padding: 3rem; }
  .order__cover { position: absolute; right: -5rem; bottom: -6rem; opacity: 0.56; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 4.8rem; }
  .site-header { min-height: 4.5rem; padding-inline: 1rem; }
  .brand { font-size: 0.72rem; }
  .brand__mark { display: none; }
  .availability { padding: 0.65rem 0.7rem; font-size: 0.58rem; }
  .hero { min-height: auto; gap: 2rem; padding: 3rem 1rem 2.5rem; background-position: 58% top; }
  h1 { font-size: clamp(3.2rem, 16vw, 4.8rem); }
  .hero__model { font-size: 0.78rem; }
  .hero__lead { font-size: 1rem; }
  .hero__batch-grid { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; }
  .button--primary { width: 100%; }
  .hero__visual { width: min(100%, 27rem); min-height: 0; padding: 1.35rem 1.35rem 1rem; border-radius: 1.2rem; }
  .hero__visual img { width: min(100%, 20rem); height: auto; max-height: 18rem; padding: 0; }
  .hero__visual figcaption { padding: 0.8rem 0 0; }
  .facts { padding: 0; }
  .facts dl { grid-template-columns: repeat(2, 1fr); }
  .facts dl > div { min-height: auto; padding: 1.35rem 1rem; border-right: 0 !important; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts dl > div:nth-child(even) { border-left: 1px solid var(--line); }
  .section { gap: 2rem; padding: 4rem 1rem; }
  .section__copy h2 { font-size: clamp(2.25rem, 12vw, 3.4rem); }
  .document__preview { width: 100%; border-radius: 1rem; }
  .order { width: calc(100% - 2rem); margin: 1rem auto 4rem; min-height: 25rem; padding: 2rem 1.4rem; }
  .order .button { width: 100%; min-width: 0; }
  .order__copy { width: 100%; }
  .order__cover { right: -7rem; bottom: -8rem; flex-basis: 15rem; }
  .dialog-actions { flex-direction: column-reverse; }
  .transition-dialog { padding: 2rem 1.2rem 1.2rem; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 1rem 1rem 2rem; line-height: 1.5; }
  .footer-nav { flex-wrap: wrap; }
}

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