:root {
  --ink: #202622;
  --muted: #5d665f;
  --paper: #f6f4ef;
  --white: #ffffff;
  --forest: #17332b;
  --forest-soft: #284b40;
  --plum: #6e394e;
  --terracotta: #a85f45;
  --line: #ccd1ca;
  --soft-line: #e1e3dd;
  --focus: #ffd56a;
  --shell: 1180px;
  --radius: 6px;
  --shadow: 0 18px 45px rgba(21, 38, 32, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.dialog-open { overflow: hidden; }

button,
input,
select,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

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

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

h1,
h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.75rem, 7vw, 6.25rem); max-width: 9.4ch; }
h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); max-width: 13ch; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; }

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 4.75rem;
  border-bottom: 1px solid rgba(32, 38, 34, 0.12);
  background: rgba(246, 244, 239, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--forest);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 0.98rem; font-weight: 700; }
.brand-copy small { margin-top: 0.3rem; color: var(--muted); font-size: 0.68rem; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.site-nav a {
  color: #39433d;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover { color: var(--terracotta); }
.menu-button { display: none; }

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button-small { min-height: 2.65rem; padding: 0.65rem 1rem; font-size: 0.86rem; }
.button-primary { color: var(--white); background: var(--forest); }
.button-primary:hover { background: var(--forest-soft); }
.button-light { color: var(--forest); background: var(--white); }
.button-light:hover { background: #ecefe9; }
.button-outline { color: var(--forest); border-color: var(--forest); background: transparent; }
.button-outline:hover { color: var(--white); background: var(--forest); }
.button-full { width: 100%; }

.hero {
  position: relative;
  height: clamp(31rem, calc(100svh - 6.5rem), 49rem);
  min-height: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero-image,
.hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: rgba(9, 22, 17, 0.62); }

.hero-inner {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
}

.hero-copy { width: min(44rem, 70%); padding-block: 3rem; }

.eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dark { color: var(--plum); }

.hero-lead {
  max-width: 39rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions { display: flex; align-items: center; gap: 1.5rem; }
.text-link { font-weight: 700; text-underline-offset: 0.3rem; }
.text-link-light { color: var(--white); }

.hero-facts {
  display: grid;
  max-width: 42rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 2.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
}

.hero-facts li { display: grid; gap: 0.15rem; padding-right: 1rem; }
.hero-facts strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 400; }
.hero-facts span { color: rgba(255, 255, 255, 0.68); font-size: 0.75rem; }

.trust-line { color: var(--white); background: var(--plum); }
.trust-line-inner { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 4.5rem; align-items: center; }
.trust-line span { position: relative; text-align: center; font-size: 0.82rem; font-weight: 700; }
.trust-line span + span::before { position: absolute; left: 0; color: rgba(255, 255, 255, 0.35); content: "•"; }

.section { padding-block: clamp(5rem, 10vw, 8.5rem); }

.split-heading,
.process-layout,
.boundaries-layout,
.faq-layout,
.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  gap: clamp(2rem, 8vw, 7rem);
}

.section-intro,
.section-heading > p:last-child,
.process-heading > p:last-child,
.boundaries-copy,
.dialog-intro {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro { align-self: end; max-width: 34rem; }

.request-list { margin-top: 4rem; border-top: 1px solid var(--line); }
.request-item {
  display: grid;
  grid-template-columns: 4rem minmax(13rem, 0.7fr) 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.request-item > span { color: var(--terracotta); font-family: Georgia, "Times New Roman", serif; }
.request-item h3,
.request-item p { margin-bottom: 0; }
.request-item p { color: var(--muted); }

.section-formats { background: var(--white); }
.section-heading { margin-bottom: 3rem; }
.section-heading h2 { max-width: 14ch; }
.section-heading > p:last-child { max-width: 42rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product {
  display: flex;
  min-height: 30rem;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.product-featured { color: var(--white); border-color: var(--forest); background: var(--forest); box-shadow: var(--shadow); }
.product-featured .product-tag,
.product-featured > p,
.product-featured dt { color: rgba(255, 255, 255, 0.7); }
.product-featured dl { border-color: rgba(255, 255, 255, 0.22); }
.product-featured dl div + div { border-color: rgba(255, 255, 255, 0.16); }

.product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
.product-number { font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
.product-tag { color: var(--plum); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.product h3 { min-height: 3.25rem; margin-bottom: 1rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 400; }
.product > p { color: var(--muted); }
.product dl { margin: auto 0 1.5rem; border-top: 1px solid var(--line); }
.product dl div { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.product dl div + div { border-top: 1px solid var(--soft-line); }
.product dt { color: var(--muted); font-size: 0.8rem; }
.product dd { margin: 0; text-align: right; font-size: 0.85rem; font-weight: 700; }

.section-process { color: var(--white); background: var(--forest); }
.process-heading { align-self: start; position: sticky; top: 8rem; }
.process-heading p:last-child { color: rgba(255, 255, 255, 0.7); }
.process-steps { margin: 0; padding: 0; list-style: none; }
.process-steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.process-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.process-steps > li > span { color: #dca889; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.process-steps h3 { margin-bottom: 0.5rem; }
.process-steps p { margin-bottom: 0; color: rgba(255, 255, 255, 0.68); }

.section-boundaries { background: #e9ece5; }
.boundaries-copy p { margin-bottom: 1.5rem; }
.urgent-note { padding: 1.25rem; border-left: 4px solid var(--terracotta); background: var(--white); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.5rem 3rem 1.5rem 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 1.4rem; right: 0; color: var(--plum); content: "+"; font-family: sans-serif; font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 39rem; padding-right: 2rem; color: var(--muted); }

.closing { color: var(--white); background: var(--plum); }
.closing-inner { align-items: end; }
.closing h2 { max-width: 12ch; }
.closing p:last-child { max-width: 37rem; color: rgba(255, 255, 255, 0.75); }
.closing .button { justify-self: end; }

.site-footer { padding-top: 4rem; color: rgba(255, 255, 255, 0.76); background: #111a16; }
.footer-main { display: grid; grid-template-columns: 1.25fr 0.9fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.brand-footer { color: var(--white); }
.brand-footer .brand-copy small { color: rgba(255, 255, 255, 0.58); }
.footer-brand p { margin: 1.25rem 0 0; font-size: 0.85rem; }
.footer-brand a:not(.brand),
.footer-links a { text-underline-offset: 0.25rem; }
.footer-links,
.footer-requisites { display: grid; align-content: start; gap: 0.55rem; font-size: 0.82rem; }
.footer-links p,
.footer-requisites p { margin-bottom: 0.5rem; color: var(--white); font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.72rem; }

.order-dialog {
  width: min(calc(100% - 2rem), 38rem);
  max-height: min(50rem, calc(100dvh - 2rem));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.order-dialog::backdrop { background: rgba(7, 15, 12, 0.72); }
.dialog-frame { position: relative; padding: clamp(1.5rem, 6vw, 3rem); }
.dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--forest); background: transparent; font-size: 1.5rem; cursor: pointer; }
.dialog-frame h2 { font-size: clamp(2.25rem, 8vw, 3.6rem); }
.order-dialog form { display: grid; gap: 0.65rem; margin-top: 1.75rem; }
.order-dialog label { margin-top: 0.35rem; font-size: 0.82rem; font-weight: 800; }
.order-dialog label span { font-weight: 400; }
.order-dialog input,
.order-dialog select,
.order-dialog textarea { width: 100%; border: 1px solid #9ea69f; border-radius: 4px; padding: 0.8rem; color: var(--ink); background: var(--white); }
.order-dialog textarea { resize: vertical; }
.order-dialog small { color: var(--muted); font-size: 0.72rem; }
.check-label { display: grid; grid-template-columns: 1.1rem 1fr; align-items: start; gap: 0.65rem; margin-block: 0.5rem; font-weight: 400 !important; }
.check-label input { width: 1rem; height: 1rem; margin: 0.25rem 0 0; accent-color: var(--forest); }
.check-label a { color: var(--plum); }
.dialog-result { padding-block: 2rem; text-align: center; }
.dialog-result h2 { max-width: none; }
.dialog-result p { color: var(--muted); }
.dialog-result a { color: var(--plum); font-weight: 700; }
.result-mark { display: grid; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; place-items: center; border-radius: 50%; color: var(--white); background: var(--forest); font-size: 1.6rem; }

.legal-page { background: var(--white); }
.legal-header { position: static; }
.legal-main { padding-block: 4rem 7rem; }
.legal-title { max-width: 15ch; color: var(--forest); font-size: clamp(2.4rem, 7vw, 5rem); }
.legal-meta { margin-bottom: 3rem; color: var(--muted); font-size: 0.85rem; }
.legal-content { max-width: 52rem; }
.legal-content h2 { max-width: none; margin-top: 2.75rem; color: var(--forest); font-family: inherit; font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.legal-content h3 { margin-top: 2rem; }
.legal-content p,
.legal-content li { color: #465048; }
.legal-content ul,
.legal-content ol { padding-left: 1.4rem; }
.legal-content a { color: var(--plum); }
.legal-note { padding: 1rem 1.25rem; border-left: 4px solid var(--terracotta); background: var(--paper); }

@media (max-width: 900px) {
  .site-header { height: 4.25rem; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 0.65rem; }
  .brand-copy small { display: none; }
  .menu-button { display: inline-flex; min-height: 2.65rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.55rem 0.8rem; color: var(--forest); background: transparent; font-weight: 700; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; width: 100%; display: none; flex-direction: column; gap: 0; padding: 0.75rem 1rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 25px rgba(21, 38, 32, 0.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--soft-line); }
  .hero-copy { width: min(38rem, 88%); }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 0; }
  .product h3 { min-height: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 1.25rem), var(--shell)); }
  .header-cta { display: none; }
  .hero { height: calc(100svh - 5.5rem); min-height: 31rem; max-height: 43rem; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: rgba(9, 22, 17, 0.7); }
  .hero-copy { width: 100%; padding-block: 2rem; }
  h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-facts { margin-top: 1.75rem; }
  .hero-facts li:nth-child(2) { display: none; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .trust-line-inner { grid-template-columns: 1fr 1fr; padding-block: 0.65rem; row-gap: 0.35rem; }
  .trust-line span + span::before { display: none; }
  .section { padding-block: 4.5rem; }
  .split-heading,
  .process-layout,
  .boundaries-layout,
  .faq-layout,
  .closing-inner { grid-template-columns: 1fr; gap: 2rem; }
  .request-list { margin-top: 2.5rem; }
  .request-item { grid-template-columns: 2.5rem 1fr; gap: 0.75rem; }
  .request-item p { grid-column: 2; }
  .process-heading { position: static; }
  .closing .button { width: 100%; justify-self: stretch; }
  .footer-main { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .dialog-frame { padding-top: 3.5rem; }
}

@media (max-width: 360px) {
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .brand-copy strong { font-size: 0.86rem; }
  .menu-button { font-size: 0.8rem; }
  h1 { font-size: 2.1rem; }
  .hero-facts span { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
