/* ==========================================================================
   LIKE Optika — self-contained static-site design system
   Namespace: .lo-*
   Direction: "Ясность с характером" — light editorial optics
   No WordPress/Astra selectors. System font stack.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --lo-blue:        #1E4DC8;
  --lo-blue-dark:   #163BA0;
  --lo-blue-light:  #EEF2FB;
  --lo-red:         #E8001C;
  --lo-red-dark:    #C0001A;

  /* Neutrals */
  --lo-ink:         #1A1A2A;
  --lo-muted:       #6B7280;
  --lo-bg:          #FFFFFF;
  --lo-bg-gray:     #F8F9FA;
  --lo-soft:        #F5F7FB;
  --lo-line:        #E5E7EB;

  /* Accents */
  --lo-star:        #FFB800;
  --lo-star-off:    #D1D5DB;
  --lo-success:     #065F46;
  --lo-success-bg:  #D1FAE5;
  --lo-error:       #991B1B;
  --lo-error-bg:    #FEE2E2;
  --lo-info:        #1E40AF;
  --lo-info-bg:     #DBEAFE;

  /* Typography */
  --lo-font:        system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lo-font-display: Georgia, "Times New Roman", serif;
  --lo-font-mono:   ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Metrics */
  --lo-container:   1140px;
  --lo-radius:      8px;
  --lo-radius-lg:   16px;
  --lo-radius-pill: 999px;

  /* Shadows */
  --lo-shadow:      0 2px 12px rgba(0, 0, 0, 0.08);
  --lo-shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.12);
  --lo-shadow-card: 0 10px 26px rgba(26, 26, 42, 0.055);
  --lo-shadow-blue: 0 8px 28px rgba(30, 77, 200, 0.08);

  /* Z-index scale */
  --lo-z-base:      1;
  --lo-z-sticky:    100;
  --lo-z-cookie:    9998;
  --lo-z-mobilebar: 9999;
  --lo-z-modal:     10000;

  /* Mobile bar */
  --lo-mobile-bar-height: 68px;
}

/* --------------------------------------------------------------------------
   2. Reset / normalize (lightweight, .lo-* namespace untouched)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--lo-ink);
  background: var(--lo-bg);
  font-family: var(--lo-font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
}

ul, ol {
  padding-left: 1.5em;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
}

a {
  color: var(--lo-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--lo-red);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(30, 77, 200, 0.45);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--lo-ink);
  line-height: 1.2;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 19px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p {
  max-width: 760px;
  margin-bottom: 14px;
}

p:last-child {
  margin-bottom: 0;
}

/* Page/article paragraphs and hero lead span the full container width,
   matching the legacy WordPress layout. */
.lo-page-wrap .lo-container p,
.lo-page-hero .lo-page-lead {
  max-width: none;
}

