.rh-contact-block {
  position: relative;
  padding: 100px 5%;
  background: var(--white, #ffffff);
  overflow-x: hidden;
  overflow-x: clip;
}

.rh-contact-block.alignwide .rh-contact-wrap {
  max-width: 1320px;
}

.rh-contact-block.alignfull {
  padding-left: 0;
  padding-right: 0;
}

.rh-contact-block.alignfull .rh-contact-wrap {
  max-width: none;
  padding-left: 5%;
  padding-right: 5%;
}

.rh-contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.rh-contact-header {
  margin-bottom: 58px;
  text-align: center;
}

.rh-contact-header.is-layout-flow > * + * {
  margin-block-start: 0;
}

.rh-contact-section-label {
  margin: 0 0 12px;
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--green, #27ae60);
}

.rh-contact-heading {
  margin: 0;
  color: var(--ink, #18231e);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  line-height: 1.18;
}

.rh-contact-heading::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 15px auto 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green, #27ae60), var(--teal, #17a589));
}

.rh-contact-description {
  margin: 0 auto;
  max-width: 560px;
  color: var(--ink-70, #445a50);
  font-size: 0.96rem;
  line-height: 1.88;
}

.rh-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.rh-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--rh-contact-delay, 0s);
}

.rh-contact-reveal-left.is-visible .rh-contact-info-item {
  opacity: 1;
  transform: none;
}

.rh-contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(23, 165, 137, 0.07));
  border: 1.5px solid rgba(39, 174, 96, 0.2);
}

