/* Approved Apple design; contact styles. CMS templates own the content. */
.page-contact .ct-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #23384d;
  color: #ffffff;
}

.page-contact .ct-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-contact .ct-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 22, 36, 0.72) 0%, rgba(8, 22, 36, 0.24) 55%, rgba(8, 22, 36, 0.1) 100%);
}

.page-contact .ct-hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 56px 40px;
}

.page-contact .ct-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.page-contact .ct-hero-copy p {
  margin: 10px 0 0;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

.page-contact .ct-direct-section {
  padding-block: 36px 12px;
}

.page-contact .ct-direct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-contact .ct-direct-card {
  padding: 24px 26px;
  border-radius: var(--ap-radius-md);
  background: var(--ap-surface);
  min-width: 0;
}

.page-contact .ct-direct-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ap-muted);
  margin-block-end: 8px;
}

.page-contact .ct-direct-value {
  display: inline-block;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ap-accent);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.page-contact .ct-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block-end: 20px;
}

.page-contact .ct-site-card {
  padding: 26px 28px;
  border-radius: var(--ap-radius-md);
  background: var(--ap-surface);
  min-width: 0;
}

.page-contact .ct-site-card--white { background: var(--ap-page); }

.page-contact .ct-site-card h3 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 600; color: var(--ap-ink); }

.page-contact .ct-site-card address { margin: 0; font-style: normal; font-size: 0.9375rem; line-height: 1.65; color: var(--ap-muted); white-space: pre-line; overflow-wrap: anywhere; }

.page-contact .ct-map-panel {
  position: relative;
  border-radius: var(--ap-radius-card);
  overflow: hidden;
  border: 1px solid var(--ap-line);
  background: var(--ap-surface);
}

.page-contact .ct-map-stage {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: var(--ap-surface);
}

.page-contact .ct-map-surface {
  display: block;
  width: 100%;
  height: 100%;
}

.page-contact .ct-map-surface picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-contact .ct-map-surface img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-contact .ct-map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--ap-page);
  border-block-start: 1px solid var(--ap-line-soft);
}

.page-contact .ct-map-stage iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}

.page-contact .ct-mfg-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.page-contact .ct-mfg-photo {
  margin: 0;
  border-radius: var(--ap-radius-card);
  overflow: hidden;
  background: var(--ap-page);
}

.page-contact .ct-mfg-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

.page-contact .ct-mfg-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (max-width: 900px) {
.page-contact .ct-mfg-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
.page-contact .ct-direct-grid,
.page-contact .ct-office-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
.page-contact .ct-map-stage { height: 340px; }
}
