
/* ==================================================
   01. FONTS / BASE
   ================================================== */

@font-face {
  font-family: "Inter";
  src: url("/media/fonts/Inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/media/fonts/Inter/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/media/fonts/Inter/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --plz-bg: #ffffff;
  --plz-bg-soft: #f6f8fc;
  --plz-bg-muted: #eef3fb;
  --plz-dark: #0f172a;
  --plz-text: #334155;
  --plz-muted: #64748b;
  --plz-border: #e2e8f0;
  --plz-border-strong: #cbd5e1;
  --plz-accent: #2f5eff;
  --plz-accent-hover: #244fe0;
  --plz-accent-dark: #001b4c;
  --plz-radius-sm: 12px;
  --plz-radius-md: 16px;
  --plz-radius-lg: 22px;
  --plz-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
  --plz-shadow-card: 0 14px 34px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body.site {
  min-width: 320px;
  background: var(--plz-bg);
  color: var(--plz-text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.site * {
  box-sizing: border-box;
}

body.site img,
body.site svg,
body.site video {
  max-width: 100%;
  height: auto;
}

body.site a {
  color: var(--plz-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.site a:hover,
body.site a:focus {
  color: var(--plz-accent-hover);
}

a:not([class]) {
  text-decoration: none;
}

a:not([class]):hover,
a:not([class]):focus {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--plz-dark);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
    margin: 0 0 24px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.04;
    font-weight: 700;
}

h2 {
    margin: 0 0 22px;
    font-size: clamp(28px, 3.4vw, 32px);
    line-height: 1.12;
    font-weight: 700;
}

h3 {
  margin: 0 0 16px;
  font-size: clamp(22px, 2vw, 28px);
}

p {
  margin-top: 0;
}

.container,
.container-fluid {
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5);
  max-width: 1380px;

}

/* ==================================================
   02. HEADER
   ================================================== */

header.header.container-header {
  position: sticky;
  top: 0;
  z-index: 1035;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-info {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header-desktop-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 24px;
  min-height: 88px;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 150px;
}

.header-brand,
.header-brand a,
.header-brand img,
.header-brand picture,
.header-brand svg {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.header-brand a {
  display: flex;
  align-items: center;
  min-height: 88px;
  color: var(--plz-dark);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.header-brand img,
.header-brand svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 210px;
  max-height: 58px;
}

.header-brand .mod-custom,
.header-brand .mod-custom p,
.header-topblock-2 .mod-custom,
.header-topblock-2 .mod-custom p,
.header-enter .moduletable,
.header-enter p {
  margin: 0;
  padding: 0;
}

.header-menu {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-menu .moduletable {
  width: 100%;
  margin: 0;
}

.header-menu .mod-menu,
.header-menu .mod-menu.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-menu .mod-menu > li {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.header-menu .mod-menu > li > a,
.header-menu .mod-menu > li > button,
.header-menu .mod-menu > li > span,
.header-menu ul.mod-menu.mod-list.nav > li.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 0 14px;
  margin: 0;
  color: var(--plz-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease;
}

.header-menu .mod-menu > li > a::after,
.header-menu .mod-menu > li > button::after,
.header-menu ul.mod-menu.mod-list.nav > li.nav-item > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 20px;
  height: 3px;
  border-radius: 10px;
  background: transparent;
  transform: scaleX(.7);
  transition: background-color .22s ease, transform .22s ease;
}

.header-menu .mod-menu > li > a:hover,
.header-menu .mod-menu > li > a:focus,
.header-menu .mod-menu > li > button:hover,
.header-menu .mod-menu > li > button:focus,
.header-menu .mod-menu > li.current > a,
.header-menu .mod-menu > li.active > a,
.header-menu ul.mod-menu.mod-list.nav > li.nav-item.current > a,
.header-menu ul.mod-menu.mod-list.nav > li.nav-item.active > a {
  color: var(--plz-accent);
  text-decoration: none;
}

.header-menu .mod-menu > li > a:hover::after,
.header-menu .mod-menu > li > a:focus::after,
.header-menu .mod-menu > li > button:hover::after,
.header-menu .mod-menu > li > button:focus::after,
.header-menu .mod-menu > li.current > a::after,
.header-menu .mod-menu > li.active > a::after,
.header-menu ul.mod-menu.mod-list.nav > li.nav-item.current > a::after,
.header-menu ul.mod-menu.mod-list.nav > li.nav-item.active > a::after {
  background: var(--plz-accent);
  transform: scaleX(1);
}

.header-topblock-2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
  margin-left: 4px;
  padding-left: 22px;
  color: var(--plz-text);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.header-topblock-2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 34px;
  background: rgba(15, 23, 42, 0.12);
  transform: translateY(-50%);
}

.header-enter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: max-content;
}

.header-enter a,
.header-enter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--plz-accent);
  border-radius: var(--plz-radius-sm);
  background: var(--plz-accent);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.header-enter a:hover,
.header-enter a:focus,
.header-enter button:hover,
.header-enter button:focus {
  background: var(--plz-accent-hover);
  border-color: var(--plz-accent-hover);
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Header contacts helper for custom modules */
.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  line-height: 1.2;
}

.header-contacts__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contacts__label {
  color: var(--plz-muted);
  font-size: 14px;
  font-weight: 600;
}

.header-contacts__link {
  color: var(--plz-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-contacts__link:hover,
.header-contacts__link:focus {
  color: var(--plz-accent);
  text-decoration: none;
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  .header-desktop-grid {
    column-gap: 18px;
  }

  .header-brand img,
  .header-brand svg {
    max-width: 185px;
    max-height: 52px;
  }

  .header-menu .mod-menu > li > a,
  .header-menu .mod-menu > li > button,
  .header-menu .mod-menu > li > span,
  .header-menu ul.mod-menu.mod-list.nav > li.nav-item > a {
    padding: 0 10px;
    font-size: 15px;
  }

  .header-menu .mod-menu > li > a::after,
  .header-menu .mod-menu > li > button::after,
  .header-menu ul.mod-menu.mod-list.nav > li.nav-item > a::after {
    left: 10px;
    right: 10px;
  }

  .header-enter a,
  .header-enter button {
    min-width: 158px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 14px;
  }
}

/* ==================================================
   03. DESKTOP DROPDOWN MENU
   ================================================== */

@media (min-width: 992px) {
  header.header.container-header,
  .header-desktop-grid,
  .header-menu,
  .header-menu .moduletable,
  .header-menu .mod-menu {
    overflow: visible;
  }

  .header-menu .mod-menu > li.deeper.parent {
    position: relative;
  }

  .header-menu .mod-menu > li.deeper.parent > .submenu-toggle {
    display: none !important;
  }

  .header-menu .mod-menu > li > .mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 1050;
    display: block;
    min-width: 260px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: var(--plz-radius-md);
    box-shadow: var(--plz-shadow-card);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .header-menu .mod-menu > li:hover > .mod-menu__sub,
  .header-menu .mod-menu > li:focus-within > .mod-menu__sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .header-menu .mod-menu > li > .mod-menu__sub > li {
    display: block;
    margin: 0;
    padding: 0;
  }

  .header-menu .mod-menu > li > .mod-menu__sub > li > a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--plz-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
  }

  .header-menu .mod-menu > li > .mod-menu__sub > li > a:hover,
  .header-menu .mod-menu > li > .mod-menu__sub > li > a:focus,
  .header-menu .mod-menu > li > .mod-menu__sub > li.current > a,
  .header-menu .mod-menu > li > .mod-menu__sub > li.active > a {
    background: var(--plz-bg-soft);
    color: var(--plz-accent);
    text-decoration: none;
    padding-left: 16px;
  }

  .header-menu .mod-menu > li.deeper.parent > button.mod-menu__toggle-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    min-height: 88px;
    padding: 0;
    margin: 0 0 0 -8px;
    border: 0;
    background: transparent;
    color: var(--plz-accent-dark);
    line-height: 1;
  }

  .header-menu .mod-menu > li.deeper.parent > button.mod-menu__toggle-sub::after {
    content: none !important;
    display: none !important;
  }
}

/* ==================================================
   04. MOBILE HEADER / OFFCANVAS
   ================================================== */

.header-mobile-bar {
  min-height: 56px;
  gap: 12px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header-mobile-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--plz-radius-sm);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  flex: 0 0 44px;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  border-color: rgba(47, 94, 255, 0.32);
  box-shadow: 0 6px 16px rgba(47, 94, 255, 0.12);
}

.navbar-toggler:focus-visible {
  outline: 2px solid rgba(47, 94, 255, 0.22);
  outline-offset: 2px;
}

.navbar-toggler-icon {
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230f172a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#offcanvasMenu,
#offcanvasMenu.offcanvas-end {
  background: #ffffff;
}

@media (max-width: 991.98px) {
  header.header.container-header {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1035;
    width: 100%;
    min-height: 64px;
    padding: 0.35rem 0;
  }

  body.site {
    padding-top: 64px;
  }

  .header-mobile-bar .header-brand a {
    min-height: 0 !important;
  }

  .header-mobile-bar .header-brand img,
  .header-mobile-bar .header-brand svg {
    width: auto;
    max-height: 52px;
  }

  #offcanvasMenu.offcanvas.offcanvas-end {
    width: min(84vw, 360px);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: -16px 0 34px rgba(15, 23, 42, 0.12);
  }

  #offcanvasMenu .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  #offcanvasMenu .offcanvas-header .moduletable {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }

  #offcanvasMenu .offcanvas-header img,
  #offcanvasMenu .offcanvas-header svg {
    display: block;
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 46px;
  }

  #offcanvasMenu .btn-close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--plz-border);
    border-radius: var(--plz-radius-sm);
    background-color: #ffffff;
    background-size: 12px;
    box-shadow: none;
    opacity: 1;
  }

  #offcanvasMenu .btn-close:hover,
  #offcanvasMenu .btn-close:focus {
    background-color: var(--plz-bg-soft);
  }

  #offcanvasMenu .offcanvas-body {
    padding: 14px 18px 22px;
  }

  #offcanvasMenu .offcanvas-body > .moduletable {
    margin: 0;
  }

  #offcanvasMenu .mod-menu,
  #offcanvasMenu .mod-menu.nav {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #offcanvasMenu .mod-menu > li {
    margin: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  #offcanvasMenu .mod-menu > li:first-child {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  #offcanvasMenu .mod-menu > li > a,
  #offcanvasMenu .mod-menu > li > button,
  #offcanvasMenu .mod-menu > li > span {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 10px 6px;
    color: var(--plz-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
  }

  #offcanvasMenu .mod-menu > li > a:hover,
  #offcanvasMenu .mod-menu > li > a:focus,
  #offcanvasMenu .mod-menu > li.current > a,
  #offcanvasMenu .mod-menu > li.active > a {
    color: var(--plz-accent);
    padding-left: 10px;
    text-decoration: none;
  }

  #offcanvasMenu .offcanvas-body > .mt-3 {
    margin-top: 18px !important;
    padding-top: 8px;
  }

  #offcanvasMenu .offcanvas-body > .mt-4 {
    margin-top: 22px !important;
  }

  #offcanvasMenu .header-enter a,
  #offcanvasMenu .header-enter button,
  #offcanvasMenu .offcanvas-body > .mt-4 a,
  #offcanvasMenu .offcanvas-body > .mt-4 button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  #offcanvasMenu.offcanvas.offcanvas-end {
    width: 86vw;
  }

  #offcanvasMenu .offcanvas-header {
    padding: 12px 14px;
  }

  #offcanvasMenu .offcanvas-body {
    padding: 12px 14px 20px;
  }

  #offcanvasMenu .offcanvas-header img,
  #offcanvasMenu .offcanvas-header svg {
    max-width: 172px;
    max-height: 42px;
  }
}

