.rs-contact-wrap {
  width: min(1280px, calc(100% - 32px));
  margin: -70px auto 42px;
  color: #1f2e43;
  font-family: Arial, Helvetica, sans-serif;
}

.rs-contact-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.rs-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  margin-top: 28px;
}

.rs-contact-panel,
.rs-contact-links {
  background: #fff;
  border: 1px solid #d9dfeb;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(14, 28, 54, 0.08);
}

.rs-contact-panel {
  padding: 28px;
}

.rs-contact-cardhead {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.rs-contact-cardhead img {
  width: clamp(110px, 18vw, 180px);
  height: auto;
  border-radius: 12px;
  flex: 0 0 auto;
}

.rs-contact-title {
  margin: 0 0 10px;
  color: #123f82;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rs-contact-subtitle {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  color: #1c2939;
}

.rs-contact-phone {
  display: inline-block;
  margin: 0 0 26px;
  color: #e02929;
  text-decoration: none;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rs-contact-hours {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  border: 1px solid #cfd9ea;
  border-radius: 16px;
  overflow: hidden;
}

.rs-contact-hours-head {
  padding: 16px 18px;
  background: #123f82;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.rs-contact-hours-cell {
  padding: 16px 18px;
  border-top: 1px solid #dbe3f0;
  font-size: 20px;
  line-height: 1.4;
  color: #1c2939;
}

.rs-contact-hours .rs-contact-hours-cell:nth-child(4n+3),
.rs-contact-hours .rs-contact-hours-cell:nth-child(4n+4) {
  background: #f8fbff;
}

.rs-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 14px 28px;
  margin-top: 10px;
  background: linear-gradient(180deg, #ff4242 0%, #d71a1a 100%);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(215, 26, 26, 0.25);
  transition: transform .18s ease, box-shadow .18s ease;
}

.rs-contact-cta:hover,
.rs-contact-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(215, 26, 26, 0.32);
}

.rs-contact-links {
  margin-top: 28px;
  padding: 22px;
}

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

.rs-contact-links-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  color: #123f82;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%);
  border: 2px solid #c9d6ea;
  border-radius: 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rs-contact-links-grid a:hover,
.rs-contact-links-grid a:focus {
  transform: translateY(-2px);
  border-color: #123f82;
  box-shadow: 0 8px 18px rgba(18, 63, 130, 0.16);
}

@media (max-width: 980px) {
  .rs-contact-wrap {
    width: min(100%, calc(100% - 20px));
    margin: -54px auto 34px;
  }

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

  .rs-contact-cardhead {
    align-items: flex-start;
  }

  .rs-contact-subtitle,
  .rs-contact-hours-cell,
  .rs-contact-hours-head,
  .rs-contact-links-grid a {
    font-size: 20px;
  }
}

@media (max-width: 700px) {
  .rs-contact-wrap {
    margin: -34px auto 28px;
  }

  .rs-contact-panel,
  .rs-contact-links {
    border-radius: 14px;
  }

  .rs-contact-panel,
  .rs-contact-links {
    padding: 20px 18px;
  }

  .rs-contact-cardhead {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .rs-contact-cardhead img {
    width: min(100%, 220px);
  }

  .rs-contact-subtitle,
  .rs-contact-hours-cell {
    font-size: 18px;
  }

  .rs-contact-hours-head {
    font-size: 17px;
    padding: 14px 12px;
  }

  .rs-contact-hours {
    grid-template-columns: 1fr;
  }

  .rs-contact-hours-cell {
    border-top: 1px solid #dbe3f0;
    padding: 14px 12px;
  }

  .rs-contact-phone {
    font-size: 32px;
  }

  .rs-contact-cta {
    width: 100%;
    font-size: 22px;
  }

  .rs-contact-links-grid {
    grid-template-columns: 1fr;
  }

  .rs-contact-links-grid a {
    min-height: 56px;
    font-size: 18px;
  }
}
