/* Gulf Coast Contact Us page - split office/map design */

:root {
  --gc-contact-bg: #06101d;
  --gc-contact-panel: rgba(7, 26, 49, .88);
  --gc-contact-panel-deep: rgba(5, 18, 34, .94);
  --gc-contact-blue: #2f8cff;
  --gc-contact-blue-soft: #75baff;
  --gc-contact-white: #ffffff;
  --gc-contact-muted: rgba(235, 244, 255, .70);
  --gc-contact-line: rgba(114, 178, 255, .25);
}

html { scroll-behavior: smooth; }

.gc-contact-page {
  overflow: hidden;
  background: #06101d;
  color: #fff;
}

.gc-contact-container {
  position: relative;
  width: min(100% - 2rem, 92rem);
  margin-inline: auto;
  z-index: 2;
}

.gc-contact-showcase {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h, 88px) + 4.5rem) 0 5rem;
  background-image: url('../demo-images/hero-1.jpg');
  background-size: cover;
  background-position: center;
}

.gc-contact-showcase-overlay {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(4, 17, 32, .96) 0%, rgba(5, 21, 40, .90) 38%, rgba(5, 20, 38, .72) 70%, rgba(4, 15, 29, .84) 100%),
    linear-gradient(180deg, rgba(2, 10, 20, .30), rgba(2, 10, 20, .70));
}

.gc-contact-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  pointer-events: none;
}

.gc-contact-showcase-glow {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.gc-contact-showcase-glow-one {
  width: 34rem;
  height: 34rem;
  left: -12rem;
  top: 12%;
  background: radial-gradient(circle, rgba(38, 133, 255, .17), transparent 70%);
}

.gc-contact-showcase-glow-two {
  width: 30rem;
  height: 30rem;
  right: -8rem;
  bottom: -10rem;
  background: radial-gradient(circle, rgba(18, 91, 181, .18), transparent 70%);
}

.gc-contact-office-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(34rem, 1.22fr);
  min-height: 43rem;
  overflow: hidden;
  border: 1px solid rgba(121, 184, 255, .30);
  border-radius: 1.8rem;
  background:
    linear-gradient(130deg, rgba(12, 42, 76, .90), rgba(5, 20, 39, .91) 54%, rgba(5, 17, 32, .88));
  box-shadow:
    0 2rem 6rem rgba(0, 0, 0, .48),
    inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}

.gc-contact-office-info {
  padding: clamp(2.2rem, 4.3vw, 4.35rem);
  display: flex;
  flex-direction: column;
}

.gc-contact-heading-block {
  margin-bottom: 2.2rem;
}

.gc-contact-kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1rem;
  color: #73b7ff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .26em;
}

.gc-contact-kicker span {
  display: inline-block;
  width: 2.4rem;
  height: 2px;
  border-radius: 9px;
  background: #5facff;
  box-shadow: 0 0 18px rgba(95,172,255,.55);
}

.gc-contact-heading-block h1,
.gc-contact-enquiry-copy h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.045em;
}

.gc-contact-heading-block h1 {
  max-width: 42rem;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: .98;
}

.gc-contact-heading-block h1 span {
  color: #67aeff;
  background: linear-gradient(90deg, #9ed0ff 0%, #4b97ff 70%, #2f78dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gc-contact-intro {
  max-width: 37rem;
  margin: 1.25rem 0 0;
  color: var(--gc-contact-muted);
  font-size: clamp(.98rem, 1.15vw, 1.12rem);
  line-height: 1.65;
}

.gc-contact-detail-list {
  display: grid;
  gap: 1.05rem;
  margin-top: .35rem;
}

.gc-contact-detail-row {
  display: grid;
  grid-template-columns: 3.15rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.gc-contact-detail-icon {
  width: 3.15rem;
  height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(83, 161, 255, .34);
  border-radius: 999px;
  color: #69b1ff;
  background: linear-gradient(145deg, rgba(25, 91, 161, .34), rgba(7, 32, 61, .42));
  box-shadow: inset 0 0 1.2rem rgba(48, 143, 255, .08);
}

.gc-contact-detail-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.gc-contact-detail-row > div:last-child {
  min-width: 0;
}

.gc-contact-detail-label {
  display: block;
  margin-bottom: .25rem;
  color: #67adf7;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .20em;
}

.gc-contact-detail-row p,
.gc-contact-detail-row a {
  margin: 0;
  color: #f7fbff;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.gc-contact-detail-row a {
  display: inline-block;
  transition: color .2s ease, transform .2s ease;
}

.gc-contact-detail-row a:hover {
  color: #79bbff;
  transform: translateX(3px);
}

.gc-contact-office-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: auto;
  padding-top: 2rem;
}

.gc-contact-btn {
  min-height: 3.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .9rem 1.45rem;
  border-radius: .8rem;
  font-size: .92rem;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.gc-contact-btn svg {
  width: 1rem;
  height: 1rem;
}

.gc-contact-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1484ff, #236ad9);
  box-shadow: 0 1rem 2.2rem rgba(16, 112, 231, .25), inset 0 1px 0 rgba(255,255,255,.20);
}

.gc-contact-btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 1.35rem 3rem rgba(16, 112, 231, .34), inset 0 1px 0 rgba(255,255,255,.20);
}

