
/* ==================================================
   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-05. HEADER
   Header, sticky search, mobile offcanvas and header actions now live in site-header.css.
   ================================================== */

/* ==================================================
   06. HERO — Abakan Online prototype desktop v1
   Desktop only. Mobile home uses its own frozen layout.
   ================================================== */

.hero-banner {
  display: none;
}

@media (min-width: 992px) {
  .hero-banner {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #e4eaf4;
    background: #f8fbff;
  }

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

  /*
    Joomla keeps the module inside .container.
    For Hero the container is only the outer site frame:
    no inner gutters, no extra top/bottom spacing.
  */
  .hero-banner__inner > .container {
    width: auto;
    max-width: none;
    margin-left: max(0px, calc((100vw - 1380px) / 2));
    margin-right: 0;
    padding-inline: 0;
  }

  .hero-banner__inner > .container > .mod-custom,
  .hero-banner__inner > .container > .moduletable {
    display: grid;
    grid-template-columns: minmax(390px, .88fr) minmax(0, 1.25fr);
    min-height: 470px;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
  }

  .hero-banner__content,
  .hero-banner__media {
    min-width: 0;
  }

  .hero-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    grid-column: 1;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    padding: 56px 18px 54px 58px;
    background: rgba(248, 251, 255, .96);
  }

  .hero-banner__eyebrow {
    display: block;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--plz-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .24em;
    text-transform: uppercase;
  }

  .hero-banner__content h1,
  .hero-banner__content h2,
  .hero-banner__content h3 {
    max-width: 430px;
    margin: 0;
    color: var(--plz-dark);
    font-size: 49px;
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -.045em;
  }

  .hero-banner__note,
  .hero-banner__content > p.hero-banner__note {
    max-width: 440px;
    margin: 22px 0 28px;
    color: #58657d;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
  }

  .hero-banner__search {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 54px;
    width: calc(100% + 140px);
    max-width: none;
    min-height: 72px;
    align-items: center;
    margin: 0;
    padding: 0 7px 0 20px;
    border: 1.5px solid rgba(39, 87, 215, .55);
    border-radius: 21px;
    background: #fff;
    color: var(--plz-accent);
    box-shadow: 0 13px 32px rgba(39, 87, 215, .14);
    transition: border-color .18s ease, box-shadow .18s ease;
  }

  .hero-banner__search:focus-within {
    border-color: var(--plz-accent);
    box-shadow: 0 9px 26px rgba(39, 87, 215, .18);
  }

  .hero-banner__search-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--plz-accent);
  }

  .hero-banner__search-icon svg {
    display: block;
    width: 25px;
    height: 25px;
  }

  .hero-banner__search-input {
    min-width: 0;
    width: 100%;
    height: 68px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--plz-dark);
    font: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    appearance: none;
  }

  .hero-banner__search-input::placeholder {
    color: #7a8397;
    opacity: 1;
  }

  .hero-banner__search-input::-webkit-search-cancel-button {
    display: none;
  }

  .hero-banner__search-submit {
    display: grid;
    width: 54px;
    height: 54px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 16px;
    background: #eef3ff;
    color: var(--plz-accent);
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
  }

  .hero-banner__search-submit svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  .hero-banner__search-submit:hover,
  .hero-banner__search-submit:focus-visible {
    background: var(--plz-accent);
    color: #fff;
    outline: 0;
    transform: translateX(1px);
  }

  /*
    Right side = the static MVP map.
    It is not a card: no gaps, no frame, no radius.
    The image fills the complete second grid column.
  */
  .hero-banner__media {
    position: relative;
    z-index: 1;
    grid-column: 2;
    min-width: 0;
    min-height: 470px;
    overflow: hidden;
    background: #f3f8fd;
  }

  body.site .hero-banner__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-banner__inner > .container > .mod-custom,
  .hero-banner__inner > .container > .moduletable {
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.2fr);
    min-height: 440px;
  }

  .hero-banner__content {
    padding: 48px 18px 48px 36px;
  }

  .hero-banner__content h1,
  .hero-banner__content h2,
  .hero-banner__content h3 {
    font-size: 44px;
  }

  .hero-banner__search {
    width: calc(100% + 90px);
    max-width: none;
  }

  .hero-banner__media {
    min-height: 440px;
  }
}

