.page {
  background: var(--off-white);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 130px 0 96px;
}

.heroBg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #112040 52%, #1d355b 100%);
}

.heroPattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(201, 146, 58, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 146, 58, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.heroGlow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  right: 10%;
  top: 10%;
  background: radial-gradient(circle, rgba(201, 146, 58, 0.18) 0%, transparent 68%);
}

.heroContainer,
.heroInner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.breadcrumb a:hover,
.current {
  color: var(--gold-light);
}

.heroTitle {
  margin: 0 0 1rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.05;
}

.heroSubtitle {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.8;
}

.heroWave {
  position: absolute;
  inset: auto 0 -2px;
}

.heroWave svg {
  display: block;
  width: 100%;
}

.infoStrip {
  background: var(--gold);
}

.infoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.infoItem {
  padding: 1.4rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.infoItem:last-child {
  border-right: none;
}

.infoLabel {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.infoValue {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.infoValueGroup {
  display: grid;
  gap: 0.2rem;
}

.contactMain {
  padding: 80px 0;
}

.contactLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: stretch;
}

/* ── Map panel (left column) ── */
.mapPanel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mapTabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  background: #f9fbfd;
}

.mapTab {
  min-height: 50px;
  padding: 0.8rem 1.3rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}

.mapTab:hover {
  color: var(--navy);
}

.activeTab {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: #fff;
}

.mapFrame {
  flex: 1;
  min-height: 380px;
  background: linear-gradient(135deg, #d8e4f0 0%, #eef3f7 100%);
}

.mapFrame iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  border: 0;
}

.mapOfficeInfo {
  padding: 1.2rem 1.6rem;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  background: #fff;
}

.mapOfficeName {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.hqBadge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  background: var(--gold);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  font-family: 'DM Sans', sans-serif;
}

.mapOfficeDetail {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.7rem;
}

.mapOfficeContacts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mapOfficeContact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.mapOfficeContact:hover {
  text-decoration: underline;
}

.mapPlaceholder {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  color: #4f6580;
  gap: 0.6rem;
}

.mapPlaceholderIcon {
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.mapPlaceholderTitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}

.mapPlaceholder p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.mapDirectionsLink {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.mapDirectionsLink:hover {
  text-decoration: underline;
}

.formCard {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.08);
  padding: 2rem;
}

.cardHeader p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.formGroup {
  display: grid;
  gap: 0.5rem;
}

.fullWidth {
  grid-column: 1 / -1;
}

.formGroup label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.formGroup input,
.formGroup select,
.formGroup textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(17, 32, 64, 0.16);
  background: #f9fbfd;
  padding: 0.95rem 1rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
}

.formGroup textarea {
  min-height: 150px;
  resize: vertical;
}

.formGroup input:focus,
.formGroup select:focus,
.formGroup textarea:focus {
  outline: none;
  border-color: rgba(201, 146, 58, 0.8);
  box-shadow: 0 0 0 4px rgba(201, 146, 58, 0.12);
  background: #fff;
}

.formFooter {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.formPromise {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.formError {
  grid-column: 1 / -1;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #fff3f3;
  border: 1px solid #f1c1c1;
  color: #9e1f1f;
  font-size: 0.9rem;
}

.successBox {
  text-align: center;
  padding: 3rem 1rem;
}

.successBadge {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #3bb273 0%, #2d8c5b 100%);
  color: #fff;
  font-weight: 700;
}

.successBox h3 {
  margin: 0 0 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
}

.successBox p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.sideColumn {
  display: grid;
  gap: 1.25rem;
}

.infoCard {
  padding: 1.8rem;
}

.infoCardTitle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--gold-pale);
}

.infoCardIco {
  font-size: 1rem;
}

