/* MTB premium multilingual Contact page */
.mtb-contact-page {
  overflow: hidden;
  background: #fff;
  color: var(--mtb-text);
}

.mtb-contact-page .mtb-eyebrow {
  margin-bottom: 14px;
}

.mtb-contact-hero {
  position: relative;
  min-height: clamp(430px, 48vw, 610px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--mtb-navy-950);
  color: #fff;
}

.mtb-contact-hero__image,
.mtb-contact-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mtb-contact-hero__image {
  object-fit: cover;
  object-position: center 47%;
}

.mtb-contact-hero__shade {
  background:
    linear-gradient(90deg, rgba(4, 19, 31, .94) 0%, rgba(4, 19, 31, .80) 34%, rgba(4, 19, 31, .32) 63%, rgba(4, 19, 31, .08) 100%),
    linear-gradient(0deg, rgba(4, 19, 31, .24), rgba(4, 19, 31, .08));
}

.mtb-contact-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-block: clamp(72px, 8vw, 118px);
}

.mtb-contact-hero__copy {
  width: min(650px, 62vw);
}

.mtb-contact-hero__copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(52px, 5.4vw, 86px);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: .96;
}

.mtb-contact-hero__copy > p:not(.mtb-eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.68;
}

.mtb-contact-hero__rule {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 28px;
  background: var(--mtb-red);
}

.mtb-contact-hero__copy small {
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
}

.mtb-contact-cards {
  position: relative;
  z-index: 3;
  padding: 28px 0 56px;
  background: #f6f7f8;
}

.mtb-contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mtb-contact-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 15px;
  min-height: 190px;
  padding: 26px 23px 24px;
  border: 1px solid #e4e7ea;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(7, 27, 42, .025);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.mtb-contact-card:hover {
  transform: translateY(-2px);
  border-color: #d5dade;
  box-shadow: 0 12px 30px rgba(7, 27, 42, .065);
}

.mtb-contact-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--mtb-navy-950);
}

.mtb-contact-card__icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.mtb-contact-card__content {
  min-width: 0;
}

.mtb-contact-card h2 {
  margin: 2px 0 10px;
  color: var(--mtb-navy-950);
  font-size: 15px;
  font-weight: 790;
  line-height: 1.25;
}

.mtb-contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #57636e;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.mtb-contact-card__body a {
  width: fit-content;
  color: var(--mtb-navy-900);
  transition: color 160ms ease;
}

.mtb-contact-card__body a:hover {
  color: var(--mtb-red);
}

.mtb-contact-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: var(--mtb-red);
  font-size: 11.5px;
  font-weight: 760;
}

.mtb-contact-card__link span {
  font-size: 15px;
  transition: transform 160ms ease;
}

.mtb-contact-card__link:hover span {
  transform: translateX(3px);
}

.mtb-contact-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}

.mtb-contact-form-section {
  padding: clamp(68px, 6vw, 96px) 0;
  background: #fff;
}

.mtb-contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.66fr) minmax(340px, .72fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
}

.mtb-contact-form-panel {
  min-width: 0;
}

.mtb-contact-form-heading {
  margin-bottom: 30px;
}

.mtb-contact-form-heading .mtb-eyebrow {
  color: var(--mtb-red);
}

.mtb-contact-form-heading h2 {
  margin: 0;
  color: var(--mtb-navy-950);
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 760;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.mtb-contact-form-heading > p:not(.mtb-eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--mtb-muted);
  font-size: 14px;
  line-height: 1.65;
}

.mtb-contact-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-inline-start: 3px solid;
  background: #f7f8f9;
  font-size: 13px;
  line-height: 1.6;
}

.mtb-contact-notice.is-success {
  border-color: #2f8c5b;
  background: #f1f8f4;
  color: #245f43;
}

.mtb-contact-notice.is-error {
  border-color: var(--mtb-red);
  background: #fff4f4;
  color: #8f1d22;
}

.mtb-contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.mtb-contact-form label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: var(--mtb-navy-950);
  font-size: 12px;
  font-weight: 700;
}

.mtb-contact-form label > span b {
  color: var(--mtb-red);
  font-size: 11px;
}

.mtb-contact-form input,
.mtb-contact-form select,
.mtb-contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #dfe3e6;
  border-radius: 2px;
  background: #fff;
  color: var(--mtb-text);
  font: inherit;
  font-weight: 450;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.mtb-contact-form input,
.mtb-contact-form select {
  min-height: 48px;
  padding: 0 13px;
}

.mtb-contact-form textarea {
  min-height: 154px;
  resize: vertical;
  padding: 12px 13px;
  line-height: 1.55;
}

.mtb-contact-form input:focus,
.mtb-contact-form select:focus,
.mtb-contact-form textarea:focus {
  border-color: var(--mtb-navy-900);
  box-shadow: 0 0 0 3px rgba(7, 27, 42, .06);
}

.mtb-contact-form__message,
.mtb-contact-form__submit {
  grid-column: 1 / -1;
}

.mtb-contact-form__submit {
  padding-top: 1px;
}

.mtb-contact-form__submit .mtb-button {
  min-width: 178px;
  border-radius: 2px;
}