.lo-kicker,
.lo-page-kicker,
.lo-card-label {
  display: inline-flex;
  margin: 0 0 10px;
  color: var(--lo-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lo-lead,
.lo-page-lead {
  max-width: 720px;
  color: var(--lo-muted);
  font-size: 19px;
  line-height: 1.55;
}

.lo-page-sub {
  margin: 0;
  color: var(--lo-muted);
  font-size: 16px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   4. Layout utilities
   -------------------------------------------------------------------------- */
.lo-container {
  width: 100%;
  max-width: var(--lo-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.lo-section {
  padding: 40px 0;
}

.lo-section-gray {
  background: var(--lo-bg-gray);
}

.lo-section-blue {
  color: #fff;
  background: var(--lo-blue);
}

.lo-section-blue h1,
.lo-section-blue h2,
.lo-section-blue h3,
.lo-section-blue p {
  color: inherit;
}

.lo-section-sm {
  padding: 24px 0;
}

.lo-section-header {
  margin-bottom: 28px;
}

.lo-section-header h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.lo-section-header p {
  margin-top: 8px;
  color: var(--lo-muted);
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.lo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  background: var(--lo-blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lo-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.lo-btn-primary {
  background: var(--lo-blue);
  border-color: var(--lo-blue);
  color: #fff;
}

.lo-btn-primary:hover {
  background: var(--lo-blue-dark);
  border-color: var(--lo-blue-dark);
}

.lo-btn-red {
  background: var(--lo-red);
  border-color: var(--lo-red);
  color: #fff;
}

.lo-btn-red:hover {
  background: var(--lo-red-dark);
  border-color: var(--lo-red-dark);
}

.lo-btn-outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.lo-btn-outline-white:hover {
  background: #fff;
  color: var(--lo-blue);
}

.lo-btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
}

.lo-btn--outline {
  background: transparent;
  color: var(--lo-blue);
}

.lo-btn--outline:hover {
  background: var(--lo-blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.lo-header {
  position: sticky;
  top: 0;
  z-index: var(--lo-z-sticky);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--lo-line);
  backdrop-filter: blur(6px);
}

.lo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.lo-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lo-logo img,
.lo-logo svg {
  max-width: 160px;
  width: 160px;
  height: auto;
}

.lo-header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 190px;
  line-height: 1.1;
}

.lo-header-phone {
  color: var(--lo-blue);
  font-size: 28px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.lo-header-phone:hover {
  color: var(--lo-red);
}

.lo-header-hours {
  margin-top: 8px;
  color: var(--lo-muted);
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
}

.lo-nav {
  display: flex;
  align-items: center;
}

.lo-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lo-nav-link {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--lo-ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--lo-radius);
  transition: background 0.15s ease, color 0.15s ease;
}

.lo-nav-link:hover,
.lo-nav-link[aria-current="page"] {
  background: var(--lo-blue-light);
  color: var(--lo-blue);
}

.lo-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--lo-ink);
}

.lo-mobile-menu-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.lo-footer {
  background: #0B1B4D;
  color: #fff;
  padding: 40px 0 24px;
}

.lo-footer a {
  color: #fff;
  text-decoration: none;
}

.lo-footer a:hover {
  color: var(--lo-red);
  text-decoration: underline;
}

.lo-legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 18px 16px;
  color: var(--lo-muted);
  background: var(--lo-soft);
  border-top: 1px solid var(--lo-line);
  font-size: 13px;
  line-height: 1.4;
}

.lo-legal-footer a {
  color: var(--lo-blue);
  font-weight: 700;
  text-decoration: none;
}

.lo-legal-footer a:hover {
  color: var(--lo-red);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. Hero (home)
   -------------------------------------------------------------------------- */
.lo-hero-offer {
  position: relative;
  padding: 30px 0 12px;
  margin-bottom: 10px;
  background: transparent;
  border-bottom: 1px solid var(--lo-line);
  overflow: hidden;
}

.lo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: center;
}

.lo-hero-copy h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.08;
}

.lo-hero-copy .lo-lead {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--lo-muted);
  font-size: 19px;
  line-height: 1.62;
}

.lo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.lo-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--lo-muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
}

.lo-trust-line li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.lo-trust-line li::before {
  content: "✓";
  color: var(--lo-blue);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.lo-trust-line a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lo-trust-line a:hover,
.lo-trust-line a:focus-visible {
  color: var(--lo-blue);
}

.lo-place-line {
  margin: 0;
  color: var(--lo-muted);
  font-size: 15px;
  font-weight: 700;
}

.lo-hero-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
}

.lo-hero-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.lo-check-list {
  counter-reset: lo-step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lo-check-list li {
  position: relative;
  counter-increment: lo-step;
  padding: 10px 0 10px 38px;
  border-top: 1px solid var(--lo-blue-light);
  color: var(--lo-ink);
  font-weight: 500;
}

.lo-check-list li:first-child {
  border-top: 0;
}

.lo-check-list li::before {
  content: counter(lo-step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lo-blue);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30, 77, 200, 0.12);
  font-size: 11px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. Cards & grids
   -------------------------------------------------------------------------- */
.lo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lo-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
}

.lo-card--blue-top {
  border-top: 4px solid var(--lo-blue);
}

.lo-card--red-top {
  border-top: 4px solid var(--lo-red);
}

/* Offer grid */
.lo-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lo-offer-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
  color: var(--lo-ink);
  font-weight: 400;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 4px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.lo-offer-card-link:hover,
.lo-offer-card-link:focus-visible {
  color: var(--lo-ink);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(26, 26, 42, 0.1);
  transform: translateY(-2px);
  border-color: rgba(30, 77, 200, 0.28);
}

.lo-offer-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.lo-offer-card-link h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.lo-offer-card-link p {
  color: var(--lo-muted);
  font-weight: 400;
  line-height: 1.55;
}

.lo-offer-card-link > .lo-link-arrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  color: var(--lo-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.lo-offer-card-link > .lo-link-arrow::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.15s ease;
}

