/* =========================================================
   CONTACT.CSS — Contact Us page (Hero + Form Section)
========================================================= */

:root {
  --black: #111111;
  --gray-bg: #f2f2f2;
  --text: #222222;
  --muted: #5c5c5c;
  --white: #ffffff;
  --gold: #d4a537;
  --gold-1:#b8862f;
  --gold-2:#e6c15b;
  --ink:#1c1c1c;
  --muted:#6b6b6b;
  --line:#e7e2d8;
  --card-bg:#ffffff;
  --page-bg:#f6f4ef;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.contact-section {
  --gold: #d4a017;
  --gold-light: #e8c468;
  --dark-bg: #0b0b0c;
  --text-light: #f4f4f2;
  --text-muted: #c9c9c7;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--dark-bg);
  position: relative;
}
.contact-section * {
  box-sizing: border-box;
}
.contact-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: #ffffff;
  z-index: 0;
}
.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  min-height: 420px;
}
.contact-text {
  position: relative;
  z-index: 2;
  padding: 56px 60px 40px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-text .eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.contact-text h2 {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  color: var(--text-light);
  font-weight: 500;
}
.contact-text h2 .accent {
  display: block;
  color: var(--gold-light);
}
.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0 20px 0;
}
.contact-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0;
}
.contact-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-image .tower {
  position: absolute;
  right: -10%;
  bottom: 0;
  width: 75%;
  height: 100%;
  background: linear-gradient(180deg, #2b2b2d 0%, #101012 70%, #000 100%);
  clip-path: polygon(30% 0%, 100% 5%, 100% 100%, 0% 100%, 10% 40%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}
.contact-image .tower::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.5) 0 1px,
      transparent 1px 28px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.5) 0 1px,
      transparent 1px 24px
    );
}
.contact-image .glow {
  position: absolute;
  top: 10%;
  right: 20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(255, 220, 150, 0.5),
    transparent 70%
  );
  filter: blur(10px);
}
.contact-image .brand-mark {
  position: absolute;
  right: 16%;
  top: 38%;
  color: var(--gold-light);
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  z-index: 2;
}
.contact-image .brand-mark small {
  display: block;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-top: 2px;
}
.contact-cards-wrap {
  position:relative; 
  z-index:3; 
  padding-bottom:50px;
}
.contact-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 56px;
  margin-top: -30px;
  transform: translateY(28px);
}
.contact-card {
  background: #0f0f10;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-bottom: 3px solid rgba(212, 160, 23, 0.35);
  border-radius: 10px;
  padding: 20px 20px 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow:
    0 0 0 1px rgba(212, 160, 23, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.45),
    0 4px 10px rgba(212, 160, 23, 0.25);
  min-width: 0; /* FIX: allow flex children to shrink instead of overflowing the card */
}
.contact-card .icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  color: var(--gold-light);
  margin-top: 2px;
}
.contact-card .icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.8;
}
.contact-card .icon svg.filled {
  fill: var(--gold-light);
  stroke: none;
}
.contact-card > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}
.contact-card h4 {
  margin: 0 0 4px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-light);
  overflow-wrap: break-word;
}
.contact-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 1000px) {
  .contact-hero {
    grid-template-columns: 1fr;
  }
  .contact-image {
    min-height: 260px;
  }
  .contact-text {
    padding: 48px 32px 24px 32px;
  }
  .contact-text h2 {
    font-size: 32px;
  }
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 32px 32px 32px;
    margin-top: 24px;
    transform: none;
  }
}
@media (max-width: 560px) {
  .contact-text {
    padding: 36px 20px 20px 20px;
  }
  .contact-text h2 {
    font-size: 26px;
  }
  .contact-text p {
    font-size: 14px;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px 28px 16px;
  }
  .contact-card {
    padding: 16px;
    gap: 12px;
  }
  .contact-card .icon {
    width: 22px;
    height: 22px;
  }
  .contact-card h4 {
    font-size: 13.5px;
  }
  .contact-card p {
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .contact-card {
    flex-direction: column;
    gap: 8px;
  }
}





.contact-wrap {
  width: 92%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  padding: 40px 0;
}
.card {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.form-card {
  padding: 34px 34px 34px;
}
.form-card h2 {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 28px;
  margin: 0 0 14px 0;
  color: #111;
}
.accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  margin-bottom: 16px;
  border-radius: 2px;
}
.form-card>p {
  margin: 0 0 22px 0;
  color: var(--muted);
  font-size: 14.5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  position: relative;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px 13px 42px;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
}
.field textarea {
  padding-left: 42px;
  padding-top: 14px;
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-1);
}
.field .icon {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 16px;
  height: 16px;
  color: var(--gold-1);
  pointer-events: none;
}
.field.textarea-field .icon {
  top: 16px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  color: #8a8a8a;
}
.field.select-field .chevron {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 14px;
  height: 14px;
  color: #333;
  pointer-events: none;
}
.full-row {
  margin-bottom: 16px;
}
.send-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
  background: linear-gradient(90deg, #8a6112, #d9a83a 55%, #e9c86a);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .2s ease, transform .15s ease;
}
.send-btn:hover {
  opacity: .92;
  transform: translateY(-1px);
}
.send-btn svg {
  width: 16px;
  height: 16px;
}
.map-card {
  display: flex;
  flex-direction: column;
}
.map-area {
  position: relative;
  height: 300px;
  background:
    linear-gradient(#eceae3, #eceae3),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 0, 0, 0.045) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(0, 0, 0, 0.045) 46px 47px);
  overflow: hidden;
}
.map-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(135deg, transparent 40%, rgba(150, 180, 200, 0.25) 41%, rgba(150, 180, 200, 0.25) 43%, transparent 44%);
}
.map-labels span {
  position: absolute;
  font-size: 11px;
  color: #8d8d8d;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 600;
}
.map-pin {
  position: absolute;
  left: 38%;
  top: 48%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.map-pin .pin-icon {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.map-pin .pin-icon svg {
  transform: rotate(45deg);
  width: 16px;
  height: 16px;
  color: #fff;
}
.map-pin-label {
  position: absolute;
  left: 50%;
  top: -8px;
  transform: translate(6px, 0);
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  font-size: 12.5px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}
.map-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}
.map-controls button {
  width: 28px;
  height: 28px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  color: #444;
  cursor: pointer;
}
.offices {
  padding: 28px 32px 32px;
}
.offices h3 {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 22px;
  margin: 0 0 12px 0;
}
.office-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.office-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.office-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.office-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold-2);
}
.office-text h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
}
.office-text p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-card {
    padding: 26px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .offices {
    padding: 22px 20px 26px;
  }
  .map-area {
    height: 240px;
  }
  .map-pin {
    left: 32%;
  }
}