.gc-contact-btn-secondary {
  color: #fff;
  border: 1px solid rgba(113, 177, 255, .34);
  background: rgba(5, 18, 35, .56);
}

.gc-contact-btn-secondary:hover {
  color: #fff;
  transform: translateY(-3px);
  border-color: rgba(113, 177, 255, .65);
  background: rgba(26, 78, 132, .32);
}

.gc-contact-map-column {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  background: linear-gradient(180deg, rgba(7, 31, 59, .48), rgba(3, 15, 29, .68));
  border-left: 1px solid rgba(102, 165, 238, .18);
}

.gc-contact-map-frame {
  position: relative;
  min-height: 32rem;
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(111, 178, 255, .32);
  border-radius: 1.35rem;
  background: #0a1b2e;
  box-shadow: inset 0 0 0 8px rgba(25, 91, 157, .10);
}

.gc-contact-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 3.5rem rgba(2, 12, 23, .20);
}

.gc-contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  border: 0;
  display: block;
  filter: saturate(.88) contrast(1.02);
}

.gc-contact-map-strip {
  min-height: 5.75rem;
  display: grid;
  grid-template-columns: 1.28fr 1fr .84fr;
  overflow: hidden;
  border: 1px solid rgba(111, 178, 255, .24);
  border-radius: 1rem;
  background: rgba(5, 22, 42, .88);
}

.gc-contact-strip-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .95rem 1rem;
  color: #fff;
  transition: background .2s ease;
}

.gc-contact-strip-item + .gc-contact-strip-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: rgba(112, 176, 245, .22);
}

.gc-contact-strip-item:hover {
  color: #fff;
  background: rgba(43, 118, 199, .14);
}

.gc-contact-strip-icon,
.gc-contact-strip-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 999px;
}

.gc-contact-strip-icon {
  width: 2.75rem;
  height: 2.75rem;
  color: #73b9ff;
  background: rgba(37, 116, 203, .22);
}

.gc-contact-strip-icon svg { width: 1.05rem; height: 1.05rem; }

.gc-contact-strip-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.gc-contact-strip-copy small {
  color: #f2f7ff;
  font-size: .72rem;
  font-weight: 700;
}

.gc-contact-strip-copy strong {
  overflow: hidden;
  color: rgba(232, 242, 255, .67);
  font-size: .7rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gc-contact-strip-arrow {
  width: 2rem;
  height: 2rem;
  color: #8bc5ff;
  background: rgba(39, 111, 190, .18);
}

.gc-contact-strip-arrow svg { width: .9rem; height: .9rem; }

.gc-contact-enquiry-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 14% 15%, rgba(28, 105, 188, .16), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #050b13 100%);
  border-top: 1px solid rgba(255,255,255,.05);
}

.gc-contact-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.gc-contact-enquiry-copy {
  position: sticky;
  top: calc(var(--nav-h, 88px) + 2rem);
}

.gc-contact-enquiry-copy h2 {
  max-width: 34rem;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.03;
}

.gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
  max-width: 30rem;
  margin: 1.05rem 0 0;
  color: rgba(230,240,252,.62);
  font-size: .94rem;
  line-height: 1.65;
}

