/* Каркас: верхняя полоса, шапка, мега-меню, мобильное меню, поиск, подвал, модальные окна */

/* ---------- Верхняя полоса ---------- */
.topbar { background: var(--forest); color: #C9D1B6; font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 40px; }
.topbar a { color: #E4E9D6; text-decoration: none; }
.topbar a:hover { color: var(--leaf); }
.topbar .ico { width: 16px; height: 16px; color: var(--leaf); }
.topbar-addr, .topbar-hours { display: flex; align-items: center; gap: 8px; }
.topbar-addr .sep { width: 4px; height: 4px; border-radius: 50%; background: #6F7B58; }
.topbar-a11y { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: #E4E9D6; padding: 6px 0; font-size: 13.5px; }
.topbar-a11y:hover { color: var(--leaf); }
.topbar-soc { display: flex; gap: 4px; }
.topbar-soc a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.topbar-soc a:hover { background: rgba(200, 212, 106, .14); }
.topbar-soc .ico { color: #E4E9D6; width: 17px; height: 17px; }
@media (max-width: 1080px) { .topbar-hours { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(250, 251, 246, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.hdr.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(30, 43, 23, .5); }
.hdr-in { display: flex; align-items: center; gap: 14px; height: var(--hdr-h); transition: height .3s var(--ease); }
.hdr.is-stuck .hdr-in { height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; color: var(--forest); }
.logo-img { width: 86px; height: auto; transition: width .3s var(--ease); }
.hdr.is-stuck .logo-img { width: 72px; }
.logo-cap { font-size: 12px; line-height: 1.25; color: var(--ink-2); padding-left: 12px; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; border: 0; background: none; border-radius: 10px; color: var(--ink); font-size: 15.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-link .ico { width: 16px; height: 16px; transition: transform .25s; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--moss); background: var(--mist); }
.nav-link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav-link.is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--leaf-2); }
.hdr-search { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); color: var(--moss); flex: none; }
.hdr-search:hover { background: var(--sage); }
.hdr-search .ico { width: 20px; height: 20px; }
.hdr-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; flex: none; }
.hdr-tel { font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--forest); text-decoration: none; letter-spacing: .01em; }
.hdr-tel:hover { color: var(--moss); }
.hdr-callback { border: 0; background: none; padding: 2px 0; font-size: 13px; color: var(--olive); text-decoration: underline dashed; text-underline-offset: 3px; }
.hdr-cta { --bh: 48px; flex: none; }
.hdr-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--forest); color: #fff; place-items: center; flex: none; }
.hdr-burger .ico { width: 24px; height: 24px; }
@media (max-width: 1360px) { .logo-cap { display: none; } .nav-link { padding: 10px 9px; font-size: 15px; } }
@media (max-width: 1180px) {
  .nav, .hdr-search { display: none; }
  .hdr-burger { display: grid; }
  .hdr-phone { margin-left: auto; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 66px; }
  .hdr-phone, .hdr-cta { display: none; }
  .hdr-burger { margin-left: auto; }
  .logo-img { width: 70px; }
  .logo-cap { display: block; font-size: 11px; }
}

/* ---------- Мега-меню ---------- */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(30, 43, 23, .4); max-height: calc(100vh - 120px); overflow-y: auto; overscroll-behavior: contain; animation: megaIn .35s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } }
.mega-in { padding-top: 30px; padding-bottom: 34px; }
.mega-lech { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.mega-aside { background: var(--mist); border-radius: var(--r); padding: 24px; align-self: start; }
.mega-aside-btn { width: 100%; white-space: normal; margin-top: 6px; }
.mega-kicker { font-family: var(--f-display); font-size: 28px; font-weight: 600; color: var(--forest); line-height: 1.05; margin: 0 0 10px; }
.mega-note { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.mega-mri { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.mega-mri .ico { width: 26px; height: 26px; color: var(--olive); }
.mega-mri b { color: var(--forest); display: block; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 28px; }
.mega-root { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--forest); text-decoration: none; margin-bottom: 8px; line-height: 1.1; }
.mega-root .ico { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: var(--sage); color: var(--moss); box-sizing: content-box; }
.mega-root:hover { color: var(--olive); }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega-col li a, .mega-item li a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; text-decoration: none; }
.mega-col li a:hover, .mega-item li a:hover { color: var(--moss); }
.mega-col li a.is-hot { color: var(--moss); font-weight: 600; }
.mega-col li a.is-hot::after { content: ' ★'; color: var(--leaf-2); }
.mega-usl { display: grid; grid-template-columns: 280px 1fr 260px; gap: 30px; }
.mega-tabs { display: flex; flex-direction: column; gap: 2px; }
.mega-tab { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.25; }
.mega-tab .ico { width: 20px; height: 20px; color: var(--olive); }
.mega-tab .tab-arr { margin-left: auto; width: 16px; height: 16px; opacity: 0; transition: opacity .2s, transform .2s; }
.mega-tab.is-on, .mega-tab:hover { background: var(--mist); color: var(--forest); }
.mega-tab.is-on .tab-arr { opacity: 1; transform: translateX(2px); }
.mega-pane { display: none; }
.mega-pane.is-on { display: block; animation: megaIn .3s var(--ease); }
.mega-pane-head { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mega-pane-title { font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--forest); text-decoration: none; }
.mega-pane-head p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.mega-pane-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.mega-pane-grid.is-dense { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-item-t { display: block; font-weight: 600; font-size: 15px; color: var(--forest); text-decoration: none; line-height: 1.3; margin-bottom: 4px; }
.mega-item-t:hover { color: var(--olive); }
.mega-item li a { font-size: 13.5px; padding: 2px 0; }
.mega-item li a.more { color: var(--olive); }
.mega-feature { display: flex; flex-direction: column; gap: 12px; align-self: start; padding: 24px; border-radius: var(--r-leaf-s); background: var(--forest) url('../img/leaf-pattern.svg') right -40px bottom -40px / 220px no-repeat; color: #DDE3CA; text-decoration: none; }
.mega-feature b { font-family: var(--f-display); font-size: 26px; line-height: 1.05; color: #fff; font-weight: 600; }
.mega-feature span { font-size: 14px; line-height: 1.45; }
.mega-feature .link-arrow { color: var(--leaf); }
.mega-feature .pill { align-self: flex-start; font-size: 12px; }
@media (max-width: 1280px) { .mega-usl { grid-template-columns: 250px 1fr; } .mega-feature { display: none; } .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Мобильное меню ---------- */
.drawer { position: fixed; inset: 0; z-index: 200; background: var(--paper); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; animation: drawerIn .35s var(--ease); }
.drawer[hidden] { display: none; }
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0; } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 2; }
.drawer-close { width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--mist); display: grid; place-items: center; }
.drawer-close .ico { width: 24px; height: 24px; }
.drawer-search { display: flex; align-items: center; gap: 10px; margin: 14px var(--gutter); padding: 0 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); }
.drawer-search input { flex: 1; border: 0; background: none; min-height: 50px; outline: none; font-size: 16px; }
.drawer-search .ico { color: var(--olive); }
.drawer-nav { padding: 0 var(--gutter); }
.dr-sec, .dr-link { border-bottom: 1px solid var(--line); }
.dr-link { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; color: var(--forest); text-decoration: none; }
.dr-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dr-row a { flex: 1; padding: 12px 0; color: var(--ink); text-decoration: none; line-height: 1.3; }
.dr-head a { font-size: 18px; font-weight: 600; color: var(--forest); padding: 14px 0; }
.dr-toggle { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--mist); display: grid; place-items: center; flex: none; }
.dr-toggle .ico { transition: transform .25s; }
.dr-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.dr-list { list-style: none; margin: 0; padding: 0 0 8px 14px; border-left: 2px solid var(--sage); }
.dr-l1 > li > .dr-row > a, .dr-l1 > li > a { font-weight: 500; }
.dr-list > li > a { display: block; padding: 10px 0; color: var(--ink-2); text-decoration: none; }
.dr-l3 a { font-size: 15px; }
.drawer-foot { margin-top: auto; padding: 20px var(--gutter) 32px; display: grid; gap: 12px; background: var(--mist); }
.drawer-tel { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--forest); text-decoration: none; }
.drawer-a11y { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--moss); padding: 6px 0; font-weight: 500; }
.drawer-soc { display: flex; gap: 10px; }
.drawer-soc a { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--moss); }