/* ==================================================
   05. MOBILE SUBMENU
   ================================================== */

@media (max-width: 991.98px) {
  #offcanvasMenu .mod-menu > li.deeper.parent {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    column-gap: 6px;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > a {
    grid-column: 1;
    width: auto !important;
    min-width: 0;
    padding-right: 0;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > .submenu-toggle,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.submenu-toggle {
    display: none !important;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > .mm-toggler,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mm-toggler,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mod-menu__toggle-sub {
    position: static !important;
    display: inline-flex !important;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--plz-accent-dark);
    box-shadow: none !important;
    line-height: 1;
    transform: none !important;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > .mm-toggler > *,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mm-toggler > *,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mod-menu__toggle-sub > * {
    display: none !important;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > .mm-toggler::after,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mm-toggler::after,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mod-menu__toggle-sub::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: -3px 0 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) !important;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > .mm-toggler[aria-expanded="true"]::after,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mm-toggler[aria-expanded="true"]::after,
  #offcanvasMenu .mod-menu > li.deeper.parent > button.mod-menu__toggle-sub[aria-expanded="true"]::after {
    margin-top: 3px;
    transform: rotate(225deg) !important;
  }

  #offcanvasMenu .mod-menu > li.deeper.parent > .mod-menu__sub {
    grid-column: 1 / -1;
  }

  #offcanvasMenu .mod-menu > li > .mod-menu__sub {
    position: static !important;
    width: 100%;
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    list-style: none;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  #offcanvasMenu .mod-menu > li > .mod-menu__sub > li > a {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 6px 5px 16px;
    color: var(--plz-accent-dark);
    border-left: 2px solid rgba(47, 94, 255, 0.18);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
  }

  #offcanvasMenu .mod-menu > li > .mod-menu__sub > li > a:hover,
  #offcanvasMenu .mod-menu > li > .mod-menu__sub > li > a:focus,
  #offcanvasMenu .mod-menu > li > .mod-menu__sub > li.current > a,
  #offcanvasMenu .mod-menu > li > .mod-menu__sub > li.active > a {
    color: var(--plz-accent);
    border-left-color: var(--plz-accent);
    padding-left: 20px;
    text-decoration: none;
  }
}

