.rcg-contact-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #141416;
}

.rcg-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 20, 22, .94), rgba(20, 20, 22, .62) 56%, rgba(20, 20, 22, .88)),
    url("../images/contact/contact-info-img.png") right bottom / auto 78% no-repeat,
    #141416;
}

.rcg-contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 20%, rgba(204, 48, 48, .24), transparent 30%),
    url("../images/rcg-decor/bg-line1.png") center bottom / cover no-repeat;
}

.rcg-contact-hero .banner-three-content {
  max-width: 820px;
  padding-top: 90px;
}

.rcg-contact-cards {
  background:
    linear-gradient(180deg, rgba(239, 235, 231, .97), rgba(246, 243, 239, .95)),
    url("../images/rcg-decor/bg-line1.png") center bottom / cover no-repeat;
}

.rcg-contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.rcg-contact-card {
  min-height: 100%;
  padding: 30px 24px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(31, 31, 37, .08);
  box-shadow: 0 22px 58px rgba(20, 20, 22, .1);
  text-align: center;
}

.rcg-contact-card__icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 14px 30px rgba(204, 48, 48, .22);
  font-size: 26px;
}

.rcg-contact-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.rcg-contact-card__icon i {
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.rcg-contact-card h3 {
  margin-bottom: 10px;
  color: var(--color-heading-1);
  font-size: 22px;
}

.rcg-contact-card a,
.rcg-contact-card p {
  color: var(--color-body);
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.rcg-contact-card a:hover {
  color: var(--color-primary);
}

.rcg-contact-main {
  background: #ffffff;
}

.rcg-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.rcg-contact-sidebar,
.rcg-contact-form-panel {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 20, 22, .12);
}

.rcg-contact-sidebar {
  position: relative;
  overflow: hidden;
  padding: 34px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(23, 23, 25, .96), rgba(23, 23, 25, .9)),
    url("../images/rcg-decor/bg-line1.png") center / cover no-repeat;
}

.rcg-contact-sidebar h2,
.rcg-contact-sidebar h3 {
  color: #ffffff;
}

.rcg-contact-sidebar h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.rcg-contact-sidebar p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.72;
}

.rcg-contact-info-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.rcg-contact-info-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.rcg-contact-info-item i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
}

.rcg-contact-info-item span {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rcg-contact-info-item a,
.rcg-contact-info-item strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.rcg-contact-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
}

.rcg-contact-qr img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
}

.rcg-contact-qr strong {
  display: block;
  color: #ffffff;
}

.rcg-contact-qr span {
  color: rgba(255, 255, 255, .7);
  line-height: 1.55;
}

.rcg-contact-form-panel {
  padding: 42px;
  background: #f6f3ef;
  color: #1f1f25;
}

.rcg-contact-form-panel .pre {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
}

.rcg-contact-form-panel h2 {
  margin-bottom: 24px;
  color: #1f1f25 !important;
  -webkit-text-fill-color: #1f1f25 !important;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.rcg-contact-form-panel p,
.rcg-contact-form-panel span,
.rcg-contact-form-panel label {
  color: #1f1f25;
}

.rcg-contact-form-panel .pre {
  color: var(--color-primary) !important;
  -webkit-text-fill-color: var(--color-primary) !important;
}

.rcg-contact-cards,
.rcg-contact-cards h2,
.rcg-contact-cards h3,
.rcg-contact-cards p {
  color: #1f1f25;
}

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

.rcg-contact-form label {
  display: block;
  margin-bottom: 8px;
  color: #1f1f25;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.rcg-contact-form input,
.rcg-contact-form textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(31, 31, 37, .12);
  border-radius: 4px;
  padding: 0 16px;
  color: #1f1f25;
  background: #ffffff;
  font: inherit;
}

.rcg-contact-form textarea {
  min-height: 150px;
  padding-top: 16px;
  resize: vertical;
}

.rcg-contact-form input:focus,
.rcg-contact-form textarea:focus {
  outline: none;
  border-color: rgba(204, 48, 48, .68);
  box-shadow: 0 0 0 4px rgba(204, 48, 48, .1);
}

.rcg-contact-form__wide {
  grid-column: 1 / -1;
}

.rcg-contact-form button {
  width: fit-content;
  border: 0;
}

.rcg-contact-map {
  height: 420px;
  overflow: hidden;
  background: #141416;
}

.rcg-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media only screen and (max-width: 1199px) {
  .rcg-contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 991px) {
  .rcg-contact-hero {
    min-height: auto;
  }

  .rcg-contact-hero .banner-three-content {
    padding: 145px 0 100px;
  }

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

@media only screen and (max-width: 767px) {
  .rcg-contact-hero::before {
    background:
      linear-gradient(180deg, rgba(20, 20, 22, .96), rgba(20, 20, 22, .82)),
      url("../images/contact/contact-info-img.png") right bottom / auto 58% no-repeat;
  }

  .rcg-contact-hero .banner-three-content {
    padding: 130px 0 100px;
  }

  .rcg-contact-hero .banner-three-content .title {
    font-size: 46px;
  }

  .rcg-contact-card-grid,
  .rcg-contact-form {
    grid-template-columns: 1fr;
  }

  .rcg-contact-form-panel,
  .rcg-contact-sidebar {
    padding: 26px;
  }

  .rcg-contact-qr {
    align-items: flex-start;
    flex-direction: column;
  }
}
