/* Root */
:root {
  --lg-bg: #F5F5F2;
  --lg-surface: #FFFFFF;
  --lg-text: #1C1C1A;
  --lg-muted: #55554F;
  --lg-accent: #3D6B1F;
  --lg-accent-text: #FFFFFF;
  --lg-plate-bg: #1C1C1A;
  --lg-plate-text: #F5F5F2;
  --lg-line: #E3E3DC;
  --lg-head-font: Optima, Candara, 'Segoe UI', 'Noto Sans', sans-serif;
  --lg-body-font: Georgia, Cambria, 'Times New Roman', serif;
  --lg-radius-card: 14px;
  --lg-radius-btn: 999px;
  --lg-shadow-soft: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .08);
  --lg-pad-side: clamp(16px, 4vw, 40px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--lg-bg);
  color: var(--lg-text);
  font-family: var(--lg-body-font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--lg-head-font);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--lg-text);
}
h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1vw + 0.9rem, 1.5rem); }
p { margin: 0 0 16px; max-width: 68ch; }
a { color: var(--lg-accent); text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }
.lg_wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--lg-pad-side);
  width: 100%;
}
.lg_jump {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lg-plate-bg);
  color: var(--lg-plate-text);
  padding: 10px 18px;
  border-radius: var(--lg-radius-btn);
  z-index: 200;
}
.lg_jump:focus { left: 12px; top: 12px; }

