.site-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 15px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background-color .2s, color .2s, border-color .2s; }
.site-button i { font-size: 19px; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { color: #fff; background: var(--blue-dark); }
.button-white { color: var(--navy); background: #fff; }
.button-white:hover { color: var(--blue); background: #edf3fa; }
.text-link { display: inline-flex; align-items: center; gap: 17px; color: var(--navy); font-weight: 600; font-size: 13px; }
.text-link i { font-size: 20px; transition: transform .2s; }
.text-link:hover i { transform: translate(2px, -2px); }
.icon-button { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 18px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; height: var(--header-height); transition: background-color .2s, color .2s, box-shadow .2s; }
.site-header.is-scrolled { color: var(--navy); background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header a:hover { color: inherit; }
.navbar-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 92px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; padding: 0; }
.brand-art { display: block; width: 217px; }
.brand-art img { display: block; width: 100%; height: auto; }
.site-header:not(.is-scrolled) .brand-art img, .footer-brand .brand-art img { filter: brightness(0) invert(1); }
.desktop-nav { display: flex; align-items: center; gap: 22px; font-size: 15.5px; font-weight: 500; }
.desktop-nav > a { position: relative; padding-block: 20px; white-space: nowrap; }
.desktop-nav > a::after { content: ''; position: absolute; height: 1px; background: currentColor; inset: auto 0 12px; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.desktop-nav > a:hover::after, .desktop-nav > .is-current::after { transform: scaleX(1); }
.nav-products { position: relative; }
.nav-products.is-current > summary { text-decoration: underline; text-underline-offset: 12px; }
.nav-products summary { padding-block: 20px; cursor: pointer; list-style: none; white-space: nowrap; }
.nav-products summary::-webkit-details-marker { display: none; }
.nav-products summary i { margin-left: 5px; font-size: 9px; }
.nav-products summary i { display: inline-block; transition: transform .18s ease-out; }
.nav-products[open] summary i { transform: rotate(180deg); }
.nav-products[open] .nav-dropdown { animation: dropdown-enter .18s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes dropdown-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-dropdown { position: absolute; top: 100%; left: -22px; width: 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 25px; padding: 12px 20px; background: #fff; color: var(--navy); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 12px 30px rgb(23 42 72 / .09); }
.nav-dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav-dropdown { max-height: calc(100dvh - var(--header-height) - 20px); overflow-y: auto; }
.nav-dropdown a:nth-last-child(-n+2) { border: 0; }
.site-header .nav-dropdown a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-catalog-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 15px; line-height: 1.4; border: 1px solid rgb(255 255 255 / .55); border-radius: 4px; color: inherit; background: rgb(255 255 255 / .06); font-size: 12px; font-weight: 600; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.header-catalog-button > i { font-size: 16px; line-height: 1; }
.header-catalog-button:hover { border-color: currentColor; background: rgb(255 255 255 / .14); }
.site-header.is-scrolled .header-catalog-button { border-color: var(--line); background: var(--pale); }
.site-header.is-scrolled .header-catalog-button:hover { border-color: var(--blue); background: #e1ebf8; }
.catalog-mobile-label { display: none; }
.header-call { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 15px; line-height: 1.4; border: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.header-call { position: relative; }
.site-header .header-call { color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 4px; transition: background-color .2s, border-color .2s; }
.site-header .header-call:hover { color: #fff; background: var(--blue-dark); border-color: var(--blue-dark); }
.header-call > i { font-size: 16px; line-height: 1; }
.header-call::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.header-call:focus-visible::after { transform: scaleX(1); }
.header-actions :is(.header-call, .header-catalog-button) { min-height: 40px; padding: 9px 12px; }
@media (hover: hover) and (pointer: fine) { .header-call:hover::after { transform: scaleX(1); } }
.menu-toggle { display: none; width: 44px; height: 44px; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 4px; font-size: 26px; line-height: 1; }
dialog { border: 0; color: var(--ink); }
dialog::backdrop { background: rgb(10 24 46 / .6); }
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); height: 100dvh; max-height: 100dvh; max-width: 100%; margin: 0 0 0 auto; padding: 24px; background: #fff; }
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; color: var(--navy); font-weight: 600; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0; margin-block: 35px; }
.mobile-menu nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-family: var(--heading-font); font-size: 25px; }
.mobile-menu nav .mobile-catalog-button { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 4px; background: var(--blue); color: #fff; font-family: var(--body-font); font-size: 15px; font-weight: 600; line-height: 1.4; }
.mobile-menu nav .mobile-catalog-button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.mobile-menu-contact { margin-top: auto; font-size: 14px; }
.mobile-menu-contact > * { display: block; margin-bottom: 8px; }
.mobile-menu-contact a:first-of-type { font-size: 21px; color: var(--navy); }
.mobile-menu-contact > a, .mobile-menu-contact > p { display:flex; align-items:center; gap:12px; min-height:36px; }
.mobile-menu-contact > a > i, .mobile-menu-contact > p > i { flex:0 0 20px; color:var(--blue); font-size:18px; text-align:center; }
.mobile-menu-contact > a > span, .mobile-menu-contact > p > span { min-width:0; overflow-wrap:anywhere; }
.site-footer { position: relative; isolation: isolate; overflow: hidden; padding-top: 65px; color: #c8d4e6; background: var(--navy); font-size: 14.5px; }
.site-footer > .container-xl { position: relative; z-index: 1; }
.footer-art { position: absolute; inset: auto 0 73px; height: 300px; pointer-events: none; user-select: none; }
.footer-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.footer-main { padding-bottom: 95px; }
.footer-brand { margin-bottom: 22px; }
.footer-main p { color: #c8d4e6; line-height: 1.9; }
.footer-main h2 { color: #fff; font: 600 16.5px/1.5 var(--body-font); letter-spacing: 0; margin: 9px 0 20px; }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main li + li { margin-top: 8px; }
.footer-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.footer-main .footer-category-list li + li { margin-top: 0; }
.footer-category-list a { display: flex; align-items: baseline; gap: 7px; }
.footer-main .footer-category-list i { flex-shrink: 0; margin-right: 0; }
.footer-main li i { font-size: 8px; margin-right: 7px; }
.site-footer a:hover { color: #fff; }
.footer-contacts a { overflow-wrap: anywhere; }
.footer-contacts a { display: inline-flex; align-items: baseline; gap: 10px; max-width: 100%; }
.footer-contacts a span { min-width: 0; }
.footer-main .footer-contacts li i { flex-shrink: 0; font-size: 14px; margin-right: 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .footer-main li a i { display: inline-block; transition: transform .18s ease-out; }
    .footer-main li a:hover i { transform: translateX(3px); }
    .footer-contacts a:hover i:is(.bi-telephone, .bi-phone, .bi-whatsapp) { transform: rotate(-12deg); }
    .footer-contacts a:hover i.bi-envelope { transform: translateY(-2px); }
}
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #34455f; padding-block: 25px; font-size: 12.5px; }
.footer-bottom a { color: #fff; font-weight: 500; }
.footer-credit { margin-left: auto; text-align: right; }
.floating-call { position: fixed; bottom: 22px; left: 22px; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 19px; box-shadow: 0 5px 16px rgb(23 42 72 / .18); }
.floating-call:hover { color: #fff; background: var(--blue-dark); }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff; font-size: 26px; box-shadow: 0 5px 16px rgb(23 42 72 / .18); }
.floating-whatsapp:hover { color: #fff; background: #128c7e; }
.floating-call, .floating-whatsapp { transition: opacity .22s ease-out, visibility 0s, background-color .2s; }
.floating-call.is-footer-hidden, .floating-whatsapp.is-footer-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease-out, visibility 0s .22s, background-color .2s; }
/* Keep first paint clear on the homepage, before the visibility observer starts. */
body:has(main .hero):not(.floating-ready) .floating-call, body:has(main .hero):not(.floating-ready) .floating-whatsapp { opacity: 0; visibility: hidden; pointer-events: none; }
.category-dialog { position: fixed; inset: 0; margin: auto; padding: 0; width: min(920px, calc(100% - 40px)); max-height: calc(100dvh - 40px); border-radius: 8px; overflow: auto; }
.dialog-close { position: absolute; right: 14px; top: 14px; z-index: 1; }
.category-dialog-media { background: var(--pale); display: flex; align-items: center; }
.category-dialog-media img { width: 100%; object-fit: contain; }
.category-dialog-copy { padding: 65px 36px 40px; }
.category-dialog-copy h2 { font-size: 30px; margin-bottom: 22px; }
.category-dialog-copy p { font-size: 13px; }
.category-dialog-copy .site-button { gap: 14px; }
.category-dialog-copy .text-link { margin-top: 24px; }
@media (max-width: 1199.98px) { .desktop-nav { gap: 19px; } .header-call span { display: none; } .header-call { width: 44px; height: 44px; padding: 0; justify-content: center; } }
@media (max-width: 991.98px) { .desktop-nav { display: none; } .menu-toggle { display: block; } .header-call { margin-left: auto; } .footer-bottom { flex-wrap: wrap; } }
@media (max-width: 991.98px) { .header-actions { margin-left: auto; } .header-catalog-button { display: none; } }
@media (max-width: 767.98px) {
    .navbar-row { height: 78px; gap: 12px; }
    .brand-art { width: 182px; }
    .site-header .brand-art { width: min(182px, calc(100vw - 148px)); }
    .header-call { display: none; }
    .site-footer { padding-top: 45px; }
    .footer-art { bottom: 155px; height: 200px; opacity: .75; }
    .footer-main { padding-bottom: 100px; }
    .footer-main h2 { font-size: 15.5px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; padding-bottom: 75px; }
    .floating-call { left: 16px; bottom: 16px; }
    .floating-whatsapp { right: 16px; bottom: 16px; }
    .category-dialog { width: calc(100% - 28px); }
    .category-dialog-media img { max-height: 240px; }
    .category-dialog-copy { padding: 27px 24px 30px; }
}
