@charset "UTF-8";

.site-footer {
  --footer-bg: #08090b;
  --footer-bg-soft: #0e1013;
  --footer-surface: #12151a;
  --footer-line: rgba(255, 255, 255, .09);
  --footer-line-strong: rgba(255, 255, 255, .14);
  --footer-text: #f5f6f7;
  --footer-text-soft: #c6cbd1;
  --footer-muted: #858d97;
  --footer-red: #e30014;
  --footer-red-soft: rgba(227, 0, 20, .12);
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 0%, rgba(255, 255, 255, .035), transparent 34%),
    linear-gradient(180deg, #0b0d10 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
  border-top: 3px solid var(--footer-red);
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.footer-container {
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, .8fr) minmax(180px, .8fr) minmax(260px, 1fr);
  gap: clamp(34px, 4vw, 68px);
  padding: clamp(62px, 6vw, 88px) 0 clamp(48px, 5vw, 72px);
}

.footer-brand {
  min-width: 0;
  padding-right: clamp(0px, 2vw, 22px);
}

.footer-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  color: var(--footer-text);
  text-decoration: none;
}

.footer-logo img {
  display: block;
  width: 215px;
  height: auto;
  max-width: 100%;
}

.footer-logo-text {
  color: var(--footer-text);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: .02em;
}

.footer-about {
  max-width: 410px;
  margin: 24px 0 0;
  color: var(--footer-text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.footer-brand-note {
  position: relative;
  max-width: 390px;
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-brand-note::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--footer-red);
}

.footer-section {
  min-width: 0;
}

.footer-heading {
  position: relative;
  margin: 4px 0 24px;
  padding-bottom: 14px;
  color: var(--footer-text);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--footer-red);
}

.footer-menu,
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu {
  display: grid;
  gap: 4px;
}

.footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-menu a {
  position: relative;
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 5px 0;
  color: var(--footer-text-soft);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}

.footer-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--footer-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.footer-menu a:hover,
.footer-menu a:focus-visible,
.footer-menu .current-menu-item > a,
.footer-menu .current-menu-ancestor > a {
  color: #fff;
}

.footer-menu a:hover::after,
.footer-menu a:focus-visible::after,
.footer-menu .current-menu-item > a::after,
.footer-menu .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-link {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--footer-text);
  text-decoration: none;
  border-bottom: 1px solid var(--footer-line);
  transition: border-color .18s ease, color .18s ease;
}

.footer-contact-link:last-child {
  border-bottom: 0;
}

.footer-contact-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--footer-line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  color: #d9dde2;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-copy small {
  color: var(--footer-muted);
  font-size: 9px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-contact-copy strong {
  overflow-wrap: anywhere;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 750;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  border-color: rgba(227, 0, 20, .42);
}

.footer-contact-link:hover .footer-contact-icon,
.footer-contact-link:focus-visible .footer-contact-icon {
  color: var(--footer-red);
  border-color: rgba(227, 0, 20, .45);
  background: var(--footer-red-soft);
  transform: scale(1.03);
}

.footer-empty {
  margin: 0;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--footer-line);
}

.footer-copyright {
  margin: 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-legal a {
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--footer-text);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--footer-red);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: minmax(260px, 1.3fr) repeat(2, minmax(170px, .8fr));
    gap: 44px 34px;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 6px;
  }

  .footer-contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 22px;
  }

  .footer-contact-link {
    border: 1px solid var(--footer-line);
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .025);
  }
}

