/* =========================================================
   ЭТАЛОН — общие стили для index.html и spb.html
   ========================================================= */

/* ---------- Сброс / базовые ---------- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', system-ui, sans-serif;
    color: #0f172a;
    background: #f1f4f8;
    -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: #0e58b8; text-decoration: none; }
a:hover { color: #0a3f85; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- Контейнер ---------- */
.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

/* ---------- Кнопки ---------- */
.btn, .btn:hover, .btn:focus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    padding: 15px 24px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: filter .2s ease, opacity .2s ease !important;
}
.btn:hover { filter: brightness(1.05) !important; }
.btn-primary, .btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(45deg, #0a4697 0%, #0c50ac 55%, #1565c7 100%) !important;
    color: #ffffff !important;
}
.btn-primary:hover { color: #ffffff !important; }
.btn-light {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cdd4dc !important;
}
.btn-red, .btn-red:hover, .btn-red:focus {
    background: #e53935 !important;
    color: #ffffff !important;
}
.btn-red:hover { color: #ffffff !important; }
.btn-outline-white, .btn-outline-white:hover, .btn-outline-white:focus {
    background: transparent !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
}
.btn-outline-white:hover { color: #ffffff !important; }
.btn-blue-solid, .btn-blue-solid:hover, .btn-blue-solid:focus {
    background: #0878D8 !important;
    color: #ffffff !important;
}
.btn-blue-solid:hover, .btn-blue-solid:focus { color: #ffffff !important; }
.btn-sm { padding: 13px 20px; font-size: 14px; }

/* ---------- Верхняя служебная панель ---------- */
.utility-bar {
    width: 100%;
    background: #eef2f6;
    border-bottom: 1px solid #e4e9ef;
    height: 35px;
}
.utility-bar__inner {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: #334155;
    height: 35px;
}
.utility-bar__city {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.utility-bar__city-name {
    color: #0f172a;
    font-weight: 500;
}
.utility-bar__schedule {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.utility-bar__nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}
.utility-bar__nav a { color: #334155; }
.utility-bar__dropdown {
    position: relative;
}
.utility-bar__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #334155;
}
.utility-bar__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -14px;
    padding-top: 8px;
    z-index: 20;
}
.utility-bar__dropdown:hover .utility-bar__dropdown-menu { display: block; }
.utility-bar__dropdown-inner {
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    min-width: 180px;
    padding: 8px 0;
}
.utility-bar__dropdown-inner a {
    display: block;
    padding: 8px 18px;
    color: #0f172a;
    font-size: 13px;
}
.utility-bar__dropdown-inner a:hover { background: #f1f4f8; }

/* ---------- Информационная белая панель ---------- */
.info-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
    height: 74px;
}
.info-bar__inner {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 39px;
    height: 74px;
}
.info-bar__logo-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.info-bar__logo {
    height: 32px;
    width: auto;
}
.info-bar__divider {
    width: 1px;
    height: 36px;
    background: #d9dee5;
}
.info-bar__tagline {
    font-size: 15px;
    line-height: 1.3;
    color: #64748B;
    max-width: 190px;
}
.info-bar__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.info-bar__badge-text {
    font-size: 15px;
    line-height: 1.3;
    color: #1e293b;
}
.info-bar__icon-circle {
    width: 34px;
    height: 34px;
    border: 1.5px solid #0e58b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e58b8;
    flex-shrink: 0;
}
.info-bar__phone-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.info-bar__phone-text { line-height: 1.15; }
.info-bar__phone {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 26px;
    display: block;
}
.info-bar__email {
    font-size: 14px;
    color: #64748B;
    line-height: 16.95px;
}
.info-bar__social-group {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 16px;
    border-left: 1px solid #e9edf2;
}
.info-bar__write {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-size: 15px;
    margin-right: 10px;
}
.social-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-circle--wa { background: #25d366; }
.social-circle--tg { background: #2aabee; }

/* ---------- Навигация с каталогом ---------- */
.main-nav {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e9edf2;
}
.main-nav__inner {
    padding: 12px 0 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.catalog-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    border: none;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-right: 18px;
    min-width: 180px;
    height: 43px;
    justify-content: center;
    background-image: linear-gradient(45deg, #0a4697 0%, #0c50ac 55%, #1565c7 100%);
}
.catalog-btn__label {
    font-size: 15px;
    text-align: center;
    font-weight: 900;
}
.main-nav__links {
    display: flex;
    align-items: center;
    gap: 26px;
}
.main-nav__links a {
    font-size: 15px;
    color: #0f172a;
    font-weight: 500;
    white-space: nowrap;
}
.main-nav__search {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e1e6ed;
    border-radius: 6px;
    padding: 9px 14px;
    flex: 1;
    margin-left: 24px;
    height: 42px;
}
.main-nav__search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    background: transparent;
    min-width: 0;
}
.main-nav__icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 16px;
}
.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1.5px solid #e1e6ed;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
}
.icon-btn__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Hero с диагональю (главная) ---------- */
.hero-split {
    width: 100%;
    position: relative;
    height: 460px;
    overflow: hidden;
    background: #04132f;
}
.hero-split__left,
.hero-split__right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-split__left {
    background: linear-gradient(90deg, #eef2f7 0%, #dde4ec 100%);
    clip-path: polygon(0 0, calc(50% + 30px) 0, calc(50% - 30px) 100%, 0 100%);
}
.hero-split__left-img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    width: 61%;
    top: -1px;
}
.hero-split__left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 45, 72, 0.92) 0%, rgba(30, 45, 72, 0.78) 35%, rgba(30, 45, 72, 0.3) 65%, rgba(30, 45, 72, 0) 85%);
}
.hero-split__right {
    background: #04132f;
    clip-path: polygon(calc(50% + 34px) 0, 100% 0, 100% 100%, calc(50% - 34px) 100%);
}
.hero-split__right-img {
    position: absolute;
    inset: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    opacity: 0.85;
    left: 47%;
}
.hero-split__right-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #04132f 0%, rgba(4, 19, 47, 0.95) 38%, rgba(4, 19, 47, 0.65) 72%, rgba(4, 19, 47, 0.35) 100%);
}
.hero-split__pattern {
    position: absolute;
    top: 0;
    width: 280px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}
