/* Figma Onepager chrome (header 1:11015 / footer 1:11416) */

.anf-topbar {
  background: #eff1f4;
  border-bottom: 1px solid #e9eaeb;
}

.anf-topbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4px clamp(16px, 4vw, 100px);
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  box-sizing: border-box;
}

.anf-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000e26;
  text-decoration: none;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}

.anf-topbar__item img {
  display: block;
  flex-shrink: 0;
}

.anf-topbar__sep {
  font-weight: 600;
  color: #000e26;
  margin: 0 -32px;
}

.anf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e9eaeb;
}

.anf-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}

.anf-header__left {
  display: flex;
  align-items: center;
  gap: 40px;
  min-width: 0;
}

.anf-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

.anf-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.anf-logo__full {
  display: block;
  height: 40px;
  width: auto;
}

.anf-logo__mark {
  display: none;
  height: 40px;
  width: auto;
}

.anf-logo--lg .anf-logo__full {
  height: 69px;
  width: auto;
  max-width: 303px;
}

.anf-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-family: "Source Serif Pro", "Source Serif 4", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.anf-nav a {
  color: #000e26;
  text-decoration: none;
  white-space: nowrap;
}

.anf-nav a:hover {
  color: #1643d5;
}

.anf-nav--mobile {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px clamp(16px, 4vw, 100px) 20px;
  border-top: 1px solid #e9eaeb;
}

.anf-nav--mobile a {
  padding: 12px 0;
  border-bottom: 1px solid #e9eaeb;
}

.anf-nav--mobile:not([hidden]) {
  display: flex;
}

.anf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.anf-btn--cta {
  background: #002059;
  color: #ffe481;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 18px;
  height: 32px;
  white-space: nowrap;
  flex-shrink: 0;
}

.anf-btn--cta img {
  width: 16px;
  height: 16px;
  /* SVG stroke is already brand yellow (#FFE481) */
  filter: none;
}

.anf-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.anf-menu-toggle span {
  display: block;
  height: 2px;
  background: #000e26;
  margin: 6px 0;
}

.anf-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d5d7da;
  border-radius: 12px;
  padding: 10px 12px;
  box-sizing: border-box;
  overflow: visible;
}

.anf-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  color: #000e26;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  padding: 2px 0 4px;
  min-width: 0;
}

.anf-search input::placeholder {
  color: #a4a7ae;
}

.anf-search__go {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.anf-search__go img {
  display: block;
}

.anf-search--sm {
  /* Match header CTA: same height, type, icons */
  width: 200px;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  gap: 8px;
}

.anf-search--sm input {
  font-size: 12px;
  line-height: 18px;
  padding: 0;
}

.anf-search--sm .anf-search__go img,
.anf-search--sm > img {
  width: 16px;
  height: 16px;
}

.anf-search--footer {
  background: #fff;
  min-height: 44px;
  width: 100%;
  max-width: 396px;
  border: 1px solid #e5e9ee;
  border-radius: 12px;
  padding: 4px 4px 4px 16px;
  gap: 8px;
  align-self: start;
}

.anf-search__go--footer {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #002059;
}

.anf-search__go--footer img {
  filter: invert(86%) sepia(41%) saturate(504%) hue-rotate(358deg) brightness(104%) contrast(103%);
}

/* Footer */
.anf-footer {
  padding: 24px 0 40px;
}

.anf-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.anf-footer__card {
  background: #f7f8f9;
  border: 1px solid #e5e9ee;
  border-radius: 12px;
  padding: 24px clamp(20px, 5vw, 77px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.anf-footer__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 396px);
  gap: 32px;
  align-items: start;
}

.anf-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: "Source Serif Pro", "Source Serif 4", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.anf-footer__nav a {
  color: #000e26;
  text-decoration: none;
}

.anf-footer__nav a:hover {
  color: #1643d5;
}

.anf-footer__kontakt h3 {
  margin: 0 0 10px;
  font-family: "Source Serif Pro", "Source Serif 4", serif;
  font-size: 16px;
  font-weight: 600;
  color: #000e26;
}

.anf-footer__kontakt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.anf-footer__line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #50576b;
  text-decoration: none;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.anf-footer__line img {
  flex-shrink: 0;
}

.anf-footer__line--channels {
  gap: 8px;
}

.anf-footer__line--channels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #50576b;
  text-decoration: none;
}

.anf-footer__line--addr {
  align-items: flex-start;
}

.anf-footer__line--addr div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.anf-footer__line--addr strong {
  color: #000e26;
  font-weight: 400;
}

.anf-footer__kontakt .anf-btn--cta {
  margin-top: 6px;
}

.anf-footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.anf-footer__meta {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  min-width: 0;
}

.anf-footer__badge-link {
  display: block;
  flex-shrink: 0;
}

.anf-footer__badge {
  display: block;
  width: 147px;
  height: auto;
}

.anf-footer__meta p {
  margin: 8px 0 0;
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: #717680;
}

.anf-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.anf-legal-links a {
  font-family: "Source Sans Pro", "Source Sans 3", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  color: #717680;
  text-decoration: none;
}

.anf-legal-links a:hover {
  color: #000e26;
}

.anf-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.anf-social-icons a {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 400px;
  background: #002059;
  overflow: hidden;
}

.anf-social-icons a img {
  display: block;
  width: 16px;
  height: 16px;
}

@media (max-width: 1100px) {
  .anf-footer__row {
    grid-template-columns: 1fr 1fr;
  }

  .anf-search--footer {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .anf-nav:not(.anf-nav--mobile) {
    display: none;
  }

  .anf-menu-toggle {
    display: block;
  }

  .anf-topbar__inner {
    gap: 16px;
    justify-content: center;
  }

  .anf-topbar__sep {
    margin: 0;
  }

  .anf-topbar__text {
    display: none;
  }
}

@media (max-width: 767px) {
  .anf-logo__full {
    display: none;
  }

  .anf-logo__mark {
    display: block;
  }

  .anf-logo--lg .anf-logo__full {
    display: block;
    height: 48px;
  }

  .anf-search--sm {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .anf-search--sm input,
  .anf-search--sm > img:last-child {
    display: none;
  }

  .anf-search--sm .anf-search__go {
    width: 32px;
    height: 32px;
  }

  .anf-btn--cta {
    display: none;
  }

  .anf-header__inner {
    padding: 10px 16px;
  }

  .anf-footer__row {
    grid-template-columns: 1fr;
  }

  .anf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .anf-footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Microsoft Clarity — minimal consent bar */
.clarity-consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e9eaeb;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 14, 38, 0.12);
  font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
}

.clarity-consent[hidden] {
  display: none !important;
}

.clarity-consent__text {
  margin: 0;
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.4;
  color: #50576b;
  text-align: left;
}

.clarity-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.clarity-consent__btn {
  appearance: none;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.clarity-consent__btn--ghost {
  border: 1px solid #d5d7da;
  background: #fff;
  color: #000e26;
}

.clarity-consent__btn--primary {
  border: 1px solid #002059;
  background: #002059;
  color: #ffe481;
}

.clarity-consent__link {
  font-size: 13px;
  font-weight: 600;
  color: #1643d5;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 8px 4px;
}

@media (max-width: 768px) {
  .clarity-consent {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 12px;
  }
}
