/* صفحه تماس با ما — Gpattern
   فقط هیرو (.gp-top) بک‌گراند دارد؛ بقیه سفید/بدون بک‌گراند.
   فوتر جداگانه است و بک‌گراند خودش را دارد. */

.gp-contact {
  position: relative;
  isolation: isolate;
  padding-block-end: 2.5rem;
  background: #fff;
}

/* ناحیه بالا — همان backdrop + هگز لندینگ (.gp-top) */
.gp-contact__top {
  margin-block-end: -1px;
}

.gp-contact__top > .gp-contact-hero,
.gp-contact__top > .gp-contact-cats {
  position: relative;
  z-index: 1;
}

/* لبه پایین هیرو نرم به سفید صفحه */
.gp-contact .gp-top::after {
  height: clamp(3.5rem, 7vw, 5.5rem);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 255, 255, 0.65) 55%,
    #ffffff 100%
  );
}

/* سکشن‌های میانی: بدون بک‌گراند آبی */
.gp-contact > .gp-section {
  position: relative;
  background: #fff !important;
  overflow: visible;
}

.gp-contact > .gp-section::before,
.gp-contact > .gp-section::after {
  content: none !important;
  display: none !important;
}

.gp-contact > .gp-section > * {
  position: relative;
  z-index: 1;
}

/* ── Hero — full-bleed image + overlay text (مثل .gp-about-hero) ─ */
.gp-contact-hero {
  padding-block: 0 0.75rem;
  background: transparent;
}

.gp-contact-hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.5rem, 3vw, 2.5rem);
  border: 2px solid #fff;
  background-color: #e8f1ff;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.12);
}

.gp-contact-hero__visual {
  display: block;
  width: 100%;
}

.gp-contact-hero__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 341;
  object-fit: cover;
  object-position: left center;
}

.gp-contact-hero__content {
  position: absolute;
  z-index: 3;
  inset-block-start: clamp(1.15rem, 3.2vw, 2.15rem);
  inset-inline-start: clamp(1.5rem, 4.5vw, 3.5rem);
  inset-inline-end: auto;
  max-inline-size: min(36rem, 48%);
  padding: 0.25rem 0.5rem;
}

.gp-contact-hero__eyebrow {
  margin: 0 0 0.55rem;
  color: #3b82f6;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 600;
  line-height: 1.6;
}

.gp-contact-hero__title {
  margin: 0 0 0.85rem;
  color: #071a3a;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.gp-contact-hero__title span {
  color: var(--gp-primary);
}

.gp-contact-hero__lead {
  margin: 0;
  max-inline-size: 32rem;
  color: #5b6b7c;
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  font-weight: 500;
  line-height: 1.85;
}

/* لوگو و دکمه‌ها فقط در چیدمان ریسپانسیو، مثل هیرو صفحه اصلی */
.gp-contact-hero__brand,
.gp-contact-hero__actions {
  display: none;
}

/* ── Categories ───────────────────────────────────────────── */
.gp-contact-cats {
  padding-block: 0.5rem 1.75rem;
  background: transparent;
}

.gp-contact-cats__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

.gp-contact-cat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.35rem) clamp(0.9rem, 1.6vw, 1.25rem);
  border: 1px solid var(--gp-line);
  border-radius: var(--gp-radius);
  background: var(--gp-surface);
  box-shadow: var(--gp-shadow);
  transition: border-color 160ms ease, transform 160ms ease;
}

.gp-contact-cat:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.gp-contact-cat__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-block-end: 0.25rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--gp-primary);
}

.gp-contact-cat__title {
  margin: 0;
  min-width: 0;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--gp-ink);
  overflow-wrap: anywhere;
}

.gp-contact-cat__desc {
  margin: 0;
  min-width: 0;
  font-size: clamp(0.78rem, 0.9vw, 0.8125rem);
  line-height: 1.7;
  color: var(--gp-muted);
  overflow-wrap: anywhere;
}

/* ── Form + Info (موکاپ دو کارت) ──────────────────────────── */
.gp-contact-main {
  padding-block: 1.75rem 2.25rem;
}

.gp-contact-main__inner {
  display: grid;
  /* RTL: ستون اول = راست (اطلاعات باریک)، ستون دوم = چپ (فرم عریض) */
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 1.25rem;
  align-items: stretch;
}

