/* =========================================================
   Gulf Coast Contact page
   Clean stylesheet matched to the existing Home page
   Palette: black / zinc / white
   Fonts: DM Sans + Playfair Display (already loaded by theme)
   ========================================================= */

:root {
  --gc-contact-bg: #000;
  --gc-contact-surface: #09090b;
  --gc-contact-surface-2: #111113;
  --gc-contact-surface-3: #18181b;
  --gc-contact-text: #fff;
  --gc-contact-muted: rgba(255,255,255,.60);
  --gc-contact-soft: rgba(255,255,255,.42);
  --gc-contact-border: rgba(255,255,255,.12);
  --gc-contact-border-strong: rgba(255,255,255,.20);
}

html { scroll-behavior: smooth; }

.gc-contact-page,
.gc-contact-page * {
  box-sizing: border-box;
}

.gc-contact-page {
  overflow-x: hidden;
  background: var(--gc-contact-bg);
  color: var(--gc-contact-text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.gc-contact-container {
  position: relative;
  width: min(calc(100% - 3rem), 80rem);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   OFFICE + MAP
   --------------------------------------------------------- */
.gc-contact-showcase {
  position: relative;
  padding: 5rem 0 4.5rem;
  background: #000;
}

/* Old decorative layers intentionally disabled to match Home. */
.gc-contact-showcase-overlay,
.gc-contact-showcase-glow,
.gc-contact-showcase::after {
  display: none !important;
}

.gc-contact-office-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--gc-contact-border);
  border-radius: 1rem;
  background: var(--gc-contact-surface);
}

.gc-contact-office-info {
  min-width: 0;
  padding: clamp(2.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
}

.gc-contact-heading-block {
  margin-bottom: 2rem;
}

.gc-contact-kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .85rem;
  color: rgba(255,255,255,.58);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.gc-contact-kicker span {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: rgba(255,255,255,.65);
}

.gc-contact-heading-block h1,
.gc-contact-enquiry-copy h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-weight: 700;
  letter-spacing: -.025em;
}

.gc-contact-heading-block h1 {
  max-width: 28rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
}

/* No blue-highlighted heading on this page. */
.gc-contact-heading-block h1 span {
  color: inherit;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.gc-contact-intro {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: var(--gc-contact-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.gc-contact-detail-list {
  display: grid;
  gap: 1rem;
}

.gc-contact-detail-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
}

.gc-contact-detail-icon {
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gc-contact-border);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04);
}

.gc-contact-detail-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.gc-contact-detail-row > div:last-child { min-width: 0; }

.gc-contact-detail-label {
  display: block;
  margin-bottom: .18rem;
  color: rgba(255,255,255,.42);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.gc-contact-detail-row p,
.gc-contact-detail-row a {
  margin: 0;
  color: #fff;
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.gc-contact-detail-row a {
  transition: opacity .18s ease;
}

.gc-contact-detail-row a:hover { opacity: .7; }

.gc-contact-office-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: auto;
  padding-top: 2rem;
}

.gc-contact-btn {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .72rem 1.1rem;
  border-radius: .5rem;
  font-size: .82rem;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.gc-contact-btn svg {
  width: .95rem;
  height: .95rem;
}

.gc-contact-btn-primary {
  color: #000;
  background: #fff;
  border: 1px solid #fff;
}

.gc-contact-btn-primary:hover {
  color: #000;
  background: rgba(255,255,255,.90);
}

.gc-contact-btn-secondary {
  color: #fff;
  border: 1px solid var(--gc-contact-border-strong);
  background: transparent;
}

.gc-contact-btn-secondary:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.32);
}

/* Map side */
.gc-contact-map-column {
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  border-left: 1px solid var(--gc-contact-border);
  background: #050505;
}

.gc-contact-map-frame {
  position: relative;
  min-height: 27rem;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--gc-contact-border);
  border-radius: .75rem;
  background: var(--gc-contact-surface-2);
}

.gc-contact-map-frame::after { display: none; }

.gc-contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 27rem;
  border: 0;
  display: block;
  filter: saturate(.76) contrast(.98);
}

.gc-contact-map-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  overflow: hidden;
  border: 1px solid var(--gc-contact-border);
  border-radius: .65rem;
  background: var(--gc-contact-surface-2);
}

.gc-contact-strip-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) 1.6rem;
  align-items: center;
  gap: .55rem;
  padding: .75rem .8rem;
  color: #fff;
  transition: background .18s ease;
}

.gc-contact-strip-item + .gc-contact-strip-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--gc-contact-border);
}

