/* ═══════════════════════════════════════════════════════
   CONTACT PAGE — Stacked Editorial
   contact.css
   ═══════════════════════════════════════════════════════ */

#contact-page {
  background: var(--cream);
  position: relative;
}

/* ══════════════════════════════════════════════════════
   CONTACT HERO — Editorial Details
══════════════════════════════════════════════════════ */
.cp-hero {
  padding: 80px 40px 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cp-hero .heading-divider {
  margin-right: auto;
  margin-left: auto;
}

/* Subtle background texture lines */
.cp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 80px
    );
  pointer-events: none;
}

/* Gold top line */
.cp-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.cp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.cp-hero-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.cp-hero-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  color: var(--navy-dark);
  line-height: 1.1;
  margin: 0 0 40px;
}

/* ══════════════════════════════════════════════════════
   CONTACT ITEMS GRID
══════════════════════════════════════════════════════ */
.cp-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(45,106,53,0.30);
  margin-bottom: 52px;
}

.cp-item {
  padding: 36px 32px;
  text-align: center;
  position: relative;
  text-decoration: none;
  display: block;
  transition: background 0.28s;
}
.cp-item:hover {
  background: rgba(255,255,255,0.04);
}

/* Vertical separator between col 1 and col 2 */
.cp-item:nth-child(2)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(45,106,53,0.30);
}

/* Gold top accent on hover */
.cp-item::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.cp-item:hover::after {
  transform: scaleX(1);
}

/* Address — full width */
.cp-item--full {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(45,106,53,0.30);
}
.cp-item--full::before {
  display: none !important;
}

/* Icon */
.cp-item-icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(45,106,53,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 18px;
  margin: 0 auto 18px;
  transition: background 0.25s, border-color 0.25s;
}
.cp-item:hover .cp-item-icon {
  background: rgba(201,168,76,0.10);
  border-color: var(--gold);
}

/* Type label */
.cp-item-type {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Value — serif large */
.cp-item-value {
  display: block;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 500;
  color: var(--navy-dark);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.25s;
}
.cp-item-value:hover {
  color: var(--gold);
}

/* Stacked second value */
.cp-item-value + .cp-item-value {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Address full width value */
.cp-item--full .cp-item-value {
  font-size: clamp(15px, 2vw, 22px);
}

/* Sub label */
.cp-item-sub {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  margin-top: 10px;
  line-height: 1.4;
}

/* ── Directions Button ── */
.cp-directions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  margin-bottom: 48px;
  transition: background 0.22s, transform 0.18s;
  text-decoration: none;
}
.cp-directions:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.cp-directions i { font-size: 14px; }

/* ══════════════════════════════════════════════════════
   MAP — Full Width
══════════════════════════════════════════════════════ */
.cp-map {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.cp-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

/* ══════════════════════════════════════════════════════
   BOTTOM STRIP
══════════════════════════════════════════════════════ */
.cp-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.cp-strip-inner {
  display: flex;
  align-items: stretch;
}
.cp-strip-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 32px;
  border-right: 1px solid var(--border);
}
.cp-strip-item:last-child {
  border-right: none;
}
.cp-strip-icon {
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.cp-strip-label {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.cp-strip-value {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .cp-hero { padding: 64px 28px 72px; }
  .cp-item { padding: 28px 20px; }
  .cp-item-value { font-size: 15px; }
  .cp-map { height: 420px; }
  .cp-strip-item { padding: 20px 20px; }
}

@media (max-width: 767px) {
  .cp-hero { padding: 52px 20px 56px; }

  /* Stack all items vertically */
  .cp-items {
    grid-template-columns: 1fr;
  }
  .cp-item--full {
    grid-column: 1;
  }

  /* Horizontal separator between stacked items */
  .cp-item + .cp-item {
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  /* Remove vertical separator on mobile */
  .cp-item:nth-child(2)::before {
    display: none;
  }

  .cp-item { padding: 28px 24px; }

  .cp-map { height: 360px; }
}

@media (max-width: 480px) {
  .cp-hero-title { margin-bottom: 28px; }
  .cp-items { margin-bottom: 36px; }
  .cp-map { height: 280px; }
  .cp-strip-item { flex: 1 1 100%; border-right: none; }
  .cp-strip-item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .cp-strip-item:last-child { border-bottom: none; }
}
