.site-footer {
  background: var(--color-footer);
  color: var(--color-footer-text);
  margin-top: var(--spacing-section);
}

.site-footer a {
  color: var(--color-footer-text);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-cta {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(199, 210, 254, 0.18);
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 0;
}

.footer-cta__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}

.footer-cta__copy p {
  max-width: 38rem;
  color: var(--color-footer-muted);
  line-height: 1.55;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.footer-cta .btn {
  min-height: 46px;
  padding: 0 18px;
}

.footer-cta__call {
  background: transparent;
  color: #fff;
  border-color: rgba(232, 238, 243, 0.28);
}

.footer-cta__call:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 238, 243, 0.5);
  color: #fff;
}

.footer-popular {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-popular__inner {
  display: flex;
  align-items: baseline;
  gap: 18px 28px;
  padding: 18px 0;
}

.footer-popular__title {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-footer-muted);
}

.footer-popular__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-popular__list a {
  font-size: 13px;
  color: #cbd5e1;
}

.footer-popular__list a:hover,
.footer-popular__list a[aria-current="page"] {
  color: #fff;
}

.footer-body__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(0, 3.85fr);
  gap: 42px;
  padding: var(--spacing-section) 0 36px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: start;
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer-brand__logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
}

.footer-brand__about,
.footer-brand__local {
  max-width: 28rem;
  color: var(--color-footer-muted);
  line-height: 1.55;
  font-size: 14px;
}

.footer-brand__local {
  margin-top: 10px;
}

.footer-brand__conversion {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
}

.footer-brand__conversion a {
  font-size: 13px;
  font-weight: 650;
  color: #c7d2fe;
}

.footer-brand__conversion a:hover {
  color: #fff;
}

.footer-trust {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.footer-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
}

.footer-trust li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
}

.footer-brand__contact {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-col > details {
  border: 0;
}

.footer-col summary {
  list-style: none;
  cursor: default;
}

.footer-col summary::-webkit-details-marker {
  display: none;
}

.footer-col h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-nav__hub {
  margin: 0 0 10px;
}

.footer-nav__hub a,
.footer-nav__list .footer-nav__hub a {
  font-weight: 700;
  color: #fff;
}

.footer-nav__group + .footer-nav__group {
  margin-top: 16px;
}

.footer-nav__group-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-footer-muted);
}

.footer-nav__list {
  display: grid;
  gap: 7px;
}

.footer-nav__list a {
  font-size: 14px;
  color: #cbd5e1;
}

.footer-nav__list a:hover,
.footer-nav__list a[aria-current="page"] {
  color: #fff;
}

.footer-col--contact {
  display: none;
}

.footer-contact__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-contact__list {
  display: grid;
  gap: 12px;
}

.footer-contact__list dt {
  font-size: 12px;
  color: var(--color-footer-muted);
}

.footer-contact__list dd {
  margin: 2px 0 0;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
}

.footer-contact__maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 650;
  color: #c7d2fe;
}

.footer-bar {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: #020617;
}

.footer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  min-height: 58px;
  padding: 14px 0;
  color: var(--color-footer-muted);
  font-size: 13px;
}

.footer-bar nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-bar a {
  color: #cbd5e1;
}

@media (min-width: 1100px) {
  .footer-col summary {
    pointer-events: none;
  }

  .footer-col > details > .footer-nav__panel {
    display: block !important;
  }
}

@media (max-width: 1099px) {
  .footer-cta__inner,
  .footer-popular__inner,
  .footer-body__inner,
  .footer-nav {
    display: block;
  }

  .footer-cta__actions {
    margin-top: 18px;
  }

  .footer-popular {
    padding-bottom: 4px;
  }

  .footer-popular__title {
    margin-bottom: 10px;
  }

  .footer-brand {
    padding-bottom: 8px;
  }

  .footer-brand__contact {
    display: none;
  }

  .footer-col--contact {
    display: block;
  }

  .footer-col--contact .footer-contact__title {
    display: none;
  }

  .footer-col {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .footer-col summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    cursor: pointer;
  }

  .footer-col summary h2 {
    margin: 0;
  }

  .footer-col summary::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
  }

  .footer-col details[open] > summary::after {
    content: "−";
  }

  .footer-nav__panel {
    padding: 0 0 16px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 639px) {
  .footer-cta__inner {
    padding: 28px 0;
  }

  .footer-cta .btn {
    width: 100%;
  }
}
