/* =========================================
   CONTACT PAGE (Split, full height under nav)
   - Map fills from under nav to bottom of viewport
   - Footer sits AFTER this section (no overlap)
========================================= */

:root {
  --pts-header-h: 0px;
}

/* Shell = one "screen" under the header */
.pts-contact__shell {
  width: 100%;
  min-height: calc(100vh - var(--pts-header-h));
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
}

/* Desktop split */
@media (min-width: 980px) {
  .pts-contact__shell {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* LEFT */
.pts-contact__left {
  padding: clamp(2rem, 3.5vw, 4.25rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pts-contact__inner {
  width: min(560px, 100%);
  text-align: center; /* center everything inside */
  min-width: 0;
}

.pts-contact__kicker {
  margin: 0 0 .75rem;
  font-weight: 600;
  opacity: .7;
}

.pts-contact__title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #104577;
}

.pts-contact__intro {
  margin: 0 0 1.75rem;
  line-height: 1.6;
  opacity: .85;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Info panel */
.pts-contact__panel {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(255,255,255,.85);
  box-shadow: 0 16px 42px rgba(0,0,0,.06);
  text-align: center;
}

/* Rows */
.pts-contact__row + .pts-contact__row {
  border-top: 1px solid rgba(0,0,0,.08);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.pts-contact__label {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .6;
  margin-bottom: .5rem;
}

.pts-contact__value {
  font-size: 1.08rem;
  line-height: 1.65;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Links */
a.pts-contact__value {
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
}

a.pts-contact__value:hover {
  color: #104577;
  border-color: #104577;
}

/* Button */
.pts-contact__actions {
  margin-top: 1.75rem;
  text-align: center;
}

/* RIGHT (Map fills available height) */
.pts-contact__right {
  min-height: 420px;
}

.pts-contact__map {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* Bulletproof iframe sizing */
.pts-contact__map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px !important;
  border: 0 !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
}

/* Desktop: force full height under header */
@media (min-width: 980px) {
  .pts-contact__right,
  .pts-contact__map,
  .pts-contact__map iframe {
    height: 100% !important;
    min-height: 100% !important;
  }
}

/* MOBILE FIX: keep map visible and sized nicely */
@media (max-width: 480px) {
  /* reduce padding so content doesn't push map too far down */
  .pts-contact__left {
    padding: 1.25rem;
  }

  .pts-contact__inner,
  .pts-contact__panel,
  .pts-contact__row,
  .pts-contact__intro {
    min-width: 0;
  }

  .pts-contact__panel {
    padding: 1.1rem;
  }

  .pts-contact__title {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }

  .pts-contact__value {
    font-size: 1rem;
  }

  /* keep map a normal block with a reasonable height on small screens */
  .pts-contact__right,
  .pts-contact__map {
    min-height: 320px;
    height: 320px;
  }

  .pts-contact__map iframe {
    min-height: 320px !important;
    height: 320px !important;
  }
}

/* Ensure footer is never overlapped */
footer {
  position: relative;
  z-index: 1;
}
