/* Contact page */
.mf-contact-page {
  font-family: "Outfit", sans-serif;
  color: var(--mf-text, #334155);
  overflow-x: hidden;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(14,165,233,0.14), transparent 60%),
    radial-gradient(700px 360px at 100% 40%, rgba(20,184,166,0.12), transparent 55%),
    #f8fbff;
}

.mf-contact-page h1,
.mf-contact-page h2,
.mf-contact-page h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--mf-ink, #0c4a6e);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.mf-contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.mf-contact-info {
  background: linear-gradient(160deg, #0c4a6e 0%, #0369a1 50%, #0d9488 100%);
  border-radius: 28px;
  padding: 32px 28px;
  color: rgba(255,255,255,0.9);
  box-shadow: 0 22px 48px rgba(12,74,110,0.22);
  position: relative;
  overflow: hidden;
}

.mf-contact-info::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -60px;
  right: -40px;
}

.mf-contact-info h2 {
  position: relative;
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.mf-contact-info > p {
  position: relative;
  margin: 0 0 24px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
}

.mf-contact-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mf-contact-list .mf-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mf-contact-list a.mf-contact-item:hover,
.mf-contact-list .mf-contact-item:hover {
  background: rgba(255,255,255,0.16);
  transform: translateX(4px);
  color: #fff;
  text-decoration: none;
}

.mf-contact-list .mf-ci {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fbbf24, #34d399);
  color: #0c4a6e;
}

.mf-contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
}

.mf-contact-list span {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.mf-contact-form {
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px;
  border: 1px solid rgba(14,165,233,0.12);
  box-shadow: 0 18px 40px rgba(12,74,110,0.08);
}

.mf-contact-form h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.mf-contact-form .mf-form-lead {
  margin: 0 0 22px;
  color: #64748b;
  line-height: 1.6;
}

.mf-alert {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.mf-alert--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.mf-alert--err {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.mf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mf-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mf-field--full { grid-column: 1 / -1; }

.mf-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0c4a6e;
}

.mf-field input,
.mf-field textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 14px;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  color: #0c4a6e;
  background: #f8fbff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
}

.mf-field textarea {
  min-height: 130px;
  resize: vertical;
}

.mf-field input:focus,
.mf-field textarea:focus {
  border-color: #0ea5e9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
}

.mf-field .mf-error {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
}

.mf-captcha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.mf-captcha__box {
  background: #f0f9ff;
  border: 1px dashed rgba(14,165,233,0.35);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.mf-captcha__box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.mf-captcha__hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.mf-captcha__hint a {
  color: #0ea5e9;
  font-weight: 700;
  text-decoration: none;
}

.mf-captcha__hint a:hover { text-decoration: underline; }

.mf-form-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mf-form-actions .mf-btn {
  border: 0;
  cursor: pointer;
}

.mf-map {
  margin-top: 24px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(14,165,233,0.12);
  box-shadow: 0 18px 40px rgba(12,74,110,0.08);
  background: #fff;
}

.mf-map__head {
  padding: 22px 24px 8px;
}

.mf-map__head h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.mf-map__head p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
}

.mf-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 991px) {
  .mf-contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .mf-form-grid,
  .mf-captcha { grid-template-columns: 1fr; }
  .mf-contact-form,
  .mf-contact-info { padding: 24px 18px; border-radius: 22px; }
  .mf-map iframe { height: 280px; }
}