.rm-page {
  --rm-ink: #17343b;
  --rm-muted: #62777b;
  --rm-green: #174e51;
  --rm-green-deep: #102f36;
  --rm-coral: #df805b;
  --rm-gold: #efb62e;
  --rm-paper: #f7f5ed;
  --rm-surface: #fffefa;
  --rm-line: #d9dfd8;
  color: var(--rm-ink);
  background: var(--rm-paper);
  overflow: hidden;
}

.rm-page *,
.rm-page *::before,
.rm-page *::after { box-sizing: border-box; }

.rm-page h1,
.rm-page h2,
.rm-page h3,
.rm-page p,
.rm-page figure { margin-top: 0; }

.rm-page a { text-decoration: none; }
.rm-page button,
.rm-page input,
.rm-page select { font: inherit; }

.rm-page :is(a, button, input, select):focus-visible {
  outline: 3px solid var(--rm-coral);
  outline-offset: 3px;
}

.rm-page img { display: block; max-width: 100%; }
.rm-page .rm-hero__inner,
.rm-page .rm-estimate__inner,
.rm-page .rm-affiliations__inner,
.rm-page .rm-service__inner,
.rm-page .rm-difference__inner,
.rm-page .rm-gallery__inner {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.rm-hero {
  position: relative;
  padding: clamp(58px, 7vw, 98px) 0 clamp(66px, 8vw, 112px);
  background: #e7eeea;
}

.rm-hero::before {
  position: absolute;
  right: -8%;
  bottom: -38%;
  width: min(540px, 54vw);
  aspect-ratio: 1;
  border: 1px solid rgba(23, 78, 81, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(23, 78, 81, .025), 0 0 0 68px rgba(23, 78, 81, .02);
  content: "";
  pointer-events: none;
}

.rm-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
  align-items: center;
  gap: clamp(42px, 8vw, 116px);
}

.rm-hero__copy { max-width: 650px; }
.rm-kicker,
.rm-service__eyebrow {
  margin-bottom: 20px;
  color: #9a7024;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.4;
}

.rm-hero h1 {
  max-width: 660px;
  margin-bottom: 24px;
  color: var(--rm-green-deep);
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 6vw, 5.35rem);
  font-weight: 750;
  letter-spacing: -.06em;
  line-height: .99;
}

.rm-hero__intro {
  max-width: 570px;
  margin-bottom: 15px;
  color: #3c565b;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.75;
}

.rm-hero__support {
  max-width: 480px;
  margin-bottom: 26px;
  color: var(--rm-muted);
  font-size: .96rem;
  line-height: 1.75;
}

.rm-hero__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 17px;
  padding: 0 18px;
  border: 1px solid rgba(23, 78, 81, .28);
  color: var(--rm-green-deep);
  background: rgba(255, 254, 250, .36);
  font-family: var(--font-heading);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .06em;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.rm-hero__link:hover { color: var(--rm-surface); background: var(--rm-green); transform: translateY(-2px); }
.rm-hero__link svg { width: 17px; height: 17px; color: var(--rm-coral); }
.rm-hero__photo {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 470px);
  height: clamp(360px, 43vw, 545px);
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: #d8dbd0;
  box-shadow: 18px 18px 0 rgba(23, 78, 81, .1);
}

.rm-hero__photo::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  content: "";
  pointer-events: none;
}

.rm-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }

.rm-estimate {
  padding: clamp(54px, 7vw, 90px) 0;
  background: var(--rm-surface);
}

.rm-estimate__inner {
  display: grid;
  grid-template-columns: minmax(210px, .5fr) minmax(0, 1.5fr);
  gap: clamp(28px, 6vw, 88px);
}

.rm-estimate__heading h2 {
  max-width: 280px;
  margin: 0;
  color: var(--rm-green-deep);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.25vw, 1.9rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1.14;
}

.rm-estimate__heading > span {
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 24px;
  background: var(--rm-coral);
}

.rm-field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px 16px; }
.rm-field { min-width: 0; }
.rm-field--wide { grid-column: span 2; }
.rm-field label {
  display: block;
  margin-bottom: 8px;
  color: #43595d;
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
}