.lo-offer-card-link:hover > .lo-link-arrow::after {
  transform: translateX(2px);
}

.lo-offer-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: var(--lo-blue);
  background: linear-gradient(135deg, rgba(30, 77, 200, 0.10), rgba(232, 0, 28, 0.06));
  border: 1px solid rgba(30, 77, 200, 0.16);
  border-radius: 12px;
  line-height: 0;
}

.lo-offer-icon svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Scenario cards */
.lo-scenarios {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lo-scenario-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  color: var(--lo-ink);
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.lo-scenario-card:hover,
.lo-scenario-card:focus-visible {
  color: var(--lo-blue);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(26, 26, 42, 0.1);
  transform: translateY(-2px);
}

.lo-scenario-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--lo-blue);
  background: var(--lo-blue-light);
  border-radius: 12px;
}

.lo-scenario-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Category grid */
.lo-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lo-category-grid > * {
  min-height: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 4px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
}

.lo-category-grid h3,
.lo-promo-cards h3,
.lo-three h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.lo-category-grid p,
.lo-promo-cards p,
.lo-three p {
  color: var(--lo-muted);
}

.lo-category-grid p:last-child,
.lo-promo-cards p:last-child,
.lo-three p:last-child {
  margin-bottom: 0;
}

/* Promo cards (home) */
.lo-promo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lo-promo-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 20px;
  color: var(--lo-ink);
  font-weight: 400;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 4px solid var(--lo-red);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.lo-promo-card-link:hover,
.lo-promo-card-link:focus-visible {
  color: var(--lo-ink);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(26, 26, 42, 0.1);
  transform: translateY(-2px);
  border-color: rgba(30, 77, 200, 0.28);
}

.lo-promo-card-link h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.lo-promo-card-link p {
  color: var(--lo-muted);
  line-height: 1.55;
}

.lo-promo-deadline {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  color: var(--lo-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

/* Promo page */
.lo-promo-page {
  padding: 34px 0 18px;
}

.lo-promo-section-page {
  margin-top: 40px;
}

.lo-promo-section-page:first-child {
  margin-top: 0;
}

.lo-promo-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--lo-line);
}

.lo-promo-section-header h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
}

.lo-promo-section-header h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.lo-promo-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lo-promo-page-card {
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 3px solid var(--lo-red);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26, 26, 42, 0.06), 0 8px 24px rgba(26, 26, 42, 0.04);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.lo-promo-page-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 42, 0.1), 0 12px 32px rgba(26, 26, 42, 0.07);
  transform: translateY(-2px);
}

.lo-promo-page-card--featured,
.lo-promo-featured {
  border-color: rgba(30, 77, 200, 0.25);
  border-top: 3px solid var(--lo-blue);
  box-shadow:
    0 2px 8px rgba(30, 77, 200, 0.07),
    0 8px 28px rgba(30, 77, 200, 0.08);
}

.lo-promo-page-card--featured:hover,
.lo-promo-featured:hover {
  box-shadow:
    0 4px 16px rgba(30, 77, 200, 0.12),
    0 14px 36px rgba(30, 77, 200, 0.1);
}

.lo-promo-page-card__top {
  margin-bottom: 14px;
}

.lo-promo-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--lo-radius-pill);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  background: rgba(232, 0, 28, 0.08);
  color: var(--lo-red);
}

.lo-promo-page-card--featured .lo-promo-badge--deadline,
.lo-promo-featured .lo-promo-badge--deadline {
  background: rgba(30, 77, 200, 0.09);
  color: var(--lo-blue);
}

.lo-promo-page-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.lo-promo-page-card p,
.lo-promo-page-card li {
  color: var(--lo-muted);
  line-height: 1.55;
}

.lo-promo-page-card > p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lo-promo-page-card p:last-child {
  margin-bottom: 0;
}

.lo-promo-details {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--lo-line);
}

.lo-promo-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--lo-blue);
  user-select: none;
  outline-offset: 3px;
}

.lo-promo-details summary::-webkit-details-marker {
  display: none;
}

.lo-promo-details summary::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  background-color: var(--lo-blue);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.22 5.72a.75.75 0 0 1 1.06 0L8 9.44l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 6.78a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.22 5.72a.75.75 0 0 1 1.06 0L8 9.44l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 6.78a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: transform 0.2s ease;
}