/* ==================================================
   06. HERO
   ================================================== */

.hero-banner {
  position: relative;
  overflow: hidden;
  background: var(--plz-bg-soft);
}

.hero-banner__inner {
  position: relative;
  padding: 15px 0 15px;
}

.hero-banner__inner::before {
  content: none !important;
}

.hero-banner__inner > .container {
  max-width: 1380px;
}

/* Основная сетка hero внутри модуля Joomla */
.hero-banner__inner > .container > .mod-custom,
.hero-banner__inner > .container > .moduletable {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  align-items: center;
  gap: 28px;
}

/* Страховка, если в модуле временно осталась вложенная секция hero-banner */
.hero-banner__inner > .container > .mod-custom > .hero-banner,
.hero-banner__inner > .container > .moduletable > .hero-banner {
  grid-column: 1 / -1;
  background: transparent;
  overflow: visible;
}

.hero-banner__inner > .container > .mod-custom > .hero-banner > .hero-banner__inner,
.hero-banner__inner > .container > .moduletable > .hero-banner > .hero-banner__inner {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 28px;
}

.hero-banner__content,
.hero-banner__media {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.hero-banner__content {
  grid-column: 1;
  max-width: 560px;
}

.hero-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--plz-bg-muted);
  color: var(--plz-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.hero-banner__eyebrow svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--plz-accent);
}

.hero-banner__content h1,
.hero-banner__content h2,
.hero-banner__content h3 {
  margin: 0 0 24px;
  color: var(--plz-dark);
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 600;
  line-height: 1.06;
}

.hero-banner__content h1 span {
  display: block;
  color: var(--plz-accent);
}

.hero-banner__content p {
  max-width: 520px;
  margin: 0 0 32px;
  color: var(--plz-text);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.45;
}

.hero-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-banner__actions .mod-custom,
.hero-banner__actions .mod-custom p,
.hero-banner__actions .moduletable,
.hero-banner__actions .moduletable p {
  margin: 0;
  padding: 0;
}

.web-hero-request__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.web-hero-request__button svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.hero-banner__link,
.hero-banner__link:link,
.hero-banner__link:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--plz-accent);
  border-radius: var(--plz-radius-sm);
  background: #ffffff;
  color: var(--plz-accent);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .22s ease, color .22s ease, transform .22s ease;
}

.hero-banner__link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: currentColor;
}

