:root {
  --sc-cookie-blue: var(--scb, #1477f5);
  --sc-cookie-blue-light: var(--scb2, #5aa7ff);
  --sc-cookie-ink: var(--sci, #061421);
  --sc-cookie-navy: var(--scn, #081b2d);
  --sc-cookie-panel: var(--scp, #0d2235);
  --sc-cookie-text: #ffffff;
  --sc-cookie-muted: #a9b8c8;
  --sc-cookie-border: rgba(90, 167, 255, 0.28);
}

.sc-cookie-consent,
.sc-cookie-consent button,
.sc-cookie-consent input {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.sc-cookie-banner[hidden],
.sc-cookie-modal[hidden] {
  display: none !important;
}

.sc-cookie-banner {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px;
  color: var(--sc-cookie-text);
  background: var(--sc-cookie-navy);
  border: 1px solid var(--sc-cookie-border);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.sc-cookie-banner h2,
.sc-cookie-modal h2,
.sc-cookie-category h3 {
  margin: 0;
  color: var(--sc-cookie-text);
  font-weight: 800;
  line-height: 1.15;
}

.sc-cookie-banner h2,
.sc-cookie-modal h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.sc-cookie-banner p,
.sc-cookie-modal p {
  margin: 10px 0 0;
  color: var(--sc-cookie-muted);
  font-size: 15px;
  line-height: 1.65;
}

.sc-cookie-policy-link,
.sc-cookie-footer-link {
  color: var(--sc-cookie-blue-light);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-cookie-policy-link {
  display: inline-block;
  margin-top: 10px;
}

.sc-cookie-banner__actions,
.sc-cookie-modal__actions {
  display: grid;
  gap: 10px;
}

.sc-cookie-banner__actions {
  grid-template-columns: repeat(3, minmax(148px, 1fr));
}

.sc-cookie-button {
  min-height: 48px;
  padding: 12px 18px;
  color: var(--sc-cookie-text);
  background: transparent;
  border: 1px solid var(--sc-cookie-blue-light);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sc-cookie-button--decision {
  background: var(--sc-cookie-blue);
  border-color: var(--sc-cookie-blue);
}

.sc-cookie-button:hover {
  color: var(--sc-cookie-ink);
  background: var(--sc-cookie-text);
  border-color: var(--sc-cookie-text);
  transform: translateY(-1px);
}

.sc-cookie-button:focus-visible,
.sc-cookie-modal__close:focus-visible,
.sc-cookie-policy-link:focus-visible,
.sc-cookie-footer-link:focus-visible,
.sc-cookie-switch input:focus-visible + .sc-cookie-switch__track {
  outline: 3px solid var(--sc-cookie-text);
  outline-offset: 3px;
}

.sc-cookie-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sc-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 20, 0.78);
}

.sc-cookie-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px;
  color: var(--sc-cookie-text);
  background: var(--sc-cookie-navy);
  border: 1px solid var(--sc-cookie-border);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.sc-cookie-modal__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.sc-cookie-eyebrow {
  margin: 0 0 8px !important;
  color: var(--sc-cookie-blue-light) !important;
  font-size: 12px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.sc-cookie-modal__close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--sc-cookie-text);
  background: transparent;
  border: 1px solid var(--sc-cookie-border);
  border-radius: 8px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.sc-cookie-modal__description {
  margin-bottom: 20px !important;
}

.sc-cookie-categories {
  display: grid;
  gap: 12px;
}

.sc-cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: var(--sc-cookie-panel);
  border: 1px solid var(--sc-cookie-border);
  border-radius: 12px;
}

.sc-cookie-category h3 {
  font-size: 17px;
}

.sc-cookie-category p {
  margin-top: 6px;
  font-size: 14px;
}

.sc-cookie-switch {
  display: grid;
  grid-template-columns: 48px minmax(92px, 132px);
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.sc-cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.sc-cookie-switch__track {
  position: relative;
  display: block;
  width: 48px;
  height: 26px;
  background: #556476;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background-color 160ms ease;
}

.sc-cookie-switch__track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  content: "";
  background: #ffffff;
  border-radius: 50%;
  transition: transform 160ms ease;
}

.sc-cookie-switch input:checked + .sc-cookie-switch__track {
  background: var(--sc-cookie-blue);
}

.sc-cookie-switch input:checked + .sc-cookie-switch__track::after {
  transform: translateX(22px);
}

.sc-cookie-switch__label {
  color: var(--sc-cookie-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.sc-cookie-switch--locked {
  cursor: default;
  opacity: 0.9;
}

.sc-cookie-modal__actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.sc-cookie-footer-link {
  position: fixed;
  z-index: 65;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  background: var(--sc-cookie-navy);
  border: 1px solid var(--sc-cookie-border);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.sc-cookie-footer-link.is-in-footer {
  position: static;
  display: inline-flex;
  margin: 8px 0;
  padding: 0;
  color: var(--sc-cookie-blue-light);
  background: transparent;
  border: 0;
}

.sc-cookie-status {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.sc-cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 1020px) {
  .sc-cookie-banner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sc-cookie-banner__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.sc-cookie-banner-open #sc-template-home .sc-mobile-contact-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .sc-cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 18px;
    border-radius: 12px;
  }

  .sc-cookie-banner h2,
  .sc-cookie-modal h2 {
    font-size: 22px;
  }

  .sc-cookie-banner p,
  .sc-cookie-modal p {
    font-size: 14px;
  }

  .sc-cookie-banner__actions,
  .sc-cookie-modal__actions {
    grid-template-columns: 1fr;
  }

  .sc-cookie-modal {
    padding: 10px;
  }

  .sc-cookie-modal__panel {
    max-height: calc(100vh - 20px);
    padding: 18px;
    border-radius: 12px;
  }

  .sc-cookie-category {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .sc-cookie-switch {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .sc-cookie-footer-link:not(.is-in-footer) {
    right: 12px;
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-cookie-consent *,
  .sc-cookie-consent *::before,
  .sc-cookie-consent *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Match the shared navy/blue theme and keep theme defaults out of consent controls. */
.sc-cookie-consent{--sc-cookie-blue:#3f75ef;--sc-cookie-blue-light:#80adff;--sc-cookie-navy:#0d1b2b;--sc-cookie-panel:#142337}
.sc-cookie-consent,.sc-cookie-consent *{box-sizing:border-box}
.sc-cookie-banner{z-index:100020}
.sc-cookie-modal{z-index:100030}
.sc-cookie-modal[hidden]{display:none!important}
.sc-cookie-button{white-space:normal;word-break:normal;height:auto}
.sc-cookie-switch__track{box-sizing:border-box}
body.sc-cookie-banner-visible #sc-template-home :is(.sc-wa,.ig-exact-top,.sc-mobile-contact-bar),body.sc-cookie-modal-open #sc-template-home :is(.sc-wa,.ig-exact-top,.sc-mobile-contact-bar){visibility:hidden!important;pointer-events:none!important}
#sc-template-home .ig-cookie-policy{padding-top:55px;padding-bottom:75px;max-width:1040px;line-height:1.75;color:#384b63}
#sc-template-home .ig-cookie-policy h2{font-size:28px;line-height:1.2;margin-top:36px;color:#101f34}
#sc-template-home .ig-cookie-policy a{color:#2860d6;text-decoration:underline}
#sc-template-home .ig-cookie-policy .sc-cookie-button{background:#3f75ef;color:#fff}
.ig-cookie-table{overflow:auto;margin:24px 0}
.ig-cookie-table table{border-collapse:collapse;width:100%;min-width:590px;font-size:14px}
.ig-cookie-table th,.ig-cookie-table td{padding:16px;text-align:left;vertical-align:top;border:1px solid #d6e1ef}
.ig-cookie-table th{background:#edf3fc;color:#101f34}
@media(max-width:767px){.sc-cookie-consent .sc-cookie-modal__actions{grid-template-columns:1fr}.sc-cookie-consent .sc-cookie-category{grid-template-columns:1fr}}
.sc-cookie-consent .sc-cookie-switch>span:last-child{color:#b7c5d7;font-size:12px;font-weight:700;line-height:1.4}
#sc-template-home .ig-language-status{color:#fff;font-size:13px;line-height:1.5;margin:10px;padding:0}
#sc-template-home .ig-exact-language[aria-busy="true"] summary{opacity:.6}