@media (max-width: 991.98px) {
  .hero-banner {
    display: none !important;
  }
}

/* ==================================================
   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
   Breadcrumb styles now live in site-header.css to keep global chrome in one file.
   ================================================== */

/* ==================================================
   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%;
  }
}

/* ==================================================
   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;
}
/* =========================================================
   Abakan Online — карточка организации в блоге категории
   Версия 4: увеличенное превью без обрезки + современные SVG.
   ========================================================= */

.ao-company-card {
    --ao-card-accent: #087f6d;
    --ao-card-accent-soft: #edf8f5;
    --ao-card-text: #111827;
    --ao-card-muted: #667085;
    --ao-card-muted-2: #8b95a5;
    --ao-card-border: #e2e7ec;

    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) 270px;
    gap: 18px;
    align-items: start;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 16px;
    padding: 14px;
    border: 1px solid var(--ao-card-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, .025);
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.ao-company-card:hover {
    border-color: #d7e0e6;
    box-shadow: 0 8px 26px rgba(17, 24, 39, .055);
    transform: translateY(-1px);
}

.ao-company-card--no-aside {
    grid-template-columns: 270px minmax(0, 1fr);
}

.ao-company-card__media {
    min-width: 0;
}

.ao-company-card__image-link {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

body.site .ao-company-card__image {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    object-position: center;
    transform: none;
}

.ao-company-card:hover .ao-company-card__image {
    transform: none;
}

.ao-company-card__no-image {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--ao-card-muted);
    font-size: 14px;
}

.ao-company-card__main {
    min-width: 0;
    padding: 2px 0;
}

.ao-company-card__heading {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
}

.ao-company-card__title {
    margin: 0;
    font-size: clamp(19px, 1.35vw, 23px);
    line-height: 1.2;
    font-weight: 760;
    letter-spacing: -.015em;
}

.com-content-category-blog .ao-company-card__title > a {
    color: var(--ao-card-text) !important;
    text-decoration: none !important;
}

.com-content-category-blog .ao-company-card__title > a:hover,
.com-content-category-blog .ao-company-card__title > a:focus {
    color: var(--ao-card-accent) !important;
}

.ao-company-card__category {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.35;
}

.ao-company-card__category a {
    color: var(--ao-card-muted) !important;
    text-decoration: none !important;
}

.ao-company-card__category a:hover,
.ao-company-card__category a:focus {
    color: var(--ao-card-accent) !important;
}

.ao-company-card__category-separator {
    color: #b2bac5;
}

.ao-company-card__meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 11px;
    color: #586273;
    font-size: 13px;
    line-height: 1.4;
}

.ao-company-card__icon {
    display: inline-grid;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 9px;
    background: var(--ao-card-accent-soft);
    color: var(--ao-card-accent);
}

.ao-company-card__icon svg {
    display: block;
    width: 16px;
    height: 16px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ao-company-card__icon .ao-icon__soft {
    fill: currentColor;
    stroke: none;
    opacity: .10;
}

.ao-company-card__tags {
    margin-top: 13px;
}

.ao-company-card__tags .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ao-company-card__tags .tags > li,
.ao-company-card__tags .list-inline-item {
    margin: 0;
}

.ao-company-card__tags a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    border: 1px solid #dceee9;
    border-radius: 999px;
    background: #f7fbfa;
    color: #397367 !important;
    font-size: 12px;
    line-height: 1;
    text-decoration: none !important;
}

.ao-company-card__tags a::before {
    content: "#";
    margin-right: 2px;
    color: var(--ao-card-accent);
    font-weight: 700;
}

