/* ==========================================================================
   Solar — сайт светотехнического завода
   ========================================================================== */

:root {
  --paper: #f3efe6;
  --paper-2: #ece6d9;
  --surface: #fffcf6;
  --surface-2: #fbf7ef;
  --ink: #171a1e;
  --ink-2: #2b2f34;
  --muted: #6f6a60;
  --muted-2: #948d7f;
  --line: #ded6c7;
  --line-2: #e9e2d5;
  --amber: #e39a3b;
  --amber-2: #f0b35f;
  --amber-deep: #b46616;
  --deep: #123c35;
  --deep-2: #0b2b26;
  --cream: #f7f2e7;
  --font: "Inter", "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "PT Serif", serif;
  --shadow: 0 24px 60px -44px rgba(18, 25, 22, .5);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1000px 580px at 88% -6%, rgba(227, 154, 59, .13), transparent 62%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
svg { display: block; }

.s-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.s-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.s-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--amber);
}
.s-eyebrow--light { color: var(--amber-2); }
.s-eyebrow--light::before { background: var(--amber-2); }

.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.s-btn span { font-size: 16px; font-weight: 400; line-height: 1; }
.s-btn--primary {
  background: linear-gradient(180deg, #f3b661, #e39a3b);
  color: #1d1305;
  box-shadow: 0 16px 32px -18px rgba(227, 154, 59, .9), 0 1px 0 rgba(255, 255, 255, .35) inset;
}
.s-btn--primary:hover { transform: translateY(-1px); background: linear-gradient(180deg, #f8c477, #e8a344); }
.s-btn--dark { background: var(--deep); color: var(--cream); }
.s-btn--dark:hover { background: var(--deep-2); transform: translateY(-1px); }
.s-btn--ghost-dark { border-color: rgba(23, 26, 30, .25); color: var(--ink); background: transparent; }
.s-btn--ghost-dark:hover { background: rgba(23, 26, 30, .05); }
.s-btn--ghost-light { border-color: rgba(247, 242, 231, .3); color: var(--cream); background: rgba(247, 242, 231, .06); }
.s-btn--ghost-light:hover { background: rgba(247, 242, 231, .12); }
.s-btn--small { min-height: 42px; padding: 0 16px; font-size: 12px; border-radius: 10px; }

.s-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--amber-deep);
  border-bottom: 1px solid rgba(180, 102, 22, .3);
  padding-bottom: 3px;
  transition: border-color .18s, color .18s;
}
.s-text-link:hover { border-color: var(--amber-deep); }
.s-text-link span { font-size: 14px; }

/* ---------- Header ---------- */

.s-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 239, 230, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow .2s;
}
.s-header.is-scrolled { box-shadow: 0 16px 36px -32px rgba(20, 24, 21, .55); }

.s-header-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 76px;
}
.s-logo { flex: 0 0 auto; text-decoration: none; }
.s-logo img { height: 48px; width: auto; }

.s-nav { display: flex; align-items: center; gap: 26px; }
.s-nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  white-space: nowrap;
}
.s-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.s-nav-link:hover::after,
.s-nav-link.is-active::after { transform: scaleX(1); }
.s-nav-link.is-active { color: var(--amber-deep); }

.s-head-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.s-head-phone {
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(23, 26, 30, .25);
  padding-bottom: 2px;
}
.s-head-phone:hover { border-color: var(--amber); color: var(--amber-deep); }

.s-burger { display: none; width: 40px; height: 40px; padding: 11px 9px; border: 1px solid var(--line); border-radius: 10px; }
.s-burger span { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform .2s, opacity .2s; }
.s-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.s-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.s-hero { position: relative; overflow: hidden; color: var(--cream); }
.s-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 16, .94) 0%, rgba(7, 19, 16, .78) 46%, rgba(7, 19, 16, .34) 100%),
    linear-gradient(0deg, rgba(7, 19, 16, .55) 0%, transparent 40%),
    url("hero.jpg") center / cover no-repeat;
}
.s-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 56px;
  align-items: end;
  padding: 86px 0 74px;
}
.s-hero-copy { max-width: 700px; }
.s-hero h1 {
  margin-top: 20px;
  font-size: clamp(44px, 4.6vw, 66px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.045em;
}
@media (min-width: 901px) {
  .s-hero h1 em { white-space: nowrap; }
}
.s-hero h1 em {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.03em;
  color: #f5d29a;
}
.s-hero-lede {
  max-width: 580px;
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 1.62;
  color: rgba(247, 242, 231, .74);
}
.s-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.s-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 242, 231, .18);
}
.s-hero-facts li { display: flex; flex-direction: column; gap: 2px; }
.s-hero-facts b { font-size: 15px; font-weight: 650; }
.s-hero-facts span { font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(247, 242, 231, .48); }