@media (max-width: 767px) {
  .footer-container {
    width: min(100% - 28px, 1320px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    padding: 52px 0 44px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-logo img {
    width: 200px;
  }

  .footer-about {
    max-width: 560px;
    margin-top: 20px;
  }

  .footer-heading {
    margin-bottom: 18px;
  }

  .footer-contact-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .footer-bottom {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  .footer-container {
    width: min(100% - 24px, 1320px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 44px 0 34px;
  }

  .footer-brand,
  .footer-section,
  .footer-contact {
    grid-column: auto;
  }

  .footer-brand {
    padding-bottom: 34px;
  }

  .footer-section {
    padding: 28px 0;
    border-top: 1px solid var(--footer-line);
  }

  .footer-logo img {
    width: 188px;
  }

  .footer-about {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-brand-note {
    margin-top: 16px;
  }

  .footer-heading {
    margin-top: 0;
    margin-bottom: 18px;
  }

  .footer-menu {
    gap: 2px;
  }

  .footer-menu a {
    width: 100%;
    min-height: 44px;
    padding: 9px 0;
  }

  .footer-contact-list {
    grid-template-columns: 1fr;
  }

  .footer-contact-link {
    min-height: 58px;
    border: 1px solid var(--footer-line);
    border-radius: 12px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, .025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Revision 3: high-contrast footer + light quick-contact panel. */
.site-footer {
  --footer-text: #f8f9fa;
  --footer-text-soft: #e3e7eb;
  --footer-muted: #cbd1d7;
}
.footer-about,
.footer-menu a,
.footer-brand-note,
.footer-contact-copy small,
.footer-copyright,
.footer-legal a { color: var(--footer-muted); }
.footer-contact-copy strong { color: #fff; }

.quick-contact,
.quick-contact-mini {
  position: fixed;
  z-index: 9800;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}
.quick-contact[hidden],
.quick-contact-mini[hidden] { display: none !important; }
.quick-contact {
  width: min(390px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.11);
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f7f9 100%);
  color: #171b20;
  box-shadow: 0 24px 70px rgba(16,24,40,.20), 0 4px 18px rgba(16,24,40,.10);
  opacity: 0;
  transform: scale(.98);
  transform-origin: right bottom;
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}
.quick-contact.is-visible { opacity: 1; transform: scale(1); }
.quick-contact::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #e30014;
}
.quick-contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227,0,20,.20);
  border-radius: 12px;
  background: rgba(227,0,20,.08);
  color: #e30014;
}
.quick-contact-icon svg,
.quick-contact-action svg,
.quick-contact-mini-button svg,
.quick-contact-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quick-contact-icon svg { width: 21px; height: 21px; }
.quick-contact-content { min-width: 0; padding-right: 20px; }
.quick-contact-kicker {
  margin: 1px 0 7px;
  color: #d60012;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.quick-contact h2 {
  margin: 0;
  color: #171b20;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
}
.quick-contact-content > p:not(.quick-contact-kicker) {
  margin: 9px 0 0;
  color: #606873;
  font-size: 13px;
  line-height: 1.55;
}
.quick-contact-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #727b86;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}
.quick-contact-close svg { width: 18px; height: 18px; }
.quick-contact-close:hover,
.quick-contact-close:focus-visible { color: #171b20; background: #edf0f3; }
.quick-contact-groups { display: grid; gap: 13px; margin-top: 16px; }
.quick-contact-group + .quick-contact-group { padding-top: 12px; border-top: 1px solid rgba(17,24,39,.08); }
.quick-contact-group-label {
  display: block;
  margin-bottom: 7px;
  color: #737c87;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.quick-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}
.quick-contact-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 10px;
  background: #fff;
  color: #22272e;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 9px rgba(16,24,40,.035);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.quick-contact-action svg { width: 16px; height: 16px; color: #e30014; }
.quick-contact-action--primary { border-color: rgba(227,0,20,.28); background: rgba(227,0,20,.055); color: #171b20; }
.quick-contact-action:hover,
.quick-contact-action:focus-visible { border-color: rgba(227,0,20,.45); background: rgba(227,0,20,.07); color: #171b20; box-shadow: 0 5px 14px rgba(16,24,40,.06); }
.quick-contact-action--primary:hover,
.quick-contact-action--primary:focus-visible { border-color: rgba(227,0,20,.55); background: rgba(227,0,20,.10); }
.quick-contact-mini {
  opacity: 0;
  transform: scale(.96);
  transform-origin: right bottom;
  transition: opacity .18s ease, transform .18s ease;
}
.quick-contact-mini.is-visible { opacity: 1; transform: scale(1); }
.quick-contact-mini-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: #0b0d10;
  color: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.32);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .035em;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.quick-contact-mini-button svg { width: 19px; height: 19px; color: #ff4050; }
.quick-contact-mini-button:hover,
.quick-contact-mini-button:focus-visible { border-color: rgba(227,0,20,.45); background: #12151a; }
.quick-contact button:focus-visible,
.quick-contact a:focus-visible,
.quick-contact-mini button:focus-visible,
.quick-contact-noscript:focus-visible { outline: 2px solid #ff4050; outline-offset: 3px; }
.quick-contact-noscript {
  position: fixed;
  z-index: 9800;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: #e30014;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 520px) {
  .quick-contact,
  .quick-contact-mini { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .quick-contact {
    width: calc(100vw - 24px);
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 16px 16px;
    border-radius: 14px;
  }
  .quick-contact-icon { width: 42px; height: 42px; }
  .quick-contact-content { padding-right: 18px; }
  .quick-contact h2 { font-size: 16px; }
  .quick-contact-actions { display: grid; grid-template-columns: 1fr; }
  .quick-contact-action { min-width: 0; padding-inline: 9px; justify-content: flex-start; }
  .quick-contact-mini-button { min-height: 50px; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .quick-contact,
  .quick-contact-mini,
  .quick-contact-close,
  .quick-contact-action,
  .quick-contact-mini-button { transition-duration: .01ms !important; }
}