.gc-contact-enquiry-note {
  display: flex;
  gap: .9rem;
  align-items: center;
  margin-top: 1.55rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.gc-contact-enquiry-note > svg {
  width: 1.3rem;
  height: 1.3rem;
  color: #6db4ff;
  flex: none;
}

.gc-contact-enquiry-note div {
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.gc-contact-enquiry-note strong {
  color: #fff;
  font-size: .86rem;
}

.gc-contact-enquiry-note span {
  color: rgba(230,240,252,.5);
  font-size: .78rem;
}

.gc-contact-form-card {
  width: 100%;
  max-width: 32rem;
  justify-self: end;
  padding: clamp(1.1rem, 1.7vw, 1.5rem);
  border: 1px solid rgba(111, 177, 255, .20);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(13, 37, 66, .80), rgba(7, 20, 37, .88));
  box-shadow: 0 1.5rem 4rem rgba(0,0,0,.25);
}

/* Form styling, compatible with the theme's gc_contact_form output */
.gc-contact-form-card form {
  display: grid;
  gap: .72rem;
}

.gc-contact-form-card label {
  display: block;
  margin: 0 0 .32rem;
  color: rgba(240,247,255,.74);
  font-size: .7rem;
  font-weight: 600;
}

.gc-contact-form-card input,
.gc-contact-form-card textarea,
.gc-contact-form-card select {
  width: 100%;
  border: 1px solid rgba(122, 181, 247, .18);
  border-radius: .72rem;
  background: rgba(4, 15, 29, .62);
  color: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.gc-contact-form-card input,
.gc-contact-form-card select {
  min-height: 2.85rem;
  padding: .62rem .8rem;
}

.gc-contact-form-card textarea {
  min-height: 6.6rem;
  padding: .75rem .8rem;
  resize: vertical;
}

.gc-contact-form-card input:focus,
.gc-contact-form-card textarea:focus,
.gc-contact-form-card select:focus {
  border-color: rgba(83, 161, 255, .70);
  box-shadow: 0 0 0 3px rgba(48, 137, 240, .10);
  background: rgba(7, 23, 42, .90);
}

.gc-contact-form-card button,
.gc-contact-form-card input[type="submit"] {
  width: auto;
  min-height: 2.9rem;
  padding: .7rem 1.2rem;
  border: 0;
  border-radius: .72rem;
  background: linear-gradient(135deg, #1786ff, #236bd9);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gc-contact-form-card button:hover,
.gc-contact-form-card input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.2rem rgba(27, 113, 222, .26);
}

/* ---------------------------------------------------------
   Responsive behaviour
   --------------------------------------------------------- */

/* Keep long contact details from forcing horizontal overflow. */
.gc-contact-page,
.gc-contact-page * {
  box-sizing: border-box;
}

.gc-contact-detail-row,
.gc-contact-strip-item,
.gc-contact-strip-copy,
.gc-contact-enquiry-grid,
.gc-contact-form-card,
.gc-contact-map-column {
  min-width: 0;
}

.gc-contact-detail-row p,
.gc-contact-detail-row a,
.gc-contact-strip-copy strong,
.gc-contact-enquiry-copy p {
  overflow-wrap: anywhere;
  word-break: normal;
}

.gc-contact-form-card input,
.gc-contact-form-card textarea,
.gc-contact-form-card select,
.gc-contact-form-card button {
  max-width: 100%;
}

/* Smaller desktop / laptop screens */
@media (max-width: 1280px) {
  .gc-contact-container {
    width: min(100% - 2rem, 76rem);
  }

  .gc-contact-showcase {
    padding-top: calc(var(--nav-h, 88px) + 3.25rem);
    padding-bottom: 3.75rem;
  }

  .gc-contact-office-panel {
    grid-template-columns: minmax(0, .9fr) minmax(29rem, 1.1fr);
    min-height: 39rem;
  }

  .gc-contact-office-info {
    padding: 2.8rem 2.35rem;
  }

  .gc-contact-heading-block h1 {
    font-size: clamp(2.8rem, 4.6vw, 4.5rem);
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 29rem;
  }

  .gc-contact-map-strip {
    grid-template-columns: 1.15fr 1fr .8fr;
  }

  .gc-contact-strip-item {
    padding-inline: .8rem;
    gap: .6rem;
  }
}

/* Tablets and small laptops: stack information above the map. */
@media (max-width: 1080px) {
  .gc-contact-showcase {
    min-height: auto;
    align-items: stretch;
    padding-top: calc(var(--nav-h, 82px) + 2.75rem);
    padding-bottom: 3rem;
    background-position: center;
  }

  .gc-contact-office-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gc-contact-office-info {
    padding: clamp(2rem, 5vw, 3.2rem);
  }

  .gc-contact-heading-block h1 {
    max-width: 46rem;
    font-size: clamp(2.7rem, 7vw, 4.7rem);
  }

  .gc-contact-intro {
    max-width: 44rem;
  }

  .gc-contact-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }

  .gc-contact-detail-row {
    align-items: start;
  }

  .gc-contact-office-actions {
    margin-top: 1rem;
  }

  .gc-contact-map-column {
    border-left: 0;
    border-top: 1px solid rgba(102, 165, 238, .18);
    padding: 1rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 29rem;
  }

  .gc-contact-map-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gc-contact-enquiry-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gc-contact-enquiry-copy {
    position: static;
  }

  .gc-contact-form-card {
    max-width: 100%;
    justify-self: stretch;
  }

  .gc-contact-enquiry-copy h2,
  .gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
    max-width: 44rem;
  }
}

/* Portrait tablets */
@media (max-width: 820px) {
  .gc-contact-container {
    width: min(100% - 1.5rem, 92rem);
  }

  .gc-contact-showcase {
    padding-top: calc(var(--nav-h, 76px) + 2.25rem);
    padding-bottom: 2.4rem;
  }

  .gc-contact-office-panel {
    border-radius: 1.35rem;
  }

  .gc-contact-office-info {
    padding: 2rem 1.55rem 1.6rem;
  }

  .gc-contact-heading-block {
    margin-bottom: 1.7rem;
  }

  .gc-contact-heading-block h1 {
    font-size: clamp(2.55rem, 9vw, 4rem);
    line-height: 1;
  }

  .gc-contact-intro {
    font-size: 1rem;
  }

  .gc-contact-detail-list {
    grid-template-columns: 1fr;
  }

  .gc-contact-detail-row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .gc-contact-office-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding-top: 1.5rem;
  }

  .gc-contact-btn {
    width: 100%;
    min-height: 3.5rem;
    padding-inline: 1rem;
  }

  .gc-contact-map-column {
    padding: .8rem;
    gap: .75rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 25rem;
  }

  .gc-contact-map-strip {
    grid-template-columns: 1fr;
  }

  .gc-contact-strip-item {
    min-height: 4.6rem;
  }

  .gc-contact-strip-item + .gc-contact-strip-item::before {
    left: .9rem;
    right: .9rem;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .gc-contact-strip-copy strong {
    white-space: normal;
    text-overflow: clip;
  }

  .gc-contact-enquiry-section {
    padding: 4.5rem 0;
  }

  .gc-contact-enquiry-copy h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
}

/* Phones */
@media (max-width: 640px) {
  .gc-contact-container {
    width: min(100% - 1rem, 92rem);
  }

  .gc-contact-showcase {
    padding-top: calc(var(--nav-h, 72px) + 1.5rem);
    padding-bottom: 1.6rem;
    background-position: 48% center;
  }

  .gc-contact-showcase::after {
    background-size: 42px 42px;
  }

  .gc-contact-showcase-glow-one {
    width: 22rem;
    height: 22rem;
    left: -12rem;
  }

  .gc-contact-showcase-glow-two {
    width: 20rem;
    height: 20rem;
  }

  .gc-contact-office-panel {
    border-radius: 1rem;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .38);
  }

  .gc-contact-office-info {
    padding: 1.45rem 1rem 1.15rem;
  }

  .gc-contact-kicker {
    gap: .65rem;
    margin-bottom: .8rem;
    font-size: .61rem;
    letter-spacing: .18em;
  }

  .gc-contact-kicker span {
    width: 1.8rem;
  }

  .gc-contact-heading-block {
    margin-bottom: 1.35rem;
  }

  .gc-contact-heading-block h1 {
    font-size: clamp(2.2rem, 11.5vw, 3.25rem);
    letter-spacing: -.035em;
  }

  .gc-contact-intro {
    margin-top: .9rem;
    font-size: .92rem;
    line-height: 1.6;
  }

  .gc-contact-detail-list {
    gap: .95rem;
  }

  .gc-contact-detail-row {
    grid-template-columns: 2.65rem minmax(0, 1fr);
    gap: .75rem;
  }

  .gc-contact-detail-icon {
    width: 2.65rem;
    height: 2.65rem;
  }

  .gc-contact-detail-icon svg {
    width: 1.08rem;
    height: 1.08rem;
  }

  .gc-contact-detail-label {
    margin-bottom: .18rem;
    font-size: .61rem;
    letter-spacing: .14em;
  }

  .gc-contact-detail-row p,
  .gc-contact-detail-row a {
    font-size: .9rem;
    line-height: 1.5;
  }

  .gc-contact-office-actions {
    grid-template-columns: 1fr;
    padding-top: 1.25rem;
  }

  .gc-contact-btn {
    min-height: 3.35rem;
    border-radius: .7rem;
    font-size: .88rem;
  }

  .gc-contact-map-column {
    padding: .55rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 21rem;
    border-radius: .75rem;
  }

  .gc-contact-map-strip {
    border-radius: .8rem;
  }

  .gc-contact-strip-item {
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.8rem;
    min-height: 4.25rem;
    gap: .65rem;
    padding: .8rem .7rem;
  }

  .gc-contact-strip-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .gc-contact-strip-copy small {
    font-size: .68rem;
  }

  .gc-contact-strip-copy strong {
    font-size: .68rem;
    line-height: 1.35;
  }

  .gc-contact-strip-arrow {
    width: 1.8rem;
    height: 1.8rem;
  }

  .gc-contact-enquiry-section {
    padding: 3.5rem 0;
  }

  .gc-contact-enquiry-grid {
    gap: 1.7rem;
  }

  .gc-contact-enquiry-copy h2 {
    font-size: clamp(1.85rem, 8.6vw, 2.35rem);
  }

  .gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
    margin-top: 1rem;
    font-size: .94rem;
    line-height: 1.65;
  }

  .gc-contact-enquiry-note {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
  }

  .gc-contact-form-card {
    padding: .9rem;
    border-radius: .9rem;
  }

  /* 16px prevents unwanted zoom when focusing fields on iOS. */
  .gc-contact-form-card input,
  .gc-contact-form-card textarea,
  .gc-contact-form-card select {
    font-size: 16px;
  }

  .gc-contact-form-card button,
  .gc-contact-form-card input[type="submit"] {
    width: 100%;
  }

  .gc-phone-wrap {
    max-width: 100%;
  }
}