.s-sample {
  justify-self: end;
  align-self: end;
  width: min(370px, 100%);
  padding: 22px;
  border: 1px solid rgba(247, 242, 231, .14);
  border-radius: 22px;
  background: rgba(9, 27, 23, .62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .08) inset;
}
.s-sample-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .46);
}
.s-sample-num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  font-size: 76px;
  font-weight: 300;
  line-height: .85;
  letter-spacing: -.06em;
  color: #fffaf0;
}
.s-sample-num span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .56);
}
.s-sample-label { margin-top: 10px; font-size: 11px; color: rgba(247, 242, 231, .55); }
.s-sample-plan { margin: 14px 0 4px; }
.s-sample-plan svg { width: 100%; height: auto; }
.s-sample-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 10px;
  border-top: 1px solid rgba(247, 242, 231, .12);
  border-bottom: 1px solid rgba(247, 242, 231, .12);
}
.s-sample-stats div { padding: 10px 0; }
.s-sample-stats span {
  display: block;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, .42);
}
.s-sample-stats b { font-size: 14px; font-weight: 600; }
.s-sample-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--amber-2);
}
.s-sample-link span { font-size: 14px; }

/* ---------- Sections ---------- */

.s-section { padding: 90px 0; }
.s-section--tight { padding-top: 42px; }
.s-section--deep {
  background:
    radial-gradient(640px 340px at 100% 0%, rgba(227, 154, 59, .16), transparent 60%),
    linear-gradient(155deg, #17483f 0%, #103630 50%, #0b2b26 100%);
  color: var(--cream);
}
.s-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}
.s-section-head h2 {
  margin-top: 13px;
  font-size: clamp(32px, 3.7vw, 48px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.s-section-note { font-size: 13px; line-height: 1.6; color: var(--muted); }
.s-section-head--light .s-section-note { color: rgba(247, 242, 231, .58); }
.s-section-actions { margin-top: 28px; }

/* ---------- Series cards ---------- */

.s-series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.s-series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 242px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 246, .78);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s, box-shadow .2s, background .2s;
}
.s-series-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 154, 59, .65);
  background: #fffdf8;
  box-shadow: 0 28px 50px -38px rgba(18, 25, 22, .55);
}
.s-series-icon { color: var(--amber-deep); width: 38px; height: 38px; }
.s-series-icon svg { width: 100%; height: 100%; }
.s-series-icon--large { width: 52px; height: 52px; flex: 0 0 52px; }
.s-series-kicker {
  margin-top: 22px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.s-series-card h3 { margin-top: 2px; font-size: 22px; font-weight: 550; letter-spacing: -.03em; }
.s-series-card p { margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.s-series-range {
  margin-top: auto;
  padding-top: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.s-series-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-deep);
}
.s-series-arrow span { font-size: 14px; font-weight: 400; }

/* ---------- Services / advantages ---------- */

.s-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s-service {
  padding: 22px;
  border: 1px solid rgba(247, 242, 231, .12);
  border-radius: 16px;
  background: rgba(247, 242, 231, .035);
}
.s-service-icon { display: block; width: 30px; height: 30px; color: var(--amber-2); }
.s-service-icon svg { width: 100%; height: 100%; }
.s-service h3 { margin-top: 18px; font-size: 15px; font-weight: 600; }
.s-service p { margin-top: 8px; font-size: 12px; line-height: 1.55; color: rgba(247, 242, 231, .58); }

.s-advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s-advantage {
  padding: 22px;
  border-top: 2px solid var(--amber);
  background: rgba(255, 252, 246, .5);
}
.s-advantage-icon { display: block; width: 28px; height: 28px; color: var(--deep); }
.s-advantage-icon svg { width: 100%; height: 100%; }
.s-advantage h3 { margin-top: 16px; font-size: 15px; font-weight: 650; }
.s-advantage p { margin-top: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* ---------- Calculator band ---------- */

.s-calc-band {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  color: var(--cream);
  background:
    radial-gradient(620px 360px at 8% 0%, rgba(227, 154, 59, .2), transparent 60%),
    linear-gradient(150deg, #17483f 0%, #103630 52%, #0a2622 100%);
}
.s-calc-band-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 56px; align-items: center; }
.s-calc-band h2 { margin-top: 14px; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.s-calc-band h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #f5d29a; }
.s-calc-band p { max-width: 520px; margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: rgba(247, 242, 231, .64); }
.s-calc-band-card {
  padding: 22px;
  border: 1px solid rgba(247, 242, 231, .13);
  border-radius: 18px;
  background: rgba(8, 24, 20, .48);
  backdrop-filter: blur(12px);
}
.s-field-demo {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(247, 242, 231, .1);
  font-size: 11.5px;
}
.s-field-demo span { color: rgba(247, 242, 231, .45); }
.s-field-demo b { font-weight: 600; color: var(--cream); text-align: right; }
.s-field-demo-note { padding-top: 13px; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(247, 242, 231, .38); }

/* ---------- Contacts strip ---------- */

.s-contacts-strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 252, 246, .45); }
.s-contacts-strip-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 24px; align-items: center; }
.s-contacts-strip span { display: block; font-size: 8.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.s-contacts-strip b { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; }
.s-contacts-strip a { text-decoration: none; }
.s-contacts-strip a:hover { color: var(--amber-deep); }
.s-strip-link { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-deep); white-space: nowrap; }
.s-strip-link span { display: inline; font-size: 14px; letter-spacing: 0; color: var(--amber-deep); }

