.rst-contact-page {
  --rst-red: #d71920;
  --rst-ink: #121722;
  --rst-muted: #687083;
  --rst-line: #e7e9ee;
  --rst-bg: #ffffff;
  --rst-soft: #fff5f5;
  direction: rtl;
  background: #fff;
  color: var(--rst-ink);
  overflow: hidden;
}

.rst-contact-page,
.rst-contact-page * {
  box-sizing: border-box;
}

.rst-contact-page a {
  text-decoration: none;
}

.rst-contact-container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.rst-contact-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 90px 0;
  color: var(--rst-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 25, 32, .12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fafafa 52%, #fff5f5 100%);
  border-bottom: 1px solid var(--rst-line);
}

.rst-contact-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  bottom: -120px;
  width: 460px;
  height: 460px;
  border: 70px solid rgba(215, 25, 32, .08);
  border-radius: 999px;
  pointer-events: none;
}

.rst-eyebrow,
.rst-section-head span,
.rst-world-panel > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--rst-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rst-contact-hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  color: var(--rst-ink);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
}

.rst-contact-hero p {
  max-width: 710px;
  margin: 0;
  color: var(--rst-muted);
  font-size: 18px;
  line-height: 2;
}

.rst-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rst-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.rst-btn:hover {
  transform: translateY(-2px);
}

.rst-btn-primary {
  background: var(--rst-red);
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(215, 25, 32, .28);
}

.rst-btn-light {
  background: #fff;
  color: var(--rst-ink) !important;
  border: 1px solid var(--rst-line);
}

.rst-contact-section {
  padding: 70px 0;
}

.rst-quick-section {
  padding-top: 42px;
}

.rst-section-head {
  margin-bottom: 26px;
}

.rst-section-head h2,
.rst-world-panel h2 {
  margin: 0;
  color: var(--rst-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  font-weight: 900;
}

.rst-center {
  text-align: center;
}

.rst-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rst-quick-item,
.rst-country-card,
.rst-department-card,
.rst-info-card,
.rst-qr-card,
.rst-form-panel,
.rst-world-panel {
  background: #fff;
  border: 1px solid var(--rst-line);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(18, 23, 34, .06);
}

.rst-svg-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rst-quick-item {
  min-height: 160px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--rst-ink) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rst-quick-item:hover,
.rst-country-card:hover,
.rst-department-card:hover,
.rst-qr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, .42);
  box-shadow: 0 28px 70px rgba(18, 23, 34, .1);
}

.rst-icon,
.rst-info-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--rst-soft);
  color: var(--rst-red);
  font-weight: 950;
}

.rst-quick-item strong {
  display: block;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 900;
}

.rst-quick-item b {
  margin-top: 10px;
  color: var(--rst-red);
  font-size: 15px;
}

.rst-two-column {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.rst-country-list {
  display: grid;
  gap: 14px;
}

.rst-country-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  color: var(--rst-ink) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rst-country-card img {
  width: 54px;
  height: 38px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--rst-line);
}

.rst-country-card strong,
.rst-country-card span {
  display: block;
}

.rst-country-card strong {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 900;
}

.rst-country-card span {
  color: var(--rst-red);
  font-weight: 800;
}

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

.rst-qr-card {
  min-height: 190px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rst-qr-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 14px;
}

.rst-qr-fallback {
  display: inline-flex;
  width: 112px;
  height: 112px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 18px;
  background: var(--rst-soft);
  color: var(--rst-red);
  font-size: 22px;
  font-weight: 950;
}

.rst-qr-card strong {
  font-size: 15px;
  font-weight: 900;
}

.rst-qr-card span.rst-ltr {
  margin-top: 4px;
  font-size: 12px;
  color: var(--rst-muted);
}

.rst-departments-section {
  background: #fafafa;
  border-top: 1px solid var(--rst-line);
  border-bottom: 1px solid var(--rst-line);
}

