/* ==========================================================================
   Global Design — үндсэн загвар
   ========================================================================== */

:root {
    --primary: #1463f3;
    --primary-dark: #0b4fd1;
    --primary-soft: #e8f0fe;
    --accent: #38c6ff;
    --navy: #0a1a3f;
    --navy-2: #0f2552;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e4e9f2;
    --tint: #f3f7fd;
    --white: #fff;
    --success: #16a34a;
    --danger: #dc2626;
    --hot: #ef4444;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 4px 18px rgba(15, 37, 82, .07);
    --shadow-hover: 0 12px 30px rgba(15, 37, 82, .14);
    --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: var(--font);
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; color: var(--text); }
ul { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Grid баганууд урт агуулгаас болж сунахгүй байх */
.features__grid > *, .category-grid > *, .product-grid > *, .service-grid > *,
.project-grid > *, .stats > *, .about-band > *, .layout-sidebar > *, .product-detail > *,
.about-page > *, .contact-layout > *, .site-footer__grid > *, .form-row > *, .key-specs > *,
.detail-block > * { min-width: 0; }
.container--narrow { max-width: 900px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
    font-weight: 600; font-size: 14px; line-height: 1.2; white-space: nowrap;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 6px 16px rgba(20, 99, 243, .3); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--facebook { background: #1877f2; color: #fff; }
.btn--facebook:hover { background: #0b5fcc; box-shadow: 0 6px 16px rgba(24, 119, 242, .3); }
.btn--facebook i { font-size: 17px; }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }

.link-arrow { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover i { transform: translateX(3px); }
.link-arrow i { transition: transform .2s; }

.eyebrow {
    display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--primary); margin-bottom: 6px;
}
.eyebrow--light { color: #cfe0ff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #c9d4ea; font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 16px; }
.topbar__info { display: flex; gap: 22px; }
.topbar__info i { color: var(--accent); margin-right: 5px; }
.topbar__info a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.social { display: flex; gap: 12px; }
.social a:hover { color: #fff; }
.lang-switch { display: flex; gap: 2px; background: rgba(255, 255, 255, .08); border-radius: 4px; padding: 2px; }
.lang-switch a { padding: 1px 8px; border-radius: 3px; font-weight: 600; }
.lang-switch a.is-active { background: var(--primary); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.logo img { width: 190px; height: auto; }

.search { flex: 1; max-width: 460px; display: flex; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); transition: border-color .2s; }
.search:focus-within { border-color: var(--primary); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 10px 14px; outline: none; min-width: 0; }
.search button { border: 0; background: var(--primary); color: #fff; width: 46px; }
.search--mobile { display: none; }
.search--inline { max-width: 320px; }

.header-phone { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-phone i { font-size: 22px; color: var(--primary); }
.header-phone strong { display: block; font-family: var(--font-head); font-size: 17px; line-height: 1.1; }
.header-phone small { color: var(--muted); font-size: 11.5px; }

.nav-toggle, .nav-close, .dropdown-toggle, .main-nav__head, .main-nav__cta, .nav-backdrop { display: none; }

.main-nav { border-top: 1px solid var(--border); background: #fff; }
.main-nav__list { display: flex; justify-content: space-between; align-items: center; }
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
    display: flex; align-items: center; gap: 6px; padding: 13px 18px;
    font-weight: 600; font-size: 14px; border-radius: var(--radius-sm); margin: 6px 0;
    transition: background .2s, color .2s;
}
.main-nav__list > li > a i { font-size: 10px; }
.main-nav__list > li > a:hover { color: var(--primary); }
.main-nav__list > li > a.is-active { background: var(--primary); color: #fff; }

.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 10;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown a span { color: var(--muted); font-size: 12px; }
.dropdown__all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.dropdown__all a { color: var(--primary); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); }
.hero__slides { position: relative; height: clamp(480px, 44vw, 640px); overflow: hidden; touch-action: pan-y; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08); transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
/* Текст уншигдахуйц байлгах зүүн талын харанхуй давхарга */
.hero__slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(6, 16, 40, .92) 0%, rgba(6, 16, 40, .72) 38%, rgba(6, 16, 40, .15) 75%, rgba(6, 16, 40, 0) 100%),
                linear-gradient(0deg, rgba(6, 16, 40, .55) 0%, rgba(6, 16, 40, 0) 30%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 30px; }
.hero__content > * { max-width: 600px; opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .1s; }
.hero__slide.is-active .hero__content > :nth-child(3) { transition-delay: .2s; }
.hero__slide.is-active .hero__content > :nth-child(4) { transition-delay: .3s; }
.hero__title { color: #fff; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; margin-bottom: 16px; }
.hero__title span { display: block; color: var(--accent); }
.hero p { font-size: 17px; color: #d5def0; max-width: 540px; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__arrow {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(6, 16, 40, .35); color: #fff; backdrop-filter: blur(4px); transition: background .2s, border-color .2s;
}
.hero__arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; bottom: 22px; left: 50%; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .35); padding: 0; transition: background .2s, width .2s; }
.hero__dots button.is-active { background: #fff; width: 40px; }

.features { background: rgba(6, 16, 40, .7); border-top: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.feature + .feature { border-left: 1px solid rgba(255, 255, 255, .1); }
.feature i { font-size: 26px; color: #fff; opacity: .9; }
.feature strong { display: block; font-size: 13.5px; }
.feature span { font-size: 12.5px; color: #b8c5de; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }
.section--compact { padding: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2, .section-title { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; margin: 0; }
.section-title { margin-bottom: 24px; }
.section-head__tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* ---------- Category cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.category-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.category-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.category-card__media { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 10px; background: #fff; }
.category-card__media img { width: 100%; height: 100%; object-fit: contain; }
.category-card__media i { font-size: 40px; color: var(--primary); opacity: .5; }
.category-card__body { padding: 12px 14px 14px; border-top: 1px solid var(--border); flex: 1; display: flex; flex-direction: column; }
.category-card h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.category-card__body span { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.category-card__body span i { color: var(--primary); }

/* ---------- Tabs ---------- */
.tabs-pill { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px; gap: 2px; }
.tabs-pill button, .tabs-pill a { border: 0; background: transparent; padding: 8px 20px; border-radius: 5px; font-weight: 600; font-size: 13.5px; color: var(--text); }
.tabs-pill .is-active { background: var(--primary); color: #fff; }
.tabs-pill--links { margin-bottom: 26px; flex-wrap: wrap; }
.tabs-pill--links a { white-space: nowrap; }

/* ---------- Product cards ---------- */
.product-grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.is-active { display: grid; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; background: #fff; display: block; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--border); }
.product-card__title { font-size: 15px; font-weight: 700; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title a:hover { color: var(--primary); }
.product-card__specs { margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.product-card__specs li { display: flex; gap: 8px; align-items: baseline; margin-bottom: 4px; }
.product-card__specs i { color: #94a3b8; width: 14px; text-align: center; font-size: 12px; }
.product-card__text { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.product-card .btn--block { margin-top: auto; }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; color: #fff; }
.badge--new { background: var(--primary); }
.badge--hot { background: var(--hot); }
.badge--featured { background: #f59e0b; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-grid--large { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 16px; text-align: center; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.service-card i { font-size: 32px; color: var(--primary); margin-bottom: 14px; }
.service-card h3 { font-size: 14px; font-weight: 700; margin: 0; }
.service-card p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.service-grid--large .service-card { padding: 32px 24px; text-align: left; }
.service-grid--large .service-card h3 { font-size: 16px; }

/* ---------- About band ---------- */
.about-band {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
    background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: clamp(16px, 2vw, 24px);
    box-shadow: var(--shadow);
}
.about-band__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border); }
.about-band__media img { width: 100%; height: 100%; object-fit: cover; }
.about-band__body { padding: 8px clamp(4px, 1.5vw, 16px) 8px 0; }
.about-band__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.about-band__head h2 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; }
.about-band p { color: #334155; margin: 8px 0 26px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.stat i { font-size: 24px; color: var(--primary); margin-bottom: 6px; }
.stat strong { font-family: var(--font-head); font-size: 22px; font-weight: 800; }
.stat span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.stats--cards { margin-top: 48px; }
.stats--cards .stat { background: var(--tint); border-radius: var(--radius); padding: 24px; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.project-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.project-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); display: grid; place-items: center; }
.project-card__media > a { position: absolute; inset: 0; display: block; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform .4s; }
.project-card:hover img { transform: scale(1.05); }
.project-card__media > i { font-size: 36px; color: var(--primary); opacity: .4; }
.project-card__zoom {
    position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0;
    background: rgba(10, 26, 63, .65); color: #fff; opacity: 0; transform: translateY(6px); transition: .25s;
}
.project-card:hover .project-card__zoom, .project-card__zoom:focus-visible { opacity: 1; transform: none; }
.project-card__zoom:hover { background: var(--primary); }
.project-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; border-top: 1px solid var(--border); }
.project-card__tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 2px 8px; border-radius: 4px; margin-bottom: 4px; }
.project-card h3 { font-size: 15px; font-weight: 800; margin: 0; }
.project-card h3 a:hover { color: var(--primary); }
.project-card p { font-size: 13px; color: var(--muted); margin: 0; }

.section-intro { color: var(--muted); max-width: 760px; margin: 0 0 24px; font-size: 15.5px; }
.gallery__main--cover button { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: zoom-in; }
.made-with { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 14px 16px; background: var(--tint); border-radius: var(--radius); }
.made-with > i { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 18px; flex: none; }
.made-with small { display: block; color: var(--muted); font-size: 12px; }
.made-with a { font-weight: 700; color: var(--primary); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(4, 10, 28, .92); display: grid; place-items: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--radius); background: #fff; transition: opacity .2s; }
.lightbox img.is-loading { opacity: .4; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 22px; }
.lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.lightbox__nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; }
.lightbox__nav:hover { background: var(--primary); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox.is-multi .lightbox__nav { display: grid; place-items: center; }
.lightbox__count { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: #cfd8ea; font-size: 14px; font-weight: 700; }
@media (max-width: 640px) {
    .lightbox { padding: 60px 8px; }
    .lightbox__nav { width: 42px; height: 42px; background: rgba(0, 0, 0, .45); }
    .lightbox__nav--prev { left: 6px; }
    .lightbox__nav--next { right: 6px; }
}

/* Томруулж болох гол зураг */
.gallery__main--zoom { display: block; width: 100%; padding: 0; position: relative; cursor: zoom-in; }
.gallery__zoom-hint { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 26, 63, .65); color: #fff; display: grid; place-items: center; font-size: 16px; opacity: .85; transition: opacity .2s, transform .2s; }
.gallery__main--zoom:hover .gallery__zoom-hint { opacity: 1; transform: scale(1.08); }

/* ---------- Partners ---------- */
.partners { display: flex; align-items: center; gap: 10px; }
.partners__nav { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--primary); }
.partners__nav:hover { background: var(--primary); color: #fff; }
.partners__track { flex: 1; display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px; }
.partners__track::-webkit-scrollbar { display: none; }
.partner {
    flex: 0 0 auto; min-width: 170px; height: 92px; display: grid; place-items: center; text-align: center; padding: 14px 22px;
    border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
    font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: .02em; color: var(--navy-2);
    filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s, border-color .25s, box-shadow .25s;
}
.partner img { max-width: 150px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.partner:hover { filter: none; opacity: 1; color: var(--primary); border-color: transparent; box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta-band {
    color: #fff; padding: 72px 0;
    background: linear-gradient(100deg, rgba(6, 16, 40, .97) 0%, rgba(8, 22, 56, .9) 55%, rgba(20, 99, 243, .55) 100%), url("../img/hero-bg.jpg") center/cover, var(--navy);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-band p { color: #d5def0; max-width: 580px; margin: 0 0 28px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8c5de; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr 1.4fr; gap: 32px; padding: 56px 20px 40px; }
.site-footer__brand img { background: #fff; border-radius: 8px; padding: 6px 10px; width: 180px; margin-bottom: 16px; }
.site-footer__brand p { font-size: 13.5px; margin: 0 0 18px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a:hover { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: baseline; }
.contact-list i { color: var(--accent); width: 16px; flex: none; }
.site-footer__contact .btn { margin-top: 8px; }
.social--round a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.social--round a:hover { background: var(--primary); border-color: var(--primary); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; }

.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: var(--primary); color: #fff; box-shadow: var(--shadow-hover);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(100deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 34px 0 38px; }
.page-hero h1 { color: #fff; font-size: clamp(22px, 3vw, 32px); font-weight: 800; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #9fb0d0; margin-bottom: 10px; }
.breadcrumb i { font-size: 9px; }
.breadcrumb a:hover { color: #fff; }

.layout-sidebar { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.sidebar { position: sticky; top: 150px; }
.sidebar__box { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: #fff; }
.sidebar__box h3 { font-size: 16px; margin-bottom: 12px; }
.cat-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.cat-list a:hover { background: var(--tint); color: var(--primary); }
.cat-list a.is-active { background: var(--primary); color: #fff; }
.cat-list a span { font-size: 12px; opacity: .7; }

.listing-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 10px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-weight: 600; font-size: 14px; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination__gap { border: 0 !important; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 40px; color: #cbd5e1; margin-bottom: 12px; }
.empty-state--page { padding: 40px 20px 20px; }
.big-code { display: block; font-family: var(--font-head); font-size: 96px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 10px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery__main { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery__thumbs button { border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; padding: 4px; aspect-ratio: 1; }
.gallery__thumbs button.is-active, .gallery__thumbs button:hover { border-color: var(--primary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.product-info h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.product-info__lead { color: #334155; font-size: 15.5px; }
.product-info h4 { font-size: 14px; margin: 22px 0 10px; }
.key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.key-specs div { background: var(--tint); border-radius: var(--radius-sm); padding: 10px 14px; }
.key-specs dt { font-size: 12px; color: var(--muted); }
.key-specs dd { margin: 0; font-weight: 600; font-size: 14px; }
.product-info__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.detail-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-top: 56px; overflow-x: auto; scrollbar-width: none; }
.detail-tabs button { border: 0; background: transparent; padding: 14px 20px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.detail-tabs button.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; padding: 30px 0 0; }
.tab-panel.is-active { display: block; }

.detail-block { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--border); }
.detail-block:last-child { border-bottom: 0; }
.detail-block--right .detail-block__media { order: 2; }
.detail-block--full, .detail-block--image { grid-template-columns: 1fr; }
.detail-block--image .detail-block__media { justify-self: center; }
.detail-block__media img { border-radius: var(--radius); margin: 0 auto; }
.detail-block h3 { font-size: 19px; }

.rich { color: #334155; overflow-wrap: anywhere; }
.rich img { border-radius: var(--radius-sm); }
.rich table { border-collapse: collapse; width: 100%; }
.rich td, .rich th { border: 1px solid var(--border); padding: 6px 10px; }
.rich font[size] { font-size: inherit; }
.rich p { margin: 0 0 14px; }
.rich h3 { font-size: 18px; font-weight: 800; margin: 26px 0 12px; color: var(--text); }
.rich ul { display: grid; gap: 8px; margin: 0 0 14px; }
.rich ul li { position: relative; padding-left: 28px; }
.rich ul li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px;
    position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--primary-soft); color: var(--primary); display: grid; place-items: center;
}
.rich strong { color: var(--text); }
.rich ol { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; counter-reset: step; }
.rich ol li { position: relative; padding-left: 38px; counter-increment: step; min-height: 26px; }
.rich ol li::before {
    content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center;
}

.table { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.table tbody th { width: 38%; background: var(--tint); font-weight: 600; }
.table thead th { background: var(--navy-2); color: #fff; }
.table--center td { text-align: center; }
.table .yes { color: var(--success); font-size: 18px; }
.table .no { color: #cbd5e1; }

.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; max-width: 960px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.download-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); max-width: 640px; }
.download-row i { font-size: 28px; color: var(--primary); }
.download-row strong { flex: 1; }

.content-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.content-card .rich { margin-bottom: 24px; }
.content-card__cover { border-radius: var(--radius); margin-bottom: 20px; width: 100%; }
.lead { font-size: 17px; color: #334155; }

.about-page { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-page__media { position: sticky; top: 150px; }
.about-page__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-page h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.contact-info > p { color: var(--muted); }
.info-list { margin-top: 26px; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; }
.info-list > li > i { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.info-list small { display: block; color: var(--muted); font-size: 12px; }
.info-list a:hover { color: var(--primary); }

.contact-form { background: var(--tint); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; }
.contact-form input, .contact-form textarea {
    width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    padding: 11px 14px; background: #fff; font-weight: 400; outline: none; transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form .btn { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-product { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 10px; border: 1px solid var(--border); }
.form-product img { width: 64px; height: 48px; object-fit: contain; }
.form-product small { display: block; color: var(--muted); font-size: 12px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; display: grid; gap: 4px; }
.alert--success { background: #dcfce7; color: #166534; }
.alert--error { background: #fee2e2; color: #991b1b; }

.map { margin-top: 48px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Video modal ---------- */
.video-modal { position: fixed; inset: 0; z-index: 100; background: rgba(4, 10, 28, .85); display: grid; place-items: center; padding: 20px; }
.video-modal[hidden] { display: none; }
.video-modal__box { position: relative; width: min(960px, 100%); }
.video-modal__frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close { position: absolute; top: -44px; right: 0; border: 0; background: transparent; color: #fff; font-size: 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .project-grid { grid-template-columns: repeat(3, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .header-phone small { display: none; }
    .main-nav__list > li > a { padding: 13px 12px; }
}

@media (max-width: 991px) {
    .site-header__inner { min-height: 66px; gap: 14px; }
    .logo img { width: 150px; }
    .site-header .search:not(.search--mobile):not(.search--inline), .header-cta { display: none; }
    .header-phone { margin-left: auto; }
    .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; font-size: 18px; }

    /* Off-canvas цэс */
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 70;
        border: 0; overflow-y: auto; transform: translateX(100%); transition: transform .3s; box-shadow: var(--shadow-hover);
    }
    .main-nav .container { padding: 16px; }
    .nav-open .main-nav { transform: none; }
    .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(4, 10, 28, .5); opacity: 0; visibility: hidden; transition: .3s; }
    .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    .main-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
    .nav-close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: var(--tint); border-radius: 50%; font-size: 18px; }
    .search--mobile { display: flex; max-width: none; margin-bottom: 12px; }
    .main-nav__list { flex-direction: column; align-items: stretch; }
    .main-nav__list > li > a { margin: 2px 0; padding: 12px 14px; }
    .has-dropdown > a i { display: none; }
    .dropdown-toggle { display: grid; place-items: center; position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: transparent; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; min-width: 0; padding: 0 0 6px 10px; }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.is-open .dropdown { display: block; }
    .has-dropdown.is-open .dropdown-toggle i { transform: rotate(180deg); }
    .main-nav__cta { display: flex; margin-top: 16px; width: 100%; }

    .hero__arrow { display: none; }
    .hero__slide::after { background: linear-gradient(90deg, rgba(6, 16, 40, .9) 0%, rgba(6, 16, 40, .65) 60%, rgba(6, 16, 40, .35) 100%); }
    .features__grid { grid-template-columns: 1fr 1fr; }
    .feature:nth-child(3) { border-left: 0; }
    .feature:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .about-band { grid-template-columns: 1fr; }
    .about-band__body { padding: 0 4px 4px; }
    .layout-sidebar, .product-detail, .about-page, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
    .sidebar, .about-page__media { position: static; }
    .detail-block { grid-template-columns: 1fr; gap: 18px; }
    .detail-block--right .detail-block__media { order: 0; }
    .service-grid--large { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .container { padding: 0 16px; }
    .topbar__info span { display: none; }
    .header-phone { display: none; }
    .nav-toggle { margin-left: auto; }
    .section { padding: 44px 0; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-grid, .product-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card__body { padding: 12px; }
    .product-card__title { font-size: 13.5px; }
    .product-card__specs { font-size: 12px; }
    .service-grid, .service-grid--large { grid-template-columns: 1fr 1fr; gap: 12px; }
    .project-grid { grid-template-columns: 1fr 1fr; }
    .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
    .features__grid { grid-template-columns: 1fr; }
    .feature { padding: 14px 4px; }
    .feature + .feature { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .section-head__tools { width: 100%; justify-content: space-between; }
    .tabs-pill button { padding: 8px 12px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .site-footer__contact { grid-column: 1 / -1; }
    .form-row, .key-specs { grid-template-columns: 1fr; }
    .table th, .table td { padding: 10px 12px; }
    .partners__nav { display: none; }
    .hero__actions .btn { flex: 1 1 auto; }
    .btn { white-space: normal; text-align: center; }
    .hero__slides { height: 500px; }
    .hero p { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.info-list .link-arrow { display: flex; width: fit-content; margin-top: 4px; font-size: 13px; }

/* ==========================================================================
   AI туслах виджет (баруун доод булан)
   ========================================================================== */
body:has(.chatw) .to-top { bottom: 92px; }

.chatw { position: fixed; right: 22px; bottom: 22px; z-index: 90; font-family: var(--font); }
.chatw__fab {
    display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
    border: 0; border-radius: 28px; background: var(--primary); color: #fff;
    font-weight: 700; font-size: 15px; box-shadow: 0 10px 28px rgba(20, 99, 243, .38);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.chatw__fab i { font-size: 22px; }
.chatw__fab:hover { background: var(--primary-dark); transform: translateY(-2px); }
.chatw.is-open .chatw__fab { display: none; }

.chatw__panel {
    position: absolute; right: 0; bottom: 0; width: 380px; height: min(620px, calc(100vh - 44px));
    display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(10, 26, 63, .28); border: 1px solid var(--border);
    animation: chatw-in .22s ease-out;
}
.chatw__panel[hidden] { display: none; }
@keyframes chatw-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.chatw__head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; background: linear-gradient(100deg, var(--navy), var(--navy-2)); color: #fff; }
.chatw__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: 17px; flex: none; }
.chatw__titles { flex: 1; min-width: 0; }
.chatw__titles strong { display: block; font-size: 15px; }
.chatw__titles small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #b8c5de; }
.chatw__dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex: none; }
.chatw__icon { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #cfd8ea; font-size: 15px; }
.chatw__icon:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.chatw__log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--tint); }
.chatw__msg { max-width: 86%; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chatw__msg--user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chatw__msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chatw__msg--bot a { color: var(--primary); text-decoration: underline; }
.chatw__msg--typing { color: var(--muted); }
.chatw__msg--typing::after { content: ""; display: inline-block; width: 1em; animation: chatw-dots 1.2s steps(4) infinite; overflow: hidden; vertical-align: bottom; }
@keyframes chatw-dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.chatw__examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chatw__examples button { border: 1px solid var(--primary); background: #fff; color: var(--primary); border-radius: 16px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.chatw__examples button:hover { background: var(--primary); color: #fff; }

.chatw__cards { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; align-self: stretch; scrollbar-width: thin; }
.chatw__card { flex: 0 0 200px; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.chatw__card img { width: 100%; height: 112px; object-fit: contain; background: #fff; padding: 6px; border-bottom: 1px solid var(--border); }
.chatw__card-body { padding: 8px 10px; flex: 1; }
.chatw__card-body strong { display: block; font-size: 13px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chatw__card-body small { color: var(--muted); font-size: 11.5px; }
.chatw__card-actions { display: flex; border-top: 1px solid var(--border); }
.chatw__card-actions a { flex: 1; text-align: center; padding: 7px 4px; font-size: 12.5px; font-weight: 700; color: var(--primary); }
.chatw__card-actions a + a { border-left: 1px solid var(--border); }
.chatw__card-actions a:hover { background: var(--primary-soft); }

.chatw__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: #fff; }
.chatw__form input { flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: 22px; padding: 10px 16px; font-size: 14px; outline: none; background: var(--tint); }
.chatw__form input:focus { border-color: var(--primary); background: #fff; }
.chatw__form button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--primary); color: #fff; font-size: 15px; }
.chatw__form button:disabled, .chatw__form input:disabled { opacity: .55; }
.chatw__note { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--muted); text-align: center; background: #fff; }

@media (max-width: 640px) {
    .chatw { right: 14px; bottom: 14px; }
    .chatw__fab { height: 52px; padding: 0 18px 0 16px; font-size: 14px; }
    .chatw.is-open { inset: 0; right: 0; bottom: 0; }
    .chatw__panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; }
    body:has(.chatw) .to-top { bottom: 80px; right: 14px; }
}
.field-note { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* Facebook Messenger товч */
.btn--messenger { background: linear-gradient(135deg, #0a7cff, #a033ff); color: #fff; border: 0; }
.btn--messenger:hover { filter: brightness(1.08); box-shadow: 0 6px 16px rgba(10, 124, 255, .3); }
.chatw { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chatw__messenger {
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, #0a7cff, #a033ff); color: #fff; font-size: 26px;
    box-shadow: 0 8px 22px rgba(10, 124, 255, .35); transition: transform .2s;
}
.chatw__messenger:hover { transform: translateY(-2px) scale(1.04); }
.chatw.is-open .chatw__messenger { display: none; }
body:has(.chatw__messenger) .to-top { bottom: 156px; }
@media (max-width: 640px) {
    .chatw__messenger { width: 48px; height: 48px; font-size: 24px; }
    body:has(.chatw__messenger) .to-top { bottom: 140px; }
}