.infoRow {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.infoRow:last-child {
  margin-bottom: 0;
}

.infoIconWrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201, 146, 58, 0.12);
  border: 1px solid rgba(201, 146, 58, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.infoRowLabel {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.infoRowVal {
  font-size: 0.87rem;
  color: var(--navy);
  line-height: 1.5;
}

.infoRowVal a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

.infoRowVal a:hover {
  text-decoration: underline;
}

.officeList {
  display: grid;
  gap: 0;
}

.officeListItem {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.07);
}

.officeListItem:first-child {
  padding-top: 0;
}

.officeListItem:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.presenceAddress,
.hoursNote {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.socialCard {
  border-radius: 24px;
  padding: 1.6rem;
  background: linear-gradient(135deg, #0a1628 0%, #1a3158 100%);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.18);
}

.socialTitle {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.socialSubtitle {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
  margin: 0.5rem 0 1.1rem;
}

.socialLinks {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.socialLinks a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.presenceSection {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--navy);
}

.presenceBg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
}

.presenceOverlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9923a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.presenceSubtitle {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.presenceCard {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(201, 146, 58, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.8rem;
  color: #fff;
  transition: all var(--transition);
}

.presenceCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.presenceCard:hover {
  background: rgba(201, 146, 58, 0.08);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.presenceCard:hover::before {
  transform: scaleX(1);
}

.headOfficeCard {
  border-color: rgba(201, 146, 58, 0.4);
  background: rgba(201, 146, 58, 0.06);
}

.headOfficeCard::before {
  transform: scaleX(1);
}

.cardBadge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.officeIcon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(201, 146, 58, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.officeCity {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.presenceAddress {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0 0 0.8rem;
}

.presenceContact {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.presenceEmail {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.mapButton {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: none;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  padding: 0;
  cursor: pointer;
  transition: gap var(--transition);
  font-family: 'DM Sans', sans-serif;
}

.mapButton:hover {
  gap: 0.7rem;
}

.mapSection {
  background: #fff;
}

.mapTabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

.mapTab {
  min-height: 58px;
  padding: 0.95rem 1.5rem;
  border: none;
  background: #fff;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.activeTab {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.mapContainer {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  min-height: 420px;
}

.mapContainer:has(.buildingImageFrame:empty),
.mapContainer:not(:has(.buildingImageFrame)) {
  grid-template-columns: 1fr;
}

.mapFrame {
  min-height: 420px;
  background: linear-gradient(135deg, #d8e4f0 0%, #eef3f7 100%);
}

.buildingImageFrame {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-left: 2px solid var(--gold);
}

.buildingImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.buildingImageFrame:hover .buildingImage {
  transform: scale(1.05);
}

.buildingImageOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.7) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  pointer-events: none;
}

.buildingImageLabel {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mapEmbed,
.mapEmbed :global(iframe) {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.mapPlaceholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: #4f6580;
}

.mapPlaceholderTitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
}

.mapPlaceholder a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.hoursSection {
  padding: 80px 0;
}

.hoursLayout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hoursCard,
.ctaCard {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 18px 40px rgba(10, 22, 40, 0.08);
}

.hoursCard {
  padding: 1.3rem 1.6rem;
}

.hoursRow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  color: var(--navy);
  font-weight: 600;
}

.hoursRow:last-child {
  border-bottom: none;
}

.open {
  color: #2d8c5b;
}

.closed {
  color: #b42318;
}

.hoursNote {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.ctaColumn {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ctaCard {
  padding: 2.5rem;
  color: #fff;
  background: linear-gradient(135deg, #0a1628 0%, #1a3158 100%);
  text-align: center;
}

.ctaCard h3 {
  margin: 0 0 0.75rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
}

.ctaCard p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.ctaButtons {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ctaOutline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .contactLayout,
  .hoursLayout {
    grid-template-columns: 1fr;
  }

  .presenceGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 118px 0 84px;
  }

  .infoGrid,
  .formGrid,
  .presenceGrid {
    grid-template-columns: 1fr;
  }

  .infoItem {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .infoItem:last-child {
    border-bottom: none;
  }

  .formFooter {
    align-items: stretch;
  }

  .formFooter :global(.btn-primary) {
    width: 100%;
    justify-content: center;
  }
}
