body { padding-top: var(--header-height); }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; width: 100%; border-bottom: 1px solid var(--line); background: #fff; transition: box-shadow 180ms ease; }
.site-header.is-scrolled { box-shadow: 0 5px 18px rgb(8 27 68 / 6%); }
.header-inner, .footer-inner { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: clamp(0.75rem, 1.6vw, 1.4rem); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; font-weight: 800; letter-spacing: 0.14em; color: var(--navy); }
.brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.brand span { font-size: 1.15rem; }
.language-switch { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; color: #8791a3; font-size: 0.82rem; font-weight: 700; }
.language-switch a, .language-switch span[aria-current="true"] { color: var(--ink); text-decoration: none; }
.language-switch a:hover { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: clamp(0.55rem, 1.15vw, 1rem); }
.site-nav a { color: #39445d; font-size: clamp(0.76rem, 0.9vw, 0.88rem); font-weight: 650; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.header-quote { min-height: 2.7rem; padding: 0.65rem 1rem; white-space: nowrap; font-size: 0.82rem; }
.header-login { min-height: 2.7rem; padding: 0.55rem 0.95rem; white-space: nowrap; font-size: 0.84rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mobile-bottom-nav { display: none; }

.site-footer { padding: 3.5rem 0 1.5rem; border-top: 0; background: #080808; color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(14rem, 1.4fr) repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); padding-bottom: 2.5rem; }
.site-footer .brand, .footer-column h2 { color: #fff; }
.footer-intro p { max-width: 23rem; margin: 1rem 0 0; color: #c2c7d0; font-size: 0.92rem; }
.footer-column h2 { margin: 0 0 0.85rem; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-column ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.footer-column a, .legal-links a { color: #c2c7d0; font-size: 0.9rem; text-decoration: none; }
.footer-column a:hover, .legal-links a:hover { color: #71dff5; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.15rem; border-top: 1px solid rgb(255 255 255 / 16%); color: #c2c7d0; font-size: 0.82rem; }
.legal-links { display: flex; gap: 1rem; }

@media (max-width: 900px) {
  :root { --header-height: 4.5rem; }
  .site-nav, .site-header .header-quote { display: none; }
  .site-header .header-actions { gap: 0.55rem; }
  .site-header .header-login { min-height: 2.65rem; padding: 0.5rem 0.8rem; }
  .mobile-bottom-nav { position: fixed; z-index: 30; inset: auto 0 0; display: flex; align-items: stretch; justify-content: space-around; min-height: 4.25rem; height: calc(4.25rem + env(safe-area-inset-bottom, 0px)); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); border-top: 1px solid var(--line); background: rgb(255 255 255 / 97%); box-shadow: 0 -5px 18px rgb(8 27 68 / 5%); backdrop-filter: blur(14px); }
  body { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-nav-item { position: relative; display: flex; flex: 1 1 20%; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 0.22rem; min-height: 4.25rem; padding: 0.4rem 0.1rem; color: #667287; font-size: 0.67rem; font-weight: 650; line-height: 1.1; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .mobile-nav-item svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav-item.is-active { color: var(--blue); }
  .mobile-nav-item.is-active::before { position: absolute; top: 0; left: 50%; width: 1.35rem; height: 0.16rem; transform: translateX(-50%); border-radius: 0.16rem; background: currentColor; content: ""; }
  .mobile-nav-item:active { background: rgb(20 85 232 / 5%); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 961px) and (max-width: 1120px) {
  .site-nav { gap: 0.5rem; }
  .site-nav a { font-size: 0.75rem; }
  .header-actions { gap: 0.4rem; }
  .header-quote, .header-login { padding-inline: 0.7rem; font-size: 0.75rem; }
}
@media (min-width: 901px) and (max-width: 960px) {
  .site-header .header-quote { display: none; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.35rem; }
}
.login-icon:focus-visible { outline: 3px solid #125ce5; outline-offset: 3px; }
.login-icon { display: grid; flex: 0 0 auto; place-items: center; width: 2.85rem; height: 2.85rem; overflow: hidden; border-radius: 50%; color: #2d415d; text-decoration: none; transition: color 160ms ease, box-shadow 160ms ease; }
.login-icon:hover { color: #125ce5; }
.login-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.login-icon .login-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid #dbe7ff; background: #eef4ff; }
@media (max-width: 900px) { .login-icon { width: 2.65rem; height: 2.65rem; } }
@media (max-width: 640px) { .login-icon { width: 2.55rem; height: 2.55rem; } }
.site-footer { background: #080808; }
.site-footer .brand img { background: #fff; border-radius: 50%; }
.privacy-settings-trigger { padding: 0; border: 0; background: transparent; color: #c2c7d0; font: inherit; text-decoration: underline; cursor: pointer; }
.privacy-settings-trigger:hover { color: #71dff5; }
.privacy-consent { position: fixed; z-index: 60; inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 66rem; margin-inline: auto; padding: 1.25rem; border: 1px solid #d9e2ef; border-radius: 1rem; background: #fff; box-shadow: 0 14px 46px rgb(8 27 68 / 18%); }
.privacy-consent[hidden] { display: none; }
.privacy-consent h2 { margin: 0 0 .35rem; color: var(--navy); font-size: 1rem; }
.privacy-consent p { max-width: 42rem; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.privacy-consent-actions { display: flex; flex: 0 0 auto; gap: .6rem; }
.privacy-consent-actions .button { min-height: 2.75rem; padding: .65rem .9rem; font-size: .84rem; }
@media (max-width: 640px) { .privacy-consent { align-items: stretch; flex-direction: column; gap: .9rem; } .privacy-consent-actions { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .privacy-consent { bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)); } }

.header-contact { display: none; width: 2.85rem; height: 2.85rem; place-items: center; border: 1px solid #c8ded5; border-radius: .8rem; color: #137a56; transition: background 160ms ease, border-color 160ms ease; }
.header-contact:hover { border-color: #137a56; background: #f0faf5; }
.header-contact svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-contact:focus-visible { outline: 3px solid #137a56; outline-offset: 3px; }
@media (max-width: 900px) {
  .header-contact { display: grid; width: 2.65rem; height: 2.65rem; }
}
@media (max-width: 640px) {
  .header-contact { width: 2.55rem; height: 2.55rem; }
}
@media (max-width: 360px) {
  .site-header .brand span { display: none; }
  .site-header .header-inner { gap: .45rem; }
  .site-header .header-actions { gap: .35rem; }
}
