

/* Start:/bitrix/templates/ensto/styles.css?177995777619032*/
/* ensto.by — built 2026-05-28T08:42:55Z */
/* ensto.by — design tokens (Nordic Premium)
 * Source of truth for palette, spacing, typography.
 * Inlined into template/styles.css by scripts/build.sh before deploy.
 * Reference: docs/superpowers/specs/2026-05-27-ensto-landing-design.md §5
 */

:root {
  /* Palette */
  --canvas: #ffffff;
  --surface: #f6f8fa;
  --surface-accent: #eaf0f4;
  --graphite: #1a1f26;
  --slate: #5b7282;
  --secondary: #6b7785;
  --muted: #a3aeb8;
  --border: #e3e7eb;
  --pale: #c8d3db;
  --success: #2d6a4f;
  --error: #a02020;
  --black: #000000;

  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-24: 96px;

  /* Layout */
  --container-max: 1200px;
  --container-pad-desktop: 48px;
  --container-pad-tablet: 32px;
  --container-pad-mobile: 16px;
  --section-pad-desktop: 80px;
  --section-pad-tablet: 56px;
  --section-pad-mobile: 40px;
  --grid-gap-desktop: 24px;
  --grid-gap-mobile: 16px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --fs-display: 56px;
  --fs-section: 36px;
  --fs-block: 24px;
  --fs-card: 18px;
  --fs-body-lg: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-label: 11px;

  /* Borders & radii */
  --radius-sharp: 2px;
  --radius-card: 4px;
  --border-width: 1px;
}

@media (max-width: 768px) {
  :root {
    --fs-display: 36px;
    --fs-section: 28px;
    --fs-block: 20px;
  }
}

/* ensto.by — main stylesheet.
 * Note: design tokens (design/tokens.css) are inlined ABOVE this file
 * by scripts/build.sh before deploy. In source state this file expects
 * tokens to be provided via cascade — for local preview, prepend tokens.css.
 */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* Offset anchor scroll for sticky header (64px) — applies to all anchor targets */
:target, section[id], [id^="sku-"] { scroll-margin-top: 80px; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--graphite);
  background: var(--canvas);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 2px; }

/* === FONT === */
@font-face {
  font-family: 'Inter';
  src: url('/bitrix/templates/ensto/assets/fonts/InterVariable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* === LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad-mobile);
}
@media (min-width: 769px) { .container { padding: 0 var(--container-pad-tablet); } }
@media (min-width: 1025px) { .container { padding: 0 var(--container-pad-desktop); } }

section { padding: var(--section-pad-mobile) 0; }
@media (min-width: 769px) { section { padding: var(--section-pad-tablet) 0; } }
@media (min-width: 1025px) { section { padding: var(--section-pad-desktop) 0; } }

/* === TYPOGRAPHY === */
.h1-display { font-size: var(--fs-display); line-height: 1.05; font-weight: 300; letter-spacing: -0.02em; }
.h2-section { font-size: var(--fs-section); line-height: 1.1; font-weight: 400; letter-spacing: -0.01em; }
.h3-block { font-size: var(--fs-block); line-height: 1.2; font-weight: 500; }
.h4-card { font-size: var(--fs-card); line-height: 1.3; font-weight: 500; }
.body-lg { font-size: var(--fs-body-lg); line-height: 1.6; }
.body { font-size: var(--fs-body); line-height: 1.6; }
.small { font-size: var(--fs-small); line-height: 1.5; color: var(--secondary); }
.label-sm {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
}
.muted { color: var(--muted); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-sharp);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all .15s ease;
}
.btn--primary { background: var(--graphite); color: #fff; }
.btn--primary:hover { background: var(--black); }
.btn--secondary { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn--secondary:hover { background: var(--graphite); color: #fff; }
.btn--ghost { background: transparent; color: var(--graphite); padding: 14px 0; }
.btn--ghost:hover { text-decoration: underline; }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* === SITE HEADER === */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header__logo { display: flex; flex-direction: column; line-height: 1; }
.site-header__brand { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.site-header__byline {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 4px;
}
.site-header__nav { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 14px; color: var(--secondary); }
.nav-link:hover { color: var(--graphite); }
@media (max-width: 768px) { .site-header__nav .nav-link { display: none; } }

/* === SITE FOOTER === */
.site-footer {
  background: var(--graphite);
  color: #fff;
  padding: var(--sp-12) 0;
  margin-top: var(--sp-24);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-8);
}
.site-footer__name { font-size: 18px; font-weight: 500; margin-bottom: var(--sp-2); }
.site-footer__byline { font-size: 13px; color: var(--muted); }
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 14px;
}
.site-footer__contact a:hover { color: var(--pale); }
.site-footer__legal { font-size: 12px; color: var(--muted); }
@media (max-width: 768px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* === HERO === */
.hero {
  position: relative;
  padding: 120px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('/bitrix/templates/ensto/assets/images/hero.jpg') center/cover no-repeat;
  filter: saturate(0.85) contrast(1.05);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,31,38,0.35) 0%, rgba(26,31,38,0.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero__eyebrow {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-4);
}
.hero__title { color: #fff; margin-bottom: var(--sp-6); }
.hero__sub {
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-8);
  max-width: 600px;
}
.hero__cta {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
  flex-wrap: wrap;
}
.hero__cta-ghost { color: #fff; }
.hero__cta-ghost:hover { color: var(--pale); }
.hero__trust {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.hero__trust svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; min-height: 70vh; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__trust { gap: var(--sp-3); flex-direction: column; }
}

/* === BENEFITS === */
.benefits { background: var(--surface); }
.benefits .label-sm { margin-bottom: var(--sp-2); }
.benefits__title { margin-bottom: var(--sp-12); }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.benefit-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-8);
  transition: all .15s ease;
}
.benefit-card:hover {
  border-color: var(--slate);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,31,38,0.04);
}
.benefit-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--sp-4);
  color: var(--graphite);
}
.benefit-card__icon svg { width: 100%; height: 100%; stroke: currentColor; }
.benefit-card__title { margin-bottom: var(--sp-2); }
.benefit-card__text { color: var(--secondary); font-size: 14px; line-height: 1.55; }
@media (max-width: 1024px) { .benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits__grid { grid-template-columns: 1fr; } }