.hero-banner__link:hover,
.hero-banner__link:focus,
.hero-banner__link:active {
  background: var(--plz-accent);
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.hero-banner__link:hover svg,
.hero-banner__link:focus svg,
.hero-banner__link:active svg {
  color: #ffffff;
}

.hero-banner__link:focus-visible {
  outline: 3px solid rgba(47, 94, 255, 0.22);
  outline-offset: 3px;
}

.hero-banner__media {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-banner__media img,
.hero-banner__media svg,
.hero-banner__media picture {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1199.98px) {
  .hero-banner__inner > .container > .mod-custom,
  .hero-banner__inner > .container > .moduletable,
  .hero-banner__inner > .container > .mod-custom > .hero-banner > .hero-banner__inner,
  .hero-banner__inner > .container > .moduletable > .hero-banner > .hero-banner__inner {
    gap: 32px;
  }
}

@media (max-width: 991.98px) {
  .hero-banner__inner {
    padding: 48px 0 40px;
  }

  .hero-banner__inner > .container > .mod-custom,
  .hero-banner__inner > .container > .moduletable,
  .hero-banner__inner > .container > .mod-custom > .hero-banner > .hero-banner__inner,
  .hero-banner__inner > .container > .moduletable > .hero-banner > .hero-banner__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-banner__content,
  .hero-banner__media {
    grid-column: 1;
  }

  .hero-banner__content {
    display: grid;
    gap: 0;
  }

  .hero-banner__eyebrow {
    order: 1;
    grid-column: 1;
    justify-self: flex-start;
    margin-bottom: 0;
  }

  .hero-banner__media {
    order: 2;
    grid-column: 1;
    justify-content: center;
  }

  .hero-banner__content h1,
  .hero-banner__content h2,
  .hero-banner__content h3 {
    order: 3;
    grid-column: 1;
    font-size: clamp(36px, 9vw, 52px);
  }

  .hero-banner__content p {
    order: 4;
    grid-column: 1;
    font-size: 18px;
  }

  .hero-banner__actions {
    order: 5;
    grid-column: 1;
  }

  .hero-banner__media img,
  .hero-banner__media svg,
  .hero-banner__media picture {
    max-width: 620px;
  }
}

@media (max-width: 575.98px) {
  .hero-banner__inner {
    padding: 40px 0 32px;
  }

  .hero-banner__content h1,
  .hero-banner__content h2,
  .hero-banner__content h3 {
    margin-bottom: 18px;
  }

  .hero-banner__content p {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-banner__eyebrow {
    font-size: 15px;
    padding: 9px 16px;
  }

  .hero-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-banner__actions > *,
  .hero-banner__actions .mod-custom,
  .hero-banner__actions .moduletable,
  .hero-banner__actions .web-form-box,
  .hero-banner__actions button,
  .hero-banner__link {
    width: 100%;
  }
}
/* ==================================================
   07. MAIN GRID / COMPONENT AREA
   ================================================== */

.site-grid {
  width: min(100% - 24px, 1380px);
  margin: 0 auto;
  padding: 42px 0 58px;
}

.grid-child {
  min-width: 0;
}

.container-component {
  color: var(--plz-text);
}

.container-component main {
  min-width: 0;
}

body:not(.has-sidebar-left):not(.has-sidebar-right) .container-component {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.container-top-a,
.container-top-b,
.container-sidebar-left,
.container-sidebar-right {
  margin-bottom: 24px;
}

.container-sidebar-left .card,
.container-sidebar-right .card,
.container-top-a .card,
.container-top-b .card,
.container-component .card {
  border-color: var(--plz-border);
  border-radius: var(--plz-radius-md);
  box-shadow: var(--plz-shadow-soft);
}

.search-block {
  padding: 24px 0 0;
  background: #ffffff;
}

@media (min-width: 992px) {
  body.has-sidebar-left .site-grid,
  body.has-sidebar-right .site-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
  }

  body.has-sidebar-left.has-sidebar-right .site-grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(280px, 340px);
  }

  body.has-sidebar-right .container-sidebar-right {
    grid-column: 2;
  }

  body.has-sidebar-right .container-component {
    grid-column: 1;
    grid-row: 1 / span 20;
  }

  body.has-sidebar-left:not(.has-sidebar-right) .site-grid {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  body.has-sidebar-left:not(.has-sidebar-right) .container-sidebar-left {
    grid-column: 1;
  }

  body.has-sidebar-left:not(.has-sidebar-right) .container-component {
    grid-column: 2;
    grid-row: 1 / span 20;
  }
}

@media (max-width: 767.98px) {
  .site-grid {
    width: min(100% - 20px, 1380px);
    padding: 30px 0 44px;
  }
}

/* ==================================================
   08. BREADCRUMBS
   ================================================== */

.mod-breadcrumbs.breadcrumb {
  width: 100%;
  margin: 0 0 30px;
  padding: 13px 18px !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--plz-border);
  border-radius: var(--plz-radius-sm);
  background: var(--plz-bg-soft);
  color: var(--plz-text);
  font-size: 15px;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.mod-breadcrumbs__divider {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  color: var(--plz-accent);
  font-size: 16px;
  line-height: 1;
}

.mod-breadcrumbs__item.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  padding-left: 0;
  color: var(--plz-text);
  font-weight: 500;
}

.mod-breadcrumbs__item.breadcrumb-item a {
  color: var(--plz-accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.mod-breadcrumbs__item.breadcrumb-item a:hover,
.mod-breadcrumbs__item.breadcrumb-item a:focus {
  color: var(--plz-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mod-breadcrumbs__item.breadcrumb-item + .mod-breadcrumbs__item.breadcrumb-item::before {
  content: "/";
  padding: 0 10px;
  color: #94a3b8;
  font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
}

@media (max-width: 767.98px) {
  .mod-breadcrumbs.breadcrumb {
    margin-bottom: 22px;
    padding: 11px 14px !important;
    font-size: 14px;
  }

  .mod-breadcrumbs__item.breadcrumb-item + .mod-breadcrumbs__item.breadcrumb-item::before {
    padding: 0 8px;
  }
}

/* ==================================================
   09. FOOTER
   ================================================== */

.footer {
  margin-top: 48px;
  padding: 0;
  background: var(--plz-bg-soft);
  color: var(--plz-text);
  border-top: 1px solid var(--plz-border);
}

.footer .container {
  padding-top: 0;
  padding-bottom: 0;
}

.footer-main {
  padding: 34px 0;
}

.footer-main .row.g-4 {
  --bs-gutter-x: 28px;
  --bs-gutter-y: 22px;
  align-items: flex-start;
}

.footer-main .row.g-4 > [class*="col-"] {
  display: flex;
  align-items: flex-start;
}

.footer-col {
  width: 100%;
}

.footer h2,
.footer h3,
.footer h4,
.footer .module-title {
  margin: 0 0 16px;
  color: var(--plz-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.footer p {
  margin: 0 0 14px;
  color: var(--plz-text);
  font-size: 15px;
  line-height: 1.7;
}

.footer a {
  color: var(--plz-accent-dark);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: var(--plz-accent);
  text-decoration: none;
}

.footer .mod-menu,
.footer .mod-menu.nav {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .mod-menu > li {
  display: block;
  margin: 0 0 10px;
  padding: 0;
}

.footer .mod-menu > li:last-child {
  margin-bottom: 0;
}

.footer .mod-menu > li > a {
  display: inline-block;
  color: var(--plz-accent-dark);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease;
}

.footer .mod-menu > li > a:hover,
.footer .mod-menu > li > a:focus {
  color: var(--plz-accent);
}

@media (max-width: 767.98px) {
  .footer {
    margin-top: 36px;
  }

  .footer-main {
    padding: 28px 0;
  }

  .footer-main .row.g-4 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 18px;
  }

  .footer-col {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .footer-main .row.g-4 > [class*="col-"]:last-child .footer-col {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* ==================================================
   10. BACK TO TOP
   ================================================== */

.back-to-top-link {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plz-accent);
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: var(--plz-shadow-soft);
  transition: background-color .2s ease, transform .2s ease;
}

.back-to-top-link:hover,
.back-to-top-link:focus {
  background: var(--plz-accent-hover);
  transform: translateY(-2px);
}

/* ==================================================
   11. CONTENT LIBRARY / SECTION / GRID / CARD / FAQ
   ================================================== */
/*
  База для контентных секций.
  Ширину контейнера не задаём: блок работает внутри текущей Joomla/Cassiopeia-области.
  Большой фон секции не задаём: фон только у карточек и FAQ.
*/

.web-section {
  --web-section-y: clamp(48px, 6vw, 72px);
  padding: var(--web-section-y) 0;
  color: var(--plz-text);
  scroll-margin-top: 110px;
}



.web-section__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4vw, 42px);
  min-width: 0;
}

.web-section__head {
  max-width: 760px;
}

.web-section__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  color: var(--plz-accent);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.web-section__title {
  margin: 0 0 14px;
  color: var(--plz-dark);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.08;
}

.web-section__lead {
  margin: 0;
  color: var(--plz-text);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
}





/* Grid */

.web-grid {
  --web-cols: 3;
  --web-cols-tablet: 2;
  --web-gap: 18px;
  display: grid;
  grid-template-columns: repeat(var(--web-cols), minmax(0, 1fr));
  gap: var(--web-gap);
  align-items: stretch;
  min-width: 0;
}

/* Card */

.web-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 260px;
  padding: clamp(22px, 3vw, 28px);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: var(--plz-bg);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  overflow-wrap: break-word;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.web-card:hover,
a.web-card:focus-visible {
  color: inherit;
  text-decoration: none;
  border-color: rgba(47, 94, 255, 0.38);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
  outline: none;
}



.web-card__title {
  margin: 0 0 12px;
  color: var(--plz-dark);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.2;
}

.web-card__text {
  margin: 0 0 24px;
  color: var(--plz-text);
  font-size: 16px;
  line-height: 1.55;
}



.web-card__link {
  margin-top: auto;
  color: var(--plz-accent);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.web-card__link:hover,
.web-card__link:focus {
  color: var(--plz-accent-hover);
  text-decoration: underline;
}

.web-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

/* FAQ */

















/* ==================================================
   12. WEB OFFER / REQUEST BLOCK
   ================================================== */

.web-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.85fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 28px;
  background: var(--plz-bg-soft);
  box-shadow: var(--plz-shadow-soft);
}

.web-offer__content {
  min-width: 0;
}

.web-offer__panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.web-offer__module,
.web-offer__phonebox {
  min-width: 0;
}

.web-offer__module .moduletable,
.web-offer__module .mod-custom,
.web-offer__module p {
  margin: 0;
  padding: 0;
}

.web-offer__module--primary,
.web-offer__module--primary .moduletable,
.web-offer__module--primary .mod-custom,
.web-offer__module--primary .web-form-box--offer {
  display: block;
  width: 100%;
}

.web-offer__phonebox {
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  background: var(--plz-bg);
}

.web-offer__phone-caption {
  margin: 0 0 12px;
  color: var(--plz-muted);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.web-offer__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 14px;
  color: var(--plz-dark) !important;
  border: 1px solid var(--plz-border);
  border-radius: 16px;
  background: var(--plz-bg);
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none !important;
}

.web-offer__phone:hover,
.web-offer__phone:focus {
  color: var(--plz-accent) !important;
  border-color: rgba(47, 94, 255, 0.32);
  text-decoration: none !important;
}

.web-offer__phone span:last-child {
  white-space: nowrap;
}

.web-offer__phone-icon {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--plz-accent-dark);
  border-radius: 999px;
  background: var(--plz-bg-soft);
}

.web-offer__phone-icon svg {
  width: 18px;
  height: 18px;
}

.web-offer__hours {
  margin-top: 12px;
  color: var(--plz-muted);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.web-offer__note {
  color: var(--plz-muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .web-offer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .web-offer {
    padding: 24px;
    border-radius: 22px;
  }

  .web-offer__phone {
    font-size: clamp(17px, 5.1vw, 21px);
  }
}

/* ==================================================
   13. HOME SOLUTIONS CAROUSEL
   ================================================== */

.web-solutions {
  padding-top: 0;
}

.web-solutions__slider {
  position: relative;
}

.web-solutions__carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 4px 18px;
}

.web-solutions__carousel::-webkit-scrollbar {
  display: none;
}

.web-solutions__card {
  scroll-snap-align: start;
}

.web-solutions__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: var(--plz-bg);
  color: var(--plz-accent);
  box-shadow: var(--plz-shadow-soft);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.web-solutions__nav:hover,
.web-solutions__nav:focus-visible {
  background: var(--plz-accent);
  border-color: var(--plz-accent);
  color: #ffffff;
  outline: none;
}

.web-solutions__nav svg {
  width: 22px;
  height: 22px;
}

.web-solutions__nav--prev {
  left: -22px;
}

.web-solutions__nav--next {
  right: -22px;
}

.web-solutions__actions {
  justify-content: center;
}

.web-solutions__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--plz-accent);
  border-radius: var(--plz-radius-sm);
  background: var(--plz-accent);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.web-solutions__button:hover,
.web-solutions__button:focus {
  background: var(--plz-accent-hover);
  border-color: var(--plz-accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .web-grid {
    grid-template-columns: repeat(var(--web-cols-tablet), minmax(0, 1fr));
  }

  .web-solutions__nav {
    display: none;
  }

  .web-solutions__carousel {
    grid-auto-columns: minmax(260px, 78vw);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  }
}

@media (max-width: 575.98px) {
  .web-section {
    --web-section-y: 40px;
  }

  .web-grid {
    grid-template-columns: 1fr;
  }

  .web-card {
    min-height: auto;
    padding: 22px;
    border-radius: 20px;
  }

  .web-card__actions{
    align-items: stretch;
    flex-direction: column;
  }

  .web-card__actions > *{
    width: 100%;
  }
}
/* ==================================================
   14. WEBSITE19 PATTERN LAYOUTS NORMALIZED V1
   ================================================== */





























































@media (max-width: 991.98px) {



}

@media (max-width: 575.98px) {



}

/* ==================================================
   15. WEBSITE19 PATTERN DENSITY TUNING V1
   ================================================== */
/*
  Назначение: уплотнить длинные pattern-страницы без изменения HTML/layouts.
  Правка безопасная: только переопределение отступов, размеров карточек и промежутков.
*/

.web-section {
  --web-section-y: clamp(34px, 4.2vw, 52px);
}



.web-section__inner {
  gap: clamp(18px, 2.8vw, 30px);
}

.web-section__head {
  max-width: 820px;
}

.web-section__eyebrow {
  margin-bottom: 7px;
  font-size: 13px;
}

.web-section__title {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.web-section__lead {
  max-width: 760px;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.5;
}



.web-grid {
  --web-gap: 16px;
}

.web-card {
  min-height: 220px;
  padding: clamp(20px, 2.3vw, 24px);
  border-radius: 22px;
}



.web-card__title {
  margin-bottom: 8px;
  font-size: clamp(19px, 1.75vw, 22px);
}

.web-card__text {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.5;
}



















.web-offer {
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(24px, 3.8vw, 42px);
  border-radius: 26px;
}

.web-offer__panel {
  gap: 14px;
}

.web-offer__phonebox {
  padding: 18px;
}

.web-offer__phone {
  min-height: 54px;
}







/* Длинные тестовые страницы: дополнительно убираем лишний разгон после body материала. */
.com-content-article + .web-section {
  padding-top: clamp(28px, 3.5vw, 42px);
}

/* Мобильная плотность отдельно: не зажимаем слишком сильно, но убираем лишние провалы. */
@media (max-width: 991.98px) {
  .web-section {
    --web-section-y: clamp(30px, 5vw, 44px);
  }

  .web-section__inner {
    gap: 22px;
  }

  .web-card {
    min-height: auto;
  }
}

@media (max-width: 575.98px) {
  .web-section {
    --web-section-y: 32px;
  }

  .web-section__title {
    font-size: clamp(25px, 7vw, 32px);
  }

  .web-section__lead {
    font-size: 16px;
  }

  .web-card {
    padding: 20px;
    border-radius: 20px;
  }

  .web-offer{
    padding: 20px;
    border-radius: 22px;
  }
}
/* W19 Articles Cards: scoped only to this Joomla mod_articles instance */
.w19-articles-cards {
  --w19-card-radius: 24px;
  --w19-card-border: rgba(15, 23, 42, 0.1);
  --w19-card-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
  --w19-card-shadow-hover: 0 24px 64px rgba(15, 23, 42, 0.1);
  --w19-card-image-height: 240px;
  --w19-card-gap: 18px;
  --w19-card-padding: 24px;
  --w19-card-text: var(--plz-text, #475569);
  --w19-card-title: var(--plz-dark, #0f172a);
  --w19-card-accent: var(--plz-accent, #315bff);
  --w19-card-accent-hover: var(--plz-accent-hover, #2448d8);
}

.w19-articles-cards,
.w19-articles-cards * {
  box-sizing: border-box;
}

/* Grid: 2 cards on desktop */
.w19-articles-cards > .mod-articles-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--w19-card-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Remove list spacing/markers and make each li stretch */
.w19-articles-cards > .mod-articles-items > li {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Card */
.w19-articles-cards .mod-articles-item {
  display: flex;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  color: inherit;
  border: 1px solid var(--w19-card-border);
  border-radius: var(--w19-card-radius);
  background: #ffffff;
  box-shadow: var(--w19-card-shadow);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.w19-articles-cards .mod-articles-item:hover,
.w19-articles-cards .mod-articles-item:focus-within {
  border-color: rgba(49, 91, 255, 0.38);
  box-shadow: var(--w19-card-shadow-hover);
  transform: translateY(-4px);
}

/*
  Inner flex layout.
  Introtext is a raw text node in Joomla output,
  so padding belongs to the content wrapper.
*/
.w19-articles-cards .mod-articles-item-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: var(--w19-card-padding);
  color: var(--w19-card-text);
  font-size: 16px;
  line-height: 1.55;
}

/* Image visually goes first, even though title is earlier in HTML */
.w19-articles-cards .mod-articles-image {
  order: -2;
  display: block;
  width: calc(100% + (var(--w19-card-padding) * 2));
  height: var(--w19-card-image-height);
  margin:
    calc(var(--w19-card-padding) * -1)
    calc(var(--w19-card-padding) * -1)
    22px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.04);
}

.w19-articles-cards .mod-articles-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title below image */
.w19-articles-cards .mod-articles-title {
  order: -1;
  margin: 0 0 12px;
  color: var(--w19-card-title);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.w19-articles-cards .mod-articles-link,
.w19-articles-cards .mod-articles-link:link,
.w19-articles-cards .mod-articles-link:visited {
  color: inherit;
  text-decoration: none;
}

.w19-articles-cards .mod-articles-link:hover,
.w19-articles-cards .mod-articles-link:focus-visible {
  color: var(--w19-card-accent);
  text-decoration: none;
  outline: none;
}

/* Read more link: text + animated arrow */
.w19-articles-cards .readmore {
  order: 1;
  margin: auto 0 0;
  padding-top: 22px;
}

.w19-articles-cards .readmore .btn,
.w19-articles-cards .readmore .btn:link,
.w19-articles-cards .readmore .btn:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 58px 0 0;
  color: var(--w19-card-title);
  text-align: left;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  transition: color 0.2s ease;
}

/* Hide Joomla default chevron icon */
.w19-articles-cards .readmore .icon-chevron-right {
  display: none !important;
}

/* Arrow pill background: does not rotate */
.w19-articles-cards .readmore .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 42px;
  height: 32px;
  border: 1px solid rgba(15, 23, 42, 0.28);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: none;
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Arrow glyph: rotates separately inside the pill */
.w19-articles-cards .readmore .btn::before {
  content: "↗";
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  color: var(--w19-card-title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  will-change: transform;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.w19-articles-cards .readmore .btn:hover,
.w19-articles-cards .readmore .btn:focus-visible,
.w19-articles-cards .readmore .btn:active {
  color: var(--w19-card-accent);
  text-decoration: none;
  outline: none;
}

.w19-articles-cards .readmore .btn:hover::after,
.w19-articles-cards .readmore .btn:focus-visible::after,
.w19-articles-cards .readmore .btn:active::after {
  border-color: var(--w19-card-accent);
  background: var(--w19-card-accent);
  box-shadow: 0 12px 28px rgba(49, 91, 255, 0.24);
  transform: translate(4px, -50%);
}

.w19-articles-cards .readmore .btn:hover::before,
.w19-articles-cards .readmore .btn:focus-visible::before,
.w19-articles-cards .readmore .btn:active::before {
  color: #ffffff;
  transform: translate(4px, -50%) rotate(45deg);
}

/* Slightly smaller image on tablet */
@media (max-width: 900px) {
  .w19-articles-cards {
    --w19-card-image-height: 220px;
  }
}

/* Mobile: 1 card per row */
@media (max-width: 640px) {
  .w19-articles-cards {
    --w19-card-radius: 20px;
    --w19-card-image-height: 210px;
    --w19-card-gap: 14px;
    --w19-card-padding: 22px;
  }

  .w19-articles-cards > .mod-articles-items {
    grid-template-columns: 1fr;
  }

  .w19-articles-cards .mod-articles-title {
    font-size: 21px;
  }
}

/* W19 Directions module: old .web-card structure with icon and decorative bottom-right media. */
.web-section--directions-module {
  scroll-margin-top: 110px;
}

.web-section--directions-module .web-card--media {
  position: relative;
  min-height: clamp(220px, 20vw, 250px);
  overflow: hidden;
  isolation: isolate;
}

.web-section--directions-module .web-card--media .web-card__icon, .web-section--directions-module .web-card--media .web-card__title, .web-section--directions-module .web-card--media .web-card__text, .web-section--directions-module .web-card--media .web-card__link{
  position: relative;
  z-index: 2;
}

.web-section--directions-module .web-card--media .web-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 22px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #eff6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.web-section--directions-module .web-card--media .web-card__icon img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.web-section--directions-module .web-card--media .web-card__title {
  max-width: none;
  padding-right: 0;
}

.web-section--directions-module .web-card--media .web-card__text {
  max-width: 78%;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.web-section--directions-module .web-card--media .web-card__link {
  z-index: 3;
  width: fit-content;
  max-width: calc(100% - 145px);
}

.web-section--directions-module .web-card__image {
  position: absolute;
  right: clamp(8px, 1.2vw, 12px);
  bottom: clamp(4px, 0.8vw, 8px);
  z-index: 1;
  display: block;
  width: clamp(142px, 40%, 172px);
  max-width: 48%;
  pointer-events: none;
  opacity: 1;
  transform: translateZ(0);
}

.web-section--directions-module .web-card__image img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(37, 99, 235, 0.08));
}

.web-section--directions-module .web-card--media:hover .web-card__image,
.web-section--directions-module .web-card--media:focus-visible .web-card__image {
  opacity: 1;
}

@media (max-width: 980px) {
  .web-section--directions-module .web-card--media {
    min-height: clamp(230px, 28vw, 270px);
  }

  .web-section--directions-module .web-card--media .web-card__text {
    max-width: 76%;
  }

  .web-section--directions-module .web-card--media .web-card__link {
    max-width: calc(100% - 128px);
  }

  .web-section--directions-module .web-card__image {
    width: clamp(134px, 37%, 164px);
    max-width: 45%;
  }
}

@media (max-width: 640px) {
  .web-section--directions-module .web-card--media {
    min-height: 230px;
  }

  .web-section--directions-module .web-card--media .web-card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
  }

  .web-section--directions-module .web-card--media .web-card__icon img {
    width: 23px;
    height: 23px;
  }

  .web-section--directions-module .web-card--media .web-card__text {
    max-width: 80%;
    -webkit-line-clamp: 5;
  }

  .web-section--directions-module .web-card--media .web-card__link {
    max-width: calc(100% - 104px);
  }

  .web-section--directions-module .web-card__image {
    right: 8px;
    bottom: 8px;
    width: min(38%, 136px);
    max-width: 40%;
    opacity: 0.88;
  }
}


/* W19 homepage solutions module carousel: scoped to module 138 layout */
.w19-solutions-home {
  --w19-solutions-gap: 18px;
  --w19-solutions-radius: 24px;
  --w19-solutions-border: rgba(15, 23, 42, 0.1);
  padding: clamp(26px, 3vw, 26px) 0;
}
.w19-solutions-home, .w19-solutions-home * { box-sizing: border-box; }
.w19-solutions-home__inner { display: flex; flex-direction: column; gap: 28px; width: min(100%, 1320px); margin: 0 auto; padding: 0 calc(var(--bs-gutter-x, 1.5rem) * .5); }
.w19-solutions-home__head { max-width: 760px; }
.w19-solutions-home__eyebrow { display: inline-flex; margin: 0 0 10px; color: var(--plz-accent, #2f5eff); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.w19-solutions-home__title { margin: 0 0 14px; color: var(--plz-dark, #0f172a); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; }
.w19-solutions-home__lead { margin: 0; color: var(--plz-muted, #64748b); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; }
.w19-solutions-home__slider { position: relative; }
.w19-solutions-home__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 2px 4px 18px; }
.w19-solutions-home__viewport::-webkit-scrollbar { display: none; }
.w19-solutions-home__track { display: flex; gap: var(--w19-solutions-gap); align-items: stretch; }
.w19-solutions-home__arrow { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(15, 23, 42, .1); border-radius: 999px; background: #fff; color: var(--plz-accent, #2f5eff); box-shadow: var(--w19-solutions-shadow); cursor: pointer; font-size: 32px; line-height: 1; transform: translateY(-50%); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.w19-solutions-home__arrow:hover, .w19-solutions-home__arrow:focus-visible { background: var(--plz-accent, #2f5eff); border-color: var(--plz-accent, #2f5eff); color: #fff; outline: none; }
.w19-solutions-home__arrow--prev { left: -22px; }
.w19-solutions-home__arrow--next { right: -22px; }
.w19-solutions-home__actions { display: flex; justify-content: center; }
.w19-solutions-home__all { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--plz-accent, #2f5eff); border-radius: var(--plz-radius-sm, 12px); background: var(--plz-accent, #2f5eff); color: #fff !important; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none !important; transition: background-color .22s ease, border-color .22s ease, transform .22s ease; }
.w19-solutions-home__all:hover, .w19-solutions-home__all:focus { background: var(--plz-accent-hover, #244fe0); border-color: var(--plz-accent-hover, #244fe0); color: #fff !important; transform: translateY(-1px); }
.w19-solution-card { flex: 0 0 calc((100% - 72px) / 4.5); min-width: 0; scroll-snap-align: start; }
.w19-solution-card__link { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; color: inherit !important; border: 1px solid var(--w19-solutions-border); border-radius: var(--w19-solutions-radius); background: #fff; box-shadow: var(--w19-solutions-shadow); text-decoration: none !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.w19-solution-card__link:hover, .w19-solution-card__link:focus-visible { border-color: rgba(49, 91, 255, .38); box-shadow: var(--w19-solutions-shadow-hover); transform: translateY(-4px); outline: none; }
.w19-solution-card__number { padding: 22px 22px 0; color: var(--plz-accent, #2f5eff); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.w19-solution-card__media { display: block; height: 170px; margin: 16px 22px 0; overflow: hidden; border-radius: 18px; }
.w19-solution-card__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.w19-solution-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 20px 22px 22px; }
.w19-solution-card__title { margin: 0 0 12px; color: var(--plz-dark, #0f172a); font-size: 20px; font-weight: 700; line-height: 1.2; }
.w19-solution-card__text { margin: 0 0 20px; color: var(--plz-text, #334155); font-size: 15px; line-height: 1.55; }
.w19-solution-card__more { margin-top: auto; color: var(--plz-accent, #2f5eff); font-size: 15px; font-weight: 700; }
@media (max-width: 1024px) { .w19-solution-card { flex-basis: calc((100% - 24px) / 2.4); } .w19-solutions-home__arrow { display: none; } }
@media (max-width: 767px) { .w19-solutions-home { padding: 40px 0; } .w19-solutions-home__inner { gap: 22px; } .w19-solutions-home__viewport { margin-right: calc(var(--bs-gutter-x, 1.5rem) * -.5); padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); } .w19-solution-card { flex-basis: 86%; } .w19-solution-card__media { height: 155px; } }


/* W19 solutions carousel card polish v2 */
.w19-solutions-home__track {
  align-items: stretch;
}

.w19-solution-card {
  flex: 0 0 calc((100% - 72px) / 4.5);
  min-width: 0;
}

.w19-solution-card__link {
  position: relative;
  height: 100%;
  min-height: 330px;
  padding: 14px;
  gap: 0;
  border-color: rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #ffffff;
}

.w19-solution-card__number {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--plz-accent, #2f5eff);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  backdrop-filter: blur(8px);
}

.w19-solution-card__media {
  position: relative;
  display: block;
  width: 100%;
  height: 128px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 18px;
}


.w19-solution-card__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.w19-solution-card__link:hover .w19-solution-card__image,
.w19-solution-card__link:focus-visible .w19-solution-card__image {
  transform: scale(1.04);
}

.w19-solution-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0 8px;
}

.w19-solution-card__title {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--plz-dark, #0f172a);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.24;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.w19-solution-card__text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--plz-text, #334155);
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.w19-solution-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 18px 8px 4px;
}

.w19-solution-card__more {
  color: var(--plz-accent, #2f5eff);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
}

.w19-solution-card__arrow {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--plz-accent, #2f5eff);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(47, 94, 255, .22);
  transition: background-color .2s ease, transform .2s ease;
}

.w19-solution-card__link:hover .w19-solution-card__arrow,
.w19-solution-card__link:focus-visible .w19-solution-card__arrow {
  background: var(--plz-accent-hover, #244fe0);
  transform: translate(2px, -2px);
}

@media (max-width: 1024px) {
  .w19-solution-card {
    flex-basis: calc((100% - 24px) / 2.4);
  }
}

@media (max-width: 767px) {
  .w19-solution-card {
    flex-basis: 86%;
  }

  .w19-solution-card__link {
    min-height: 320px;
  }

  .w19-solution-card__media {
    height: 120px;
  }
}


/* W19 solutions carousel card cleanup v3: full-cover media, no arrow, clean hover */
.w19-solutions-home__slider,
.w19-solutions-home__viewport,
.w19-solutions-home__track {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.w19-solutions-home__viewport {
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
  overflow-y: visible;
}

.w19-solution-card__link {
  padding: 0;
  overflow: hidden;
  transform: none !important;
}

.w19-solution-card__link:hover,
.w19-solution-card__link:focus-visible,
.w19-solution-card__link:active {
  transform: none !important;
}

.w19-solution-card__media {
  width: 100%;
  height: 132px;
  margin: 0 0 18px;
  border-radius: 24px 24px 18px 18px;
}

.w19-solution-card__number {
  top: 14px;
  left: 14px;
}

.w19-solution-card__body {
  padding: 0 22px;
}

.w19-solution-card__footer {
  justify-content: flex-start;
  padding: 18px 22px 22px;
}

.w19-solution-card__more {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.w19-solution-card__arrow {
  display: none !important;
}

.w19-solution-card__link:hover .w19-solution-card__image,
.w19-solution-card__link:focus-visible .w19-solution-card__image,
.w19-solution-card__link:active .w19-solution-card__image {
  transform: none;
}

@media (max-width: 767px) {
  .w19-solution-card__media {
    height: 124px;
  }
}


/* W19 solutions carousel: number badges removed */
.w19-solution-card__number {
  display: none !important;
}


/* W19 solutions carousel: media top-only radius */
.w19-solution-card__media,
.w19-solution-card__image {
  border-radius: 24px 24px 0 0;
}


/* W19 Directions: mobile-only horizontal carousel */
@media (max-width: 767px) {
  .web-section--directions-module .web-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding: 2px calc(var(--bs-gutter-x, 1.5rem) * 0.5) 16px 0;
  }

  .web-section--directions-module .web-grid::-webkit-scrollbar {
    display: none;
  }

  .web-section--directions-module .web-grid > .web-card {
    flex: 0 0 86%;
    width: 86%;
    max-width: 420px;
    scroll-snap-align: start;
  }
}

/* Fix Lighthouse NO_LCP for custom mod_articles carousels: disable scroll-snap only. */
.web-section--directions-module .web-grid,
.w19-solutions-home__viewport {
  scroll-snap-type: none !important;
}

.web-section--directions-module .web-grid > .web-card,
.w19-solution-card {
  scroll-snap-align: none !important;
}
/* ==================================================
   Страница «Создание сайтов» — коммерческий layout V4
   Все правила ограничены корневым классом страницы.
   ================================================== */

























/* Короткое позиционирование */















/* Форматы и стоимость */







































/* Кейсы */









































/* Состав проекта */











/* Процесс */

















/* Контрастный результат */





















/* Факторы оценки */











/* FAQ и финальный CTA */































@media (max-width: 991.98px) {



























}

@media (max-width: 767.98px) {































}

@media (max-width: 575.98px) {



























}

@media (prefers-reduced-motion: reduce) {

}