/* ---------- Page hero ---------- */

.s-page-hero {
  padding: 66px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(720px 380px at 92% -10%, rgba(227, 154, 59, .15), transparent 60%),
    radial-gradient(600px 400px at 0% 20%, rgba(18, 60, 53, .06), transparent 60%);
}
.s-page-hero h1 {
  max-width: 900px;
  margin-top: 16px;
  font-size: clamp(42px, 5.4vw, 70px);
  font-weight: 500;
  line-height: .97;
  letter-spacing: -.045em;
}
.s-page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.s-page-lede { max-width: 700px; margin-top: 20px; font-size: 15px; line-height: 1.62; color: var(--muted); }

/* ---------- Catalog ---------- */

.s-catalog-note { max-width: 900px; margin: 4px 0 8px; font-size: 11.5px; line-height: 1.55; color: var(--muted-2); }
.s-filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.s-chip {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 252, 246, .55);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .05em;
  color: var(--ink-2);
  transition: border-color .18s, background .18s, color .18s;
}
.s-chip:hover { border-color: var(--amber); color: var(--amber-deep); }
.s-chip.is-active { border-color: var(--deep); background: var(--deep); color: var(--cream); }

.s-series-section { padding: 36px 0 38px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.s-series-section.is-hidden { display: none; }
.s-series-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.s-series-heading-main { display: flex; align-items: center; gap: 18px; }
.s-series-heading h2 { margin-top: 2px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.035em; }
.s-series-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  grid-template-areas: "copy photo";
  gap: 30px;
  align-items: start;
  margin-top: 18px;
}
.s-series-copy { grid-area: copy; min-width: 0; }
.s-series-description { max-width: 900px; margin-top: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.s-series-photo {
  grid-area: photo;
  align-self: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}
.s-series-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(18, 25, 22, .14));
}
.s-series-photo-stack { display: grid; gap: 10px; padding: 12px; }
.s-series-photo-item { display: flex; flex-direction: column; gap: 5px; }
.s-series-photo-item span {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.s-series-photo figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 252, 246, .82);
  font-size: 8.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.s-series-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 1px;
  margin: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.s-series-facts div { padding: 12px 14px 12px 0; }