.rh-contact-custom-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.rh-contact-fallback-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  background-color: var(--green, #27ae60);
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

.rh-contact-fallback-icon[data-icon="email"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 112c-17.7 0-32 14.3-32 32v224c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32H64zm0 56.5L256 304 448 168.5V144L256 279.5 64 144v24.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M64 112c-17.7 0-32 14.3-32 32v224c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32H64zm0 56.5L256 304 448 168.5V144L256 279.5 64 144v24.5z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="location"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M192 0C86 0 0 86 0 192c0 77.4 27.3 99.8 172.3 309.7 9.5 13.8 29.8 13.8 39.3 0C356.7 291.8 384 269.4 384 192 384 86 298 0 192 0zm0 272a80 80 0 1 1 0-160 80 80 0 1 1 0 160z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M192 0C86 0 0 86 0 192c0 77.4 27.3 99.8 172.3 309.7 9.5 13.8 29.8 13.8 39.3 0C356.7 291.8 384 269.4 384 192 384 86 298 0 192 0zm0 272a80 80 0 1 1 0-160 80 80 0 1 1 0 160z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="phone"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c12.5-31 42.6-28.1 58.3-17.4l82.8 56.7c13.9 9.5 18.6 28 11.1 42.9L277.5 181c-5.2 10.3-3.3 22.8 4.5 31l58 58c8.2 8.2 20.7 10 31 4.5l74.2-39.6c14.9-7.9 33.4-3 42.9 11.1l56.7 82.8c10.8 15.7 13.7 45.8-17.4 58.3l-66.3 26.5c-45.7 18.3-97.8 7.1-133.2-28.3L126.8 184.1C91.4 148.8 80.2 96.7 98.5 51z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c12.5-31 42.6-28.1 58.3-17.4l82.8 56.7c13.9 9.5 18.6 28 11.1 42.9L277.5 181c-5.2 10.3-3.3 22.8 4.5 31l58 58c8.2 8.2 20.7 10 31 4.5l74.2-39.6c14.9-7.9 33.4-3 42.9 11.1l56.7 82.8c10.8 15.7 13.7 45.8-17.4 58.3l-66.3 26.5c-45.7 18.3-97.8 7.1-133.2-28.3L126.8 184.1C91.4 148.8 80.2 96.7 98.5 51z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="clock"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm32 258.7V128c0-17.7-14.3-32-32-32s-32 14.3-32 32v154.7c0 8.5 3.4 16.6 9.4 22.6l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L288 266.7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm32 258.7V128c0-17.7-14.3-32-32-32s-32 14.3-32 32v154.7c0 8.5 3.4 16.6 9.4 22.6l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L288 266.7z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="linkedin"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M100.3 448H7.4V148.9h92.9zM53.8 108.1C24.1 108.1 0 83.5 0 53.9A53.9 53.9 0 0 1 107.8 54c0 29.5-24.1 54.1-54 54.1zM447.9 448h-92.7V302.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.6-48.3 87.7-48.3 93.8 0 111.2 61.8 111.2 142.3V448z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M100.3 448H7.4V148.9h92.9zM53.8 108.1C24.1 108.1 0 83.5 0 53.9A53.9 53.9 0 0 1 107.8 54c0 29.5-24.1 54.1-54 54.1zM447.9 448h-92.7V302.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V448h-92.8V148.9h89.1v40.8h1.3c12.4-23.5 42.6-48.3 87.7-48.3 93.8 0 111.2 61.8 111.2 142.3V448z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="x"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487.6 464H345.5L234.2 318.6 106.9 464H36.3l165-188.6L24 48h145.7l100.6 132.9L389.2 48z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M389.2 48h70.6L305.6 224.2 487.6 464H345.5L234.2 318.6 106.9 464H36.3l165-188.6L24 48h145.7l100.6 132.9L389.2 48z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="instagram"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm5 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm5 5a5 5 0 1 0 0 10 5 5 0 0 0 0-10zm6-1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E");
}

.rh-contact-fallback-icon[data-icon="generic"] {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 48c-114.9 0-208 93.1-208 208s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm0 96a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm0 256c-53 0-99.9-26.2-128-66.3 1-42.4 85.3-65.7 128-65.7s127 23.3 128 65.7C355.9 373.8 309 400 256 400z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 48c-114.9 0-208 93.1-208 208s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm0 96a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm0 256c-53 0-99.9-26.2-128-66.3 1-42.4 85.3-65.7 128-65.7s127 23.3 128 65.7C355.9 373.8 309 400 256 400z'/%3E%3C/svg%3E");
}

.rh-contact-info-body strong {
  display: block;
  margin: 0 0 3px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-70, #445a50);
}

.rh-contact-info-body a,
.rh-contact-info-body span {
  font-size: 0.94rem;
  color: var(--ink, #18231e);
  font-weight: 500;
  transition: color 0.3s;
}

.rh-contact-info-body a:hover {
  color: var(--green, #27ae60);
}

.rh-contact-tags-box {
  margin-top: 26px;
  padding: 20px;
  border-radius: 13px;
  background: var(--cream, #faf8f3);
  border: 1.5px solid var(--border, #e2ece6);
}

.rh-contact-tags-title {
  margin: 0 0 12px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-70, #445a50);
}

.rh-contact-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rh-contact-tag {
  padding: 5px 13px;
  border-radius: 6px;
  background: #fff;
  border: 1.5px solid var(--border, #e2ece6);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink, #18231e);
}

.rh-contact-social-row {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.rh-contact-social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cream, #faf8f3);
  border: 1.5px solid var(--border, #e2ece6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.rh-contact-social-link:hover {
  background: var(--green, #27ae60);
  border-color: var(--green, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(39, 174, 96, 0.28);
}

.rh-contact-social-link:hover .rh-contact-fallback-icon {
  background-color: #ffffff;
}

.rh-contact-form-panel {
  padding: 38px;
  border-radius: 20px;
  background: var(--cream, #faf8f3);
  border: 1.5px solid var(--border, #e2ece6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.rh-contact-form-title {
  margin: 0 0 6px;
  color: var(--ink, #18231e);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.rh-contact-form-description {
  margin: 0 0 26px;
  color: var(--ink-70, #445a50);
  font-size: 0.83rem;
  line-height: 1.7;
}

.rh-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 15px;
}

.rh-contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
}

.rh-contact-field label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-70, #445a50);
}

.rh-contact-field input,
.rh-contact-field select,
.rh-contact-field textarea {
  padding: 12px 15px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #18231e);
  border: 1.5px solid var(--border, #e2ece6);
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.3s;
  resize: none;
  -webkit-appearance: none;
}

.rh-contact-field input:focus,
.rh-contact-field select:focus,
.rh-contact-field textarea:focus {
  border-color: var(--green, #27ae60);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.rh-contact-field input::placeholder,
.rh-contact-field textarea::placeholder {
  color: var(--ink-40, #8aa598);
}

.rh-contact-field select option {
  background: #fff;
  color: var(--ink, #18231e);
}

.rh-contact-submit {
  width: 100%;
  padding: 14px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--green, #27ae60), var(--teal, #17a589));
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 22px rgba(39, 174, 96, 0.28);
}

.rh-contact-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
}

.rh-contact-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.rh-contact-submit-icon {
  width: 0.95rem;
  height: 0.95rem;
  display: inline-block;
  background-color: #ffffff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M476.9 3.2 12.5 270.4c-18.1 10.4-15.6 37.2 4 44.1l111.6 39.5 39.5 111.6c6.9 19.6 33.7 22.1 44.1 4L508.8 35.1c8.1-14.8-3.1-32-31.9-31.9zM176.6 335.5l-29-81.8 215.7-131.6-131.6 215.7z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M476.9 3.2 12.5 270.4c-18.1 10.4-15.6 37.2 4 44.1l111.6 39.5 39.5 111.6c6.9 19.6 33.7 22.1 44.1 4L508.8 35.1c8.1-14.8-3.1-32-31.9-31.9zM176.6 335.5l-29-81.8 215.7-131.6-131.6 215.7z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
}

.rh-contact-response-note {
  margin: 9px 0 0;
  font-size: 0.7rem;
  color: var(--ink-40, #8aa598);
  text-align: center;
}

.rh-contact-form-status {
  margin: 10px 0 0;
  min-height: 1.2em;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-70, #445a50);
}

.rh-contact-form-status.is-success {
  color: var(--green, #27ae60);
}

.rh-contact-form-status.is-error {
  color: #d94848;
}

.rh-contact-reveal,
.rh-contact-reveal-left,
.rh-contact-reveal-right {
  opacity: 0;
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.rh-contact-reveal {
  transform: translateY(24px);
}

.rh-contact-reveal-left {
  transform: translateX(-32px);
}

.rh-contact-reveal-right {
  transform: translateX(32px);
}

.rh-contact-reveal.is-visible,
.rh-contact-reveal-left.is-visible,
.rh-contact-reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .rh-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .rh-contact-block {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .rh-contact-form-panel {
    padding: 24px;
    border-radius: 16px;
  }

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