.gp-contact-card {
  min-inline-size: 0;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.gp-contact-card--info {
  background: #f8fafc;
  border-color: #e8eef5;
  box-shadow: none;
  container: gp-contact-info / inline-size;
}

.gp-contact-card--form {
  container: gp-contact-form / inline-size;
}

.gp-contact-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  color: var(--gp-primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.gp-contact-card__badge-mark {
  color: var(--gp-primary);
  font-weight: 700;
}

.gp-contact-card__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.2rem, 1.4vw + 0.85rem, 1.45rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.gp-contact-card__lead {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.85;
  color: #64748b;
  overflow-wrap: anywhere;
}

.gp-contact-info__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gp-contact-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-inline-size: 0;
}

.gp-contact-info__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  overflow: visible;
}

.gp-contact-info__icon-img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.gp-contact-info__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-inline-size: 0;
  padding-block-start: 0.1rem;
}

.gp-contact-info__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.gp-contact-info__value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

a.gp-contact-info__value:hover {
  color: var(--gp-primary);
}

.gp-contact-info__meta {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* ردیف‌های تماس در عرض کم و تبلت — دسکتاپ عریض همان فهرست ساده می‌ماند */
@container gp-contact-info (max-width: 22rem) or (min-width: 40rem) {
  .gp-contact-card__lead {
    text-wrap: balance;
  }

  .gp-contact-info__list {
    gap: 0.6rem;
  }

  .gp-contact-info__item {
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.7rem 0.7rem 0.85rem;
    border: 1px solid #e6eef8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.05);
  }

  .gp-contact-info__icon,
  .gp-contact-info__icon-img {
    width: 48px;
    height: 48px;
  }

  .gp-contact-info__body {
    gap: 0.08rem;
    padding-block-start: 0;
  }

  .gp-contact-info__label {
    font-size: 0.84rem;
  }

  .gp-contact-info__value {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #475569;
  }

  .gp-contact-info__meta {
    font-size: 0.72rem;
  }
}

/* کارت باریک: فاصله سربرگ کمتر تا ردیف‌ها زودتر دیده شوند */
@container gp-contact-info (max-width: 22rem) {
  .gp-contact-card__lead {
    margin-bottom: 0.95rem;
  }
}

/* کارت پهن (تبلت): چهار راه تماس در دو ستون */
@container gp-contact-info (min-width: 40rem) {
  .gp-contact-info__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.7rem;
  }

  .gp-contact-info__icon,
  .gp-contact-info__icon-img {
    width: 52px;
    height: 52px;
  }
}

.gp-contact-form__hp {
  position: absolute;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.gp-contact-form {
  position: relative;
}

.gp-contact-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 1.1rem;
}

.gp-contact-form__field {
  min-inline-size: 0;
}

.gp-contact-form__field--full {
  grid-column: 1 / -1;
}

.gp-contact-form__label {
  display: block;
  margin-block-end: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.gp-contact-form__req {
  color: #ef4444;
  font-weight: 700;
}

.gp-contact-form__input {
  display: block;
  width: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gp-contact-form__input::placeholder {
  color: #94a3b8;
}

.gp-contact-form__input:hover {
  border-color: #cbd5e1;
}

.gp-contact-form__input:focus {
  outline: none;
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.gp-contact-form__input.is-invalid {
  border-color: var(--gp-danger);
}

.gp-contact-form__textarea {
  resize: vertical;
  min-block-size: 150px;
}

.gp-contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-inline-start: 2.5rem;
  cursor: pointer;
}

.gp-contact-form__error {
  display: block;
  margin-block-start: 6px;
  font-size: 0.75rem;
  color: var(--gp-danger);
}

.gp-contact-form__status {
  margin: 1rem 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.gp-contact-form__status.is-ok {
  background: rgba(22, 163, 74, 0.1);
  color: var(--gp-success);
}

.gp-contact-form__status.is-error {
  background: rgba(220, 38, 38, 0.1);
  color: var(--gp-danger);
}

.gp-contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-block-start: 1.35rem;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 12px;
  background: var(--gp-primary);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease;
}

.gp-contact-form__submit:hover:not(:disabled) {
  background: var(--gp-primary-hover);
}

.gp-contact-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.gp-contact-form__submit .gp-ico {
  color: #fff;
  flex-shrink: 0;
}

/* وقتی خود کارت فرم باریک است (کنار اطلاعات تماس)، فیلدها تک‌ستونه شوند */
@container gp-contact-form (max-width: 34rem) {
  .gp-contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gp-contact-form__field--full {
    grid-column: auto;
  }
}

/* ── Map ──────────────────────────────────────────────────── */
.gp-contact > .gp-section.gp-contact-map {
  padding-block: 1.5rem 2rem !important;
  margin-block: 0 !important;
}

.gp-contact-map__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gp-line);
  background: #e8eef5;
  min-block-size: 0;
}