.rst-department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rst-department-card {
  min-height: 118px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--rst-ink) !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rst-department-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--rst-soft);
  color: var(--rst-red);
}

.rst-department-card strong {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 900;
}

.rst-department-card span {
  color: var(--rst-red);
  font-weight: 800;
  font-size: 14px;
}

.rst-info-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 18px;
}

.rst-info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
}

.rst-info-card h3 {
  margin: 0 0 10px;
  color: var(--rst-ink);
  font-size: 20px;
  font-weight: 900;
}

.rst-info-card p {
  margin: 0;
  color: var(--rst-muted);
  line-height: 2;
}

.rst-form-section {
  padding-top: 20px;
  padding-bottom: 90px;
}

.rst-form-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.rst-world-panel,
.rst-form-panel {
  padding: 32px;
}

.rst-world-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: var(--rst-ink);
  background:
    radial-gradient(circle at 20% 18%, rgba(215, 25, 32, .14), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.rst-world-panel h2 {
  color: var(--rst-ink);
}

.rst-world-panel p {
  max-width: 460px;
  margin: 16px 0 0;
  color: var(--rst-muted);
  line-height: 2;
}

.rst-world-map {
  position: absolute;
  inset-inline: 40px;
  bottom: 34px;
  height: 230px;
  opacity: .74;
  background:
    radial-gradient(circle at 15% 42%, var(--rst-red) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 35%, var(--rst-red) 0 2px, transparent 3px),
    radial-gradient(circle at 45% 48%, var(--rst-red) 0 2px, transparent 3px),
    radial-gradient(circle at 61% 38%, var(--rst-red) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 54%, var(--rst-red) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 8%, rgba(215,25,32,.22) 8% 9%, transparent 9% 100%),
    linear-gradient(14deg, transparent 0 20%, rgba(215,25,32,.18) 20% 21%, transparent 21% 100%),
    linear-gradient(-18deg, transparent 0 36%, rgba(215,25,32,.16) 36% 37%, transparent 37% 100%);
  border: 1px solid var(--rst-line);
  border-radius: 28px;
}

.rst-form-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px dashed #cfd3dc;
  border-radius: 18px;
  color: var(--rst-muted);
  font-weight: 800;
  text-align: center;
}

.rst-contact-page input:not([type="submit"]),
.rst-contact-page textarea,
.rst-contact-page select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9dde6 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--rst-ink) !important;
  padding: 12px 15px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.rst-contact-page textarea {
  min-height: 150px;
  resize: vertical;
}

.rst-contact-page input:focus,
.rst-contact-page textarea:focus {
  border-color: var(--rst-red) !important;
  box-shadow: 0 0 0 4px rgba(215, 25, 32, .1) !important;
}

.rst-contact-page input[type="submit"],
.rst-contact-page button[type="submit"] {
  min-height: 48px;
  padding: 12px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--rst-red) !important;
  color: #fff !important;
  font-weight: 950 !important;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(215, 25, 32, .22);
}

.rst-contact-page label {
  color: var(--rst-ink);
  font-weight: 800;
}

.rst-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.rst-lang-en {
  direction: ltr;
  text-align: left;
}

.rst-lang-en .rst-center {
  text-align: center;
}

@media (max-width: 980px) {
  .rst-quick-grid,
  .rst-two-column,
  .rst-form-layout,
  .rst-info-grid {
    grid-template-columns: 1fr;
  }

  .rst-qr-grid,
  .rst-department-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rst-contact-container {
    width: min(100% - 22px, 1160px);
  }

  .rst-contact-hero {
    min-height: 420px;
    padding: 68px 0;
  }

  .rst-contact-hero p {
    font-size: 15px;
  }

  .rst-contact-section {
    padding: 48px 0;
  }

  .rst-qr-grid,
  .rst-department-grid {
    grid-template-columns: 1fr;
  }

  .rst-world-panel,
  .rst-form-panel {
    padding: 24px;
  }

  .rst-world-panel {
    min-height: 430px;
  }
}