/* === LINES (Finnheat vs Mini comparison) === */
.lines .h2-section { margin-bottom: var(--sp-4); }
.lines__sub {
  color: var(--secondary);
  max-width: 720px;
  margin-bottom: var(--sp-12);
}
.lines__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}
.line-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--canvas);
}
.line-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.line-card__body { padding: var(--sp-8); }
.line-card__tag { margin: var(--sp-2) 0; color: var(--slate); }
.line-card__specs {
  color: var(--secondary);
  font-size: 14px;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.line-card__bullets { list-style: none; margin-bottom: var(--sp-6); }
.line-card__bullets li {
  padding: var(--sp-2) 0;
  padding-left: var(--sp-4);
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}
.line-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9em;
  width: 8px;
  height: 1px;
  background: var(--slate);
}
@media (max-width: 768px) { .lines__grid { grid-template-columns: 1fr; } }

/* === CALCULATOR === */
.calc { background: var(--surface-accent); }
.calc .h2-section { margin-bottom: var(--sp-4); }
.calc__sub { color: var(--secondary); margin-bottom: var(--sp-12); max-width: 680px; }
.calc__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.calc__inputs {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.calc__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.calc__field input,
.calc__field select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sharp);
  background: var(--canvas);
  font-size: 15px;
}
.calc__field input:focus,
.calc__field select:focus {
  outline: none;
  border-color: var(--graphite);
  box-shadow: 0 0 0 3px rgba(26,31,38,0.08);
}
.calc__radios { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-2); }
.calc__radios label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 14px;
  cursor: pointer;
}
.calc__output {
  background: var(--graphite);
  color: #fff;
  border-radius: var(--radius-card);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.calc__output .label-sm { color: rgba(255,255,255,0.6); }
.calc__power {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: var(--sp-2);
}
.calc__models-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.calc__model-pill {
  display: inline-block;
  padding: var(--sp-2) var(--sp-3);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sharp);
  color: #fff;
  font-size: 13px;
  transition: background .15s;
}
.calc__model-pill:hover { background: rgba(255,255,255,0.18); }
.calc__note { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.calc__cta {
  align-self: flex-start;
  background: #fff;
  color: var(--graphite);
  padding: 14px 28px;
  font-weight: 500;
  border-radius: var(--radius-sharp);
}
.calc__cta:hover { background: var(--surface); }
@media (max-width: 768px) { .calc__layout { grid-template-columns: 1fr; } }

/* Catalog highlight states (used by calc CTA — defined here so they're loaded before catalog renders) */
.catalog-card--dimmed { opacity: 0.35; transition: opacity .2s; }
.catalog-card--highlighted { box-shadow: 0 0 0 2px var(--graphite); transition: box-shadow .2s; }

/* === CATALOG === */
.catalog .label-sm { margin-bottom: var(--sp-2); }
.catalog__title { margin-bottom: var(--sp-4); }
.catalog__sub { color: var(--secondary); margin-bottom: var(--sp-12); max-width: 720px; }
.catalog__subsection { margin-bottom: var(--sp-16); }
.catalog__subsection:last-child { margin-bottom: 0; }
.catalog__subsub { color: var(--secondary); margin: var(--sp-2) 0 var(--sp-6); }
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap-desktop);
}
.catalog-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all .15s ease;
  display: flex;
  flex-direction: column;
}
.catalog-card:hover {
  border-color: var(--slate);
  transform: translateY(-2px);
}
.catalog-card__photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: var(--surface);
  padding: var(--sp-3);
  filter: saturate(0.85) contrast(1.05);
}
.catalog-card__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.catalog-card__sku { color: var(--slate); }
.catalog-card__name { font-size: 16px; font-weight: 500; }
.catalog-card__price {
  font-size: 18px;
  font-weight: 500;
  margin-top: auto;
  padding-top: var(--sp-2);
}
.catalog-card__cta {
  width: 100%;
  justify-content: center;
  margin-top: var(--sp-2);
}
.catalog__empty {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: var(--sp-12);
  text-align: center;
  color: var(--secondary);
}
.catalog__empty a { color: var(--graphite); text-decoration: underline; }
@media (max-width: 1024px) { .catalog__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .catalog__grid { grid-template-columns: 1fr; } }

