/* Contact page: form spacing + redesigned Contact Us / map block */

section#ai-fby6Xb.block {
  --block-padding-bottom: 2.5rem !important;
  --block-padding: 16px 0 2.5rem 0 !important;
  padding-bottom: 2.5rem !important;
  margin-bottom: 0 !important;
  overflow: visible;
}

section#ai-fby6Xb .block-layout {
  padding-bottom: 1rem !important;
}

section#ai-fby6Xb .layout-element:has(#ai-S0lbMy),
section#ai-fby6Xb #ai-S0lbMy {
  position: relative !important;
  z-index: 2;
  margin-bottom: 1rem !important;
}

/* Hide legacy Hostinger Contact Us section if still present */
section#ai-7IhrUQ.block:not(.nmf-contact-section) {
  display: none !important;
}

.nmf-contact-section {
  --nmf-c-ink: #1a1c4d;
  --nmf-c-muted: #5c5f66;
  --nmf-c-blue: #0047c7;
  --nmf-c-soft: #eef2f8;
  --nmf-c-line: rgba(26, 28, 77, 0.12);
  box-sizing: border-box;
  width: 100%;
  padding: 2.75rem max(1rem, env(safe-area-inset-right, 0px)) 3.5rem
    max(1rem, env(safe-area-inset-left, 0px));
  background:
    linear-gradient(165deg, #f3f6fb 0%, #ffffff 42%, #f6f7f9 100%);
  color: var(--nmf-c-ink);
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  position: relative;
  z-index: 1;
}

.nmf-contact-section *,
.nmf-contact-section *::before,
.nmf-contact-section *::after {
  box-sizing: border-box;
}

.nmf-contact-section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem 2rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

@media (max-width: 919.98px) {
  .nmf-contact-section {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }

  .nmf-contact-section__inner {
    grid-template-columns: 1fr;
  }

  section#ai-fby6Xb.block {
    --m-block-padding: 16px 16px 2rem 16px !important;
    padding-bottom: 2rem !important;
  }
}

.nmf-contact-section__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nmf-c-blue);
  background: rgba(0, 71, 199, 0.08);
  border: 1px solid rgba(0, 71, 199, 0.14);
}

.nmf-contact-section__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.nmf-contact-section__lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--nmf-c-muted);
  max-width: 36rem;
}

.nmf-contact-section__cards {
  display: grid;
  gap: 0.85rem;
}

.nmf-contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--nmf-c-line);
  border-radius: 10px;
}

.nmf-contact-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--nmf-c-soft);
  color: var(--nmf-c-blue);
  flex-shrink: 0;
}

.nmf-contact-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nmf-contact-card__label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nmf-c-blue);
}

.nmf-contact-card__value {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--nmf-c-ink);
}

.nmf-contact-card__value a {
  color: var(--nmf-c-ink);
  text-decoration: none;
  font-weight: 600;
}

.nmf-contact-card__value a:hover {
  color: var(--nmf-c-blue);
  text-decoration: underline;
}

.nmf-contact-card__hint {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--nmf-c-muted);
}

.nmf-contact-map {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--nmf-c-line);
  border-radius: 12px;
  overflow: hidden;
}

.nmf-contact-map__frame-wrap {
  position: relative;
  flex: 1;
  min-height: 340px;
  background:
    linear-gradient(135deg, #dfe7f3 0%, #c9d5e8 100%);
}

@media (min-width: 920px) {
  .nmf-contact-map__frame-wrap {
    min-height: 420px;
  }
}

.nmf-contact-map__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.nmf-contact-map__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--nmf-c-line);
  background: #fafbfd;
}

.nmf-contact-map__bar p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--nmf-c-muted);
  line-height: 1.4;
}

.nmf-contact-map__bar a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  background: var(--nmf-c-blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.nmf-contact-map__bar a:hover {
  background: #0039a3;
}