.rm-field input,
.rm-field select {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #d9dfd7;
  border-radius: 2px;
  color: var(--rm-ink);
  background-color: #fbfaf5;
  font-size: .92rem;
  transition: border-color .18s ease, background-color .18s ease;
}

.rm-field input:hover,
.rm-field select:hover { border-color: #9baa9e; }
.rm-field input:focus,
.rm-field select:focus { border-color: var(--rm-green); background: #fff; outline: none; }
.rm-field select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23174e51' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.rm-submit-row { display: flex; align-items: center; gap: 18px; margin-top: 23px; }
.rm-submit {
  display: inline-flex;
  min-width: 220px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  border: 0;
  border-radius: 2px;
  color: var(--rm-green-deep);
  background: var(--rm-gold);
  font-family: var(--font-heading);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .055em;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.rm-submit:hover:not(:disabled) { background: #f5c74c; transform: translateY(-2px); }
.rm-submit:disabled { cursor: wait; opacity: .74; }
.rm-submit svg { width: 18px; height: 18px; }
.rm-submit.is-loading .rm-submit-label::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border: 2px solid rgba(16, 47, 54, .28);
  border-top-color: var(--rm-green-deep);
  border-radius: 50%;
  content: "";
  animation: rm-spin .8s linear infinite;
}
@keyframes rm-spin { to { transform: rotate(360deg); } }

.rm-form-feedback {
  display: none;
  max-width: 420px;
  padding: 11px 14px;
  border-radius: 2px;
  font-size: .84rem;
  line-height: 1.5;
}
.rm-form-feedback.is-visible { display: block; }
.rm-form-feedback.is-success { color: #245747; background: #e5f0e8; }
.rm-form-feedback.is-error { color: #843f32; background: #f8e9e3; }

.rm-affiliations {
  padding: 28px 0 32px;
  border-top: 1px solid #e4e5dd;
  border-bottom: 1px solid #dfe2db;
  background: #f0f1e9;
}

.rm-affiliations__title {
  margin: 0 0 24px;
  color: var(--rm-green);
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-align: center;
}

.rm-affiliations__logos {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(15px, 3vw, 36px);
}

.rm-affiliations__logos img {
  width: auto;
  max-width: 110px;
  max-height: 58px;
  object-fit: contain;
  filter: saturate(.88);
}

.rm-affiliations__logos img:first-child { max-width: 122px; }

.rm-service {
  padding: clamp(76px, 9vw, 126px) 0;
  background: var(--rm-paper);
}

.rm-service__inner {
  display: grid;
  grid-template-columns: minmax(310px, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.rm-service__photo {
  position: relative;
  height: clamp(340px, 42vw, 525px);
  background: #dce3df;
}

.rm-service__photo::after {
  position: absolute;
  right: -15px;
  bottom: -15px;
  z-index: 0;
  width: 66%;
  height: 65%;
  border: 1px solid rgba(23, 78, 81, .22);
  content: "";
  pointer-events: none;
}

.rm-service__photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.rm-service__copy { max-width: 600px; }
.rm-service__eyebrow { margin-bottom: 17px; color: #a37b26; }
.rm-service__copy h2 {
  margin-bottom: 24px;
  color: var(--rm-green-deep);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.rm-service__copy > p:not(.rm-service__eyebrow) {
  margin-bottom: 17px;
  color: #5c7074;
  font-size: .95rem;
  line-height: 1.85;
}

.rm-service__copy > p:last-child { margin-bottom: 0; }

.rm-difference {
  padding: clamp(62px, 8vw, 106px) 0 clamp(74px, 9vw, 122px);
  background: #e7eeea;
}

.rm-difference__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .66fr);
  align-items: end;
  gap: clamp(30px, 7vw, 100px);
  margin-bottom: 44px;
}

.rm-difference__heading h2 {
  max-width: 690px;
  margin: 0;
  color: var(--rm-green-deep);
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.2vw, 3.7rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.rm-difference__heading > p {
  margin: 0 0 4px;
  padding-left: 20px;
  border-left: 2px solid var(--rm-coral);
  color: #5b7175;
  font-size: .91rem;
  line-height: 1.8;
}

.rm-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cbd7d1;
  border-bottom: 1px solid #cbd7d1;
}

.rm-benefit {
  position: relative;
  min-height: 275px;
  padding: 22px 26px 29px;
  border-right: 1px solid #cbd7d1;
  transition: background-color .2s ease, transform .2s ease;
}

.rm-benefit:first-child { padding-left: 0; }
.rm-benefit:last-child { padding-right: 0; border-right: 0; }
.rm-benefit:hover { background: rgba(255, 254, 250, .46); transform: translateY(-3px); }
.rm-benefit__index { color: #8c9a94; font-family: var(--font-heading); font-size: .72rem; font-weight: 700; }
.rm-benefit__icon { display: block; width: 40px; height: 40px; margin: 25px 0 18px; color: var(--rm-green); }
.rm-benefit__icon svg { width: 100%; height: 100%; }
.rm-benefit h3 {
  margin-bottom: 9px;
  color: #29474b;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.rm-benefit p { max-width: 240px; margin: 0; color: #697d7f; font-size: .82rem; line-height: 1.7; }
.rm-benefit::after {
  position: absolute;
  right: 26px;
  bottom: -1px;
  left: 26px;
  height: 2px;
  background: transparent;
  content: "";
  transition: background-color .2s ease;
}
.rm-benefit:hover::after { background: var(--rm-coral); }
.rm-benefit:first-child::after { left: 0; }
.rm-benefit:last-child::after { right: 0; }

.rm-gallery {
  padding: clamp(60px, 8vw, 102px) 0;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(239, 182, 46, .12), transparent 32%),
    linear-gradient(130deg, #10343c 0%, #143b40 72%, #204b4b 100%);
  color: #f9f7ee;
}

.rm-gallery__inner { position: relative; }
.rm-gallery__slides {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.8vw, 22px);
}

.rm-gallery__slide {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  background: rgba(255, 255, 255, .065);
  transition: transform .22s ease, border-color .22s ease, opacity .22s ease;
}

.rm-gallery__slide:not(.is-visible) { display: none; }
.rm-gallery__slide.is-active { transform: translateY(-5px); border-color: rgba(239, 182, 46, .7); }
.rm-gallery__slide img { width: 100%; height: auto; aspect-ratio: .84 / 1; border-radius: 9px; object-fit: cover; object-position: center 44%; }
.rm-gallery__slide figcaption { margin: 11px 5px 4px; color: rgba(249, 247, 238, .86); font-size: .76rem; line-height: 1.4; }
.rm-gallery__controls {
  display: flex;
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 23px auto 0;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 40px;
  background: rgba(8, 31, 36, .24);
}

.rm-gallery__arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #f7f5ed;
  background: transparent;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.rm-gallery__arrow:hover { color: var(--rm-green-deep); background: var(--rm-gold); transform: translateY(-2px); }
.rm-gallery__arrow svg { width: 18px; height: 18px; }
.rm-gallery__indicators { display: flex; align-items: center; gap: 7px; }
.rm-gallery__indicators button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .42); cursor: pointer; transition: width .18s ease, background-color .18s ease; }
.rm-gallery__indicators button.is-active { width: 20px; background: var(--rm-gold); }
.rm-gallery__status { color: rgba(249, 247, 238, .82); font-family: var(--font-heading); font-size: .72rem; white-space: nowrap; }

@media (max-width: 900px) {
  .rm-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 38px; }
  .rm-estimate__inner { grid-template-columns: 1fr; gap: 28px; }
  .rm-estimate__heading h2 { max-width: 460px; }
  .rm-estimate__heading > span { margin-top: 15px; }
  .rm-affiliations__logos { justify-content: center; flex-wrap: wrap; }
  .rm-affiliations__logos img { max-width: 92px; max-height: 50px; }
  .rm-service__inner { gap: 48px; }
  .rm-benefit { padding-inline: 18px; }
}

@media (max-width: 700px) {
  .rm-page .rm-hero__inner,
  .rm-page .rm-estimate__inner,
  .rm-page .rm-affiliations__inner,
  .rm-page .rm-service__inner,
  .rm-page .rm-difference__inner,
  .rm-page .rm-gallery__inner { width: min(100% - 38px, 560px); }

  .rm-hero { padding: 49px 0 52px; }
  .rm-hero::before { right: -38%; bottom: 9%; width: 330px; }
  .rm-hero__inner { grid-template-columns: 1fr; gap: 31px; }
  .rm-hero h1 { max-width: 590px; font-size: clamp(2.85rem, 10vw, 4.25rem); }
  .rm-kicker { margin-bottom: 15px; }
  .rm-hero__intro { font-size: 1rem; }
  .rm-hero__support { margin-bottom: 22px; font-size: .9rem; }
  .rm-hero__photo { justify-self: stretch; width: 100%; height: min(112vw, 490px); box-shadow: 10px 10px 0 rgba(23, 78, 81, .1); }

  .rm-estimate { padding: 55px 0 61px; }
  .rm-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 12px; }
  .rm-field--wide { grid-column: 1 / -1; }
  .rm-submit-row { align-items: flex-start; flex-direction: column; gap: 13px; }
  .rm-submit { width: 100%; }
  .rm-affiliations { padding: 25px 0; }
  .rm-affiliations__title { max-width: 300px; margin-inline: auto; line-height: 1.5; }
  .rm-affiliations__logos { gap: 17px 22px; }
  .rm-affiliations__logos img { max-width: 75px; max-height: 42px; }
  .rm-service { padding: 65px 0 72px; }
  .rm-service__inner { grid-template-columns: 1fr; gap: 35px; }
  .rm-service__photo { height: min(82vw, 400px); }
  .rm-service__copy h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .rm-service__copy > p:not(.rm-service__eyebrow) { font-size: .9rem; }
  .rm-difference { padding: 63px 0 70px; }
  .rm-difference__heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 31px; }
  .rm-difference__heading h2 { font-size: clamp(2.05rem, 8.4vw, 3.1rem); }
  .rm-difference__heading > p { max-width: 500px; font-size: .88rem; }
  .rm-benefits { grid-template-columns: 1fr 1fr; }
  .rm-benefit { min-height: 238px; padding: 18px 15px 23px; border-bottom: 1px solid #cbd7d1; }
  .rm-benefit:first-child { padding-left: 15px; }
  .rm-benefit:last-child { padding-right: 15px; }
  .rm-benefit:nth-child(2) { border-right: 0; }
  .rm-benefit:nth-child(3), .rm-benefit:nth-child(4) { border-bottom: 0; }
  .rm-benefit__icon { width: 35px; height: 35px; margin: 20px 0 14px; }
  .rm-benefit h3 { font-size: .95rem; }
  .rm-benefit p { font-size: .76rem; }
  .rm-benefit::after { right: 15px; left: 15px; }
  .rm-gallery { padding: 60px 0 65px; }
  .rm-gallery__slides { grid-template-columns: 1fr; gap: 0; }
  .rm-gallery__slide { display: none; }
  .rm-gallery__slide.is-active { display: flex; transform: none; }
  .rm-gallery__slide img { aspect-ratio: .86 / 1; }
  .rm-gallery__slide figcaption { font-size: .8rem; }
  .rm-gallery__controls { width: 100%; justify-content: space-between; gap: 8px; margin-top: 17px; }
}

@media (max-width: 390px) {
  .rm-field-grid { grid-template-columns: 1fr; }
  .rm-field--wide { grid-column: auto; }
  .rm-benefit { min-height: 255px; padding-inline: 11px; }
  .rm-benefit:first-child { padding-left: 11px; }
  .rm-benefit:last-child { padding-right: 11px; }
  .rm-benefit::after { right: 11px; left: 11px; }
  .rm-gallery__controls { gap: 6px; padding-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-page *,
  .rm-page *::before,
  .rm-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
