twin-lain-footer { display:block; }
.site-footer { color:#e9edf1; background:linear-gradient(145deg,#252a31 0%,#1c2128 60%,#171c22 100%); border-top:4px solid #ffc400; }
.footer-main { display:grid; grid-template-columns:1.35fr .8fr 1fr .9fr; gap:clamp(28px,4vw,58px); width:min(1240px,calc(100% - 48px)); margin:0 auto; padding:64px 0 52px; }
.footer-column { min-width:0; }
.footer-column h2 { margin:0 0 19px; color:#fff; font-size:16px; font-weight:800; letter-spacing:.03em; }
.footer-about { padding-right:18px; }
.footer-brand { display:inline-flex; align-items:center; gap:11px; margin-bottom:17px; color:#fff; text-decoration:none; }
.footer-brand svg { width:61px; height:47px; fill:none; stroke:#ffc400; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.footer-brand span { display:grid; gap:1px; font-size:20px; font-weight:900; letter-spacing:.03em; line-height:1; }
.footer-brand strong { color:#ffc400; font-size:19px; letter-spacing:.1em; }
.footer-description { max-width:330px; margin:0; color:#b6c0ca; font-size:14px; line-height:1.72; }
.footer-socials { display:flex; gap:10px; margin-top:19px; }
.footer-social { display:grid; width:40px; height:40px; place-items:center; border:1px solid #ffffff29; border-radius:50%; color:#fff; background:#ffffff0a; transition:transform .18s ease,border-color .18s ease,background .18s ease; }
.footer-social svg,.footer-contacts a svg { width:20px; height:20px; }
.footer-social:hover { transform:translateY(-2px); border-color:#ffc400; background:#ffc4001a; }
.footer-viber:hover { background:#7650bd; }.footer-telegram:hover { background:#079ed0; }
.footer-navigation,.footer-contacts,.footer-services { display:flex; flex-direction:column; align-items:flex-start; }
.footer-navigation a,.footer-contacts a,.footer-services > a:not(.footer-request) { display:inline-flex; min-height:30px; align-items:center; gap:10px; color:#c1cad3; font-size:14px; line-height:1.4; text-decoration:none; transition:color .18s ease,transform .18s ease; }
.footer-navigation a:hover,.footer-contacts a:hover,.footer-services > a:not(.footer-request):hover { color:#ffc400; transform:translateX(3px); }
.footer-contacts a svg { flex:0 0 auto; color:#ffc400; }
.footer-contacts .footer-phone { margin-bottom:7px; color:#fff; font-size:17px; font-weight:800; }
.footer-hours { display:grid; gap:5px; margin:14px 0 0; color:#aeb8c2; font-size:13px; }
.footer-hours strong { color:#f1f3f5; font-size:14px; }
.footer-request { display:inline-flex; min-height:45px; align-items:center; justify-content:center; gap:14px; margin-top:19px; padding:10px 15px; border:1px solid #ffe166; border-radius:7px; color:#16202a; background:linear-gradient(180deg,#ffdc3d,#ffc000); box-shadow:0 3px 0 #b47f00; font-size:14px; font-weight:850; text-decoration:none; transition:transform .18s ease,filter .18s ease; }
.footer-request:hover { transform:translateY(-2px); filter:brightness(1.05); }
.footer-request svg { width:18px; height:18px; }
.footer-legal { display:flex; align-items:center; justify-content:space-between; gap:22px; width:min(1240px,calc(100% - 48px)); margin:0 auto; padding:19px 0 22px; border-top:1px solid #ffffff24; color:#9faab5; font-size:12px; }
.footer-legal p { margin:0; }
.footer-legal nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 21px; }
.footer-legal a { color:#b5bec7; text-decoration:none; transition:color .18s ease; }
.footer-legal a:hover { color:#ffc400; }
.footer-navigation a:focus-visible,.footer-contacts a:focus-visible,.footer-services a:focus-visible,.footer-social:focus-visible,.footer-legal a:focus-visible,.footer-brand:focus-visible { outline:2px solid #ffc400; outline-offset:3px; border-radius:3px; }

.floating-contacts { position:fixed; top:50%; right:16px; z-index:900; display:flex; flex-direction:column; gap:10px; transform:translateY(-50%); }
.floating-contact { position:relative; display:grid; width:50px; height:50px; place-items:center; border:1px solid #ffffff50; border-radius:50%; color:#fff; box-shadow:0 5px 18px #00101f70; text-decoration:none; transition:transform .18s ease,filter .18s ease,box-shadow .18s ease; }
.floating-contact svg { width:24px; height:24px; }
.floating-contact-phone { color:#08213b; background:linear-gradient(180deg,#ffdb3d,#ffc000); border-color:#ffe681; }
.floating-contact-phone svg { fill:currentColor; stroke-width:1.5; }
.floating-contact-viber { background:#7650bd; }
.floating-contact-telegram { background:#079ed0; }
.floating-contact:hover { transform:scale(1.08); filter:brightness(1.08); box-shadow:0 8px 22px #00101f90; }
.floating-contact::after { position:absolute; top:50%; right:calc(100% + 9px); padding:8px 11px; border:1px solid #ffffff26; border-radius:6px; color:#fff; background:#071b30f2; box-shadow:0 4px 14px #0005; content:attr(data-label); font-size:12px; font-weight:750; white-space:nowrap; opacity:0; pointer-events:none; transform:translate(4px,-50%); transition:opacity .16s ease,transform .16s ease; }
.floating-contact:hover::after,.floating-contact:focus-visible::after { opacity:1; transform:translate(0,-50%); }
.floating-contact:focus-visible { outline:3px solid #ffc400; outline-offset:3px; }

.footer-legal-modal { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:24px; }
.footer-legal-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; background:#030b13c9; backdrop-filter:blur(5px); cursor:pointer; }
.footer-legal-dialog { position:relative; display:flex; flex-direction:column; width:min(860px,100%); max-height:min(86vh,900px); overflow:hidden; border:1px solid #ffffff29; border-radius:15px; color:#e7edf3; background:#202832; box-shadow:0 26px 90px #0009; outline:none; animation:footerDialogEnter .2s ease-out both; }
.footer-legal-dialog-header { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:20px; padding:22px 26px 19px; border-bottom:1px solid #ffffff1c; background:linear-gradient(120deg,#263442,#1d2630); }
.footer-legal-dialog-header p { margin:0 0 7px; color:#ffc400; font-size:10px; font-weight:900; letter-spacing:.18em; }
.footer-legal-dialog-header h2 { margin:0; color:#fff; font-size:clamp(20px,3vw,27px); line-height:1.25; }
.footer-legal-close { display:grid; flex:0 0 auto; width:42px; height:42px; place-items:center; border:1px solid #ffffff35; border-radius:50%; color:#fff; background:#ffffff0b; font:inherit; cursor:pointer; transition:background .18s ease,border-color .18s ease,transform .18s ease; }
.footer-legal-close span { margin-top:-3px; font-size:30px; line-height:1; }
.footer-legal-close:hover { transform:rotate(90deg); border-color:#ffc400; background:#ffc40020; }
.footer-legal-dialog-body { overflow:auto; overscroll-behavior:contain; padding:22px 28px 26px; scrollbar-color:#657487 #202832; scrollbar-width:thin; }
.footer-legal-date { margin:0 0 19px; color:#ffc400; font-size:13px; font-weight:700; }
.footer-legal-document-section { margin:0 0 22px; }
.footer-legal-document-section:last-child { margin-bottom:0; }
.footer-legal-document-section h3 { margin:0 0 9px; color:#fff; font-size:17px; line-height:1.4; }
.footer-legal-document-section p,.footer-legal-document-section li { color:#c5d0da; font-size:14px; line-height:1.72; }
.footer-legal-document-section p { margin:0 0 10px; }
.footer-legal-document-section p:last-child { margin-bottom:0; }
.footer-legal-document-section ul { display:grid; gap:5px; margin:7px 0 11px; padding-left:22px; }
.footer-legal-document-section li::marker { color:#ffc400; }
.footer-legal-dialog-footer { display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:16px; padding:14px 26px; border-top:1px solid #ffffff1c; color:#97a6b4; background:#1b222a; font-size:10px; font-weight:800; letter-spacing:.13em; }
.footer-legal-dialog-footer button { min-width:106px; min-height:40px; padding:9px 15px; border:1px solid #ffc400; border-radius:7px; color:#16202a; background:#ffc400; font:inherit; font-size:13px; font-weight:850; letter-spacing:0; cursor:pointer; transition:filter .18s ease,transform .18s ease; }
.footer-legal-dialog-footer button:hover { transform:translateY(-1px); filter:brightness(1.08); }
.footer-legal-close:focus-visible,.footer-legal-dialog-footer button:focus-visible { outline:3px solid #fff; outline-offset:3px; }
@keyframes footerDialogEnter { from { opacity:0; transform:translateY(9px) scale(.99); } to { opacity:1; transform:translateY(0) scale(1); } }

@media (max-width:950px) { .footer-main { grid-template-columns:1.2fr 1fr; gap:34px 50px; padding:52px 0 40px; }.footer-about { padding-right:10px; } }
@media (max-width:600px) { .footer-main { grid-template-columns:1fr 1fr; gap:30px 22px; width:calc(100% - 36px); padding:42px 0 34px; }.footer-about { grid-column:1 / -1; padding:0; }.footer-description { max-width:460px; }.footer-column h2 { margin-bottom:13px; font-size:15px; }.footer-navigation a,.footer-contacts a,.footer-services > a:not(.footer-request) { min-height:37px; font-size:13px; }.footer-contacts .footer-phone { font-size:15px; }.footer-legal { align-items:flex-start; flex-direction:column; width:calc(100% - 36px); gap:13px; padding:17px 0 20px; }.footer-legal nav { justify-content:flex-start; gap:12px 17px; }.footer-legal a { line-height:1.5; } }
@media (max-width:600px) { .floating-contacts { top:auto; right:12px; bottom:16px; gap:8px; transform:none; }.floating-contact { width:44px; height:44px; }.floating-contact svg { width:21px; height:21px; } }
@media (max-width:600px) { .footer-legal-modal { padding:12px; }.footer-legal-dialog { max-height:92vh; border-radius:11px; }.footer-legal-dialog-header { gap:12px; padding:17px 16px 15px; }.footer-legal-close { width:38px; height:38px; }.footer-legal-dialog-body { padding:17px 17px 21px; }.footer-legal-document-section { margin-bottom:19px; }.footer-legal-document-section h3 { font-size:16px; }.footer-legal-document-section p,.footer-legal-document-section li { font-size:13px; line-height:1.65; }.footer-legal-dialog-footer { padding:12px 16px; } }
@media (max-width:370px) { .footer-main { grid-template-columns:1fr; }.footer-about { grid-column:auto; }.footer-legal nav { display:grid; grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .footer-social,.footer-navigation a,.footer-contacts a,.footer-services a,.footer-request,.footer-legal a,.footer-legal-close,.footer-legal-dialog-footer button,.floating-contact { transition:none; }.footer-legal-dialog { animation:none; } }