/* Narrow phones */
@media (max-width: 420px) {
  .gc-contact-showcase {
    padding-top: calc(var(--nav-h, 68px) + 1.15rem);
  }

  .gc-contact-office-info {
    padding-inline: .85rem;
  }

  .gc-contact-heading-block h1 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .gc-contact-intro {
    font-size: .88rem;
  }

  .gc-contact-detail-row {
    grid-template-columns: 2.45rem minmax(0, 1fr);
    gap: .65rem;
  }

  .gc-contact-detail-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 18.5rem;
  }

  .gc-contact-strip-item {
    grid-template-columns: 2.25rem minmax(0, 1fr) 1.7rem;
    padding-inline: .6rem;
  }

  .gc-contact-strip-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .gc-contact-form-card {
    padding: .85rem;
  }
}

/* Very narrow devices such as 320px phones. */
@media (max-width: 360px) {
  .gc-contact-container {
    width: min(100% - .75rem, 92rem);
  }

  .gc-contact-office-info {
    padding-inline: .72rem;
  }

  .gc-contact-heading-block h1 {
    font-size: 1.95rem;
  }

  .gc-contact-detail-row p,
  .gc-contact-detail-row a {
    font-size: .84rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 17rem;
  }

  .gc-contact-strip-arrow {
    display: none;
  }

  .gc-contact-strip-item {
    grid-template-columns: 2.2rem minmax(0, 1fr);
  }
}