.gp-contact-map__img {
  display: block;
  width: 100%;
  height: min(220px, 30vw);
  min-height: 170px;
  object-fit: cover;
  /* نقشه و پین سمت راست تصویر؛ فضای خالی سمت چپ برای کارت */
  object-position: right center;
}

.gp-contact-map__card {
  position: absolute;
  inset-block-end: 1.35rem;
  /* فیزیکی چپ — روی فضای سفید تصویر */
  left: 1.35rem;
  right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-inline-size: 260px;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px -18px rgba(15, 23, 42, 0.45);
}

.gp-contact-map__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gp-ink);
}

.gp-contact-map__btn--disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* ── FAQ — همان آکاردئون/استایل gp-faq لندینگ ─────────────── */
.gp-contact > .gp-section.gp-contact-faq.gp-faq {
  padding-block: 1.75rem 2.25rem !important;
  margin-block: 0 !important;
  overflow: visible;
}

.gp-contact-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
}

.gp-contact-faq .gp-faq__head {
  margin-block-end: 1rem;
}

.gp-contact-faq .gp-faq__head .gp-section__title {
  font-size: clamp(1.15rem, 1.3vw + 0.85rem, 1.4rem);
}

.gp-contact-faq__media {
  position: relative;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-block-size: 100%;
  padding-inline: 0.25rem;
}

.gp-contact-faq__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-inline-size: none;
  height: auto;
  max-block-size: min(640px, 70dvh);
  object-fit: contain;
  object-position: center;
  transform: scale(1.08);
  transform-origin: center;
  filter: drop-shadow(0 18px 36px rgba(37, 99, 235, 0.16));
}

/* ── CTA ──────────────────────────────────────────────────── */
.gp-contact > .gp-section.gp-contact-cta {
  padding-block: 1.5rem 1.75rem !important;
  margin-block: 0 !important;
}

.gp-contact-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2rem);
  min-block-size: clamp(148px, 14vw, 190px);
  padding-block: clamp(1.1rem, 2vw, 1.5rem);
  padding-inline: clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #2563eb;
}

.gp-contact-cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.gp-contact-cta__content,
.gp-contact-cta__btn {
  position: relative;
  z-index: 1;
}

.gp-contact-cta__content {
  grid-column: 2;
  justify-self: center;
  min-inline-size: 0;
  max-inline-size: min(34rem, 70%);
  text-align: center;
}

.gp-contact-cta__btn {
  /* ستون انتهایی = چپ در RTL */
  grid-column: 3;
  justify-self: end;
}

.gp-contact-cta__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 1.6vw + 0.9rem, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.gp-contact-cta__lead {
  margin: 0 auto;
  max-inline-size: 28rem;
  font-size: clamp(0.875rem, 0.35vw + 0.8rem, 1rem);
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

a.gp-contact-cta__btn,
.gp-contact-cta__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid #fff;
  background: #fff !important;
  color: #1d4ed8 !important;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gp-contact-cta__btn-text {
  color: inherit;
}

.gp-contact-cta__btn .gp-ico,
.gp-contact-cta__btn-ico {
  flex-shrink: 0;
  color: inherit;
  fill: currentColor;
}

a.gp-contact-cta__btn:hover,
.gp-contact-cta__btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: #fff;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .gp-contact-cat {
    transition: none;
  }
}

/* هیرو تماس: از عرض لپ‌تاپ به پایین، متن زیر عکس مثل صفحه اصلی */
@media (max-width: 1279px) {
  .gp-contact-hero.gp-section {
    padding-block: 0 0.75rem;
  }

  .gp-contact-hero__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
  }

  .gp-contact-hero__visual {
    order: 0;
    width: 100%;
    flex-shrink: 0;
  }

  .gp-contact-hero__banner {
    width: 100%;
    height: auto;
    display: block;
    /* بنر خیلی عریض است و سمت راستش سفیدِ خالی است؛ سوژه را پر می‌کنیم */
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 18% center;
  }

  .gp-contact-hero__content {
    position: relative;
    inset: auto;
    z-index: 1;
    order: 1;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    max-inline-size: none;
    width: 100%;
    margin: 0;
    padding: 1.15rem 1.35rem 1.4rem;
    background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 42%);
    text-align: center;
  }

  .gp-contact-hero__content .gp-breadcrumb {
    margin: 0 0 0.15rem;
  }

  .gp-contact-hero__content .gp-breadcrumb__list {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(191, 219, 254, 0.95);
    box-shadow: none;
  }

  .gp-contact-hero__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.1rem 0 0.15rem;
    line-height: 0;
  }

  .gp-contact-hero__brand .gp-logo__img--hero {
    height: clamp(2.05rem, 4vw, 2.55rem);
    max-width: 11rem;
  }

  .gp-contact-hero__eyebrow {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .gp-contact-hero__title {
    margin: 0;
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    line-height: 1.4;
  }

  .gp-contact-hero__lead {
    margin: 0.1rem 0 0;
    max-inline-size: 32rem;
    font-size: 0.95rem;
    line-height: 1.8;
    text-wrap: balance;
  }

  .gp-contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    width: min(100%, 26rem);
    margin-block-start: 0.7rem;
  }

  .gp-contact-hero__actions .gp-btn {
    min-height: 2.7rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.92rem;
    border-radius: 12px;
  }
}

