.contact-page {
  background: #f2f3f5;
  color: #121212;
}

.contact-page .topbar {
  position: sticky;
  top: 0;
  z-index: 50;
}

.contact-hero {
  position: relative;
  min-height: 62vh;
  border-bottom: 1px solid #d6dbe1;
  overflow: hidden;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(0, 0, 0, 0.78) 18%, rgba(0, 0, 0, 0.3) 72%);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.contact-hero-card {
  width: min(700px, 100%);
  background: rgba(10, 10, 10, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
}

.contact-hero-card h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 0.95;
  margin-bottom: 0.9rem;
}

.contact-hero-card p {
  color: #e1e6eb;
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.contact-section {
  padding: 3.2rem 0;
  border-bottom: 1px solid #d9dde2;
}

.contact-section-alt {
  background: #e9edf1;
}

.contact-title {
  text-align: left;
  color: #121212;
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  color: #313a44;
  max-width: 980px;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.region-list,
.key-region-list {
  margin: 0.5rem 0 1rem 1.1rem;
  color: #1f2831;
  line-height: 1.7;
}

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

.contact-card {
  background: #ffffff;
  border: 1px solid #d7dbe1;
  border-radius: 14px;
  padding: 1.3rem;
}

.contact-card h2 {
  color: #111;
  margin-bottom: 0.5rem;
}

.contact-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.contact-card h4 {
  margin-top: 0.9rem;
  margin-bottom: 0.3rem;
  color: #1a2530;
}

.contact-card p,
.contact-card a,
.contact-card li {
  color: #36424d;
  line-height: 1.7;
}

.map-panel {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d1d6dd;
  background: #ffffff;
}

.map-visual {
  background: #f7f8fa;
  border-bottom: 1px solid #d7dbe1;
}

.map-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.map-content {
  padding: 1rem 1.1rem 1.2rem;
}

.map-pin {
  font-weight: 600;
  color: #151d26;
  margin-bottom: 0.8rem;
}

.map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.map-tags span {
  background: #f3f5f8;
  border: 1px solid #ccd2d9;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  color: #222c36;
  font-size: 0.88rem;
}

.contact-form {
  background: #ffffff;
  border: 1px solid #d4dae1;
  border-radius: 14px;
  padding: 1.3rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: #1d2731;
  margin-bottom: 0.85rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #cbd3db;
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111;
  background: #fcfdff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(184, 255, 44, 0.6);
  border-color: #9fdf1f;
}

.contact-form .btn {
  margin-top: 0.2rem;
}

.contact-final-cta {
  background: #f2f3f5;
  border-bottom: none;
}

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

@media (max-width: 980px) {
  .contact-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .contact-title {
    text-align: center;
  }

  .contact-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .contact-hero,
  .contact-hero-inner {
    min-height: 54vh;
  }
}

@media (max-width: 640px) {
  .contact-hero-card {
    padding: 1.2rem;
  }

  .map-visual img {
    height: 260px;
  }
}
