.locations-section {
  padding: clamp(76px, 8vw, 116px) 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.locations-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

.locations-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: 1;
  letter-spacing: -.025em;
}

.locations-heading h2 em {
  color: var(--orange);
  font-weight: 400;
}

.locations-heading > p {
  max-width: 285px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.locations-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.location-card {
  padding: 26px 0 4px;
  border-top: 1px solid var(--line);
}

.location-hq {
  margin-bottom: 30px;
}

.location-label {
  display: flex;
  gap: 20px;
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.location-label > span {
  color: var(--orange);
}

.location-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 39px;
  line-height: 1.12;
}

.location-region,
.location-card address {
  max-width: 395px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-style: normal;
  line-height: 1.9;
  overflow-wrap: break-word;
}

.location-directions {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 22px;
  padding: 8px 0;
  border-bottom: 1px solid var(--orange);
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 500;
}

.location-directions:hover,
.office-map-caption a:hover {
  color: var(--ink);
}

.office-map-panel {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.office-map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.office-map-caption > span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.office-map-caption a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-deep);
  font-size: 11px;
  padding: 5px 0;
}

#bengaluru-office-map {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  background: var(--paper-deep);
}

.office-map-note {
  margin: 0;
  padding: 14px 22px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
  border-top: 1px solid var(--line);
}

.footer-brand-wrap .footer-location {
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .locations-heading {
    align-items: flex-start;
    gap: 30px;
  }

  .locations-heading > p {
    max-width: 245px;
  }

  .locations-layout {
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .locations-heading {
    display: block;
    margin-bottom: 32px;
  }

  .locations-heading > p {
    max-width: 390px;
    margin: 24px 0 0;
  }

  .locations-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .location-card address {
    max-width: none;
  }

  #bengaluru-office-map {
    height: 330px;
  }
}

@media (max-width: 460px) {
  .locations-heading h2 {
    font-size: clamp(39px, 11vw, 48px);
  }

  .office-map-caption {
    padding: 14px 16px;
  }

  .office-map-note {
    padding: 14px 16px;
  }
}