.gc-contact-strip-item:hover {
  color: #fff;
  background: rgba(255,255,255,.04);
}

.gc-contact-strip-icon,
.gc-contact-strip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.gc-contact-strip-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.05);
}

.gc-contact-strip-icon svg {
  width: .9rem;
  height: .9rem;
}

.gc-contact-strip-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .08rem;
}

.gc-contact-strip-copy small {
  color: rgba(255,255,255,.82);
  font-size: .64rem;
  font-weight: 600;
}

.gc-contact-strip-copy strong {
  overflow: hidden;
  color: rgba(255,255,255,.48);
  font-size: .61rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-contact-strip-arrow {
  width: 1.6rem;
  height: 1.6rem;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
}

.gc-contact-strip-arrow svg {
  width: .75rem;
  height: .75rem;
}

/* ---------------------------------------------------------
   ENQUIRY SECTION
   Compact, centered and aligned like Home page content
   --------------------------------------------------------- */
.gc-contact-enquiry-section {
  padding: 5rem 1.5rem;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.06);
}

.gc-contact-enquiry-section .gc-contact-container {
  width: min(100%, 64rem);
}

.gc-contact-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 28rem);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.gc-contact-enquiry-copy {
  position: static;
  max-width: 29rem;
}

.gc-contact-enquiry-copy h2 {
  max-width: 25rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
  max-width: 28rem;
  margin: .9rem 0 0;
  color: var(--gc-contact-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.gc-contact-enquiry-note {
  display: flex;
  gap: .8rem;
  align-items: center;
  max-width: 28rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gc-contact-border);
}

.gc-contact-enquiry-note > svg {
  width: 1.15rem;
  height: 1.15rem;
  color: rgba(255,255,255,.62);
  flex: none;
}

.gc-contact-enquiry-note div {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}

.gc-contact-enquiry-note strong {
  color: #fff;
  font-size: .8rem;
}

.gc-contact-enquiry-note span {
  color: rgba(255,255,255,.42);
  font-size: .72rem;
}

/* Form card */
.gc-contact-form-card {
  width: 100%;
  max-width: 28rem;
  justify-self: end;
  padding: 1.1rem;
  border: 1px solid var(--gc-contact-border);
  border-radius: .75rem;
  background: var(--gc-contact-surface);
}

.gc-contact-form-card form,
.gc-contact-form-card .gc-form-shell {
  width: 100%;
}

.gc-contact-form-card form {
  display: grid;
  gap: .72rem;
}

/* Cancel Tailwind space-y margins inside this custom card. */
.gc-contact-form-card form > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.gc-contact-form-card .gc-field {
  min-width: 0;
}

.gc-contact-form-card label {
  display: block;
  margin: 0 0 .3rem;
  color: rgba(255,255,255,.70);
  font-size: .72rem;
  font-weight: 500;
}

.gc-contact-form-card input,
.gc-contact-form-card textarea,
.gc-contact-form-card select {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .45rem;
  background: var(--gc-contact-surface-3);
  color: #fff;
  outline: none;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease;
}

.gc-contact-form-card input,
.gc-contact-form-card select {
  min-height: 2.65rem;
  padding: .58rem .72rem;
}

.gc-contact-form-card textarea {
  min-height: 4.7rem !important;
  height: 4.7rem;
  max-height: 8rem;
  padding: .65rem .72rem;
  resize: vertical;
}

.gc-contact-form-card input:focus,
.gc-contact-form-card textarea:focus,
.gc-contact-form-card select:focus {
  border-color: rgba(255,255,255,.34);
  background: #1c1c1f;
}

.gc-contact-form-card input::placeholder,
.gc-contact-form-card textarea::placeholder {
  color: rgba(255,255,255,.28);
}

.gc-contact-form-card .gc-phone-wrap {
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .45rem;
  background: var(--gc-contact-surface-3);
}

.gc-contact-form-card .gc-phone-prefix {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .75rem;
  border-right: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.48);
  font-size: .78rem;
}

.gc-contact-form-card .gc-phone-wrap input {
  min-width: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
}

.gc-contact-form-card .gc-phone-wrap:focus-within {
  border-color: rgba(255,255,255,.34);
}

.gc-contact-form-card .gc-field-hint {
  margin: .32rem 0 0;
  color: rgba(255,255,255,.34);
  font-size: .66rem;
  line-height: 1.45;
}

