/* ===== Footer (Figma: dark blue block #012060, 4 x 282px columns / 24px gap) ===== */
.footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 0; }

.footer a {
  color: var(--footer-link-text); }

.footer__main {
  padding: var(--footer-main-padding); }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap); }

/* --- Column 1: logo / description / socials --- */
.footer__col-info {
  display: flex;
  flex-direction: column;
  gap: 24px; }

.footer__logo a {
  display: inline-block;
  background: #fff;
  border-radius: 8px; }

.footer__logo img {
  height: 133px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block; }

.footer__desc {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 24px;
  color: var(--footer-text); }

.footer__desc p {
  margin: 0;
  color: inherit; }

.footer__social {
  display: flex;
  align-items: center;
  gap: 8px; }

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.3s ease; }

.footer__social-icon:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white); }

.footer__social-icon svg {
  width: 13px;
  height: 13px; }

/* --- Columns 2 & 3: link lists --- */
.footer__col-links,
.footer__col-support,
.footer__col-contact {
  display: flex;
  flex-direction: column;
  gap: 24px; }

.footer__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-heavy);
  letter-spacing: var(--letter-spacing-heading);
  text-transform: uppercase;
  color: var(--footer-title-text);
  margin: 0;
  line-height: 19px; }

.footer__nav {
  display: flex;
  flex-direction: column; }

.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; }

.footer__nav ul li {
  margin: 0;
  padding: 0; }

.footer__nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--footer-link-text);
  font-family: var(--font-primary);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 24px;
  text-decoration: none;
  transition: color 0.3s ease; }

.footer__nav ul li a::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0; }

.footer__nav ul li a:hover {
  color: var(--footer-link-hover); }

/* --- Column 4: contact --- */
.footer__contact-box {
  display: flex;
  flex-direction: column;
  gap: 8px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-regular);
  color: var(--footer-text);
  line-height: 24px; }

.footer__contact-item a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease; }

.footer__contact-item a:hover {
  color: var(--footer-link-hover); }

.footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px; }

.footer__contact-icon svg {
  width: 16px;
  height: 16px; }

.footer__map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--color-placeholder);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center; }

.footer__map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block; }

/* holds the embedded map now, not the 48px pin icon */
.footer__map-inner {
  display: block;
  width: 100%;
  height: 100%; }

.footer__map-inner iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0; }

/* --- Bottom bar --- */
.footer__bottom {
  border-top: 1px solid var(--footer-border);
  padding: var(--footer-bottom-padding); }

.footer__bottom-wrap {
  display: flex;
  justify-content: center;
  align-items: center; }

.footer__copyright {
  font-family: var(--font-primary);
  font-size: var(--font-size-body-sm);
  font-weight: var(--font-weight-regular);
  color: var(--footer-text);
  opacity: 0.7; }

.footer__copyright p {
  margin: 0;
  color: inherit; }

/* ===== Responsive ===== */
@media screen and (max-width: 1199px) {
  .footer__main {
    padding: 140px 0 48px; }
}

@media screen and (max-width: 991px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px; }

  .footer__main {
    padding: 120px 0 40px; }
}

@media screen and (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px; }

  .footer__main {
    padding: 100px 0 32px; }

  .footer__col-info,
  .footer__col-links,
  .footer__col-support,
  .footer__col-contact {
    align-items: center;
    text-align: center; }

  .footer__social,
  .footer__nav ul,
  .footer__contact-box {
    align-items: center; }

  .footer__contact-item {
    justify-content: center;
    text-align: left; }

  .footer__map-placeholder {
    max-width: 320px; }
}