.s-series-facts span { display: block; font-size: 8.5px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }
.s-series-facts b { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

.s-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 252, 246, .6); }
.s-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.s-table th,
.s-table td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: left; font-size: 11.5px; }
.s-table th { font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); background: rgba(243, 239, 230, .55); }
.s-table tr:last-child td { border-bottom: 0; }
.s-table tbody tr:hover td { background: rgba(227, 154, 59, .05); }
.s-table td:nth-child(4),
.s-table td:nth-child(5) { font-variant-numeric: tabular-nums; }
.s-td-code { font-family: var(--font); font-size: 10.5px; font-weight: 550; color: var(--muted); white-space: nowrap; }
.s-td-size { font-variant-numeric: tabular-nums; white-space: nowrap; }

.s-catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: 18px;
  background: var(--deep);
  color: var(--cream);
}
.s-catalog-cta h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.s-catalog-cta p { max-width: 560px; margin-top: 6px; font-size: 12px; line-height: 1.5; color: rgba(247, 242, 231, .6); }
.s-catalog-cta .s-hero-actions { margin-top: 0; flex: 0 0 auto; }

/* ---------- Calculator page ---------- */

.s-calc-intro { padding: 16px 0; border-bottom: 1px solid var(--line); }
.s-calc-intro-inner { display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: 9px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.s-calc-intro-inner span { display: flex; align-items: center; gap: 8px; }
.s-calc-intro-inner span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

.s-calc-section { padding: 34px 0 0; }

.site-calc .lc-app { background: transparent; }
.site-calc .lc-top,
.site-calc .lc-hero,
.site-calc .lc-footer { display: none !important; }
.site-calc .lc-shell { width: 100%; padding-bottom: 0; }
.site-calc .lc-workspace { margin-top: 0; }
.site-calc .lc-result { top: 96px; }
.site-calc .lc-method { padding-top: 66px; }
.site-calc .lc-lead { margin-top: 66px; }
.site-calc .lc-disclaimer { color: rgba(247, 242, 231, .5); }

/* ---------- Callback ---------- */

.s-callback[hidden] { display: none; }
.s-callback {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.s-callback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 14, .68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.s-callback-dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 40px 90px -40px rgba(6, 17, 14, .6);
}
.s-callback-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, .8);
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}
.s-callback-close:hover { color: var(--ink); border-color: var(--amber); }
.s-callback-dialog h2 { margin-top: 10px; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.s-callback-lede { margin-top: 8px; font-size: 12px; line-height: 1.55; color: var(--muted); }
.s-callback-form { margin-top: 20px; }
.s-callback-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-callback-field { display: block; margin-bottom: 12px; }
.s-callback-field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.s-callback-field em { font-style: normal; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted-2); }
.s-callback-field input,
.s-callback-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 252, 246, .8);
  padding: 11px 12px;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.s-callback-field textarea { resize: vertical; min-height: 78px; }
.s-callback-field input:focus,
.s-callback-field textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(227, 154, 59, .14); }
.s-callback-field input.is-invalid { border-color: #b03a2e; box-shadow: 0 0 0 3px rgba(176, 58, 46, .12); }
.s-callback-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}
.s-callback-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 1px; accent-color: var(--deep); }
.s-callback-consent a { color: var(--ink); text-underline-offset: 2px; }
.s-callback-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.s-callback-status {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(176, 58, 46, .08);
  color: #9a2f26;
  font-size: 11px;
  line-height: 1.45;
}
.s-callback-submit { width: 100%; margin-top: 14px; }
.s-callback-note { margin-top: 10px; font-size: 9.5px; line-height: 1.45; color: var(--muted-2); }
.s-callback-success h3 { margin-top: 12px; font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.s-callback-success p { margin: 10px 0 20px; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* ---------- Gallery ---------- */

.s-gallery-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 46px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.s-gallery-stats b { display: block; font-size: 28px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.s-gallery-stats span { display: block; margin-top: 5px; font-size: 8.5px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); }

.s-album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.s-album {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 246, .78);
  text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.s-album:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 154, 59, .65);
  background: #fffdf8;
  box-shadow: 0 28px 50px -38px rgba(18, 25, 22, .55);
}
.s-album-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.s-album-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.s-album:hover .s-album-media img { transform: scale(1.035); }
.s-album-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(8, 23, 19, .72);
  color: var(--cream);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
}
.s-album-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 17px; }
.s-album-kicker { font-size: 8px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--amber-deep); }
.s-album h2 { margin-top: 5px; font-size: 16px; font-weight: 550; line-height: 1.28; letter-spacing: -.02em; }
.s-album-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.s-album-more span { color: var(--amber-deep); font-size: 13px; }