.lo-promo-details[open] summary::after {
  transform: rotate(180deg);
}

.lo-promo-details summary:hover {
  color: var(--lo-ink);
}

.lo-promo-details summary:hover::after {
  background-color: var(--lo-ink);
}

.lo-promo-details__body {
  padding-top: 12px;
}

.lo-promo-details__body ul {
  margin: 8px 0 10px 18px;
  padding: 0;
}

.lo-promo-details__body li {
  margin-bottom: 4px;
  font-size: 15px;
}

.lo-promo-note {
  max-width: 820px;
  padding: 14px 18px;
  margin: 18px 0 8px;
  color: var(--lo-muted);
  background: var(--lo-soft);
  border-left: 3px solid var(--lo-line);
  border-radius: var(--lo-radius);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.lo-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lo-promo-grid > * {
  min-height: 190px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 4px solid var(--lo-red);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
}

/* Three column facts */
.lo-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lo-three > * {
  min-height: 190px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 4px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
}

/* Features (blue background) */
.lo-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.lo-feature {
  text-align: center;
  padding: 20px;
  color: #fff;
}

.lo-feature-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.lo-feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.lo-feature h3 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 18px;
}

.lo-feature p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto;
  font-size: 15px;
}

/* Steps */
.lo-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.lo-step {
  position: relative;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
}

.lo-step-num {
  position: absolute;
  top: -14px;
  left: 20px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--lo-blue);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.lo-step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.lo-step p {
  color: var(--lo-muted);
  font-size: 15px;
}

/* Brand strip */
.lo-brand-strip {
  padding: 18px 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--lo-line);
  border-bottom: 1px solid var(--lo-line);
}

.lo-brand-strip h2,
.lo-brand-strip p {
  padding-left: 22px;
  padding-right: 22px;
}

.lo-brand-strip h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.lo-brand-carousel {
  position: relative;
  margin: 12px 0 8px;
  overflow: hidden;
}

.lo-brand-carousel::before,
.lo-brand-carousel::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
}

.lo-brand-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.lo-brand-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.lo-brand-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 4px 22px 8px;
  animation: lo-brand-marquee 28s linear infinite;
}

.lo-brand-carousel:hover .lo-brand-track {
  animation-play-state: paused;
}

.lo-brand-card {
  display: inline-flex;
  min-width: 150px;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: var(--lo-ink);
  background: var(--lo-soft);
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
  font-family: var(--lo-font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

@keyframes lo-brand-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Find us */
.lo-find-us {
  padding: 24px;
  margin: 18px 0 0;
  background: #fff;
  border-top: 4px solid var(--lo-red);
  border-radius: 10px;
  box-shadow: var(--lo-shadow-card);
}

.lo-find-us h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

/* CTA block */
.lo-cta {
  text-align: center;
  padding: 56px 20px;
  background: var(--lo-blue);
  color: #fff;
}

.lo-cta h2 {
  color: #fff;
  margin-bottom: 10px;
}

.lo-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 24px;
}

.lo-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   10. Page shells
   -------------------------------------------------------------------------- */
.lo-page-hero,
.lo-hero-clean {
  padding: 54px 0 34px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--lo-line);
}

.lo-page-hero h1,
.lo-hero-clean h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.1;
}

.lo-hero-clean .lo-page-lead,
.lo-page-hero .lo-page-lead {
  margin: 0;
}

.lo-page-wrap {
  padding: 0 0 40px;
}

.lo-band,
.lo-contact-panel {
  padding: 26px;
  margin: 26px 0;
  background: #fff;
  border-top: 4px solid var(--lo-red);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(26, 26, 42, 0.06);
}

.lo-band p,
.lo-contact-panel p {
  margin-bottom: 10px;
}

.lo-source-list {
  max-width: 760px;
  margin-left: 0;
}

.lo-source-list li {
  margin-bottom: 8px;
}

.lo-legal-note {
  padding: 14px 16px;
  color: var(--lo-muted);
  background: var(--lo-soft);
  border-left: 4px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  font-size: 15px;
}

.lo-link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--lo-blue);
  font-weight: 900;
  text-decoration: none;
}

.lo-link-arrow::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.15s ease;
}

.lo-link-arrow:hover {
  color: var(--lo-red);
}