.hero-split__pattern--left { left: 0; }
.hero-split__pattern--right { right: 0; }
.hero-split__content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 1170px;
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.hero-split__col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-split__col--left { padding: 46px 40px 46px 0; }
.hero-split__col--right {
    padding: 38px 0 38px 89px;
    position: relative;
}
.hero-split__divider {
    width: 4px;
    height: calc(100% + 6px);
    position: absolute;
    top: -3px;
    left: -2px;
    background: #fff;
    transform: rotate(8deg);
}
.hero-split__title {
    margin: 0 0 18px;
    font-size: 43px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.hero-split__text {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.35;
    color: #ffffff;
    max-width: 340px;
}
.hero-split__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
}
.hero-badge {
    display: inline-block;
    background: #e53935;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.hero-split__subtitle {
    margin: 0 0 22px;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.hero-feature-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 17px;
}
.hero-feature__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-feature__text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hero-feature__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}
.price-pill {
    background: #e53935;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
}
.hero-split__note {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

/* ---------- Hero страница СПб ---------- */
.hero-spb {
    width: 100%;
    position: relative;
    background: #04132f;
    overflow: hidden;
}
.hero-spb__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    background: url('/images/hero-spb.png') no-repeat center / cover;
}
.hero-spb__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #04132f 0%, #04132f 35%, rgba(4, 19, 47, 0.85) 48%, rgba(4, 19, 47, 0.3) 62%, rgba(4, 19, 47, 0) 78%);
}
.hero-spb__pattern-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 363px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
}
.hero-spb__pattern-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 601px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}
.hero-spb__content {
    position: relative;
    z-index: 3;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 64px 0;
}
.hero-spb__inner { color: #ffffff; max-width: 800px; }
.hero-spb__title {
    margin: 0 0 20px;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}
.hero-spb__text {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    max-width: 706px;
}
.hero-spb__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 29px;
    margin: 0 0 36px;
    max-width: 723px;
}
.hero-spb__feature {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-spb__feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6aa8ff;
    flex-shrink: 0;
}
.hero-spb__feature-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}
.hero-spb__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ---------- Карточки категорий ---------- */
.categories {
    width: 100%;
    background: #ffffff;
    padding: 22px 0 36px;
}
.categories--spb { padding: 40px 0; }
.categories__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 2.4fr;
    gap: 9px;
}
.cat-card {
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    border: 1px solid #e4e9ef;
    background-color: #ffffff;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease;
}
.cat-card:hover {
    box-shadow: 0 4px 18px rgba(8, 40, 90, 0.1);
    transform: translateY(-2px);
}
.cat-card__img-wrap {
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background-color: #ffffff;
    max-height: 101px;
}
.cat-card__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cat-card__body {
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #0f172a;
}
.cat-card__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
}
.cat-card__arrow {
    position: absolute;
    bottom: 15px;
    right: 4px;
}