.ao-company-card__aside {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    min-width: 0;
    min-height: 180px;
    padding: 1px 0 1px 16px;
    border-left: 1px solid var(--ao-card-border);
}

.ao-company-card__contact {
    display: flex;
    gap: 9px;
    align-items: center;
    min-width: 0;
    color: var(--ao-card-text);
    text-decoration: none !important;
}

.ao-company-card__phone {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 750;
}

.ao-company-card__phone .ao-company-card__contact-text {
    white-space: nowrap;
}

.ao-company-card__contact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.ao-company-card__contact-label {
    color: var(--ao-card-muted-2);
    font-size: 11px;
    line-height: 1.25;
}

.ao-company-card__hours-value {
    color: var(--ao-card-text);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 650;
}

.ao-company-card__website {
    margin-top: 1px;
    color: var(--ao-card-muted) !important;
    font-size: 12px;
}

.ao-company-card__website .ao-company-card__contact-text {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ao-company-card__contact:hover,
.ao-company-card__contact:focus {
    color: var(--ao-card-accent) !important;
}

.ao-company-card__contact:hover .ao-company-card__icon,
.ao-company-card__contact:focus .ao-company-card__icon {
    background: #e4f5f0;
}

.ao-company-card--unpublished {
    opacity: .72;
}

@media (max-width: 1050px) {
    .ao-company-card {
        grid-template-columns: 225px minmax(0, 1fr) 245px;
    }

    .ao-company-card--no-aside {
        grid-template-columns: 225px minmax(0, 1fr);
    }

}

@media (max-width: 840px) {
    .ao-company-card,
    .ao-company-card--no-aside {
        grid-template-columns: 190px minmax(0, 1fr);
    }


    .ao-company-card__aside {
        grid-column: 2;
        min-height: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 9px 14px;
        padding: 11px 0 0;
        border-top: 1px solid var(--ao-card-border);
        border-left: 0;
    }

    .ao-company-card__phone .ao-company-card__contact-text {
        white-space: normal;
    }
}

@media (max-width: 620px) {
    .ao-company-card,
    .ao-company-card--no-aside {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
        border-radius: 14px;
    }

    .ao-company-card:hover {
        transform: none;
    }


    .ao-company-card__aside {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .ao-company-card__phone .ao-company-card__contact-text {
        white-space: nowrap;
    }
}


/* =========================================================
   Подкатегории под H1 — компактная сетка в стиле справочника
   Использует штатную разметку blog_children.php.
   ========================================================= */

.com-content-category-blog > .com-content-category-blog__children.cat-children {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 6px;
    margin: 12px 0 22px;
    padding: 0;
}

.com-content-category-blog > .com-content-category-blog__children.cat-children
.com-content-category-blog__child {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.com-content-category-blog > .com-content-category-blog__children.cat-children
.com-content-category-blog__child > .page-header.item-title {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
}

.com-content-category-blog > .com-content-category-blog__children.cat-children
.com-content-category-blog__child > .page-header.item-title > a {
    min-width: 0;
    color: #68758a !important;
    text-decoration: none !important;
    transition: color .16s ease;
}

.com-content-category-blog > .com-content-category-blog__children.cat-children
.com-content-category-blog__child > .page-header.item-title > a:hover,
.com-content-category-blog > .com-content-category-blog__children.cat-children
.com-content-category-blog__child > .page-header.item-title > a:focus {
    color: var(--ao-card-accent, #087f6d) !important;
}

.com-content-category-blog > .com-content-category-blog__children.cat-children
.com-content-category-blog__child .badge.bg-info {
    display: inline;
    align-self: flex-start;
    margin: -3px 0 0;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: #8390a4 !important;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    vertical-align: super;
}

@media (max-width: 900px) {
    .com-content-category-blog > .com-content-category-blog__children.cat-children {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }
}

@media (max-width: 560px) {
    .com-content-category-blog > .com-content-category-blog__children.cat-children {
        grid-template-columns: 1fr;
        row-gap: 7px;
        margin-bottom: 18px;
    }
}