/* Short laptop screens */
@media (min-width: 1081px) and (max-height: 780px) {
  .gc-contact-showcase {
    min-height: auto;
    padding-top: calc(var(--nav-h, 80px) + 2.25rem);
    padding-bottom: 2.5rem;
  }

  .gc-contact-office-panel {
    min-height: 35rem;
  }

  .gc-contact-map-frame,
  .gc-contact-map-frame iframe {
    min-height: 26rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .gc-contact-btn,
  .gc-contact-detail-row a,
  .gc-contact-strip-item {
    transition: none;
  }
}

/* ========================================
   FINAL CONTACT PAGE REFINEMENTS
   Smaller headings + compact enquiry form
   ======================================== */

/* Our Abu Dhabi Office heading */
.gc-contact-heading-block h1 {
  max-width: 480px;
  font-size: clamp(2.4rem, 3.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* Enquiry section layout */
.gc-contact-enquiry-grid {
  grid-template-columns: minmax(0, 520px) minmax(380px, 450px);
  justify-content: space-between;
  align-items: start;
  gap: 60px;
}

/* Tell us about your requirement heading */
.gc-contact-enquiry-copy h2 {
  max-width: 430px;
  font-size: clamp(2rem, 2.6vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
  max-width: 450px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(230, 240, 252, 0.68);
}

.gc-contact-enquiry-note {
  max-width: 450px;
  margin-top: 1.35rem;
  padding-top: 1rem;
}

/* Compact form card */
.gc-contact-form-card {
  width: 100%;
  max-width: 450px;
  justify-self: end;
  padding: 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(111, 177, 255, 0.22);
  background: linear-gradient(145deg, rgba(10, 33, 58, 0.92), rgba(5, 19, 36, 0.96));
  box-shadow:
    0 1.2rem 3rem rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gc-contact-form-card form {
  display: grid;
  gap: 0.75rem;
}

.gc-contact-form-card label {
  margin: 0 0 0.35rem;
  color: rgba(240, 247, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
}

.gc-contact-form-card input,
.gc-contact-form-card select {
  min-height: 46px;
  padding: 0.68rem 0.9rem;
  border-radius: 0.72rem;
}

/* Reduced message box height */
.gc-contact-form-card textarea {
  min-height: 80px !important;
  height: 80px;
  max-height: 120px;
  padding: 0.72rem 0.9rem;
  border-radius: 0.72rem;
  resize: vertical;
}

.gc-contact-form-card button,
.gc-contact-form-card input[type="submit"] {
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  border-radius: 0.72rem;
}

/* Tablet */
@media (max-width: 1080px) {
  .gc-contact-enquiry-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    gap: 2rem;
  }

  .gc-contact-form-card {
    max-width: 520px;
    justify-self: start;
  }

  .gc-contact-heading-block h1 {
    max-width: 520px;
    font-size: clamp(2.3rem, 6vw, 3.4rem);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .gc-contact-heading-block h1 {
    max-width: 330px;
    font-size: 2.25rem;
    line-height: 1.05;
  }

  .gc-contact-enquiry-copy h2 {
    max-width: 330px;
    font-size: 2rem;
    line-height: 1.08;
  }

  .gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
    max-width: 350px;
    font-size: 0.9rem;
  }

  .gc-contact-form-card {
    width: 100%;
    max-width: 420px;
    padding: 0.95rem;
  }

  .gc-contact-form-card textarea {
    min-height: 75px !important;
    height: 75px;
  }
}

/* ========================================
   COMPACT ENQUIRY SECTION - FINAL OVERRIDE
   Keeps the section centered, narrower and tighter
   ======================================== */

.gc-contact-enquiry-section {
  padding: 3rem 0 3.25rem;
}

.gc-contact-enquiry-grid {
  width: min(100%, 980px);
  margin-inline: auto;
  grid-template-columns: minmax(0, 430px) minmax(0, 430px);
  justify-content: center;
  align-items: start;
  gap: 48px;
}

.gc-contact-enquiry-copy {
  position: static;
  width: 100%;
  max-width: 430px;
}

.gc-contact-enquiry-copy h2 {
  max-width: 390px;
  font-size: clamp(1.9rem, 2.35vw, 2.45rem);
  line-height: 1.08;
}

.gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
  max-width: 420px;
  margin-top: .85rem;
  font-size: .9rem;
  line-height: 1.6;
}

.gc-contact-enquiry-note {
  max-width: 420px;
  margin-top: 1rem;
  padding-top: .95rem;
}

.gc-contact-form-card {
  width: 100%;
  max-width: 430px;
  justify-self: start;
  padding: 1.05rem;
  border-radius: 1rem;
}

.gc-contact-form-card form {
  gap: .62rem;
}

.gc-contact-form-card label {
  margin-bottom: .28rem;
  font-size: .75rem;
}

.gc-contact-form-card input,
.gc-contact-form-card select {
  min-height: 43px;
  padding: .6rem .82rem;
}

.gc-contact-form-card textarea {
  min-height: 70px !important;
  height: 70px;
  max-height: 105px;
  padding: .65rem .82rem;
}

.gc-contact-form-card button,
.gc-contact-form-card input[type="submit"] {
  min-height: 43px;
  padding: .65rem 1.05rem;
}

@media (max-width: 1100px) {
  .gc-contact-enquiry-grid {
    width: min(100%, 900px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
  }

  .gc-contact-enquiry-copy,
  .gc-contact-form-card {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .gc-contact-enquiry-section {
    padding: 2.5rem 0;
  }

  .gc-contact-enquiry-grid {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .gc-contact-enquiry-copy,
  .gc-contact-form-card {
    width: 100%;
    max-width: 560px;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .gc-contact-enquiry-section {
    padding: 2rem 0 2.25rem;
  }

  .gc-contact-enquiry-grid {
    width: 100%;
    gap: 1.15rem;
  }

  .gc-contact-enquiry-copy h2 {
    max-width: 310px;
    font-size: 1.8rem;
    line-height: 1.08;
  }

  .gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
    margin-top: .75rem;
    font-size: .88rem;
  }

  .gc-contact-form-card {
    padding: .85rem;
    border-radius: .85rem;
  }

  .gc-contact-form-card textarea {
    min-height: 66px !important;
    height: 66px;
  }
}

/* ========================================
   ALIGN ENQUIRY SECTION WITH OFFICE PANEL
   ======================================== */
@media (min-width: 821px) {
  .gc-contact-enquiry-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 430px) minmax(360px, 430px);
    justify-content: space-between;
    column-gap: 3rem;
  }

  .gc-contact-enquiry-copy {
    width: 100%;
    max-width: 430px;
    justify-self: start;
  }

  .gc-contact-form-card {
    width: 100%;
    max-width: 430px;
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .gc-contact-enquiry-grid {
    width: 100%;
    max-width: none;
  }
}

/* ========================================
   FINAL: CONTAINED ENQUIRY SECTION
   Keep the enquiry content compact and centered
   ======================================== */

/* Keep only this section inside a compact centered width */
.gc-contact-enquiry-section .gc-contact-container {
  width: min(calc(100% - 2rem), 62rem);
  margin-inline: auto;
}

.gc-contact-enquiry-section {
  padding: 2.75rem 0 3rem;
}

.gc-contact-enquiry-grid {
  width: 100% !important;
  max-width: 62rem !important;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 410px) !important;
  justify-content: center !important;
  align-items: start;
  gap: 2.75rem !important;
}

.gc-contact-enquiry-copy {
  width: 100%;
  max-width: 430px;
  justify-self: end !important;
}

.gc-contact-enquiry-copy h2 {
  max-width: 360px;
  font-size: clamp(1.85rem, 2.2vw, 2.35rem);
  line-height: 1.08;
}

.gc-contact-enquiry-copy > p:not(.gc-contact-kicker) {
  max-width: 390px;
  margin-top: .8rem;
  font-size: .88rem;
  line-height: 1.55;
}

.gc-contact-enquiry-note {
  max-width: 390px;
  margin-top: .9rem;
  padding-top: .85rem;
}

.gc-contact-form-card {
  width: 100%;
  max-width: 410px !important;
  justify-self: start !important;
  padding: 1rem;
  border-radius: 1rem;
}

.gc-contact-form-card form {
  gap: .58rem;
}

.gc-contact-form-card input,
.gc-contact-form-card select {
  min-height: 42px;
}

.gc-contact-form-card textarea {
  min-height: 66px !important;
  height: 66px !important;
  max-height: 95px;
}

@media (max-width: 980px) {
  .gc-contact-enquiry-section .gc-contact-container {
    width: min(calc(100% - 2rem), 44rem);
  }

  .gc-contact-enquiry-grid {
    grid-template-columns: 1fr !important;
    max-width: 36rem !important;
    gap: 1.5rem !important;
  }

  .gc-contact-enquiry-copy,
  .gc-contact-form-card {
    width: 100%;
    max-width: 36rem !important;
    justify-self: center !important;
  }
}

@media (max-width: 640px) {
  .gc-contact-enquiry-section {
    padding: 2rem 0 2.25rem;
  }

  .gc-contact-enquiry-section .gc-contact-container {
    width: min(calc(100% - 1.25rem), 36rem);
  }

  .gc-contact-enquiry-grid {
    gap: 1.15rem !important;
  }

  .gc-contact-enquiry-copy h2 {
    max-width: 300px;
    font-size: 1.75rem;
  }

  .gc-contact-form-card {
    padding: .85rem;
  }
}