.s-gallery-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.s-gallery-foot p { max-width: 680px; font-size: 11.5px; line-height: 1.55; color: var(--muted-2); }
.s-gallery-foot a { color: var(--ink); text-decoration-color: rgba(23, 26, 30, .3); text-underline-offset: 2px; }

/* Lightbox */
body.is-locked { overflow: hidden; }
.s-lightbox[hidden] { display: none; }
.s-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.s-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 17, 14, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.s-lightbox-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  color: var(--cream);
}
.s-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #0a1714;
}
.s-lightbox-stage img { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; }
.s-lightbox-close {
  position: absolute;
  top: -14px;
  right: -6px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 231, .22);
  background: rgba(8, 23, 19, .8);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.s-lightbox-close:hover { background: rgba(247, 242, 231, .12); }
.s-lightbox-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
}
.s-lightbox-count { font-size: 9px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 242, 231, .42); }
.s-lightbox-copy h3 { margin-top: 5px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.s-lightbox-copy p { margin-top: 4px; font-size: 11px; color: rgba(247, 242, 231, .5); }
.s-lightbox-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.s-lightbox-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 242, 231, .22);
  border-radius: 50%;
  background: rgba(247, 242, 231, .06);
  color: var(--cream);
  font-size: 18px;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.s-lightbox-nav button:hover:not(:disabled) { background: rgba(247, 242, 231, .14); border-color: rgba(247, 242, 231, .4); }
.s-lightbox-nav button:disabled { opacity: .28; cursor: default; }

/* ---------- Policy ---------- */

.s-policy { max-width: 820px; }
.s-policy h2 { margin: 30px 0 8px; font-size: 22px; font-weight: 550; letter-spacing: -.02em; }
.s-policy h2:first-child { margin-top: 0; }
.s-policy p { margin: 8px 0; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.s-policy a { color: var(--ink); text-decoration-color: rgba(23, 26, 30, .3); text-underline-offset: 2px; }
.s-policy a:hover { color: var(--amber-deep); }
.s-policy-note { margin-top: 34px !important; padding: 12px 14px; border-left: 2px solid var(--amber); background: rgba(227, 154, 59, .08); font-size: 11.5px !important; }

/* ---------- Contacts ---------- */

.s-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.s-contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 252, 246, .72); }
.s-contact-icon { display: block; width: 28px; height: 28px; color: var(--deep); }
.s-contact-icon svg { width: 100%; height: 100%; }
.s-contact-card h3 { margin-top: 16px; font-size: 18px; font-weight: 550; letter-spacing: -.02em; }
.s-contact-card p { margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.s-contact-card p a { text-decoration: none; color: var(--ink); }
.s-contact-card p a:hover { color: var(--amber-deep); }
.s-contact-card .s-text-link { margin-top: 14px; }
.s-muted { font-size: 11px; color: var(--muted-2); }

.s-legal { margin-top: 54px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 252, 246, .55); }
.s-legal-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.s-legal-head h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.035em; }
.s-legal-table { width: 100%; border-collapse: collapse; }
.s-legal-table th,
.s-legal-table td { padding: 12px 0; border-top: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 12px; }
.s-legal-table th { width: 30%; font-weight: 500; color: var(--muted); }
.s-legal-table td { font-weight: 550; }
.s-legal-table td .s-muted { font-weight: 400; }