/* Background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(560px 480px at 12% 8%, rgb(61 107 31 / .18), transparent 70%),
    radial-gradient(680px 560px at 88% 34%, rgb(61 107 31 / .14), transparent 72%),
    radial-gradient(520px 620px at 30% 92%, rgb(28 28 26 / .06), transparent 70%),
    var(--lg-bg);
}

/* Announcement */
.lg_strip {
  background: var(--lg-plate-bg);
  color: var(--lg-plate-text);
  font-family: var(--lg-head-font);
}
.lg_strip_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
}
.lg_strip_txt { margin: 0; font-size: 13px; line-height: 1.5; max-width: none; }
.lg_strip_x {
  flex: none;
  margin-left: auto;
  font: 600 14px/1 var(--lg-head-font);
  color: var(--lg-plate-text);
  background: transparent;
  border: 1px solid rgb(245 245 242 / .5);
  border-radius: var(--lg-radius-btn);
  padding: 8px 16px;
  cursor: pointer;
  min-height: 36px;
}
.lg_strip_x:hover { background: rgb(245 245 242 / .14); }
.lg_strip_x:focus-visible { outline: 2px solid #A8C88A; outline-offset: 2px; }
.lg_strip_x:active { background: rgb(245 245 242 / .22); }

/* Header */
.lg_topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(245 245 242 / .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lg-line);
  transition: box-shadow .25s ease;
}
.lg_topbar_in {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 10px;
  transition: padding .25s ease;
}
.lg_sign {
  font-family: var(--lg-head-font);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw + 0.9rem, 1.9rem);
  letter-spacing: -0.01em;
  color: var(--lg-text);
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
}
.lg_sign:hover { color: var(--lg-accent); }
.lg_menu_knob {
  display: none;
  font: 600 15px/1 var(--lg-head-font);
  color: var(--lg-text);
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-btn);
  padding: 12px 22px;
  margin: 12px 0 4px;
  min-height: 44px;
  cursor: pointer;
}
.lg_menu_knob:hover { background: #EFEFEA; }
.lg_menu_knob:focus-visible { outline: 2px solid var(--lg-accent); outline-offset: 2px; }
.lg_menu_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
}
.lg_menu_item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--lg-head-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--lg-text);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--lg-radius-btn);
  transition: background-color .2s ease, color .2s ease;
}
.lg_menu_num {
  font-size: 13px;
  font-weight: 600;
  color: var(--lg-muted);
  letter-spacing: 0.04em;
}
.lg_menu_item:hover,
.lg_menu_item:focus-visible {
  background-color: var(--lg-plate-bg);
  color: var(--lg-plate-text);
}
.lg_menu_item:hover .lg_menu_num,
.lg_menu_item:focus-visible .lg_menu_num { color: #B9C9A6; }
.lg_menu_item[aria-current="page"] {
  background-color: var(--lg-accent);
  color: var(--lg-accent-text);
}
.lg_menu_item[aria-current="page"] .lg_menu_num { color: #D6E3C6; }

.is_live .lg_topbar { box-shadow: 0 1px 2px rgb(0 0 0 / .06), 0 12px 32px rgb(0 0 0 / .08); }

/* Sections */
.lg_block {
  padding-block: clamp(64px, 10vw, 120px);
  padding-inline: 0;
  position: relative;
}
.lg_block:nth-child(even) { background: rgb(255 255 255 / .55); }
.lg_intro {
  font-size: clamp(1.05rem, 0.8vw + 0.9rem, 1.3rem);
  color: var(--lg-muted);
  max-width: 60ch;
  margin-bottom: 32px;
}

/* Hero */
.lg_hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.lg_hero_text > :last-child { margin-bottom: 0; }
.lg_lead {
  font-family: var(--lg-head-font);
  font-size: clamp(1.1rem, 0.9vw + 0.95rem, 1.35rem);
  color: var(--lg-muted);
  margin-bottom: 20px;
}
.lg_mark {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 520px;
}
.lg_inkstrip {
  display: inline-block;
  background: var(--lg-plate-bg);
  color: var(--lg-plate-text);
  font-family: var(--lg-head-font);
  font-size: 0.9em;
  line-height: 1.4;
  padding: 2px 12px;
  border-radius: 6px;
  vertical-align: baseline;
}
.lg_hero_collage {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: clamp(360px, 48vw, 440px);
}
.lg_photo {
  margin: 0;
  background: var(--lg-surface);
  padding: 10px;
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-card);
  box-shadow: var(--lg-shadow-soft);
}
.lg_photo img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.lg_photo_sq img { aspect-ratio: 1 / 1; }
.lg_photo_tall img { aspect-ratio: 3 / 4; }
.lg_photo_wide img { aspect-ratio: 16 / 9; }
.lg_photo_classic img { aspect-ratio: 4 / 3; }
.lg_photo_small { max-width: 420px; margin-top: 28px; }

/* Buttons */
.lg_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  font: 600 16px/1.2 var(--lg-head-font);
  color: var(--lg-accent-text);
  background: var(--lg-accent);
  border: 1px solid var(--lg-accent);
  border-radius: var(--lg-radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.lg_btn:hover { background: #2E5217; transform: translateY(-1px); }
.lg_btn:focus-visible { outline: 3px solid var(--lg-accent); outline-offset: 2px; }
.lg_btn:active { background: #264511; transform: translateY(0); }
.lg_btn_dark {
  background: var(--lg-plate-bg);
  border-color: var(--lg-plate-bg);
  color: var(--lg-plate-text);
}
.lg_btn_dark:hover { background: #33332F; }

/* Split layout */
.lg_split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.lg_split .lg_reading { align-self: start; }
.lg_split .lg_reading p { max-width: 65ch; }
.lg_reading p:last-child { margin-bottom: 0; }

/* Prices */
.lg_price_list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-card);
  overflow: hidden;
}
.lg_price_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  min-height: 64px;
  border-bottom: 1px solid var(--lg-line);
}
.lg_price_row:last-child { border-bottom: 0; }
.lg_price_item { font-family: var(--lg-body-font); }
.lg_price_cost {
  flex: none;
  flex-shrink: 0;
  margin-left: 24px;
  font-family: var(--lg-head-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--lg-accent);
  background: #EAF0E2;
  padding: 4px 12px;
  border-radius: var(--lg-radius-btn);
}

/* Tabs */
.lg_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.lg_tab {
  font: 600 15px/1 var(--lg-head-font);
  color: var(--lg-text);
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-btn);
  padding: 12px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lg_tab:hover { background: #EFEFEA; }
.lg_tab:focus-visible { outline: 3px solid var(--lg-accent); outline-offset: 2px; }
.lg_tab[aria-selected="true"] {
  background: var(--lg-plate-bg);
  border-color: var(--lg-plate-bg);
  color: var(--lg-plate-text);
}
.lg_tabpane { max-width: 760px; }

/* Cards / steps */
.lg_steps {
  display: grid;
  gap: 16px;
}
.lg_panel {
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-card);
  padding: 20px 24px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.lg_panel > summary {
  font-family: var(--lg-head-font);
  font-weight: 650;
  font-size: 1.15rem;
  cursor: pointer;
  list-style-position: inside;
}
.lg_panel[open] > summary { color: var(--lg-accent); margin-bottom: 8px; }
.lg_panel:hover { border-color: var(--lg-accent); box-shadow: var(--lg-shadow-soft); }
.lg_panel > p { margin: 0; color: var(--lg-text); }

/* FAQ */
.lg_qa {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

/* Form */
.lg_letter {
  max-width: 720px;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-card);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--lg-shadow-soft);
}
.lg_letter_wrap { max-width: 760px; }
.lg_field { margin-bottom: 20px; }
.lg_field_name {
  display: block;
  font-family: var(--lg-head-font);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}
.lg_field_box {
  width: 100%;
  font: 400 16px/1.5 var(--lg-body-font);
  color: var(--lg-text);
  background: var(--lg-bg);
  border: 1px solid var(--lg-line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
}
.lg_field_box::placeholder { color: #6E6E66; opacity: 1; }
.lg_field_box:focus { outline: 3px solid var(--lg-accent); outline-offset: 1px; }
.lg_field_area { min-height: 120px; resize: vertical; }
.is_faulty { border-color: #A33B2A; background: #FBF1EE; }
.is_faulty:focus { outline-color: #A33B2A; }
.lg_tick {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 15px;
}
.lg_tick input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--lg-accent); }
.lg_footline {
  font-size: 14px;
  color: var(--lg-muted);
  font-family: var(--lg-head-font);
}
.is_locked { opacity: .6; pointer-events: none; }

/* Reveal */
html.is_live .lg_block.lg_slide {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
html.is_live .lg_block.lg_slide.is_shown {
  opacity: 1;
  transform: translateY(0);
}

/* Inner pages */
.lg_page_head { max-width: 760px; margin-bottom: 40px; }
.lg_reading h2 { margin-top: 40px; }
.lg_reading h3 { margin-top: 28px; }
.lg_reading ul, .lg_reading ol { margin: 0 0 16px; }
.lg_reading table {
  width: 100%;
  border-collapse: collapse;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-card);
  overflow: hidden;
  font-size: 0.95em;
}
.lg_reading th, .lg_reading td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lg-line);
}
.lg_reading th {
  font-family: var(--lg-head-font);
  background: #EFEFEA;
}
.lg_reading tr:last-child td { border-bottom: 0; }
.lg_contacts_list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--lg-surface);
  border: 1px solid var(--lg-line);
  border-radius: var(--lg-radius-card);
}
.lg_contacts_list li {
  padding: 16px 24px;
  border-bottom: 1px solid var(--lg-line);
}
.lg_contacts_list li:last-child { border-bottom: 0; }
.lg_center { text-align: center; max-width: 680px; margin: 0 auto; }