.lo-link-arrow:hover::after {
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   10a. Article content typography
   -------------------------------------------------------------------------- */
.lo-page-wrap .lo-container h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.lo-page-wrap .lo-container p {
  margin-bottom: 14px;
}

.lo-page-wrap .lo-container ul,
.lo-page-wrap .lo-container ol {
  padding-left: 1.5em;
}

.lo-page-wrap .lo-container .lo-legal-note,
.lo-page-wrap .lo-container .lo-source-list {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   10b. WordPress block styles
   -------------------------------------------------------------------------- */
.lo-page-wrap .wp-block-group {
  margin: 0;
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  background: var(--lo-blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wp-block-button__link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--lo-blue);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--lo-blue);
  color: #fff;
}

.wp-block-button.lo-primary .wp-block-button__link {
  border-color: var(--lo-red);
  background: var(--lo-red);
  color: #fff;
}

.wp-block-button.lo-primary .wp-block-button__link:hover {
  background: var(--lo-red-dark);
  border-color: var(--lo-red-dark);
  color: #fff;
}

.wp-block-heading {
  margin-top: 32px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   10c. Blog pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin-top: 24px;
  list-style: none;
}

.page-item {
  list-style: none;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 14px;
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  background: #fff;
  color: var(--lo-blue);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.page-link:hover {
  border-color: var(--lo-blue);
  color: var(--lo-blue);
  text-decoration: none;
}

.page-item.active .page-link {
  background: var(--lo-blue);
  border-color: var(--lo-blue);
  color: #fff;
}

.page-item.disabled .page-link {
  color: var(--lo-muted);
  background: var(--lo-bg-gray);
  border-color: var(--lo-line);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   11. Contacts page
   -------------------------------------------------------------------------- */
.lo-contacts-hero {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  padding: 38px 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--lo-line);
}

.lo-contacts-hero h1 {
  margin: 0 0 6px;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
}

.lo-contacts-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-bottom: 4px;
}

.lo-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--lo-blue);
  background: #fff;
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(26, 26, 42, 0.05);
  transition: transform 0.15s, border-color 0.15s, color 0.15s, background 0.15s;
}

.lo-contact-action:hover {
  border-color: rgba(30, 77, 200, 0.35);
  color: var(--lo-red);
  transform: translateY(-1px);
  text-decoration: none;
}

.lo-contact-action-primary {
  color: #fff;
  background: var(--lo-red);
  border-color: var(--lo-red);
}

.lo-contact-action-primary:hover {
  color: #fff;
  background: var(--lo-red-dark);
  border-color: var(--lo-red-dark);
}

.lo-contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 28px;
  align-items: start;
  margin-top: 0;
  margin-bottom: 26px;
}

.lo-contacts-data {
  display: flex;
  flex-direction: column;
  padding: 2px 0;
}

.lo-contact-item {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(26, 26, 42, 0.08);
  align-items: flex-start;
}

.lo-contact-item:first-child {
  padding-top: 0;
}

.lo-contact-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: var(--lo-blue);
  background: rgba(30, 77, 200, 0.09);
  border-radius: 50%;
}

.lo-contact-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.lo-contact-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}

.lo-contact-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lo-muted);
}

.lo-phone-big {
  width: fit-content;
  font-size: 22px;
  font-weight: 700;
  color: var(--lo-blue);
  text-decoration: none;
  line-height: 1.15;
  transition: color 0.15s;
}

.lo-phone-big:hover {
  color: var(--lo-red);
}

.lo-hours-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--lo-ink);
}

.lo-hours-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(30, 77, 200, 0.12);
  color: var(--lo-blue);
  border-radius: var(--lo-radius-pill);
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  margin-top: 2px;
}

.lo-contact-body strong {
  font-size: 16px;
  color: var(--lo-ink);
}

.lo-contact-body span {
  font-size: 14px;
  color: var(--lo-muted);
  line-height: 1.45;
}

.lo-route-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-top: 4px;
  color: var(--lo-blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: color 0.15s;
}

.lo-route-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.15s;
}

.lo-route-link:hover {
  color: var(--lo-red);
}

.lo-route-link:hover::after {
  transform: translateX(2px);
}

.lo-contact-messengers {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 2px;
  flex-wrap: wrap;
}

.lo-btn-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--lo-radius);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  line-height: 1;
}

.lo-btn-messenger:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.lo-btn-messenger svg {
  flex-shrink: 0;
  fill: currentColor;
}

