

.contact-section {
  padding: 64px 5% 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto 32px;
}
.contact-layout > * {
  min-width: 0;
}

/* LEFT: dark info panel */
.contact-panel {
  background: linear-gradient(160deg, var(--brand-dark), #1c3a6b);
  border-radius: 18px;
  padding: 44px 38px;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.contact-panel h2 {
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.contact-panel-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  margin-bottom: 34px;
}

.contact-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 34px;
}
.contact-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cp-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-icon svg {
  width: 19px;
  height: 19px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-panel-list h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}
.contact-panel-list p,
.contact-panel-list a {
  font-size: 14.5px;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
}
.contact-panel-list a:hover {
  color: var(--brand-light);
}

.contact-panel-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-panel-social .social-icon {
  background: rgba(255, 255, 255, 0.12);
}
.contact-panel-social .social-icon svg {
  stroke: #fff;
}
.contact-panel-social .social-icon:hover {
  background: var(--brand-light);
}

/* RIGHT: form card */
.contact-card {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 44px;
  box-shadow: 0 15px 40px rgba(20, 39, 77, 0.06);
  display: flex;
  flex-direction: column;
}
.contact-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-card-sub {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group-full {
  flex: 1;
}
.contact-form textarea {
  min-height: 140px;
  height: 100%;
}
.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 4px;
}

/* Social icon base (shared shape; colour context set above/below) */
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-ultra);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.social-icon:hover {
  transform: translateY(-3px);
}
.social-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--brand-dark);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

/* MAP */
/* MAP */
.map-container {
  max-width: 1440px;
  margin: 0 auto 40px; /* Bottom gap added */
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 15px 40px rgba(20, 39, 77, 0.06);
  min-height: 320px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  display: block;
}

/* ==================================================
   RESPONSIVE
   ================================================== */
@media (max-width: 1100px) {
  .contact-panel {
    padding: 38px 32px;
  }
  .contact-card {
    padding: 36px;
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-panel {
    order: 2;
  }
  .contact-card {
    order: 1;
  }
  .map-container {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .contact-section {
    padding: 48px 6% 64px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-panel {
    padding: 32px 24px;
    border-radius: 16px;
  }
  .contact-card {
    padding: 28px 22px;
    border-radius: 16px;
  }
}