/* ---------- Поиск ---------- */
.search-ov { position: fixed; inset: 0; z-index: 210; background: rgba(30, 43, 23, .55); backdrop-filter: blur(6px); padding-top: 90px; animation: fadeIn .25s; }
.search-ov[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.search-ov-in { background: #fff; border-radius: var(--r); padding: 22px; max-width: 860px; box-shadow: var(--shadow); }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--leaf); padding-bottom: 10px; }
.search-form > .ico { width: 26px; height: 26px; color: var(--olive); }
.search-input { flex: 1; border: 0; outline: none; font-size: 22px; min-height: 50px; background: none; }
.search-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); display: grid; place-items: center; }
.search-results { max-height: 50vh; overflow-y: auto; }
.search-results a { display: flex; align-items: baseline; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a.is-focus { background: var(--mist); }
.search-results small { color: var(--ink-3); font-size: 12.5px; min-width: 120px; }
.search-empty { padding: 16px 6px; color: var(--ink-2); }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.search-hints .pill { text-decoration: none; }
.search-hints .pill:hover { background: var(--mist); }

/* ---------- Хлебные крошки ---------- */
.crumbs-wrap { padding-top: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; font-size: 13.5px; color: var(--ink-3); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: ''; width: 5px; height: 5px; margin: 0 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--moss); text-decoration: underline; }