.gift-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    color: #ffffff;
    background: #1e2d48;
}
.gift-card__img {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    background: url('/images/gift-biotextiles.png') no-repeat center / cover;
}
.gift-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1e2d48 0%, #1e2d48 40%, rgba(30, 45, 72, 0.85) 52%, rgba(30, 45, 72, 0.15) 72%, rgba(30, 45, 72, 0) 100%);
}
.gift-card__pattern {
    position: absolute;
    top: 0;
    width: 220px;
    height: 100%;
    opacity: 0.35;
    pointer-events: none;
}
.gift-card__pattern--left { left: 0; }
.gift-card__pattern--right {
    right: 0;
    width: 170px;
    z-index: 1;
}
.gift-card__content {
    position: relative;
    z-index: 2;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}
.gift-card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 10px;
}
.gift-card__text {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}
.gift-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #0a4697 0%, #0c50ac 55%, #1565c7 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 7px;
    align-self: flex-start;
}
.gift-card__brand {
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ---------- Заголовок секции ---------- */
.section {
    width: 100%;
    padding: 56px 0 64px;
}
.section--grey { background: #f1f4f8; }
.section--white { background: #ffffff; }
.section--lg { padding: 72px 0 80px; }
.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.section__head--center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
    display: block;
}
.section__head-text { flex: 1; min-width: 280px; }
.section__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.section__kicker-line {
    display: inline-block;
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #063B80 0%, #0878D8 100%);
    border-radius: 2px;
}
.section__kicker-line--r {
    background: linear-gradient(90deg, #0878D8 0%, #063B80 100%);
}
.section__kicker-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #0878D8;
    text-transform: uppercase;
}
.section__title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    color: #08285A;
    letter-spacing: -0.6px;
}
.section__title--dark {
    color: #0f172a;
    font-size: 38px;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}
.section__title--center {
    font-size: 36px;
    margin-bottom: 14px;
    letter-spacing: -0.6px;
}
.section__lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
}
.section__lead--center {
    font-size: 15.5px;
    line-height: 1.55;
}
.gradient-text {
    background: linear-gradient(45deg, #0a4697 0%, #0c50ac 55%, #1565c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Карусель товаров ---------- */
.owl-wrap { position: relative; }
.owl-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e4e9ef;
    color: #08285A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(8, 40, 90, 0.12);
}
.owl-btn--prev { left: -18px; }
.owl-btn--next { right: -18px; }
.etalon-owl {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 9px) / 5);
    gap: 9px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
}
.etalon-owl > * { scroll-snap-align: start; }
.etalon-owl::-webkit-scrollbar { display: none; height: 0; }
.etalon-owl { scrollbar-width: none; -ms-overflow-style: none; }

.product-card {
    background: #ffffff;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    position: relative;
    transition: box-shadow .2s ease;
}
.product-card:hover { box-shadow: 0 4px 18px rgba(8, 40, 90, 0.1); }
.product-card__img-wrap {
    position: relative;
    background: #ffffff;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 4px;
    z-index: 2;
}
.product-card__badge {
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 9px;
    border-radius: 4px;
}
.badge-new { background: #0878D8; }
.badge-hit { background: #f0b43b; }
.badge-top { background: #5bbf6e; }
.product-card__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.product-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.product-card__title {
    font-size: 14px;
    color: #0f172a;
    line-height: 1.3;
    min-height: 40px;
}
.product-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eaf7ee;
    color: #2e8b57;
    font-size: 11.5px;
    font-weight: 500;
    padding: 4px 9px;
    border-radius: 4px;
    align-self: flex-start;
}
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card__stars {
    display: flex;
    gap: 1px;
    color: #d9dee5;
}
.product-card__rating-count {
    background: #f1f4f8;
    color: #94a3b8;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
}
.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}
.product-card__price {
    font-size: 17px;
    font-weight: 700;
    color: #08285A;
}
.cart-btn {
    width: 38px;
    height: 38px;
    background: #0878D8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ---------- Для кого (target groups) ---------- */
.tg-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin: 0 0 36px;
    flex-wrap: wrap;
}
.tg-head__text { flex: 1; min-width: 320px; max-width: 820px; }
.tg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.tg-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    color: #ffffff;
    text-decoration: none;
    background: #0f172a;
}
.tg-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}
.tg-card:hover .tg-card__img { transform: scale(1.06); }
.tg-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 19, 47, 0) 40%, rgba(4, 19, 47, 0.55) 65%, rgba(4, 19, 47, 0.95) 100%);
}
.tg-card__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 24px;
}
.tg-card__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}
.tg-card__text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

