.location {
  background: #fff;
  padding: 5rem clamp(1rem, 4vw, 3.75rem);
}

.location__inner {
  width: min(1024px, 100%);
  margin: 0 auto;
}

.location__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem 1rem;
}

.location__eyebrow {
  margin: 0 0 0.5rem;
  color: #ef7c00;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.location__eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: #ef7c00;
}

.location__title {
  margin: 0;
  color: #000200;
  font-size: clamp(2rem, 4vw, 2.625rem);
  line-height: 1.2;
  font-weight: 700;
}

.location__lead {
  margin: 0;
  max-width: 20rem;
  color: #474a51;
  font-size: 0.9375rem;
  line-height: 1.7;
  text-align: right;
}

.location__divider {
  display: block;
  height: 1px;
  margin: 0 2rem 3.5rem;
  background: linear-gradient(90deg, #ef7c00 0%, rgba(239, 124, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

.location__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.location-card {
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  position: relative;
}

.location-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef7c00 0%, rgba(239, 124, 0, 0.4) 100%);
}

.location-card__map-wrap {
  position: relative;
  border-bottom: 1px solid rgba(239, 124, 0, 0.25);
}

.location-card__map-frame {
  width: 100%;
  height: 260px;
  background: #f3f4f6;
}

.location-card__map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-card__map-link {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.9);
  color: #2563eb;
  font-size: 0.78rem;
  line-height: 1.2;
  text-decoration: none;
}

.location-card__body {
  padding: 1.5rem 2rem 1.75rem;
}

.location-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.location-card__unit {
  margin: 0;
  color: #ef7c00;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.location-card__unit::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef7c00;
}

.location-card__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.location-card__chips span {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 999px;
  color: #474a51;
  font-size: 0.6875rem;
  line-height: 1.5;
  padding: 0.2rem 0.65rem;
}

.location-card__address {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-card__pin {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(239, 124, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.location-card__address p {
  margin: 0;
  color: #474a51;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.location-card__address strong {
  color: #000200;
  font-family: "Inter", "Manrope", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.5;
}

.location-card__link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000200;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.location-card__link:hover,
.location-card__map-link:hover {
  text-decoration: underline;
}

.location-card__link:focus-visible,
.location-card__map-link:focus-visible {
  outline: 2px solid var(--brand-color-secondary);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .location {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .location__header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .location__lead {
    text-align: left;
  }

  .location__divider {
    margin: 0 0 2rem;
  }

  .location__cards {
    grid-template-columns: 1fr;
  }

  .location-card__body {
    padding: 1.25rem 1rem 1.5rem;
  }
}