.s-map-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 24px;
  padding: 26px 28px;
  border-radius: 18px;
  color: var(--cream);
  background:
    radial-gradient(400px 240px at 100% 0%, rgba(227, 154, 59, .22), transparent 60%),
    var(--deep);
}
.s-map-card h3 { margin-top: 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.s-map-card p { max-width: 620px; margin-top: 6px; font-size: 12px; line-height: 1.55; color: rgba(247, 242, 231, .6); }
.s-map-card .s-eyebrow { color: var(--amber-2); }
.s-map-card .s-eyebrow::before { background: var(--amber-2); }

/* ---------- Footer ---------- */

.s-footer { padding: 62px 0 26px; background: #0b2723; color: rgba(247, 242, 231, .55); }
.s-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 38px; }
.s-footer-brand img { height: 38px; width: auto; }
.s-footer-brand p { max-width: 280px; margin-top: 16px; font-size: 11.5px; line-height: 1.6; }
.s-footer h4 { margin-bottom: 12px; font-size: 8.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(247, 242, 231, .38); }
.s-footer-links li { margin: 7px 0; font-size: 11.5px; line-height: 1.45; }
.s-footer-links a { text-decoration: none; color: rgba(247, 242, 231, .66); }
.s-footer-links a:hover { color: var(--amber-2); }
.s-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 242, 231, .1);
  font-size: 9.5px;
  line-height: 1.5;
  color: rgba(247, 242, 231, .32);
}
.s-footer-bottom span:last-child { max-width: 620px; text-align: right; }

/* ---------- Animations ---------- */

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

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .s-hero-inner { gap: 34px; }
  .s-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .s-footer-grid > div:last-child { display: none; }
}