/* ---------- Подвал ---------- */
.ftr { position: relative; background: var(--forest); color: #B9C2A6; margin-top: 80px; padding-bottom: 90px; font-size: 15px; }
.ftr-leaves { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; fill: var(--forest); }
.ftr a:not(.btn) { color: #DDE3CA; text-decoration: none; }
.ftr a:not(.btn):hover { color: var(--leaf); }
.ftr-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 30px 0 46px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr-cta-t { font-family: var(--f-display); font-size: clamp(28px, 3vw, 42px); font-weight: 600; color: #F4F6EC; line-height: 1.05; margin: 0 0 8px; max-width: 22ch; }
.ftr-cta-s { margin: 0; }
.ftr-cta .btn-ghost { color: #EEF2DF; }
.ftr-cta .btn-ghost:hover { background: #EEF2DF; color: var(--forest); border-color: #EEF2DF; }
.ftr-grid { display: grid; grid-template-columns: 1.15fr .9fr 1.2fr .9fr 1.25fr; gap: 34px; padding: 46px 0 36px; }
.ftr-logo img { width: 110px; margin-bottom: 14px; }
.ftr-brand p { font-size: 14px; line-height: 1.55; }
.ftr-soc { display: flex; gap: 8px; margin-top: 14px; }
.ftr-soc a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); display: grid; place-items: center; }
.ftr-soc a:hover { background: var(--leaf); border-color: var(--leaf); color: var(--forest); }
.ftr-h { font-family: var(--f-display); font-size: 21px; font-weight: 600; color: #F4F6EC; margin: 0 0 12px; }
.ftr-h a { color: inherit; }
.ftr-col ul { list-style: none; margin: 0; padding: 0; }
.ftr-col li { margin: 6px 0; line-height: 1.35; }
.ftr-two { columns: 2; column-gap: 22px; }
.ftr-two li { break-inside: avoid; }
.ftr-tel { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 700; color: #fff !important; }
.ftr-mail { display: block; margin: 4px 0 14px; }
.ftr-branch { display: flex; gap: 10px; margin-top: 10px; line-height: 1.4; }
.ftr-branch .ico { color: var(--leaf); margin-top: 3px; }
.ftr-branch span { display: block; font-size: 13.5px; color: #96A083; }
.ftr-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13px; line-height: 1.55; color: #8E987C; }
.ftr-legal p { margin: 0 0 6px; }
.ftr-warn { font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px) !important; font-weight: 600; letter-spacing: .02em; color: #C5CDAF !important; margin-bottom: 12px !important; }
.ftr-bottom { display: flex; align-items: center; gap: 20px 30px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.ftr-bottom p { margin: 0; }
.ftr-docs { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-docs a, .linklike { color: #A7B193; font-size: 13.5px; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dev { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; color: #A7B193 !important; }
.dev-logo { display: inline-flex; padding: 7px 12px; background: #fff; border-radius: 10px; transition: transform .25s var(--ease); }
.dev:hover .dev-logo { transform: translateY(-2px); }
.dev-logo img { width: 116px; height: auto; }
@media (max-width: 1180px) { .ftr-grid { grid-template-columns: 1fr 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-contacts { grid-column: 1 / -1; } .dev { margin-left: 0; } .ftr { padding-bottom: 110px; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ---------- Модальные окна ---------- */
.modal { padding: 0; border: 0; background: transparent; max-width: min(560px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; color: var(--ink); }
.modal::backdrop { background: rgba(23, 33, 18, .6); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal-box { position: relative; background: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 36px); max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: var(--shadow); }
.modal-box::before { content: ''; position: absolute; top: 0; right: 0; width: 180px; height: 180px; background: url('../img/leaf-pattern.svg') no-repeat right top / contain; opacity: .5; pointer-events: none; border-radius: 0 28px 0 0; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-s); }
.modal-x:hover { background: var(--sage); }
.modal-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; padding-right: 40px; position: relative; }
.modal-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--leaf); display: grid; place-items: center; flex: none; color: var(--forest); }
.modal-ico .ico { width: 26px; height: 26px; }
.modal-title { font-family: var(--f-display); font-size: 32px; font-weight: 700; color: var(--forest); margin: 0; line-height: 1; }
.modal-sub { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.modal-video { max-width: min(1100px, calc(100vw - 24px)); }
.modal-video .modal-box { padding: 0; background: #000; overflow: hidden; }
.modal-video .modal-box::before { display: none; }
.video-frame video { width: 100%; max-height: 80vh; background: #000; }
.modal-img { max-width: min(1000px, calc(100vw - 24px)); }
.modal-img .modal-box { padding: 10px; background: #fff; }
.modal-img .modal-box::before { display: none; }
.modal-img img { margin: 0 auto; max-height: 82vh; width: auto; }
.seg { border: 0; padding: 0; margin: 12px 0 0; }
.seg-in { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer; transition: all .2s; }
.seg-opt input:checked + span { background: var(--moss); border-color: var(--moss); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 2px; }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 560px; background: var(--white); border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(30, 43, 23, .45); border: 1px solid var(--line); animation: modalIn .5s var(--ease); }
.cookie[hidden] { display: none; }
.cookie-in { padding: 20px 22px; }
.cookie-t { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--forest); margin: 0 0 6px; }
.cookie-text p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie-text p:last-child { margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .cookie { left: 8px; right: 8px; bottom: 76px; } }

/* ---------- Нижняя панель и мессенджеры ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 251, 246, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; border-radius: 14px; background: var(--mist); color: var(--forest); font-size: 12.5px; font-weight: 600; text-decoration: none; }
  .mbar-btn .ico { width: 20px; height: 20px; }
  .mbar-main { background: var(--leaf); }
  .chat-btn { display: none !important; }
  .chat-pop { bottom: 80px !important; right: 10px !important; }
}
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 95; }
.chat-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--moss); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -12px rgba(30, 43, 23, .7); }
.chat-btn .ico { width: 28px; height: 28px; grid-area: 1 / 1; transition: transform .3s var(--ease), opacity .3s; }
.chat-ico-b { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat-ico-a { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat-ico-b { opacity: 1; transform: none; }
.chat-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--leaf); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.chat.is-open .chat-ring { display: none; }
.chat-pop { position: fixed; right: 22px; bottom: 96px; width: 280px; background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: modalIn .35s var(--ease); }
.chat-pop[hidden] { display: none; }
.chat-t { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.chat-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 500; }
.chat-link:hover { background: var(--mist); }
.chat-link .ico { width: 24px; height: 24px; }
.chat-whatsapp .ico { color: #25D366; }
.chat-telegram .ico { color: #2AABEE; }
.chat-max .ico { color: #7A4CFF; }
.chat-phone .ico { color: var(--moss); }
