.site-footer {
  background-color: #080f1a;
  color: #94a3b8;
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
}

/* Shared notice ticker (used on every page) */
.notice-ticker-bar {
  width: 100%;
  margin: 0;
  padding: 10px clamp(12px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background: #0b1320;
  color: #e2e8f0;
  font-size: 12px;
}
.notice-pill {
  background: #991b1b;
  color: #fff;
  font:
    900 9.5px "JetBrains Mono",
    monospace;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.notice-container {
  flex: 1;
  overflow: hidden;
  height: 20px;
  display: flex;
  align-items: center;
}
.notice-content {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee-seamless 35s linear infinite;
}
.notice-content:hover {
  animation-play-state: paused;
}
.notice-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #cbd5e1;
}
.notice-item::before {
  content: "◆";
  color: #d9534f;
  font-size: 8px;
}
@keyframes marquee-seamless {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 48px) clamp(16px, 4vw, 24px) 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 40px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-box {
  width: 55px;
  height: 55px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-box img {
  width: 100%;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.footer-sub-badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.footer-description {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 320px;
}

.footer-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.helpdesk-address {
  color: #cbd5e1;
  font-size: 12.5px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.helpdesk-timing {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.helpdesk-email {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.helpdesk-email a {
  color: #cbd5e1;
  text-decoration: none;
}

.helpdesk-email a:hover {
  color: #ffffff;
}

.portal-stats-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 14px 16px;
  border-radius: 10px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-digits {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: #f59e0b;
  letter-spacing: 0.08em;
}

.footer-bottom {
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  padding: 16px 24px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #64748b;
}

.footer-bottom-meta {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.guidelines-consent-open {
  overflow: hidden;
}

.footer-service-carousel {
  display: contents;
}

.footer-service-slide {
  min-width: 0;
}

.footer-service-indicators {
  display: none;
}

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

.guidelines-consent {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.guidelines-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 18, 0.76);
  backdrop-filter: blur(4px);
}

.guidelines-consent__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(88vh, 850px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  background: #fffdfb;
  border: 1px solid #e7d5d0;
  border-top: 5px solid #d9534f;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(41, 25, 25, 0.34);
  color: #2f2a2a;
  min-width: 0;
  max-width: calc(100vw - 20px);
}

.guidelines-consent__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 17px;
  border-bottom: 1px solid #eadedb;
  background: linear-gradient(135deg, #fff8f6, #fffdfb);
  min-width: 0;
}

.guidelines-consent__header > div:last-child {
  min-width: 0;
}

.guidelines-consent__emblem {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #efbbb7;
  border-radius: 50%;
  background: #fff;
  color: #d9534f;
  font-size: 22px;
}

.guidelines-consent__label {
  display: block;
  margin-bottom: 3px;
  color: #b83f3b;
  font:
    700 10px "JetBrains Mono",
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.guidelines-consent__header h2 {
  margin: 0;
  color: #432c2b;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.guidelines-consent__header p {
  margin: 3px 0 0;
  color: #765f5d;
  font-size: 12px;
}

.guidelines-consent__content {
  overflow-y: auto;
  padding: 20px 30px 22px 46px;
  background: #ffffff;
  scrollbar-color: #d9aaa6 #f8eeec;
  scrollbar-width: thin;
  min-width: 0;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  white-space: normal;
}

.guidelines-consent__content:focus {
  outline: 2px solid rgba(217, 83, 79, 0.42);
  outline-offset: -3px;
}

.guidelines-consent__content ol {
  margin: 0;
  padding-left: 20px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.guidelines-consent__content li {
  margin-bottom: 11px;
  padding-left: 5px;
  color: #4d4443;
  font-size: 13px;
  line-height: 1.6;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.guidelines-consent__content li::marker {
  color: #c44743;
  font-weight: 700;
}

.guidelines-consent__content ul {
  margin: 7px 0 1px;
  padding-left: 20px;
}

.guidelines-consent__content ul li {
  margin-bottom: 3px;
}

.guidelines-consent__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  border-top: 1px solid #eadedb;
  background: #fff8f6;
  min-width: 0;
}

.guidelines-consent__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #3f3534;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.guidelines-consent__check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: #d9534f;
}

#guidelinesConsentContinue {
  min-width: 190px;
  border: 1px solid #c44541;
  border-radius: 5px;
  padding: 11px 17px;
  background: #d9534f;
  color: #fff;
  font:
    700 12px "Poppins",
    sans-serif;
  cursor: pointer;
  transition:
    background 0.18s ease,
    opacity 0.18s ease;
}

#guidelinesConsentContinue:hover:not(:disabled) {
  background: #b83f3b;
}

#guidelinesConsentContinue:disabled {
  border-color: #d8c9c7;
  background: #ded5d3;
  color: #887b79;
  cursor: not-allowed;
}

@media (max-width: 650px) {
  .guidelines-consent {
    padding: 10px;
  }
  .guidelines-consent__dialog {
    max-height: 94vh;
  }
  .guidelines-consent__header {
    padding: 15px 16px;
  }
  .guidelines-consent__emblem {
    width: 40px;
    height: 40px;
  }
  .guidelines-consent__content {
    padding: 16px 18px 18px 32px;
  }
  .guidelines-consent__footer {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 16px;
  }
  #guidelinesConsentContinue {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-service-carousel {
    display: block;
    position: relative;
    min-height: 155px;
  }

  .footer-service-slide {
    display: none;
  }

  .footer-service-slide.is-active {
    display: block;
  }

  .footer-service-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
  }

  .footer-service-indicators button {
    width: 24px;
    height: 5px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #475569;
    opacity: 0.6;
    cursor: pointer;
  }

  .footer-service-indicators button.is-active {
    background: #f59e0b;
    opacity: 1;
  }
}

@media (min-width: 481px) and (max-width: 900px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main > :first-child,
  .footer-main > :last-child {
    grid-column: 1 / -1;
  }

  .footer-service-carousel {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* Keep the compact footer clear on small screens. */
@media (max-width: 600px) {
  .footer-bottom-meta {
    display: none;
  }
}