.mtb-contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mtb-contact-promo {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  border-radius: 4px;
  background: #071b2a;
  box-shadow: 0 18px 42px rgba(7, 27, 42, .13);
}

.mtb-contact-promo__picture,
.mtb-contact-promo__picture img,
.mtb-contact-promo__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mtb-contact-promo__picture img {
  object-fit: cover;
  object-position: center center;
}

.mtb-contact-promo__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 18, 28, .07) 0%, rgba(5, 18, 28, .18) 33%, rgba(5, 18, 28, .88) 83%, rgba(5, 18, 28, .95) 100%),
    linear-gradient(90deg, rgba(5, 18, 28, .30), transparent 70%);
}

.mtb-contact-promo__copy {
  position: absolute;
  z-index: 2;
  inset-inline: clamp(26px, 3vw, 42px);
  bottom: 36px;
  color: #fff;
}

.mtb-contact-promo__copy h2 {
  max-width: 420px;
  margin: 0;
  font-size: clamp(31px, 3vw, 47px);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: .98;
}

.mtb-contact-promo__copy > span {
  display: block;
  width: 44px;
  height: 3px;
  margin: 22px 0 18px;
  background: var(--mtb-red);
}

.mtb-contact-promo__copy p {
  max-width: 370px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 13.5px;
  line-height: 1.62;
}

.mtb-contact-locations {
  padding: 0;
  background: #f3f4f5;
  border-top: 1px solid #e5e8ea;
}

.mtb-contact-locations__layout {
  display: grid;
  grid-template-columns: minmax(330px, .68fr) minmax(0, 1.32fr);
  min-height: 470px;
}

.mtb-contact-locations__intro {
  padding: clamp(54px, 5vw, 78px) clamp(28px, 4vw, 60px) clamp(54px, 5vw, 78px) 0;
}

.mtb-contact-locations__intro .mtb-eyebrow {
  color: var(--mtb-red);
}

.mtb-contact-locations__intro h2 {
  margin: 0;
  color: var(--mtb-navy-950);
  font-size: clamp(38px, 3.1vw, 52px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1;
}

.mtb-contact-locations__intro > p:not(.mtb-eyebrow) {
  max-width: 450px;
  margin: 15px 0 0;
  color: var(--mtb-muted);
  font-size: 14px;
  line-height: 1.7;
}

.mtb-contact-location-links {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.mtb-contact-location-links > a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 450px;
  padding: 11px 12px;
  border: 1px solid #e1e4e7;
  background: rgba(255, 255, 255, .82);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.mtb-contact-location-links > a:hover {
  border-color: #d4d8dc;
  background: #fff;
  transform: translateY(-1px);
}

.mtb-contact-location-links strong,
.mtb-contact-location-links small {
  display: block;
}

.mtb-contact-location-links strong {
  color: var(--mtb-navy-950);
  font-size: 12.5px;
}

.mtb-contact-location-links small {
  margin-top: 4px;
  color: var(--mtb-muted);
  font-size: 11px;
  line-height: 1.45;
}

.mtb-contact-location-pin {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--mtb-red);
  color: #fff;
}

.mtb-contact-location-pin svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mtb-contact-map {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-inline-start: 1px solid #e0e4e7;
  background: #e8ebed;
}

.mtb-contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(.88) brightness(1.08);
  opacity: .82;
}

.mtb-contact-map::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(243, 244, 245, .36), transparent 22%);
}

.mtb-contact-map__pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px 8px 8px;
  border: 1px solid rgba(7, 27, 42, .12);
  border-radius: 3px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(7, 27, 42, .14);
  color: var(--mtb-navy-950);
  font-size: 11px;
  line-height: 1;
}

.mtb-contact-map__pin span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--mtb-red);
  color: #fff;
}

.mtb-contact-map__pin svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.mtb-contact-map__pin.is-tehran {
  top: 43%;
  left: 72%;
}

.mtb-contact-map__pin.is-factory {
  top: 61%;
  left: 18%;
}

/* RTL-specific composition without disturbing the fixed LTR brand lockup. */
html[dir="rtl"] .mtb-contact-hero__shade,
html[lang^="fa"] .mtb-contact-hero__shade,
html[lang^="ar"] .mtb-contact-hero__shade {
  background:
    linear-gradient(270deg, rgba(4, 19, 31, .94) 0%, rgba(4, 19, 31, .80) 34%, rgba(4, 19, 31, .32) 63%, rgba(4, 19, 31, .08) 100%),
    linear-gradient(0deg, rgba(4, 19, 31, .24), rgba(4, 19, 31, .08));
}

html[dir="rtl"] .mtb-contact-hero__copy,
html[lang^="fa"] .mtb-contact-hero__copy,
html[lang^="ar"] .mtb-contact-hero__copy {
  margin-inline-start: auto;
  text-align: right;
}

html[dir="rtl"] .mtb-contact-card__link span,
html[lang^="fa"] .mtb-contact-card__link span,
html[lang^="ar"] .mtb-contact-card__link span {
  transform: scaleX(-1);
}

