/* Shared controls, navigation and mobile refinements introduced in 1.14.0. */
html { scroll-padding-bottom: var(--sx-consent-space, 24px); }
body { padding-bottom: var(--sx-consent-space, 0px); }
.sx-header-inner { min-height: 82px; gap: 24px; }
.sx-brand img { width: 62px; height: 56px; }
.sx-navigation { gap: 22px; }
.sx-navigation > a,
.sx-nav-group > summary { min-height: 44px; display: flex; align-items: center; }
.sx-navigation .sx-header-contact { background: #fff; color: var(--sx-ink); border-color: #fff; font-weight: 600; }
.sx-navigation .sx-header-contact:hover { background: #edf4f7; text-decoration: none; }
.sx-nav-group { position: relative; }
.sx-nav-group > summary { cursor: pointer; list-style: none; gap: 9px; padding-block: 12px; }
.sx-nav-group > summary::-webkit-details-marker { display: none; }
.sx-nav-group > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-top: -4px; }
.sx-nav-group[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.sx-nav-panel { position: absolute; top: calc(100% + 14px); left: -24px; width: min(560px, calc(100vw - 40px)); padding: 24px; background: #fff; color: var(--sx-ink); border: 1px solid var(--sx-line); border-radius: 8px; box-shadow: 0 12px 28px #142e481a; max-height: calc(100dvh - 120px); overflow: auto; }
.sx-nav-services { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.sx-nav-service { display: flex; flex-direction: column; align-items: stretch; }
.sx-nav-service > strong { font-size: .96rem; font-weight: 600; margin-bottom: 4px; }
.sx-navigation .sx-nav-panel a { color: var(--sx-link); padding: 10px 0; font-size: .86rem; min-height: 44px; }
.sx-navigation .sx-nav-panel a:hover { color: var(--sx-ink); }
.sx-nav-service a { border-bottom: 1px solid #e6edf2; }
.sx-navigation .sx-nav-overview { grid-column: 1 / -1; border-top: 1px solid var(--sx-line); padding-top: 16px; }
.sx-nav-units { width: min(390px, calc(100vw - 40px)); }
.sx-nav-units a { display: block; }
.sx-nav-units a + a { border-top: 1px solid var(--sx-line); margin-top: 10px; }
.sx-nav-units strong { display: block; font-size: .96rem; }
.sx-nav-units span { display: block; color: var(--sx-muted); margin-top: 4px; font-size: .8rem; line-height: 1.6; }
.sx-menu-toggle { white-space: nowrap; }
.sx-menu-symbol-close,
.sx-menu-toggle[aria-expanded="true"] .sx-menu-symbol-open { display: none; }
.sx-menu-toggle[aria-expanded="true"] .sx-menu-symbol-close { display: block; }
.sx-service-links a,
.sx-tour-services a,
.sx-price-links a,
.sx-related-links a { min-height: 44px; display: inline-flex; align-items: center; }
.sx-footer-unit nav a,
.sx-footer-more a { min-height: 44px; display: inline-flex; align-items: center; }
.sx-footer .sx-button-wa { color: #fff; padding: 13px 18px; }
.sx-wa-float { z-index: 60; }
.sx-consent-open .sx-wa-float,
.sx-menu-open .sx-wa-float { display: none; }

/* One compact, non-modal notice; choices do not affect access to WhatsApp. */
.spaso-consent { position: fixed; z-index: 1000; left: 20px; right: 20px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: auto; max-width: 680px; margin: auto; padding: 18px 22px; border: 1px solid #b1c4d1; border-radius: 10px; background: #fff; color: #142e48; box-shadow: 0 8px 28px #142e4826; font: 400 14px/1.5 "Spaso Sans", system-ui, sans-serif; max-height: calc(100dvh - 28px); overflow: auto; }
.spaso-consent h2 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; }
.spaso-consent p { margin: 0; color: #44576d; }
.spaso-consent a { color: #275e87; text-decoration: underline; }
.spaso-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.spaso-consent button { min-height: 44px; padding: 10px 16px; border-radius: 6px; border: 1px solid #142e48; font: 600 13px/1.4 "Spaso Sans", system-ui, sans-serif; cursor: pointer; }
.spaso-consent-accept { color: #fff; background: #142e48; }
.spaso-consent-reject { color: #142e48; background: #fff; }
.spaso-consent-accept:hover { background: #244761; }
.spaso-consent-reject:hover { background: #edf4f7; }
.sx-footer .spaso-consent-settings { position: static; background: transparent; color: #e6eef4; border: 0; border-radius: 0; box-shadow: none; padding: 10px 0; min-height: 44px; font: inherit; font-size: .83rem; text-align: left; text-decoration: underline; text-underline-offset: .2em; }
.sx-menu-open .spaso-consent { visibility: hidden; }
.sx-consent-open :focus-visible { scroll-margin-bottom: var(--sx-consent-space, 180px); }

@media (min-width: 1000px) and (max-width: 1150px) {
  .sx-header-inner { gap: 20px; }
  .sx-navigation { gap: 16px; font-size: .79rem; }
  .sx-navigation .sx-header-contact { padding-inline: 12px; }
}
@media (max-width: 999px) {
  .spaso-js .sx-header:not(.is-enhanced) .sx-navigation { display: none; }
  .sx-header-inner { min-height: 72px; gap: 0; }
  .sx-brand img { width: 48px; height: 48px; }
  .sx-navigation { gap: 0; padding-bottom: 16px; }
  .sx-nav-group > summary { padding: 14px 0; border-top: 1px solid #4b6276; justify-content: space-between; }
  .sx-nav-panel { position: static; width: 100%; padding: 18px; margin: 0 0 16px; border: 0; box-shadow: none; max-height: none; }
  .sx-nav-services { gap: 18px 24px; }
  .sx-navigation .sx-nav-panel a { border-top: 0; }
  .sx-navigation .sx-nav-overview { border-top: 1px solid var(--sx-line); }
  .sx-navigation .sx-header-contact { justify-content: center; }
  .sx-header.is-open .sx-navigation { max-height: calc(100dvh - 88px); overscroll-behavior: contain; }
}
@media (max-width: 767px) {
  .sx-home-hero { padding-top: 28px; }
  .sx-hero-copy h1 { line-height: 1.18; margin-bottom: 20px; }
  .sx-intro { line-height: 1.7; }
  .sx-hero-price { margin-top: 20px; }
  .sx-hero-copy .sx-actions { margin-top: 24px; }
  .sx-page-nav a { min-height: 44px; }
  .sx-service-links { gap: 2px 20px; }
  .sx-footer { padding-bottom: 32px; }
  .spaso-consent { left: 12px; right: 12px; padding: 14px 16px; }
  .spaso-consent p { font-size: 13px; }
  .spaso-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .spaso-consent button { padding-inline: 8px; }
}
@media (max-width: 360px) {
  .sx-header-inner { column-gap: 8px; }
  .sx-brand img { width: 38px; height: 46px; }
  .sx-nav-services { gap: 18px 14px; }
  .sx-nav-panel { padding: 14px; }
  .spaso-consent { left: 8px; right: 8px; padding: 12px; }
}
@media (max-height: 480px) {
  .sx-header { position: relative; }
  .sx-header.is-open .sx-navigation { max-height: 65dvh; }
  .spaso-consent { max-height: 52dvh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
