/* ============ CONTACT — image left, white form card right ============ */
.contact {
  position: relative;
  padding: 0;
  background: var(--ink);
  overflow: hidden;
}

/* Full-bleed background image behind the whole section */
.contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.35) 100%);
}

.contact__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 110px);
}

/* ---- Left: details on the image ---- */
.contact__info { color: var(--text-on-dark); }
.contact__title {
  margin-top: 14px;
  color: #fff;
}
.contact__lead {
  margin-top: 18px;
  font-size: var(--fs-small);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
}

.contact__list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact__ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
}
.contact__list li > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}
.contact__list small {
  font-size: var(--fs-tiny);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.contact__list a:hover { color: #fff; }

.contact__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Right: the white form card ---- */
.contact__form {
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.contact__form-title {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
}
.contact__form-title .accent { color: var(--red); }

.form__grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: var(--fs-small);
  color: var(--text-strong);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237b7873'%3E%3Cpath d='M8 11 3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  padding-right: 38px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.contact__form .btn { width: 100%; margin-top: 4px; }

.form__note {
  margin-top: 12px;
  font-size: var(--fs-tiny);
  color: var(--text-muted);
  text-align: center;
}

/* ---- Map ---- */
.contact__map {
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-on-dark);
  line-height: 0;
}
.contact__map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s var(--ease);
}
.contact__map:hover iframe { filter: grayscale(0); }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