/* === APPLICATIONS === */
.apps { background: var(--surface); }
.apps .h2-section { margin-bottom: var(--sp-4); }
.apps__sub { color: var(--secondary); margin-bottom: var(--sp-12); max-width: 720px; }
.apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.app-card {
  display: block;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: inherit;
  transition: all .15s ease;
}
.app-card:hover {
  border-color: var(--slate);
  transform: translateY(-2px);
}
.app-card__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}
.app-card__body { padding: var(--sp-6); }
.app-card__title { margin-bottom: var(--sp-2); }
.app-card__text {
  color: var(--secondary);
  margin-bottom: var(--sp-4);
  line-height: 1.5;
}
.app-card__link {
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 1024px) { .apps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .apps__grid { grid-template-columns: 1fr; } }

/* === FAQ === */
.faq__title { margin-bottom: var(--sp-12); text-align: center; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-card);
  font-weight: 500;
  gap: var(--sp-4);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { display: none; }
.faq-item__q svg {
  width: 20px;
  height: 20px;
  stroke: var(--graphite);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-item__q svg { transform: rotate(180deg); }
.faq-item__a {
  padding: 0 0 var(--sp-6);
  color: var(--secondary);
  line-height: 1.7;
  max-width: 720px;
}

/* === LEAD FORM === */
.lead { background: var(--graphite); color: #fff; }
.lead__inner { max-width: 720px; margin: 0 auto; }
.lead__title { color: #fff; margin-bottom: var(--sp-4); }
.lead__sub {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-12);
}
.lead-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.lead-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.lead-form__label { color: rgba(255,255,255,0.7); }
.lead-form__field input,
.lead-form__field select,
.lead-form__field textarea {
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sharp);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 15px;
}
.lead-form__field textarea {
  padding: var(--sp-3) 14px;
  height: auto;
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}
.lead-form__field select option { background: var(--graphite); color: #fff; }
.lead-form__field input:focus,
.lead-form__field select:focus,
.lead-form__field textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.lead-form__field input::placeholder,
.lead-form__field textarea::placeholder { color: rgba(255,255,255,0.4); }
.lead-form__field input.invalid { border-color: #ffb5b5; }
.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  line-height: 1.5;
  margin-top: var(--sp-2);
}
.lead-form__consent input { margin-top: 3px; }
.lead-form__submit {
  background: #fff;
  color: var(--graphite);
  align-self: flex-start;
  margin-top: var(--sp-2);
}
.lead-form__submit:hover { background: var(--surface); color: var(--black); }
.lead-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.lead-form__feedback { font-size: 14px; padding: var(--sp-3) 0; min-height: 1em; }
.lead-form__feedback.ok { color: #b5e8c5; }
.lead-form__feedback.err { color: #ffb5b5; }
@media (max-width: 600px) { .lead-form__row { grid-template-columns: 1fr; } }

/* End */


/* Start:/bitrix/templates/ensto/template_styles.css?1779957776150*/
/* Bitrix kernel hooks — must exist for kernel templating, even if minimal. */
.bx-panel-top { display: none; }
.bx-panel-bottom { display: none; }

/* End */
/* /bitrix/templates/ensto/styles.css?177995777619032 */
/* /bitrix/templates/ensto/template_styles.css?1779957776150 */