.gc-contact-form-card button,
.gc-contact-form-card input[type='submit'] {
  width: 100%;
  min-height: 2.7rem;
  padding: .65rem 1rem;
  border: 1px solid #fff;
  border-radius: .45rem;
  background: #fff;
  color: #000;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease;
}

.gc-contact-form-card button:hover,
.gc-contact-form-card input[type='submit']:hover {
  background: rgba(255,255,255,.90);
}

.gc-contact-form-card .gc-form-note {
  margin: 0;
  color: rgba(255,255,255,.60);
  font-size: .72rem;
  line-height: 1.45;
}

.gc-contact-form-card .gc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Plugin forms inside gc-form-shell */
.gc-contact-form-card .wpcf7-form,
.gc-contact-form-card .wpforms-form,
.gc-contact-form-card .fluentform {
  color: #fff;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1080px) {
  .gc-contact-container {
    width: min(calc(100% - 2rem), 80rem);
  }

  .gc-contact-office-panel {
    grid-template-columns: 1fr;
  }

  .gc-contact-map-column {
    border-left: 0;
    border-top: 1px solid var(--gc-contact-border);
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 24rem;
  }

  .gc-contact-enquiry-section .gc-contact-container {
    width: min(100%, 56rem);
  }
}

@media (max-width: 820px) {
  .gc-contact-showcase {
    padding: 3.5rem 0;
  }

  .gc-contact-office-info {
    padding: 2rem 1.5rem;
  }

  .gc-contact-heading-block h1 {
    font-size: clamp(2.1rem, 7vw, 2.9rem);
  }

  .gc-contact-map-strip {
    grid-template-columns: 1fr;
  }

  .gc-contact-strip-item + .gc-contact-strip-item::before {
    left: .75rem;
    right: .75rem;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .gc-contact-strip-copy strong {
    white-space: normal;
  }

  .gc-contact-enquiry-section {
    padding: 4rem 1.5rem;
  }

  .gc-contact-enquiry-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gc-contact-enquiry-copy,
  .gc-contact-form-card {
    width: 100%;
    max-width: 34rem;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .gc-contact-container {
    width: min(calc(100% - 1.25rem), 80rem);
  }

  .gc-contact-showcase {
    padding: 2.5rem 0 3rem;
  }

  .gc-contact-office-panel {
    border-radius: .75rem;
  }

  .gc-contact-office-info {
    padding: 1.5rem 1rem;
  }

  .gc-contact-heading-block {
    margin-bottom: 1.5rem;
  }

  .gc-contact-heading-block h1 {
    max-width: 20rem;
    font-size: 2.15rem;
  }

  .gc-contact-intro {
    font-size: .88rem;
  }

  .gc-contact-detail-row {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: .7rem;
  }

  .gc-contact-detail-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .gc-contact-detail-row p,
  .gc-contact-detail-row a {
    font-size: .86rem;
  }

  .gc-contact-office-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .gc-contact-btn {
    width: 100%;
  }

  .gc-contact-map-column {
    padding: .6rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 19rem;
  }

  .gc-contact-enquiry-section {
    padding: 3rem .625rem;
  }

  .gc-contact-enquiry-copy h2 {
    max-width: 19rem;
    font-size: 2rem;
  }

  .gc-contact-form-card {
    padding: .85rem;
  }

  /* 16px prevents iOS from zooming into fields. */
  .gc-contact-form-card input,
  .gc-contact-form-card textarea,
  .gc-contact-form-card select {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .gc-contact-btn,
  .gc-contact-detail-row a,
  .gc-contact-strip-item,
  .gc-contact-form-card input,
  .gc-contact-form-card textarea,
  .gc-contact-form-card select {
    transition: none;
  }
}


/* =========================================================
   Contact page featured image support
   Pages -> Contact Us -> Featured Image
   ========================================================= */
.gc-contact-showcase.has-featured-bg {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gc-contact-showcase.has-featured-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .68);
  pointer-events: none;
}

.gc-contact-showcase.has-featured-bg .gc-contact-office-panel {
  background: rgba(8, 8, 8, .92);
}


/* Contact Form 7 inside the Contact page card */
.gc-contact-form-card .wpcf7-form {
  display: grid;
  gap: .75rem;
}

.gc-contact-form-card .wpcf7-form p {
  margin: 0;
}

.gc-contact-form-card .wpcf7-form-control-wrap {
  display: block;
  margin-top: .35rem;
}

.gc-contact-form-card .wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .75rem;
}

.gc-contact-form-card .wpcf7-response-output {
  margin: .5rem 0 0 !important;
  padding: .65rem .8rem !important;
  font-size: .8rem;
}
