/* Contact page styles */

.rs-contact-sec {
  position: relative;
  padding: 80px 0 40px;
  background:
    radial-gradient(circle at 0% 0%, rgba(210, 0, 0, 0.05), transparent 36%),
    #f6f6f6;
}

.rs-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: start;
}

.rs-contact-copy {
  padding: 8px 8px 0 0;
}

.rs-contact-copy .rs-process-title {
  margin-bottom: 18px;
  color: #111;
}

.rs-contact-copy .rs-section-subtitle {
  color: #666666;
  margin-bottom: 32px;
}

.rs-contact-details {
  display: grid;
  gap: 14px;
}

.rs-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
}

.rs-contact-detail > div {
  min-width: 0;
  flex: 1;
}

.rs-contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #d20000;
  color: #fff;
  font-size: 20px;
}

.rs-contact-detail h3 {
  margin: 0 0 6px;
  color: #111;
  font-size: 13px;
  font-weight: var(--heading-font-weight);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rs-contact-detail p {
  margin: 0;
  color: #555555;
  font-size: 15px;
  line-height: 1.6;
}

.rs-contact-detail p + p {
  margin-top: 4px;
}

.rs-contact-detail a {
  color: #111;
  text-decoration: none;
}

.rs-contact-detail a:hover {
  color: #d20000;
}

.rs-contact-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.rs-contact-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #111;
  color: #fff;
  border-radius: 16px;
}

.rs-contact-highlight i {
  font-size: 26px;
  color: #ff4d4d;
}

.rs-contact-highlight h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: var(--heading-font-weight);
  line-height: 1.3;
}

.rs-contact-terms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  color: #555555;
  font-size: 14px;
  cursor: pointer;
}

.rs-contact-terms input {
  width: 18px;
  height: 18px;
  accent-color: #d20000;
}

.rs-contact-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.rs-contact-submit .rs-btn {
  min-width: 220px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rs-contact-callout {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px dashed #e5e5e5;
}

.rs-contact-callout p {
  margin: 0 0 6px;
  color: #6b7280;
  font-size: 15px;
}

.rs-contact-callout a {
  display: block;
  margin-bottom: 8px;
  color: #111;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.rs-contact-callout a:hover {
  color: #d20000;
}

.rs-contact-callout small {
  display: block;
  color: #6b7280;
  font-size: 15px;
}

.rs-contact-map-sec {
  padding: 20px 0 80px;
  background: #f6f6f6;
}

.rs-contact-map {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.rs-contact-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
}

.rs-contact-map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 420px;
  padding: 32px 24px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.62)),
    url("/assets/img/about-bg5.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.rs-contact-map-facade i {
  font-size: 32px;
  color: #ff4d4d;
}

.rs-contact-map-facade span {
  max-width: 100%;
  padding: 0 8px;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.rs-contact-map-facade:hover {
  filter: brightness(1.05);
}

@media (max-width: 991px) {
  .rs-contact-hero.rs-contact-hero-video {
    min-height: 280px;
    padding: 130px 0 56px !important;
  }

  .rs-contact-sec,
  .rs-contact-map-sec {
    overflow-x: hidden;
  }

  .rs-contact-sec .container,
  .rs-contact-map-sec .container,
  .rs-contact-hero .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .rs-contact-hero .row {
    margin-left: 0;
    margin-right: 0;
  }

  .rs-contact-hero .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .rs-contact-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .rs-contact-copy {
    padding: 0;
    min-width: 0;
  }

  .rs-contact-form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  }

  .rs-contact-form-grid > *,
  .rs-contact-form-card .rs-themed-select,
  .rs-contact-form-card .form-control {
    min-width: 0;
    max-width: 100%;
  }

  .rs-contact-submit .rs-btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .rs-contact-hero.rs-contact-hero-video {
    min-height: 240px;
    padding: 118px 0 44px !important;
  }

  .rs-contact-sec {
    padding: 48px 0 24px;
  }

  .rs-contact-form-card {
    padding: 24px 16px 20px;
    border-radius: 20px;
  }

  .rs-contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rs-contact-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .rs-contact-detail,
  .rs-contact-detail p,
  .rs-contact-copy .rs-section-subtitle,
  .rs-contact-copy .rs-process-title {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .rs-contact-detail {
    padding: 16px;
  }

  .rs-contact-highlight {
    min-width: 0;
  }

  .rs-contact-form-card .phone-field {
    height: auto !important;
    min-width: 0;
  }

  .rs-contact-form-card .phone-field input.form-control {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    width: auto !important;
  }

  .rs-contact-form-card .phone-field .rs-themed-select,
  .rs-contact-form-card .rs-themed-select--compact {
    flex: 0 0 92px;
    width: 92px;
    min-width: 92px;
  }

  .rs-contact-callout a {
    font-size: 22px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .rs-contact-map-sec {
    padding: 8px 0 56px;
  }

  .rs-contact-map,
  .rs-contact-map iframe,
  .rs-contact-map-facade {
    min-height: 320px;
    max-width: 100%;
    border-radius: 18px;
  }
}