@media (max-width: 900px) {
  .s-header-inner { min-height: 68px; gap: 18px; }
  .s-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 18px;
    background: rgba(243, 239, 230, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 30px -30px rgba(0, 0, 0, .4);
  }
  .s-nav.is-open { display: flex; }
  .s-nav-link { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
  .s-nav-link::after { display: none; }
  .s-burger { display: block; }
  .s-head-phone { display: none; }

  .s-hero-inner { grid-template-columns: 1fr; gap: 34px; align-items: start; padding: 64px 0 54px; }
  .s-sample { justify-self: start; width: min(420px, 100%); }
  .s-hero h1 { font-size: clamp(42px, 8vw, 62px); }

  .s-section { padding: 64px 0; }
  .s-section-head { grid-template-columns: 1fr; gap: 16px; }
  .s-section-note { max-width: 620px; }
  .s-calc-band { padding: 56px 0; }
  .s-calc-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .s-contacts-strip-inner { grid-template-columns: 1fr 1fr; }
  .s-strip-link { justify-self: start; }
  .s-contact-grid { grid-template-columns: 1fr; }
  .s-legal-head { flex-direction: column; align-items: flex-start; }
  .s-gallery-foot { flex-direction: column; align-items: flex-start; }
  .s-map-card { flex-direction: column; align-items: flex-start; }
  .s-catalog-cta { flex-direction: column; align-items: flex-start; }
  .s-series-facts { grid-template-columns: 1fr 1fr; }
  .s-footer-grid { grid-template-columns: 1fr 1fr; }
  .s-footer-grid > div:last-child { display: block; }
  .s-footer-bottom { flex-direction: column; }
  .s-footer-bottom span:last-child { text-align: left; }
  .s-page-hero { padding: 48px 0 40px; }
  .site-calc .lc-result { top: auto; }
}

@media (max-width: 620px) {
  .s-wrap { width: calc(100% - 32px); }
  .s-logo img { height: 36px; }
  .s-head-actions .s-btn--small { display: inline-flex; min-height: 36px; padding: 0 10px; font-size: 10px; }
  .s-callback { padding: 12px; }
  .s-callback-dialog { padding: 22px 18px; max-height: calc(100vh - 24px); border-radius: 18px; }
  .s-callback-row { grid-template-columns: 1fr; gap: 0; }
  .s-hero h1 { font-size: clamp(38px, 10vw, 52px); }
  .s-hero-lede { font-size: 14px; }
  .s-hero-facts { gap: 12px 22px; }
  .s-hero-facts b { font-size: 13px; }
  .s-series-grid { grid-template-columns: 1fr; }
  .s-series-card { min-height: 0; }
  .s-album-grid { grid-template-columns: 1fr; }
  .s-album h2 { font-size: 17px; }
  .s-lightbox { padding: 12px; }
  .s-lightbox-dialog { max-height: calc(100vh - 24px); }
  .s-lightbox-stage img { max-height: calc(100vh - 240px); }
  .s-lightbox-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .s-lightbox-close { top: 6px; right: 6px; }
  .s-gallery-stats { gap: 12px 26px; }
  .s-gallery-stats b { font-size: 24px; }
  .s-service-grid,
  .s-advantage-grid { grid-template-columns: 1fr; }
  .s-section { padding: 52px 0; }
  .s-section-head h2 { font-size: 30px; }
  .s-calc-band h2 { font-size: 34px; }
  .s-contacts-strip-inner { grid-template-columns: 1fr; gap: 14px; }
  .s-page-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .s-page-lede { font-size: 13.5px; }
  .s-legal { padding: 20px; }
  .s-legal-table th,
  .s-legal-table td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .s-legal-table tr { display: block; padding: 10px 0; border-top: 1px solid var(--line-2); }
  .s-legal-table th { padding-top: 0; }
  .s-map-card { padding: 22px; }
  .s-footer { padding-top: 44px; }
  .s-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .s-footer-brand p { max-width: none; }
  .s-filter-row { gap: 5px; }
  .s-chip { min-height: 32px; padding: 0 10px; font-size: 9px; }
  .s-series-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .s-series-intro { grid-template-columns: 1fr; grid-template-areas: "photo" "copy"; gap: 22px; }
  .s-series-photo { align-self: stretch; }
  .s-calc-intro-inner { gap: 8px 18px; font-size: 8px; }
}

/* --------------------------------------------------------------------------
   Документы
   -------------------------------------------------------------------------- */

.doc-hero { padding-bottom: 44px; }
.doc-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted-2); font-size: 11px; }
.doc-breadcrumb a { color: var(--muted); text-decoration: none; }
.doc-breadcrumb a:hover { color: var(--amber-deep); }
.doc-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.doc-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.doc-hero-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.doc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.doc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.doc-card { display: flex; flex-direction: column; min-height: 330px; padding: 23px 23px 21px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.doc-card[hidden] { display: none; }
.doc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.doc-type { color: var(--amber-deep); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.doc-ext { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.doc-icon { position: relative; width: 56px; height: 56px; margin: 24px 0 18px; color: var(--deep); }
.doc-icon svg { width: 56px; height: 56px; }
.doc-icon > span { position: absolute; right: -7px; bottom: -4px; padding: 3px 6px; border-radius: 4px; background: var(--amber); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.doc-card h2 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.doc-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.doc-meta { display: flex; gap: 13px; margin: auto 0 17px; padding-top: 18px; color: var(--muted-2); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.doc-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); color: var(--deep); font-size: 12px; font-weight: 650; text-decoration: none; }
.doc-btn span { color: var(--amber-deep); font-size: 17px; }
.doc-btn:hover { color: var(--amber-deep); }
.doc-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.doc-note-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: #fff; font: 700 12px/1 Georgia, serif; }
.doc-note p { color: var(--muted); font-size: 12px; }
.doc-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 38px; padding: 30px 34px; border-radius: 18px; background: var(--deep); color: var(--cream); }
.doc-cta .s-eyebrow { color: var(--amber-2); }
.doc-cta h2 { max-width: 620px; margin: 7px 0 8px; font-size: 25px; font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.doc-cta p:not(.s-eyebrow) { max-width: 620px; color: rgba(247,242,231,.7); font-size: 13px; }
.doc-cta .s-btn { flex: 0 0 auto; }

@media (max-width: 980px) {
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .doc-card { min-height: 0; }
  .doc-cta { padding: 24px; }
  .doc-cta h2 { font-size: 22px; }
}
