/* Footer UX — map panel + denser right column (overrides dist/style.css) */

.nth-footer__content {
  gap: 1.65rem;
}

@media (min-width: 1024px) {
  .nth-footer__content {
    gap: 1.85rem;
  }
}

.nth-footer__newsletter {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nth-footer__lower {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nth-footer__lower {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 1.75rem 2rem;
    align-items: stretch;
  }
}

.nth-footer__cols {
  gap: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .nth-footer__cols {
    gap: 1.15rem 1.5rem;
  }
}

.nth-footer__links {
  gap: 0.48rem;
}

.nth-footer__links a {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

.nth-footer__links a:hover {
  color: #fff;
}

.nth-footer__col-title {
  color: #fff;
}

.nth-footer__map {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: rgba(5, 8, 10, 0.72);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.24);
}

.nth-footer__map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.nth-footer__map-title {
  margin: 0;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.nth-footer__map-address {
  margin: 0.28rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  line-height: 1.45;
}

.nth-footer__map-open {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-top: 0.05rem;
  color: var(--color-accent, #fdc402);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nth-footer__map-open:hover {
  color: #fff;
}

.nth-footer__map-open svg {
  width: 0.7rem;
  height: 0.7rem;
}

.nth-footer__map-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 14.5rem;
  background: #0a0c0e;
}

@media (min-width: 1024px) {
  .nth-footer__map-frame {
    min-height: 100%;
  }

  .nth-footer__map {
    min-height: 100%;
  }
}

.nth-footer__map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14.5rem;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

@media (min-width: 1024px) {
  .nth-footer__map-frame iframe {
    position: absolute;
    inset: 0;
    min-height: 0;
    height: 100%;
  }
}

@media (max-width: 639px) {
  .nth-footer__map-head {
    flex-direction: column;
    align-items: stretch;
  }

  .nth-footer__map-open {
    width: fit-content;
  }
}

/* Mobile accordion chevron — keep column titles usable */
.nth-footer__col-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  cursor: pointer;
}

.nth-footer__col-title svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: none;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.nth-footer__col.is-open .nth-footer__col-title svg {
  transform: rotate(180deg);
}

@media (min-width: 960px) {
  .nth-footer__col-title {
    cursor: default;
    pointer-events: none;
  }

  .nth-footer__col-title svg {
    display: none;
  }
}