/* ---------- О компании ---------- */
.about {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
}
.about__img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #0f172a;
}
.about__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 19, 47, 0) 55%, rgba(4, 19, 47, 0.75) 100%);
}
.about__years {
    position: absolute;
    left: 24px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}
.about__years-number {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    background: linear-gradient(45deg, #0a4697 0%, #1565c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}
.about__years-text {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
}
.about__years-text span {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}
.about__title {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.6px;
}
.about__text {
    margin: 0 0 14px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #475569;
}
.about__text:last-of-type { margin-bottom: 28px; }

.features-title {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.4px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 28px 0 36px;
}
.feature-card {
    background: #f7f9fc;
    border: 1px solid #e4e9ef;
    border-radius: 12px;
    padding: 24px;
}
.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(45deg, #0a4697 0%, #1565c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-card__number {
    font-size: 22px;
    font-weight: 700;
    color: #0e58b8;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.feature-card__text {
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
}
.about-note {
    padding: 24px 28px;
    background: #f7f9fc;
    border-left: 4px solid #0e58b8;
    border-radius: 4px;
    font-size: 15.5px;
    line-height: 1.6;
    color: #334155;
    max-width: 1000px;
}

/* ---------- Отзывы ---------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.review-card {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 28px 28px;
    box-shadow: 0 4px 18px rgba(8, 40, 90, 0.07);
    border: 1px solid #e4e9ef;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review-card__quote-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    opacity: 0.12;
}
.review-card__stars {
    display: flex;
    align-items: center;
    gap: 4px;
}
.review-card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
    flex: 1;
}
.review-card__footer {
    padding-top: 16px;
    border-top: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #08285A 0%, #063B80 55%, #0878D8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}
.review-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #08285A;
}
.review-card__date {
    font-size: 12.5px;
    color: #64748b;
    white-space: nowrap;
}

/* ---------- Как мы работаем ---------- */
.steps {
    position: relative;
}
.steps__connector {
    position: absolute;
    top: 46px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #0878D8 0 8px, transparent 8px 16px);
    opacity: 0.4;
    z-index: 1;
}
.steps__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}
.step-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 26px;
    border: 1px solid #e4e9ef;
    box-shadow: 0 2px 10px rgba(8, 40, 90, 0.04);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.step-card--accent {
    background: linear-gradient(160deg, #063B80 0%, #08285A 100%);
    border-color: #063B80;
    box-shadow: 0 10px 24px rgba(8, 40, 90, 0.25);
    color: #ffffff;
}
.step-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.step-card__num {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #0878D8;
    color: #063B80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.step-card--accent .step-card__num {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}
.step-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef4fc;
    color: #0878D8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-card--accent .step-card__icon {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}
.step-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #08285A;
    line-height: 1.25;
}
.step-card--accent .step-card__title { color: #ffffff; }
.step-card__text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
}
.step-card--accent .step-card__text { color: rgba(255, 255, 255, 0.85); }
.step-card__btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0878D8;
    color: #ffffff;
    border: none;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

/* ---------- Модалка заявки ---------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 40, 90, 0.55);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal__form {
    background: #ffffff;
    border-radius: 14px;
    padding: 36px 32px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.modal__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #08285A;
}
.modal__close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 22px;
    line-height: 1;
}
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #475569;
}
.form-field input,
.form-field textarea {
    font-family: inherit;
    font-size: 14px;
    padding: 12px 14px;
    border: 1.5px solid #e1e6ed;
    border-radius: 8px;
    outline: none;
    color: #0f172a;
    margin: 0;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus { border-color: #0878D8; }
.form-note { color: #94a3b8; }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
    cursor: pointer;
}
.form-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #0878D8;
    flex-shrink: 0;
}
.form-check a { color: #0878D8; text-decoration: underline; }
.form-msg {
    min-height: 16px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* ---------- Подписка на рассылку ---------- */
.newsletter {
    width: 100%;
    background: #08285A;
    position: relative;
    overflow: hidden;
}
.newsletter__shape {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1;
}
.newsletter__shape--1 { width: 55%; background: #0a3573; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.newsletter__shape--2 { width: 42%; background: #0c4290; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.newsletter__shape--3 { width: 30%; background: #0d4ca8; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
.newsletter__bg {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 46%;
    background: url('/images/newsletter-bg.png') no-repeat right center / cover;
    z-index: 2;
}
.newsletter__overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, #08285A 0%, #08285A 18%, rgba(8, 40, 90, 0.85) 34%, rgba(8, 40, 90, 0.4) 55%, rgba(8, 40, 90, 0) 75%);
    z-index: 3;
}
.newsletter__inner {
    position: relative;
    z-index: 5;
    padding: 56px 0 48px;
}
.newsletter__form {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 36px;
    max-width: 860px;
}
.newsletter__left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.newsletter__icon {
    width: 72px;
    height: 72px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.newsletter__heading {
    color: #ffffff;
    line-height: 1.25;
}
.newsletter__title {
    font-size: 22px;
    font-weight: 700;
}
.newsletter__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 6px;
}
.newsletter__right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.newsletter__input-group {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 6px 6px 22px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.newsletter__input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: #0f172a;
    background: transparent;
    padding: 14px 0;
}
.newsletter__submit {
    background: #0878D8;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.newsletter__check {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}
.newsletter__check input {
    width: 16px;
    height: 16px;
    accent-color: #0878D8;
    flex-shrink: 0;
}
.newsletter__check a { color: #8cd4ff; text-decoration: underline; }

/* ---------- Футер ---------- */
.site-footer {
    width: 100%;
    background: #08285A;
    color: #ffffff;
    padding: 56px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cols {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}
.footer-col--brand { max-width: 244px; }
.footer-col--contacts { min-width: 228px; }
.footer-logo {
    height: 33px;
    width: auto;
    display: block;
    margin-bottom: 22px;
}
.footer-brand-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
    max-width: 280px;
}
.footer-heading {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}
.footer-cats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 24px;
}
.footer-cats a,
.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
}
.footer-cats a:hover,
.footer-links a:hover { color: #ffffff; }
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-item { margin-bottom: 14px; }
.footer-contact-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 3px;
}
.footer-contact-item--phone a {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}
.footer-contact-item--email a {
    font-size: 14px;
    color: #8cd4ff;
}
.footer-contact-item--text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}
.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}
.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    color: #08285A;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}
.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.footer-legal {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.footer-legal a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
}
.footer-legal a:hover { color: #ffffff; }

/* ---------- Утилиты ---------- */
.wrap { width: 100%; background: #f1f4f8; }
.hidden { display: none !important; }
.main-nav__inner {position: relative;}
.menu_vertical_menu {top: 53px;}
.menu_vertical_menu.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
}
.menu_vertical_menu > li > a {
    display: flex;
    align-content: center;
    gap: 10px;
    justify-content: space-between;
}
.menu_vertical_menu ul {position: relative;}
.menu_vertical_menu > li > a svg {
    display: block;
    margin-top: 8px;
}
.menu_vertical_menu > li .dropdown-menu-simple {
    position: absolute;
    top: 0px;
    left: 100%;
    width: 235px;
    background: #fff;
    display: none;
    min-height: 194px;
    border-radius: 4px;
    height: max-content;
    min-height: 100%;
}
.menu_vertical_menu > li:hover .dropdown-menu-simple {display: block;}
.menu_vertical_menu > li .dropdown-menu-simple li .nsmenu-ischild {
    position: absolute;
    top: 0px;
    left: 100%;
    width: 235px;
    background: #fff;
    display: none;
    min-height: 194px;
    border-radius: 4px;
    height: max-content;
    min-height: 100%;
}
.menu_vertical_menu > li .dropdown-menu-simple li:hover .nsmenu-ischild {display: block;}
.menu_vertical_menu ul {
    background: #fff;
    box-shadow: none;
    border-radius: 0;
}
.menu_vertical_menu > li .dropdown-menu-simple li .nsmenu-ischild li .child_4level_simple {
    position: absolute;
    top: 0px;
    left: 100%;
    width: 235px;
    background: #fff;
    display: none;
    min-height: 194px;
    border-radius: 4px;
    height: max-content;
    min-height: 100%;
}
.icon-btn__badge .text_product, .icon-btn__badge .prices {display: none !important;}
#cart .products b {
  background: transparent;
  color: inherit;
  position: static;
  padding: 0;
  margin: 0;
  font: inherit;
}
#cart .products {
    margin: 0;
    padding: 0;
    font: inherit;
}
#cart > .btn .cart-total {
  display: flex !important;
  color: #fff !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 5px !important;
  line-height: 1 !important;
}
#cart > .btn {
  background: transparent !important;
  color: #000 !important;
  border-radius: 8px !important;
  padding: 0 !important;
  height: 42px !important;
  box-shadow: none !important;
  border: 1.5px solid #e1e6ed !important;
}
.prmn-cmngr {
  position: relative;
  float: none;
  vertical-align: middle;
  margin-top: 0;
  margin-right: 0;
}
.prmn-cmngr__city span.glyphicon {display: none !important;}
.prmn-cmngr__city-name {
    color: #0f172a;
    font-weight: 500;
    font-size: 13px;
    font-family: 'Ubuntu', system-ui, sans-serif;
}
.modal {z-index: 9999;}
.utility-bar .container:before, .utility-bar .container:after, 
.info-bar .container:before, .info-bar .container:after, 
.main-nav .container:before, .main-nav .container:after {display: none !important;}
.menu_vertical_menu > li .dropdown-menu-simple li .nsmenu-ischild li:hover .child_4level_simple {display: block;}
.menu_vertical_menu ul {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.menu_vertical_menu li ul {
    padding: 18px 0px;
}
.menu_vertical_menu li {position: static;}
.menu_vertical_menu li a {
  display: flex;
  color: #333;
  padding: 5px 20px;
  font-size: 14px;
  align-content: center;
  gap: 10px;
  justify-content: space-between;
  border-radius: 4px;
}
.menu_vertical_menu li a svg {
    display: block;
    margin-top: 8px;
}
.menu_vertical_menu li a:hover {background: #f0f0f0;}
.categories__grid:before, .categories__grid:after {display: none !important;}
.section_white {
	background: #fff;
	padding: 40px 0;
}
.site-footer {margin-top: 0 !important;}
.hero-spb__title {color: #fff;}
.product-slider .item.slick-slide, .product-slider .row_items.slick-slide .item, .product-slider .owl-item .item {background: #fff;}
.sticker-ns.newproduct {
  background: #0878D8;
  color: #FFFFFF;
}
.product-thumb .image img, .product-thumb .image a img.img-responsive {
	min-height: 220px;
	object-fit: contain;
	object-position: center;
}
.product-thumb .image {min-height: 220px;}
.price-actions-box {
  margin-top: 0px !important;
  min-height: 1px;
}
.product-thumb .price {
	min-height: 1px;
	margin: 0;
    align-content: center;
    justify-content: center;
}
.product-thumb .addit-action {
  position: absolute;
  top: 16px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0px 10px;
  max-width: 60px;
}
.product-thumb {
  position: relative;
}
.product-thumb .caption {position: static !important;}
.product-thumb .addit-action .btn, .product-thumb .addit-action button {
	width: 100%;
	padding: 0;
}
.product-thumb .btn-general .text-cart-add {display: none;}
.product-thumb .btn-general {
	background: #0878D8;
	width: 38px;
	padding: 0;
	height: 38px;
}
.price-actions-box {
  margin-top: 0px !important;
  min-height: 1px;
  display: flex;
  flex-wrap: nowrap !important;
  align-content: center;
  width: 100%;
  justify-content: space-between;
}
.price-actions-box .actions  {
	width: 38px;
}
.info-bar__badge-text {max-width: 186px;}
.newsletter__check input {margin-top: 0;}
.newsletter__form {align-items: flex-start;}
.slick-mod-arrow {
	height: 44px;
    width: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: calc(50% - 22px);
    background: #fff;
    border: 1px solid #e4e9ef;
}
.slick-mod-arrow svg {
	width: 7px;
    height: auto;
}
.slick-mod-arrow.next-prod {
    right: -15px;
	z-index: 9;
}
.slick-mod-arrow.prev-prod {
    right: auto;
    left: -15px;
    z-index: 9;
}
.product-thumb .btn-general, .product-thumb .addit-action .btn, .product-thumb .addit-action button {padding: 0 !important;}
.slick-list.draggable {padding-bottom: 1px;}
.box-showmore span {
	display: flex;
    min-width: 218px;
    width: max-content;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.hero-badge {width: max-content;}
.hero-split__col--right .btn-red {max-width: 320px;}