/*!
 * Global Hosting: contact.php page styles (loaded after pages/about.css, which provides
 * .gh-ab-h2/.gh-ab-p, data icons and the copy buttons). All selectors are gh-ct-*.
 */

/* ==========================================================================
   Hero + chat illustration
   ========================================================================== */
.gh-ct-hero { padding-bottom: 168px; }
.gh-ct-hero .gh-page-hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.gh-ct-hero__l2 { display: block; }
@media (max-width: 1080px) {
  .gh-ct-hero .gh-page-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .gh-ct-hero .gh-page-hero__aside { display: none; }
}
@media (max-width: 960px) { .gh-ct-hero { padding-bottom: 140px; } }
@media (max-width: 640px) { .gh-ct-hero { padding-bottom: 112px; } }

.gh-ct-art { position: relative; width: 100%; max-width: 520px; margin-left: auto; aspect-ratio: 560 / 500; }
.gh-ct-art__bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gh-ct-chat {
  position: absolute; z-index: 1; left: 12%; right: 6%; top: 12%;
  overflow: hidden; border-radius: 20px; background: #fff; color: var(--gh-text);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5);
}
.gh-ct-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--gh-navy-800); color: #fff; }
.gh-ct-chat__avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--gh-red); color: #fff; }
.gh-ct-chat__who strong { display: block; font-size: .875rem; font-weight: 800; line-height: 1.25; }
.gh-ct-chat__who small { display: inline-flex; align-items: center; gap: 6px; color: var(--gh-on-dark-muted); font-size: .75rem; font-weight: 600; }
.gh-ct-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gh-success-on-dark); }
.gh-ct-chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 14px; background: var(--gh-bg-alt); }
.gh-ct-msg { max-width: 82%; margin: 0; padding: 10px 14px; border-radius: 16px; font-size: .8125rem; font-weight: 600; line-height: 1.45; }
.gh-ct-msg--in { align-self: flex-start; background: #fff; color: var(--gh-ink); border: 1px solid var(--gh-line); border-bottom-left-radius: 6px; }
.gh-ct-msg--out { align-self: flex-end; background: var(--gh-red); color: #fff; border-bottom-right-radius: 6px; }
.gh-ct-typing { display: inline-flex; gap: 4px; align-self: flex-start; margin: 0; padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 6px; background: #fff; border: 1px solid var(--gh-line); }
.gh-ct-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gh-subtle); }
.gh-ct-chat__input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 12px 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--gh-line); border-radius: 12px; background: #fff; color: var(--gh-subtle); font-size: .8125rem; font-weight: 600; }
.gh-ct-chat__send { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--gh-ink); color: #fff; }