/* Footer */
.lg_bottom {
  background: var(--lg-plate-bg);
  color: var(--lg-plate-text);
  padding: clamp(48px, 6vw, 80px) 0 24px;
  margin-top: 0;
}
.lg_bottom_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lg_bottom_ttl {
  font-family: var(--lg-head-font);
  font-weight: 650;
  font-size: 16px;
  margin-bottom: 14px;
}
.lg_bottom_owner {
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: #D9D9D2;
  max-width: none;
}
.lg_bottom_owner p { margin: 0 0 10px; max-width: none; }
.lg_bottom_col ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.lg_bottom_col li { margin-bottom: 10px; }
.lg_bottom_col a { color: #C9D8B6; }
.lg_bottom_col a:hover { color: #F5F5F2; }
.lg_bottom_col ul span { color: #A9A9A0; display: block; font-size: 14px; }
.lg_bottom_rule {
  border-top: 1px solid rgb(245 245 242 / .18);
  margin-top: 40px;
  padding-top: 20px;
}
.lg_bottom_copy { font-size: 14px; color: #D9D9D2; margin: 0; max-width: none; }

/* Breakpoints */
@media (max-width: 1280px) {
  .lg_hero { grid-template-columns: 1fr 0.85fr; }
}
@media (max-width: 1024px) {
  .lg_hero, .lg_split { grid-template-columns: 1fr; }
  .lg_hero_collage { max-width: 560px; }
  .lg_bottom_grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .lg_topbar_in { padding-top: 14px; }
  .lg_menu_knob { display: inline-flex; }
  .lg_menu {
    display: none;
    width: 100%;
    padding-bottom: 14px;
  }
  .lg_menu.is_unfolded { display: block; }
  .lg_menu_list { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 10px; }
  .lg_menu_item { justify-content: space-between; padding: 12px 16px; border-radius: 10px; }
}
@media (max-width: 640px) {
  .lg_bottom_grid { grid-template-columns: 1fr; gap: 28px; }
  .lg_hero_collage { grid-template-columns: 1fr 1fr; }
  .lg_price_row { flex-direction: column; gap: 8px; }
  .lg_price_cost { align-self: flex-start; }
  .lg_strip_row { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
  .lg_panel { padding: 16px; }
  .lg_letter { padding: 20px 16px; }
  .lg_btn { display: inline-flex; width: auto; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html.is_live .lg_slide { opacity: 1; transform: none; }
}

/* Collage balance */
.lg_hero_collage .lg_photo_sq { flex: 1 1 58%; }
.lg_hero_collage .lg_photo_tall { flex: 1 1 42%; }
.lg_hero_collage .lg_photo img { width: 100%; height: 100%; aspect-ratio: auto; }
.lg_split .lg_photo { height: 100%; }
.lg_split .lg_photo img { height: 100%; aspect-ratio: auto; }

@media (max-width: 768px) {
  .lg_hero_collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: auto; align-items: stretch; }
  .lg_hero_collage .lg_photo_sq,
  .lg_hero_collage .lg_photo_tall { flex: none; }
  .lg_hero_collage .lg_photo,
  .lg_hero_collage .lg_photo img { height: auto; }
  .lg_hero_collage .lg_photo_sq img { aspect-ratio: 1 / 1; }
  .lg_hero_collage .lg_photo_tall img { aspect-ratio: 3 / 4; }
  .lg_hero .lg_photo img,
  .lg_split .lg_photo img { max-height: 360px; width: 100%; object-fit: cover; }
  .lg_mark { font-size: clamp(30px, 8vw, 40px); line-height: 1.15; }
  h2 { font-size: clamp(26px, 7vw, 34px); letter-spacing: -0.01em; }
}

@media (max-width: 640px) {
  .lg_split .lg_photo,
  .lg_split .lg_photo img { height: auto; }
  .lg_split .lg_photo img { aspect-ratio: 4 / 3; }
}

@media (min-width: 1025px) {
  .lg_split .lg_photo_classic img { aspect-ratio: 4 / 3; }
}