@media (max-width: 1023px) {
  .gp-contact-cats {
    padding-block: 0.35rem 1.35rem;
  }

  .gp-contact-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gp-contact-cat__icon {
    width: 44px;
    height: 44px;
  }

  .gp-contact-hero__panel {
    border-radius: clamp(1.25rem, 2.5vw, 2rem);
  }

  .gp-contact-hero__content {
    max-inline-size: none;
    padding: 1.1rem 1.15rem 1.3rem;
  }

  .gp-contact-hero__title {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
  }

  .gp-contact-hero__lead {
    font-size: 0.92rem;
  }

  .gp-contact-main__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .gp-contact-card--form {
    order: -1; /* فرم بالای اطلاعات در موبایل */
  }

  .gp-contact-form__input {
    font-size: 1rem;
  }

  .gp-contact-faq__inner {
    grid-template-columns: 1fr;
  }

  .gp-contact-faq__media {
    order: -1;
    min-block-size: 0;
  }

  .gp-contact-faq__img {
    max-block-size: min(420px, 48dvh);
    transform: scale(1.04);
  }

  .gp-contact-faq .gp-faq__head .gp-section__title {
    text-align: start;
  }
}

@media (max-width: 767px) {
  .gp-contact-hero__panel {
    border-radius: 1.25rem;
  }

  .gp-contact-hero__content {
    margin: 0;
    gap: 0.28rem;
    padding: 0.95rem 1rem 1.15rem;
  }

  .gp-contact-hero__brand .gp-logo__img--hero {
    height: 2rem;
    max-width: 9.5rem;
  }

  .gp-contact-hero__eyebrow {
    font-size: 0.88rem;
  }

  .gp-contact-hero__title {
    font-size: clamp(1.28rem, 5.2vw, 1.48rem);
  }

  .gp-contact-hero__lead {
    max-inline-size: 22rem;
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .gp-contact-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-block-start: 0.55rem;
    gap: 0.55rem;
  }

  .gp-contact-hero__actions .gp-btn {
    width: 100%;
    justify-content: center;
    min-height: 2.7rem;
    font-size: 0.9rem;
  }

  .gp-contact-cats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .gp-contact-cat {
    gap: 0.45rem;
    height: 100%;
    padding: 0.95rem 0.85rem 1rem;
    border-radius: 1.05rem;
  }

  .gp-contact-cat__icon {
    width: 2.45rem;
    height: 2.45rem;
    margin-block-end: 0.1rem;
    border-radius: 0.75rem;
  }

  .gp-contact-cat__title {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .gp-contact-cat__desc {
    font-size: 0.75rem;
    line-height: 1.7;
  }

  .gp-contact-main {
    padding-block: 1.1rem 1.35rem;
  }

  .gp-contact-main__inner {
    gap: 0.85rem;
  }

  .gp-contact-card--form,
  .gp-contact-card--info {
    padding: 1.15rem 1rem 1.15rem;
    border-radius: 16px;
  }

  .gp-contact-card--form .gp-contact-card__badge,
  .gp-contact-card--info .gp-contact-card__badge {
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
  }

  .gp-contact-card--form .gp-contact-card__title,
  .gp-contact-card--info .gp-contact-card__title {
    margin-bottom: 0.4rem;
    font-size: clamp(1.08rem, 4.8vw, 1.28rem);
  }

  .gp-contact-card--form .gp-contact-card__lead,
  .gp-contact-card--info .gp-contact-card__lead {
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    line-height: 1.75;
  }

  .gp-contact-form__grid {
    gap: 0.85rem;
  }

  .gp-contact-form__label {
    margin-block-end: 0.35rem;
    font-size: 0.8125rem;
  }

  .gp-contact-form__input {
    padding: 0.72rem 0.85rem;
    border-radius: 10px;
  }

  .gp-contact-form__textarea {
    min-block-size: 7.25rem;
  }

  .gp-contact-form__submit {
    margin-block-start: 1rem;
    min-height: 2.9rem;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  /* نقشه دیده شود؛ کارت به‌جای پوشاندن تصویر، زیر آن بنشیند */
  .gp-contact-map__frame {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
  }

  .gp-contact-map__img {
    height: 168px;
    min-height: 0;
    object-position: 78% 42%;
  }

  .gp-contact-map__card {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-inline-size: none;
    box-sizing: border-box;
    gap: 0.65rem;
    margin: 0;
    padding: 0.9rem 1rem 1rem;
    border-radius: 0;
    border-block-start: 1px solid #e8eef5;
    background: #fff;
    box-shadow: none;
  }

  .gp-contact-map__title {
    font-size: 0.95rem;
    line-height: 1.55;
    text-wrap: balance;
  }

  .gp-contact-map__card .gp-btn {
    width: 100%;
    justify-content: center;
    min-height: 2.7rem;
  }
}

@media (max-width: 1023px) {
  .gp-contact-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    min-block-size: 0;
    padding-inline: 1.25rem;
    padding-block: 1.55rem 1.5rem;
  }

  .gp-contact-cta__bg {
    object-fit: cover;
    object-position: 72% center;
  }

  .gp-contact-cta__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.48) 52%, rgba(29, 78, 216, 0.68) 100%),
      radial-gradient(ellipse 70% 80% at 50% 35%, rgba(37, 99, 235, 0.12), transparent 70%);
  }

  .gp-contact-cta__content {
    grid-column: auto;
    width: min(100%, 26rem);
    max-inline-size: none;
    text-align: center;
  }

  .gp-contact-cta__title {
    font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  }

  .gp-contact-cta__lead {
    max-inline-size: 22rem;
    font-size: 0.9rem;
    line-height: 1.75;
    text-wrap: balance;
  }

  .gp-contact-cta__btn {
    grid-column: auto;
    justify-self: auto;
    width: min(100%, 16rem);
    flex-shrink: 0;
  }
}