.gh-ct-float { z-index: 2; }
.gh-ct-float--phone { left: -2%; bottom: -3%; }
.gh-ct-float--phone .gh-float__icon { background: var(--gh-red); color: #fff; }
.gh-ct-float--phone strong { font-size: 1.0625rem; letter-spacing: -.01em; }
.gh-ct-float--mail {
  right: -3%; top: -4%;
  background: rgba(21, 28, 64, .92); color: var(--gh-on-dark-muted);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gh-ct-float--mail strong { color: #fff; }
.gh-ct-float--mail .gh-float__icon { background: rgba(124, 140, 255, .16); color: #B4BEFF; }

@media (prefers-reduced-motion: no-preference) {
  .gh-ct-flow { animation: gh-dash 2.4s linear infinite; }
  .gh-ct-typing i { animation: gh-ct-typing 1.2s ease-in-out infinite; }
  .gh-ct-typing i:nth-child(2) { animation-delay: .15s; }
  .gh-ct-typing i:nth-child(3) { animation-delay: .3s; }
  .gh-ct-float--mail { animation-delay: -3s; }
}
/* Narrower desktops: the chat window gets taller (messages wrap), so keep the floating cards off its header and input. */
@media (max-width: 1240px) {
  .gh-ct-typing { display: none; }
  .gh-ct-float--phone { bottom: -9%; }
}
@keyframes gh-ct-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

/* ==========================================================================
   Channel cards (overlap the hero)
   ========================================================================== */
.gh-ct-channels { position: relative; z-index: 2; margin-top: -112px; }
@media (max-width: 960px) { .gh-ct-channels { margin-top: -96px; } }
@media (max-width: 640px) { .gh-ct-channels { margin-top: -72px; } }
.gh-ct-cards { gap: 20px; }
.gh-ct-card {
  display: flex; flex-direction: column; align-items: flex-start; padding: 26px 24px 24px; background: #fff;
  border: 1px solid var(--gh-line); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(14, 19, 48, .04), 0 34px 70px -34px rgba(14, 19, 48, .4);
}
.gh-ct-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: var(--gh-red-50); color: var(--gh-red); }
.gh-ct-card__title { margin: 0 0 6px; color: var(--gh-muted); font-size: var(--gh-fs-sm); font-weight: 700; letter-spacing: .02em; }
.gh-ct-card__value { display: flex; flex-direction: column; gap: 2px; margin: 0 0 10px; }
.gh-ct-card__value a { color: var(--gh-ink); font-size: var(--gh-fs-md); font-weight: 800; letter-spacing: -.01em; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.gh-ct-card__value a:hover { color: var(--gh-red); text-decoration: underline; text-underline-offset: 3px; }
.gh-ct-card__value a:focus-visible, .gh-ct-card__link:focus-visible { outline: 3px solid var(--gh-focus); outline-offset: 2px; border-radius: 4px; }
.gh-ct-card__value--xl a { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); letter-spacing: -.03em; line-height: 1.15; }
.gh-ct-card__text { margin: 0 0 18px; color: var(--gh-muted); font-size: .9375rem; line-height: 1.6; }
.gh-ct-card > :last-child { margin-bottom: 0; }
.gh-ct-card__link, .gh-ct-card > .gh-btn { margin-top: auto; }
.gh-ct-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--gh-red); font-size: var(--gh-fs-sm); font-weight: 800; text-decoration: none; }
.gh-ct-card__link:hover { color: var(--gh-red-600); }
.gh-ct-card__link .gh-icon { transition: transform var(--gh-dur); }
.gh-ct-card__link:hover .gh-icon { transform: translateX(3px); }
.gh-ct-card--accent { background: radial-gradient(100% 80% at 100% 0%, rgba(124, 140, 255, .1), transparent 60%), #fff; border-color: var(--gh-line-strong); }
.gh-ct-card--accent .gh-ct-card__icon { background: var(--gh-red); color: #fff; box-shadow: var(--gh-shadow-red); }
@media (max-width: 1100px) { .gh-ct-cards .gh-ct-card { padding: 24px 22px 22px; } }

.gh-ct-hours { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 24px 0 0; color: var(--gh-muted); font-size: var(--gh-fs-sm); }
.gh-ct-hours strong { color: var(--gh-ink); }
.gh-ct-hours .gh-icon { color: var(--gh-red); }

/* ==========================================================================
   Departments
   ========================================================================== */
.gh-ct-depts { margin-top: clamp(56px, 7vw, 88px); }
.gh-ct-dept__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; width: 100%; }
.gh-ct-dept__badge { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.gh-ct-dept .gh-card__price { color: var(--gh-red); }

/* ==========================================================================
   Location: address card + map
   ========================================================================== */
.gh-ct-loc__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.gh-ct-loc__grid > * { min-width: 0; }
@media (max-width: 960px) { .gh-ct-loc__grid { grid-template-columns: minmax(0, 1fr); } }
.gh-ct-address { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius-lg); box-shadow: var(--gh-shadow-sm); }
.gh-ct-address__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--gh-line); }
.gh-ct-address__body { display: grid; gap: 10px; padding: 18px 0; font-style: normal; border-bottom: 1px dashed var(--gh-line); }
.gh-ct-address__row { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: var(--gh-ink); font-size: .9375rem; font-weight: 700; line-height: 1.5; }
.gh-ct-address__row .gh-icon { flex: none; margin-top: 2px; color: var(--gh-red); }
.gh-ct-address__row a { color: var(--gh-ink); text-decoration: underline; text-decoration-color: var(--gh-line-strong); text-underline-offset: 3px; }
.gh-ct-address__row a:hover { color: var(--gh-red); text-decoration-color: currentColor; }
.gh-ct-address__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 16px 0 4px; }
.gh-ct-address__meta dt { margin: 0 0 4px; color: var(--gh-muted); font-size: var(--gh-fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gh-ct-address__meta dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: var(--gh-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.gh-ct-address__meta .gh-ab-copy { width: 34px; min-height: 34px; padding: 0; justify-content: center; }
.gh-ct-address__meta .gh-ab-copy__text { display: none; }
.gh-ct-address__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; }
@media (max-width: 640px) {
  .gh-ct-address { padding: 20px; }
  .gh-ct-address__meta { grid-template-columns: 1fr; }
  .gh-ct-address__actions .gh-btn--dark { flex: 1 1 100%; white-space: normal; }
}

.gh-ct-map { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--gh-radius-xl); border: 1px solid var(--gh-line); background: var(--gh-bg-soft); box-shadow: var(--gh-shadow); }
.gh-ct-map__placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  color: var(--gh-muted); font-size: var(--gh-fs-sm);
  background-color: var(--gh-bg-soft);
  background-image: linear-gradient(rgba(14, 19, 48, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 19, 48, .05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.gh-ct-map__placeholder .gh-icon { margin-bottom: 6px; color: var(--gh-red); }
.gh-ct-map__placeholder strong { color: var(--gh-ink); font-size: var(--gh-fs-md); }
.gh-ct-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gh-ct-map__chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px;
  border-radius: 999px; background: var(--gh-navy-900); color: #fff; font-size: var(--gh-fs-xs); font-weight: 700; box-shadow: var(--gh-shadow-lg); pointer-events: none;
}
.gh-ct-map__chip .gh-icon { color: var(--gh-red-soft); }
@media (max-width: 960px) { .gh-ct-map { min-height: 340px; } }
@media (max-width: 640px) { .gh-ct-map { min-height: 300px; border-radius: 20px; } }

/* ==========================================================================
   Self-help (dark band)
   ========================================================================== */
.gh-ct-help { overflow: hidden; }
.gh-ct-help__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 32px; }
.gh-ct-help__head .gh-eyebrow { margin-bottom: 10px; }
.gh-ct-help__title { margin: 0; color: #fff; font-size: var(--gh-fs-2xl); font-weight: 800; line-height: 1.12; letter-spacing: -.028em; }
.gh-ct-help__lead { max-width: 420px; margin: 0; color: var(--gh-on-dark-muted); font-size: var(--gh-fs-md); line-height: 1.6; }
.gh-ct-help__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gh-ct-help__list > li { display: flex; }
.gh-ct-help__item {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; padding: 22px 20px 20px;
  border-radius: var(--gh-radius-lg); border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  color: var(--gh-on-dark-muted); text-decoration: none; transition: border-color .25s var(--gh-ease), background-color .25s var(--gh-ease), transform .25s var(--gh-ease);
}
.gh-ct-help__item:hover { color: var(--gh-on-dark-muted); border-color: rgba(255, 255, 255, .22); background-color: rgba(255, 255, 255, .04); transform: translateY(-3px); }
.gh-ct-help__item:focus-visible { outline: 3px solid var(--gh-focus); outline-offset: 2px; }
.gh-ct-help__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(187, 52, 55, .18); color: var(--gh-red-soft); }
.gh-ct-help__text strong { display: block; color: #fff; font-size: var(--gh-fs-md); font-weight: 800; letter-spacing: -.01em; }
.gh-ct-help__text small { display: block; margin-top: 4px; font-size: var(--gh-fs-sm); line-height: 1.45; }
.gh-ct-help__arrow { position: absolute; top: 22px; right: 20px; color: var(--gh-on-dark-subtle); transition: transform .25s var(--gh-ease), color .25s; }
.gh-ct-help__item:hover .gh-ct-help__arrow { color: #fff; transform: translateX(3px); }
@media (max-width: 1100px) { .gh-ct-help__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gh-ct-help__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .gh-ct-help__list { grid-template-columns: 1fr; gap: 10px; }
  .gh-ct-help__item { flex-direction: row; align-items: center; gap: 14px; padding: 16px; }
  .gh-ct-help__arrow { position: static; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-ct-help__item, .gh-ct-help__arrow { transition: none; }
  .gh-ct-help__item:hover { transform: none; }
}

/* Phones: compact channel cards (icon column + content) and unbroken phone numbers */
.gh-ct-address__row a { white-space: nowrap; }
@media (max-width: 640px) {
  .gh-ct-cards { gap: 12px; }
  .gh-ct-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 20px 18px; border-radius: 18px; }
  .gh-ct-card > * { grid-column: 2; }
  .gh-ct-card .gh-ct-card__icon { grid-column: 1; grid-row: 1 / span 4; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .gh-ct-card__title { margin-bottom: 2px; }
  .gh-ct-card__text { margin-bottom: 12px; font-size: var(--gh-fs-sm); }
  .gh-ct-card__value { margin-bottom: 6px; }
  .gh-ct-card__value--xl a { font-size: 1.625rem; }
  .gh-ct-card > .gh-btn { justify-self: start; }
}
@media (max-width: 640px) {
  .gh-ct-dept { padding: 22px 20px 18px; }
  .gh-ct-dept .gh-card__icon { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; }
  .gh-ct-dept .gh-card__text { margin-bottom: 14px; }
  .gh-ct-dept .gh-card__foot { padding-top: 14px; }
}
