.is-contact-page .online-main {
  max-width: 1180px;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.online-contact {
  --contact-gold: #e0ad1d;
  --contact-ink: #17243a;
  --contact-muted: #617087;
}

.online-contact > .article-info { display: none !important; }

.online-contact__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  padding: clamp(1.7rem, 4vw, 3.7rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 15%, rgba(224, 173, 29, .2), transparent 36%),
    linear-gradient(135deg, #101c31, #263a5c);
  box-shadow: 0 28px 70px rgba(20, 31, 51, .18);
  color: #fff;
}

.online-contact__hero::after {
  content: "";
  position: absolute;
  inset: auto -90px -130px auto;
  width: 320px;
  aspect-ratio: 1;
  border: 50px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
}

.online-contact__hero-copy { position: relative; z-index: 1; }

.online-contact__eyebrow,
.online-contact__section-head p {
  margin: 0 0 .6rem;
  color: #f4cf66;
  font-size: .87rem;
  font-weight: 900;
}

.online-contact__hero h1 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.online-contact__intro {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 1.08rem;
}

.online-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.online-contact__quick {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 220px;
  padding: .8rem 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.online-contact__quick > span:first-child { color: #f4cf66; font-size: 1.35rem; }
.online-contact__quick small,
.online-contact__quick strong { display: block; }
.online-contact__quick small { color: rgba(255, 255, 255, .62); font-size: .72rem; }
.online-contact__quick strong { margin-top: .1rem; font-size: .9rem; }

.online-contact__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 190px;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 22px rgba(255, 255, 255, .035);
  color: #f4cf66;
  font-size: 4.3rem;
}

.online-contact__offices {
  margin-top: 2rem;
  padding: clamp(1.2rem, 3vw, 2.3rem);
  border: 1px solid #e5e9ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(28, 39, 58, .06);
}

.online-contact__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.online-contact__section-head p { color: #9a7108; }
.online-contact__section-head h2 { margin: 0; color: var(--contact-ink); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.online-contact__section-head > span { padding: .45rem .75rem; border-radius: 999px; background: #fff7dc; color: #8c6500; font-size: .8rem; font-weight: 850; }

.online-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.online-contact-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #e9ecf1;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f9fafc);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.online-contact-card:hover {
  border-color: rgba(224, 173, 29, .6);
  box-shadow: 0 14px 30px rgba(23, 36, 58, .1);
  transform: translateY(-4px);
}

.online-contact-card h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: var(--contact-ink);
  font-size: 1.08rem;
}

.online-contact-card h3 span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #fff6d9;
  color: #946b00;
  font-size: .85rem;
}

.online-contact-card a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  margin-top: .55rem;
  color: var(--contact-muted);
  font-size: .83rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.online-contact-card a:hover { color: #8c6500; }
.online-contact-card a span { flex: 0 0 auto; color: #bd8a05; }

@media (max-width: 900px) {
  .online-contact__hero { grid-template-columns: 1fr; }
  .online-contact__mark { display: none; }
  .online-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .is-contact-page .online-main { padding-inline: .85rem; }
  .online-contact__hero { padding: 1.4rem; border-radius: 20px; }
  .online-contact__hero h1 { font-size: 2.4rem; }
  .online-contact__quick { width: 100%; min-width: 0; }
  .online-contact__offices { padding: 1rem; border-radius: 18px; }
  .online-contact__section-head { align-items: flex-start; }
  .online-contact__grid { grid-template-columns: 1fr; }
}

[data-color-mode="dark"] .online-contact__offices,
[data-color-mode="dark"] .online-contact-card {
  border-color: #334155;
  background: #172033;
}

[data-color-mode="dark"] .online-contact-card h3,
[data-color-mode="dark"] .online-contact__section-head h2 { color: #f8fafc; }

[data-color-mode="dark"] .online-contact-card a { color: #cbd5e1; }