.lo-btn-tg  { background: #2AABEE; color: #fff; }
.lo-btn-vk  { background: #0077FF; color: #fff; }

.lo-contacts-map {
  position: sticky;
  top: 80px;
  height: 420px;
  min-height: 360px;
  border: 1px solid var(--lo-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(26, 26, 42, 0.09);
}

.lo-contacts-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.lo-reviews-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.lo-reviews-hero {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 32px;
  padding: 22px;
  border: 1px solid #DCE5FF;
  border-left: 4px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  background: linear-gradient(135deg, #F7FAFF 0%, #fff 58%, #FFF8E1 100%);
  box-shadow: 0 18px 42px rgba(30, 77, 200, 0.08);
}

.lo-reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lo-reviews-avg {
  font-size: 3rem;
  font-weight: 800;
  color: var(--lo-blue);
  line-height: 1;
}

.lo-reviews-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lo-reviews-stars {
  display: flex;
  gap: 2px;
  line-height: 1;
}

.lo-reviews-aggregate .lo-star {
  color: var(--lo-star-off);
  font-size: 1.35rem;
}

.lo-reviews-aggregate .lo-star.lo-star--on {
  color: var(--lo-star);
}

.lo-reviews-count {
  color: var(--lo-muted);
  font-size: 0.95rem;
}

.lo-reviews-cta {
  position: relative;
  min-width: 0;
  padding: 2px 96px 2px 0;
}

.lo-reviews-cta-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(30, 77, 200, 0.1);
  color: var(--lo-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lo-reviews-cta-text {
  max-width: 420px;
  margin: 10px 0 14px;
  color: var(--lo-ink);
  font-size: 1rem;
  line-height: 1.5;
}

.lo-reviews-cta-link {
  box-shadow: 0 10px 22px rgba(30, 77, 200, 0.2);
}

.lo-reviews-map-mark {
  position: absolute;
  top: 2px;
  right: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 18px 4px;
  background: var(--lo-blue);
  color: var(--lo-star);
  font-size: 2rem;
  font-weight: 800;
  transform: rotate(-6deg);
  box-shadow: 0 14px 28px rgba(30, 77, 200, 0.22);
}

.lo-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.lo-reviews-grid--latest {
  margin-bottom: 24px;
}

.lo-review-card {
  background: #fff;
  border: 1px solid var(--lo-line);
  border-top: 3px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lo-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.lo-review-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--lo-ink);
}

.lo-review-stars {
  white-space: nowrap;
}

.lo-star {
  color: var(--lo-star-off);
}

.lo-star.lo-star--on {
  color: var(--lo-star);
}

.lo-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lo-review-date {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.lo-review-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.lo-review-badge--yandex {
  background: var(--lo-blue);
  color: #fff;
}

.lo-review-badge--site {
  background: #F3F4F6;
  color: #374151;
}

.lo-review-badge--fixture {
  background: #E0F2FE;
  color: #03548C;
}

.lo-review-text {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.55;
  margin: 0;
}

.lo-reviews-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--lo-muted);
  background: var(--lo-bg-gray);
  border-radius: var(--lo-radius);
  margin-bottom: 32px;
}

.lo-reviews-pagination {
  text-align: center;
  margin-bottom: 40px;
}

.lo-reviews-latest {
  padding: 48px 0;
}

.lo-reviews-more {
  text-align: center;
}

/* Review form (stub, no public form on static site) */
.lo-review-form-wrap {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--lo-line);
}

.lo-review-form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.lo-review-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lo-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lo-form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.lo-form-field input[type="text"],
.lo-form-field input[type="email"],
.lo-form-field input[type="tel"],
.lo-form-field textarea {
  padding: 10px 12px;
  border: 1.5px solid var(--lo-star-off);
  border-radius: var(--lo-radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
  width: 100%;
}

.lo-form-field input:focus-visible,
.lo-form-field textarea:focus-visible {
  outline: 2px solid var(--lo-blue);
  outline-offset: 2px;
  border-color: var(--lo-blue);
}

.lo-star-picker {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.lo-star-picker input[type="radio"] {
  display: none;
}

.lo-star-picker label {
  font-size: 2rem;
  color: var(--lo-star-off);
  cursor: pointer;
  transition: color 0.1s;
  line-height: 1;
}

.lo-star-picker input:checked ~ label,
.lo-star-picker label:hover,
.lo-star-picker label:hover ~ label {
  color: var(--lo-star);
}

.lo-form-msg {
  padding: 12px 16px;
  border-radius: var(--lo-radius);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.lo-form-msg--success { background: var(--lo-success-bg); color: var(--lo-success); }
.lo-form-msg--notice  { background: var(--lo-info-bg);    color: var(--lo-info); }
.lo-form-msg--error   { background: var(--lo-error-bg);   color: var(--lo-error); }

.lo-hp { display: none !important; }

/* --------------------------------------------------------------------------
   13. Blog
   -------------------------------------------------------------------------- */
.lo-blog-hero {
  padding: 34px 0 20px;
  border-bottom: 1px solid var(--lo-line);
}

.lo-blog-hero h1 {
  max-width: 860px;
  margin: 0 0 12px;
  color: var(--lo-ink);
  font-size: 36px;
  line-height: 1.15;
}

.lo-blog-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--lo-muted);
  font-size: 18px;
}


.lo-article-header {
  padding: 38px 0 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--lo-line);
}

.lo-article-header::before {
  content: "Статья";
  display: block;
  margin-bottom: 10px;
  color: var(--lo-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lo-article-header h1 {
  max-width: 860px;
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
}

.lo-article-body {
  max-width: 760px;
}

.lo-article-body h2 {
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 25px;
}

/* --------------------------------------------------------------------------
   14. Mobile bottom bar
   -------------------------------------------------------------------------- */
.lo-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--lo-z-mobilebar);
  background: var(--lo-blue);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
}

.lo-mobile-bar-inner {
  display: flex;
  justify-content: space-around;
}

.lo-mobile-bar a {
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.lo-mobile-bar a:hover {
  opacity: 1;
  text-decoration: none;
}

.lo-mobile-bar svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* --------------------------------------------------------------------------
   15. Cookie banner
   -------------------------------------------------------------------------- */
.lo-cookie-notice {
  position: fixed;
  z-index: var(--lo-z-cookie);
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  padding: 16px 18px;
  margin: 0 auto;
  color: var(--lo-ink);
  background: #fff;
  border: 1px solid var(--lo-line);
  border-left: 5px solid var(--lo-blue);
  border-radius: var(--lo-radius);
  box-shadow: 0 18px 44px rgba(26, 26, 42, 0.16);
  font-size: 14px;
  line-height: 1.45;
}

.lo-cookie-notice[hidden] {
  display: none;
}

.lo-cookie-notice a {
  color: var(--lo-blue);
  font-weight: 800;
}

.lo-cookie-notice__button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 18px;
  color: #fff;
  background: var(--lo-red);
  border: 0;
  border-radius: var(--lo-radius);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lo-cookie-notice__button:hover {
  background: var(--lo-red-dark);
}

html.lo-cookie-notice-visible body {
  padding-bottom: calc(var(--lo-mobile-bar-height) + 92px);
}

/* --------------------------------------------------------------------------
   16. Accessibility
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .lo-brand-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

.visually-hidden,
.lo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .lo-grid-4,
  .lo-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lo-grid-3,
  .lo-offer-grid,
  .lo-scenarios,
  .lo-category-grid,
  .lo-promo-cards,
  .lo-promo-page-grid,
  .lo-promo-grid,
  .lo-three,
  .lo-reviews-grid,
  .lo-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lo-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lo-contacts-grid {
    grid-template-columns: 1fr;
  }

  .lo-contacts-map {
    position: static;
  }

  .lo-header-contact {
    min-width: 210px;
  }

  .lo-header-phone {
    font-size: 23px;
  }

  .lo-header-hours {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 16px;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .lo-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .lo-section {
    padding: 28px 0;
  }

  .lo-section-sm {
    padding: 18px 0;
  }

  .lo-section-header h2 {
    font-size: 24px;
  }

  .lo-header-inner {
    min-height: 64px;
  }

  .lo-logo img,
  .lo-logo svg {
    max-width: 124px;
    width: 124px;
  }

  .lo-header-contact {
    display: none;
  }

  .lo-mobile-menu-toggle {
    display: inline-flex;
  }

  .lo-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--lo-line);
    box-shadow: var(--lo-shadow);
  }

  .lo-nav.is-open {
    display: block;
  }

  .lo-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .lo-nav-link {
    padding: 12px 8px;
    border-bottom: 1px solid var(--lo-line);
    border-radius: 0;
  }

  .lo-nav-link:last-child {
    border-bottom: 0;
  }

  .lo-grid-4,
  .lo-grid-3,
  .lo-grid-2,
  .lo-offer-grid,
  .lo-scenarios,
  .lo-category-grid,
  .lo-promo-cards,
  .lo-promo-page-grid,
  .lo-promo-grid,
  .lo-three,
  .lo-reviews-grid,
  .lo-blog-grid,
  .lo-features,
  .lo-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lo-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lo-hero-copy h1 {
    font-size: 30px;
  }

  .lo-hero-copy .lo-lead {
    font-size: 17px;
  }

  .lo-hero-offer {
    padding: 22px 0 14px;
  }

  .lo-page-hero,
  .lo-hero-clean {
    padding: 34px 0 20px;
  }

  .lo-page-hero h1,
  .lo-hero-clean h1 {
    font-size: 28px;
  }

  .lo-promo-section-header h1 {
    font-size: 28px;
  }

  .lo-promo-section-header h2 {
    font-size: 24px;
  }

  .lo-promo-page-card {
    padding: 18px 18px 16px;
  }

  .lo-promo-page-card h3 {
    font-size: 18px;
  }

  .lo-promo-badge {
    font-size: 12px;
    padding: 4px 10px;
  }

  .lo-contacts-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 0 18px;
  }

  .lo-contacts-hero h1 {
    font-size: 28px;
  }

  .lo-contacts-hero-actions {
    display: none;
  }

  .lo-contact-item {
    gap: 12px;
    padding: 16px 0;
  }

  .lo-contact-icon {
    width: 34px;
    height: 34px;
  }

  .lo-contacts-map {
    height: 320px;
    min-height: 320px;
  }

  .lo-contact-messengers .lo-btn-messenger {
    flex: 1 1 auto;
    min-width: 160px;
  }

  .lo-phone-big {
    font-size: 23px;
  }

  .lo-reviews-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .lo-reviews-cta {
    padding-right: 0;
  }

  .lo-reviews-map-mark {
    display: none;
  }

  .lo-reviews-avg {
    font-size: 2.5rem;
  }

  .lo-reviews-cta-link {
    width: 100%;
    text-align: center;
  }

  .lo-blog-hero h1,
  .lo-article-header h1 {
    font-size: 28px;
  }

  .lo-brand-strip {
    padding: 14px 0;
  }

  .lo-brand-card {
    min-width: 132px;
    min-height: 62px;
    font-size: 16px;
  }

  .lo-mobile-bar {
    display: block;
  }

  body {
    padding-bottom: var(--lo-mobile-bar-height);
  }

  .lo-cookie-notice {
    bottom: 82px; /* 68px bar + 14px gap */
    left: 10px;
    right: 10px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-left-width: 4px;
    font-size: 12px;
    line-height: 1.35;
  }

  .lo-cookie-notice__button {
    min-height: 36px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  html.lo-cookie-notice-visible body {
    padding-bottom: 188px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lo-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   18. Utility helpers
   -------------------------------------------------------------------------- */
.lo-text-center { text-align: center; }
.lo-text-left   { text-align: left; }
.lo-text-right  { text-align: right; }
.lo-mt-0 { margin-top: 0; }
.lo-mb-0 { margin-bottom: 0; }
.lo-mt-sm { margin-top: 12px; }
.lo-mb-sm { margin-bottom: 12px; }
.lo-mt-md { margin-top: 24px; }
.lo-mb-md { margin-bottom: 24px; }

/* --------------------------------------------------------------------------
   19. Blog list
   -------------------------------------------------------------------------- */
.lo-blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lo-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--lo-bg);
  border: 1px solid var(--lo-line);
  border-radius: var(--lo-radius);
  box-shadow: var(--lo-shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lo-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--lo-shadow);
  border-color: var(--lo-blue-light);
}

.lo-blog-card a {
  color: var(--lo-ink);
  text-decoration: none;
}

.lo-blog-card a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.lo-blog-card h3 {
  position: relative;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
}

.lo-blog-card h3 a:hover {
  color: var(--lo-blue);
}

.lo-blog-card p {
  color: var(--lo-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  flex: 1 1 auto;
}

.lo-blog-card time {
  display: block;
  color: var(--lo-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

@media (max-width: 1023px) {
  .lo-blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lo-blog-list {
    grid-template-columns: 1fr;
  }

  .lo-blog-card {
    padding: 18px;
  }
}