@media (max-width: 600px) {
  .gp-contact-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gp-contact-map__card {
    position: relative;
    left: auto;
    right: auto;
    padding-inline: 0.9rem;
  }

  .gp-contact-cta__inner {
    gap: 0.85rem;
    border-radius: 18px;
    padding-inline: 1rem;
    padding-block: 1.35rem 1.3rem;
  }

  .gp-contact-cta__bg {
    object-position: 82% 30%;
  }

  .gp-contact-cta__title {
    margin-bottom: 0.3rem;
    font-size: 1.18rem;
  }

  .gp-contact-cta__lead {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .gp-contact-cta__btn {
    width: 100%;
    min-height: 2.85rem;
  }
}

@media (max-width: 479px) {
  .gp-contact-cats__grid {
    gap: 0.55rem;
  }

  .gp-contact-cat {
    padding: 0.85rem 0.7rem 0.9rem;
  }

  .gp-contact-cat__icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .gp-contact-cat__title {
    font-size: 0.82rem;
  }

  .gp-contact-cat__desc {
    font-size: 0.72rem;
    line-height: 1.6;
  }

  .gp-contact-hero__content {
    margin: 0;
    padding: 0.85rem 0.85rem 1.05rem;
  }

  .gp-contact-hero__title {
    font-size: clamp(1.2rem, 5.6vw, 1.38rem);
  }

  .gp-contact-hero__eyebrow {
    font-size: 0.82rem;
  }

  .gp-contact-hero__lead {
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .gp-contact-hero__actions .gp-btn {
    min-height: 2.55rem;
    font-size: 0.86rem;
  }

  .gp-contact-card--form,
  .gp-contact-card--info {
    padding: 1rem 0.85rem 1.05rem;
  }

  .gp-contact-card--form .gp-contact-card__title,
  .gp-contact-card--info .gp-contact-card__title {
    font-size: 1.05rem;
  }

  .gp-contact-card--form .gp-contact-card__lead,
  .gp-contact-card--info .gp-contact-card__lead {
    font-size: 0.78rem;
  }

  .gp-contact-cta__inner {
    padding-inline: 0.85rem;
    padding-block: 1.15rem 1.1rem;
  }

  .gp-contact-cta__title {
    font-size: 1.1rem;
  }

  .gp-contact-cta__lead {
    font-size: 0.8rem;
  }
}