html[dir="rtl"] .mtb-contact-card__link:hover span,
html[lang^="fa"] .mtb-contact-card__link:hover span,
html[lang^="ar"] .mtb-contact-card__link:hover span {
  transform: scaleX(-1) translateX(3px);
}

html[dir="rtl"] .mtb-contact-locations__intro,
html[lang^="fa"] .mtb-contact-locations__intro,
html[lang^="ar"] .mtb-contact-locations__intro {
  padding-inline: clamp(28px, 4vw, 60px) 0;
}

html[dir="rtl"] .mtb-contact-map,
html[lang^="fa"] .mtb-contact-map,
html[lang^="ar"] .mtb-contact-map {
  border-inline-start: 1px solid #e0e4e7;
}

html[dir="rtl"] .mtb-contact-map::after,
html[lang^="fa"] .mtb-contact-map::after,
html[lang^="ar"] .mtb-contact-map::after {
  background: linear-gradient(270deg, rgba(243, 244, 245, .36), transparent 22%);
}

/* Persian/Arabic typography */
html[lang^="fa"] .mtb-contact-page,
html[lang^="ar"] .mtb-contact-page {
  font-family: Vazirmatn, Vazir, Tahoma, Arial, sans-serif;
}

html[lang^="fa"] .mtb-contact-hero__copy h1,
html[lang^="ar"] .mtb-contact-hero__copy h1,
html[lang^="fa"] .mtb-contact-form-heading h2,
html[lang^="ar"] .mtb-contact-form-heading h2,
html[lang^="fa"] .mtb-contact-promo__copy h2,
html[lang^="ar"] .mtb-contact-promo__copy h2,
html[lang^="fa"] .mtb-contact-locations__intro h2,
html[lang^="ar"] .mtb-contact-locations__intro h2 {
  letter-spacing: -.02em;
}

@media (max-width: 1160px) {
  .mtb-contact-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mtb-contact-form-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr);
  }

  .mtb-contact-promo {
    min-height: 610px;
  }

  .mtb-contact-map__pin.is-tehran {
    left: 66%;
  }
}

@media (max-width: 900px) {
  .mtb-contact-hero {
    min-height: 490px;
  }

  .mtb-contact-hero__copy {
    width: min(660px, 84vw);
  }

  .mtb-contact-hero__shade {
    background: linear-gradient(90deg, rgba(4, 19, 31, .94), rgba(4, 19, 31, .58) 75%, rgba(4, 19, 31, .34));
  }

  html[dir="rtl"] .mtb-contact-hero__shade,
  html[lang^="fa"] .mtb-contact-hero__shade,
  html[lang^="ar"] .mtb-contact-hero__shade {
    background: linear-gradient(270deg, rgba(4, 19, 31, .94), rgba(4, 19, 31, .58) 75%, rgba(4, 19, 31, .34));
  }

  .mtb-contact-form-layout {
    grid-template-columns: 1fr;
  }

  .mtb-contact-promo {
    min-height: 390px;
  }

  .mtb-contact-promo__picture img {
    object-position: center 58%;
  }

  .mtb-contact-promo__copy h2 {
    max-width: 540px;
    font-size: clamp(34px, 6vw, 52px);
  }

  .mtb-contact-locations__layout {
    grid-template-columns: 1fr;
  }

  .mtb-contact-locations__intro,
  html[dir="rtl"] .mtb-contact-locations__intro,
  html[lang^="fa"] .mtb-contact-locations__intro,
  html[lang^="ar"] .mtb-contact-locations__intro {
    padding: 52px 0 38px;
  }

  .mtb-contact-map {
    min-height: 410px;
    border-inline-start: 0;
    border-top: 1px solid #e0e4e7;
  }
}

@media (max-width: 640px) {
  .mtb-contact-hero {
    min-height: 520px;
  }

  .mtb-contact-hero__image {
    object-position: 56% center;
  }

  .mtb-contact-hero__copy {
    width: 100%;
  }

  .mtb-contact-hero__copy h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .mtb-contact-hero__copy > p:not(.mtb-eyebrow) {
    font-size: 15px;
  }

  .mtb-contact-cards {
    padding-top: 18px;
    padding-bottom: 44px;
  }

  .mtb-contact-cards__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mtb-contact-card {
    min-height: 0;
    padding: 21px 18px;
  }

  .mtb-contact-form-section {
    padding-block: 54px;
  }

  .mtb-contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mtb-contact-form__message,
  .mtb-contact-form__submit {
    grid-column: auto;
  }

  .mtb-contact-form__submit .mtb-button {
    width: 100%;
  }

  .mtb-contact-promo {
    min-height: 350px;
  }

  .mtb-contact-promo__copy {
    inset-inline: 24px;
    bottom: 25px;
  }

  .mtb-contact-promo__copy h2 {
    font-size: 36px;
  }

  .mtb-contact-locations__intro {
    padding-inline: 0;
  }

  .mtb-contact-map {
    min-height: 350px;
  }

  .mtb-contact-map__pin {
    gap: 5px;
    padding: 6px;
  }

  .mtb-contact-map__pin strong {
    display: none;
  }

  .mtb-contact-map__pin span {
    width: 27px;
    height: 27px;
  }
}
