/* =========================================
   ROYAL MANOR REAL ESTATE
   Main stylesheet
   ========================================= */

:root {
  --navy: #0A1A2F;
  --blue: #1783C1;
  --blue-dark: #11699c;
  --charcoal: #333333;
  --muted: #687482;
  --white: #ffffff;
  --soft: #f4f8fb;
  --border: #e2e9ef;
  --shadow: 0 16px 45px rgba(10, 26, 47, 0.09);
  --radius: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
.button,
.nav-cta {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
.brand-copy,
.brand strong {
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.22;
  color: var(--navy);
}

h2 {
  font-size: clamp(29px, 3.4vw, 43px);
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
}

.skip-link:focus {
  top: 16px;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(10, 26, 47, 0.08);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.primary-nav > a {
  position: relative;
  color: #475363;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  transform: scaleX(1);
}

.primary-nav > a.active {
  color: var(--navy);
}

.primary-nav .nav-cta {
  padding: 12px 17px;
  color: var(--white);
  background: var(--navy);
  border-radius: 5px;
}

.primary-nav .nav-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

/* Hero */

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #eaf1f6;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-image {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2000&q=85");
  background-position: center 55%;
  background-size: cover;
  animation: heroReveal 1.1s ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg,
      rgba(10, 26, 47, 0.84) 0%,
      rgba(10, 26, 47, 0.68) 45%,
      rgba(10, 26, 47, 0.18) 100%);
}

.hero-content {
  padding-top: 100px;
  padding-bottom: 112px;
  animation: contentReveal 0.8s 0.1s ease-out both;
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--blue);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  line-height: 1.6;
}

.eyebrow-light {
  color: #a8dcf7;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(43px, 6.3vw, 76px);
  font-weight: 600;
  letter-spacing: -2.7px;
  line-height: 1.12;
}

.hero h1 span {
  color: #8fd2f4;
}

.hero-description {
  max-width: 535px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 25px rgba(23, 131, 193, 0.25);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button-outline:hover {
  color: var(--navy);
  background: var(--white);
}

.hero-bottom-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 52px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

.blue-line {
  width: 36px;
  height: 2px;
  display: inline-block;
  flex-shrink: 0;
  background: var(--blue);
}

.hero-bottom-note .blue-line {
  background: #8fd2f4;
}

/* Property search */

.search-section {
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.search-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(10, 26, 47, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-heading {
  margin-bottom: 21px;
}

.search-heading .eyebrow {
  margin-bottom: 7px;
}

.search-heading h2 {
  margin-bottom: 0;
  font-size: 25px;
  letter-spacing: -0.6px;
}

.property-search {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: end;
  gap: 15px;
}

.property-search label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.property-search input,
.property-search select {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 5px;
  outline: none;
  color: var(--charcoal);
  background: var(--white);
  font-size: 13px;
  font-weight: 400;
}

.property-search input:focus,
.property-search select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 131, 193, 0.1);
}

.button-navy {
  color: var(--white);
  background: var(--navy);
}

.button-navy:hover {
  background: var(--blue);
}

/* General sections */

.section {
  padding: 105px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading > div > p:last-child,
.section-intro {
  max-width: 600px;
  margin-bottom: 0;
}

.section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-heading-centered {
  max-width: 700px;
  margin-right: auto;
  margin-bottom: 42px;
  margin-left: auto;
  text-align: center;
}

.section-heading-centered .section-intro {
  margin-right: auto;
  margin-left: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover {
  color: var(--navy);
}

/* Property cards */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.property-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.property-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: var(--soft);
}

.property-card-body {
  padding: 22px;
}

.property-card h3 {
  margin-bottom: 9px;
  font-size: 18px;
}

.property-card p {
  margin-bottom: 12px;
  font-size: 13px;
}

.property-price {
  color: var(--navy);
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 50px 25px;
  border: 1px dashed #cbd8e3;
  border-radius: var(--radius);
  background: var(--soft);
  text-align: center;
}

.empty-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--blue);
  background: #e3f3fc;
  font-size: 27px;
}

.empty-state h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.empty-state p {
  max-width: 540px;
  margin: 0 auto 17px;
}

.empty-state .text-link {
  justify-content: center;
}

.loading-card {
  grid-column: 1 / -1;
  padding: 35px;
  border-radius: var(--radius);
  background: var(--soft);
}

.loading-card p {
  margin: 12px 0 0;
}

.loading-line {
  width: 45%;
  height: 8px;
  border-radius: 5px;
  background: #dce8f0;
  animation: loadingPulse 1.2s ease-in-out infinite alternate;
}

.data-note {
  margin-top: 20px;
  font-size: 12px;
}

/* Intro section */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.intro-image-wrap {
  position: relative;
  padding: 0 0 30px 25px;
}

.intro-image-wrap::before {
  position: absolute;
  top: 24px;
  right: 25px;
  bottom: 0;
  left: 0;
  z-index: 0;
  content: "";
  border-radius: var(--radius);
  background: #dceef8;
}

.intro-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 440px;
  border-radius: var(--radius);
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: -12px;
  bottom: 0;
  z-index: 2;
  max-width: 290px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 7px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}

.intro-copy h2 {
  max-width: 520px;
}

.intro-copy > p:not(.eyebrow) {
  margin-bottom: 18px;
}

.intro-copy .button {
  margin-top: 10px;
}

/* Service cards */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 28px 23px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #b4dff4;
  box-shadow: var(--shadow);
}

.service-number {
  display: block;
  margin-bottom: 24px;
  color: #9aa8b5;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.service-symbol {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 10px;
  color: var(--blue);
  background: #eaf6fd;
  font-size: 25px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.service-card p {
  margin-bottom: 25px;
  font-size: 13px;
  line-height: 1.8;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--blue);
  font-size: 18px;
}

/* CTA banner */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.cta-band::after {
  position: absolute;
  top: -120px;
  right: -70px;
  width: 370px;
  height: 370px;
  content: "";
  border: 1px solid rgba(143, 210, 244, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 40px rgba(143, 210, 244, 0.04),
    0 0 0 80px rgba(143, 210, 244, 0.025);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.cta-content h2 {
  max-width: 660px;
  margin-bottom: 15px;
  color: var(--white);
}

.cta-content > div > p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.button-light-blue {
  flex-shrink: 0;
  color: var(--navy);
  background: #a8dcf7;
}

.button-light-blue:hover {
  background: var(--white);
}

/* Footer */

.site-footer {
  background: #f8fafc;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 70px;
  padding-top: 60px;
  padding-bottom: 50px;
}

.footer-brand > p {
  max-width: 300px;
  margin-top: 20px;
  font-size: 13px;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-column h3 {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-column > a {
  color: var(--muted);
  font-size: 13px;
}

.footer-column > a:hover,
.footer-bottom a:hover {
  color: var(--blue);
}

.footer-note {
  margin: 5px 0 0;
  font-size: 11px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom-inner > span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-bottom-inner p {
  margin: 0;
}

.contact-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 7px 22px rgba(10, 26, 47, 0.2);
  font-size: 22px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-float:hover {
  transform: translateY(-4px);
  background: var(--navy);
}

/* Animations */

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroReveal {
  from {
    opacity: 0.65;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loadingPulse {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

/* Tablet */

@media (max-width: 1050px) {
  .container {
    width: min(var(--container), calc(100% - 44px));
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav > a {
    font-size: 12px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .property-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .property-search .button {
    min-height: 49px;
  }

  .intro-grid {
    gap: 45px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    gap: 35px;
  }
}

/* Mobile navigation and layout */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .nav-wrap {
    min-height: 74px;
    gap: 15px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 9px;
    letter-spacing: 2.4px;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 20px;
    border-top: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 16px 25px rgba(10, 26, 47, 0.08);
  }

  .primary-nav.is-open {
    display: flex;
    animation: contentReveal 0.2s ease-out both;
  }

  .primary-nav > a {
    padding: 13px 4px;
    font-size: 14px;
  }

  .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .primary-nav .nav-cta {
    margin-top: 8px;
    padding: 13px 15px;
    text-align: center;
  }

  .hero {
    min-height: 590px;
  }

  .hero-image {
    background-position: 57% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(10, 26, 47, 0.88),
      rgba(10, 26, 47, 0.55)
    );
  }

  .hero-content {
    padding-top: 75px;
    padding-bottom: 90px;
  }

  .hero h1 {
    font-size: clamp(41px, 10vw, 59px);
    letter-spacing: -1.8px;
  }

  .hero-description {
    max-width: 450px;
    font-size: 15px;
  }

  .hero-bottom-note {
    margin-top: 35px;
  }

  .search-section {
    margin-top: -30px;
  }

  .search-panel {
    padding: 23px 18px;
  }

  .search-heading h2 {
    font-size: 22px;
  }

  .property-search {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .property-search .button {
    width: 100%;
  }

  .section {
    padding: 75px 0;
  }

  .section-heading-split {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading-centered {
    margin-bottom: 30px;
  }

  .property-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .property-card img {
    height: 230px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .intro-image-wrap {
    margin-right: 8px;
    padding-left: 12px;
  }

  .intro-image-wrap img {
    height: 340px;
  }

  .image-caption {
    right: -8px;
    max-width: 265px;
    padding: 13px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    min-height: 235px;
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .cta-content h2 {
    font-size: 31px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 22px;
    padding-top: 45px;
    padding-bottom: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

/* Small mobile screens */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-copy strong {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .brand-copy small {
    letter-spacing: 1.8px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* Accessibility: respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ========================================
   ROYAL MANOR — PREMIUM FOOTER
======================================== */

.premium-footer {
  background: #ffffff;
  color: #333333;
  border-top: 1px solid #e4eaf1;
  margin-top: 0;
}

.premium-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1.2fr;
  gap: 42px;
  padding-top: 64px;
  padding-bottom: 56px;
}

.premium-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #0A1A2F;
  text-decoration: none;
}

.premium-brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #0A1A2F;
  color: #ffffff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -1px;
}

.premium-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.premium-brand-copy strong {
  font-size: 16px;
  letter-spacing: 1.2px;
  line-height: 1.3;
}

.premium-brand-copy small {
  color: #1783C1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.premium-footer-brand > p {
  max-width: 290px;
  margin: 20px 0 24px;
  color: #66758A;
  font-size: 14px;
  line-height: 1.9;
}

.premium-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-radius: 8px;
  background: #0A3C6E;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.premium-footer-cta:hover {
  background: #1783C1;
  transform: translateY(-2px);
}

.premium-footer-column,
.premium-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.premium-footer-column h3 {
  margin: 5px 0 21px;
  color: #0A1A2F;
  font-size: 14px;
  font-weight: 700;
}

.premium-footer-column a {
  margin-bottom: 15px;
  color: #66758A;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.premium-footer-column a:hover {
  color: #1783C1;
  transform: translateX(3px);
}

.premium-footer-label {
  margin: 5px 0 13px;
  color: #1783C1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.premium-footer-contact h3 {
  margin: 0 0 12px;
  color: #0A1A2F;
  font-size: 19px;
  line-height: 1.5;
}

.premium-footer-contact p {
  margin: 0 0 20px;
  color: #66758A;
  font-size: 13px;
  line-height: 1.8;
}

.premium-footer-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0A3C6E;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.premium-footer-text-link:hover {
  color: #1783C1;
}

.premium-footer-bottom {
  border-top: 1px solid #e4eaf1;
  background: #f7f9fc;
}

.premium-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  color: #66758A;
  font-size: 12px;
}

.premium-footer-bottom-inner a {
  color: #0A3C6E;
  text-decoration: none;
}

.premium-footer-bottom-inner a:hover {
  color: #1783C1;
}

@media (max-width: 1000px) {
  .premium-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .premium-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .premium-footer-brand,
  .premium-footer-contact {
    grid-column: 1 / -1;
  }

  .premium-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-footer-cta,
  .premium-footer-column a {
    transition: none;
  }
}
/* =========================================
   ROYAL MANOR — PREMIUM HOMEPAGE HERO
   Brand: Navy #0A1A2F / Blue #1783C1
========================================= */

/* FULL-WIDTH ROYAL MANOR HERO */

.rm-hero {
position: relative;
width: 100%;
overflow: hidden;
padding: clamp(56px, 7vw, 100px) 0 clamp(65px, 8vw, 110px);
background:
radial-gradient(ellipse at 92% 8%, rgba(23, 131, 193, 0.07), transparent 34%),
#ffffff;
}
.rm-hero-grid {
display: grid;
width: 100%;
max-width: 1440px;
margin-inline: auto;
padding-inline: clamp(24px, 5vw, 76px);
box-sizing: border-box;
grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
align-items: center;
gap: clamp(35px, 5vw, 76px);
}

.rm-hero-copy {
  position: relative;
  z-index: 2;
  animation: rmHeroReveal 0.8s ease both;
}

.rm-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  color: #1783C1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.6;
}

.rm-eyebrow-line {
  display: inline-block;
  width: 34px;
  height: 2px;
  flex: 0 0 auto;
  background: #1783C1;
}

.rm-hero-copy h1 {
  max-width: 640px;
  margin: 0;
  color: #0A1A2F;
  font-family: "Poppins", sans-serif;
  font-size: clamp(42px, 5.1vw, 72px);
  font-weight: 600;
  letter-spacing: -2.8px;
  line-height: 1.12;
}

.rm-hero-copy h1 span {
  color: #1783C1;
  position: relative;
  white-space: nowrap;
}

.rm-hero-description {
  max-width: 490px;
  margin: 24px 0 0;
  color: #5c6571;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.rm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
}

.rm-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.rm-button:hover {
  transform: translateY(-3px);
}

.rm-button-primary {
  color: #ffffff;
  background: #1783C1;
  box-shadow: 0 8px 22px rgba(23, 131, 193, 0.16);
}

.rm-button-primary:hover {
  background: #0A1A2F;
  box-shadow: 0 12px 25px rgba(10, 26, 47, 0.14);
}

.rm-button-secondary {
  color: #0A1A2F;
  border-color: #dce3e9;
  background: #ffffff;
}

.rm-button-secondary:hover {
  border-color: #1783C1;
  color: #1783C1;
}

.rm-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #65707d;
  font-size: 12px;
  line-height: 1.6;
}

.rm-note-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1783C1;
  background: rgba(23, 131, 193, 0.10);
  font-size: 12px;
  font-weight: 700;
}

.rm-hero-visual {
  position: relative;
  min-width: 0;
  padding: 0 14px 22px 0;
  animation: rmVisualReveal 0.9s ease 0.12s both;
}

.rm-hero-image-frame {
  position: relative;
  z-index: 1;
  height: clamp(360px, 43vw, 565px);
  overflow: hidden;
  border-radius: 7px 7px 7px 70px;
  background: #edf2f5;
  box-shadow: 0 22px 60px rgba(10, 26, 47, 0.12);
}

.rm-hero-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.rm-hero-image-frame:hover img {
  transform: scale(1.035);
}

.rm-image-accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 47, 0.02) 50%,
    rgba(10, 26, 47, 0.15) 100%
  );
}

.rm-visual-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: flex;
  min-height: 92px;
  width: min(88%, 365px);
  align-items: center;
  gap: 14px;
  padding: 19px 20px;
  border: 1px solid rgba(10, 26, 47, 0.05);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 15px 42px rgba(10, 26, 47, 0.12);
}

.rm-caption-mark {
  width: 4px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: #1783C1;
}

.rm-visual-caption div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.rm-visual-caption strong {
  color: #0A1A2F;
  font-size: 13px;
  font-weight: 700;
}

.rm-visual-caption div span {
  color: #687381;
  font-size: 11px;
}

.rm-caption-arrow {
  margin-left: auto;
  color: #1783C1;
  font-size: 22px;
}

.rm-visual-decoration {
  position: absolute;
  top: -17px;
  right: -3px;
  width: 110px;
  height: 110px;
  border-top: 2px solid rgba(23, 131, 193, 0.4);
  border-right: 2px solid rgba(23, 131, 193, 0.4);
  pointer-events: none;
}

/* PROPERTY SEARCH */

.rm-search-section {
  position: relative;
  z-index: 4;
  padding: 0 0 clamp(55px, 7vw, 85px);
  background: #ffffff;
}

.rm-search-panel {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid #e5ebf0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(10, 26, 47, 0.075);
}

.rm-search-heading {
  margin-bottom: 24px;
}

.rm-search-index {
  color: #1783C1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.rm-search-heading h2 {
  margin: 10px 0 6px;
  color: #0A1A2F;
  font-family: "Poppins", sans-serif;
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.7px;
  line-height: 1.35;
}

.rm-search-heading p {
  margin: 0;
  color: #687381;
  font-size: 13px;
  line-height: 1.7;
}

.rm-property-search {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  align-items: end;
  gap: 14px;
}

.rm-search-field {
  display: grid;
  min-width: 0;
  gap: 9px;
  color: #0A1A2F;
  font-size: 12px;
  font-weight: 600;
}

.rm-search-field select,
.rm-search-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 51px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #dce4eb;
  border-radius: 4px;
  outline: none;
  color: #333333;
  background: #ffffff;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rm-search-field select:focus,
.rm-search-field input:focus {
  border-color: #1783C1;
  box-shadow: 0 0 0 3px rgba(23, 131, 193, 0.10);
}

.rm-search-field input::placeholder {
  color: #89929d;
}

.rm-search-button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: #0A1A2F;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.rm-search-button:hover {
  transform: translateY(-2px);
  background: #1783C1;
}

.rm-search-button span:last-child {
  font-size: 19px;
}

/* SUBTLE ENTRANCE MOTION */

@keyframes rmHeroReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rmVisualReveal {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* TABLET */

@media (max-width: 980px) {
  .rm-hero {
    padding-top: 58px;
  }

  .rm-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .rm-hero-copy h1 {
    font-size: clamp(40px, 5.5vw, 56px);
    letter-spacing: -1.8px;
  }

  .rm-hero-image-frame {
    height: 430px;
  }

  .rm-property-search {
    grid-template-columns: 1fr 1fr;
  }

  .rm-search-button {
    width: 100%;
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .rm-hero {
    padding: 42px 0 48px;
  }

  .rm-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .rm-eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  .rm-hero-copy h1 {
    font-size: clamp(39px, 10.5vw, 54px);
    letter-spacing: -1.7px;
    line-height: 1.13;
  }

  .rm-hero-description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.8;
  }

  .rm-hero-actions {
    align-items: stretch;
    gap: 10px;
    margin-top: 23px;
  }

  .rm-button {
    min-height: 49px;
    padding: 0 15px;
    font-size: 12px;
  }

  .rm-hero-note {
    margin-top: 23px;
    font-size: 11px;
  }

  .rm-hero-visual {
    padding: 0 10px 20px 0;
  }

  .rm-hero-image-frame {
    height: clamp(280px, 83vw, 420px);
    border-radius: 5px 5px 5px 48px;
  }

  .rm-visual-caption {
    width: min(92%, 330px);
    min-height: 76px;
    gap: 11px;
    padding: 14px;
  }

  .rm-visual-caption strong {
    font-size: 12px;
  }

  .rm-visual-caption div span {
    font-size: 10px;
  }

  .rm-visual-decoration {
    width: 70px;
    height: 70px;
    top: -10px;
    right: 0;
  }

  .rm-search-section {
    padding-bottom: 52px;
  }

  .rm-search-panel {
    padding: 23px 18px;
    border-radius: 6px;
  }

  .rm-search-heading {
    margin-bottom: 21px;
  }

  .rm-search-heading h2 {
    font-size: 24px;
  }

  .rm-property-search {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .rm-search-field select,
  .rm-search-field input,
  .rm-search-button {
    min-height: 50px;
  }
}

/* ACCESSIBILITY: RESPECT REDUCED-MOTION SETTINGS */

@media (prefers-reduced-motion: reduce) {
  .rm-hero-copy,
  .rm-hero-visual {
    animation: none;
  }

  .rm-button,
  .rm-hero-image-frame img,
  .rm-search-field select,
  .rm-search-field input,
  .rm-search-button {
    transition: none;
  }

  .rm-button:hover,
  .rm-search-button:hover {
    transform: none;
  }
}
/* TEMPORARY FIX: hide the old homepage search section */
body:has(.rm-search-section) .search-section {
  display: none;
}
/* ROYAL MANOR — EDGE-TO-EDGE HERO IMAGE */

.rm-hero {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.rm-hero-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  padding-right: 0;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
}

.rm-hero-visual {
  width: 100%;
  min-width: 0;
  margin-right: 0;
}

.rm-hero-image-frame {
  width: 100%;
}

@media (max-width: 680px) {
  .rm-hero-grid {
    padding-left: 20px;
    padding-right: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .rm-hero-visual {
    width: 100%;
  }
}
/* FULL-BACKGROUND IMAGE HERO */

.rm-hero.rm-hero-background {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(540px, 47vw, 700px);
  padding: clamp(70px, 9vw, 120px) 0;
  overflow: hidden;
  isolation: isolate;
  background: #0A1A2F;
}

.rm-hero-bg-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90");
  background-position: center 55%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.01);
}

.rm-hero-bg-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 26, 47, 0.88) 0%,
    rgba(10, 26, 47, 0.72) 42%,
    rgba(10, 26, 47, 0.30) 100%
  );
}

.rm-hero-background .rm-hero-grid {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

.rm-hero-background .rm-hero-copy {
  max-width: 700px;
}

.rm-hero-background .rm-eyebrow,
.rm-hero-background .rm-hero-copy h1,
.rm-hero-background .rm-hero-description,
.rm-hero-background .rm-hero-note {
  color: #ffffff;
}

.rm-hero-background .rm-hero-copy h1 {
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -2px;
  line-height: 1.12;
}

.rm-hero-background .rm-hero-copy h1 span {
  color: #68B9EA;
}

.rm-hero-background .rm-hero-description {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
}

.rm-hero-background .rm-button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.rm-hero-background .rm-button-secondary:hover {
  color: #0A1A2F;
  border-color: #ffffff;
  background: #ffffff;
}

.rm-hero-background .rm-hero-note {
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 680px) {
  .rm-hero.rm-hero-background {
    min-height: 570px;
    padding: 72px 0;
  }

  .rm-hero-background .rm-hero-grid {
    padding: 0 20px;
  }

  .rm-hero-background .rm-hero-copy h1 {
    font-size: clamp(39px, 10vw, 54px);
    letter-spacing: -1.5px;
  }

  .rm-hero-bg-image {
    background-position: 58% center;
  }

  .rm-hero-bg-overlay {
    background: linear-gradient(
      90deg,
      rgba(10, 26, 47, 0.86),
      rgba(10, 26, 47, 0.52)
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-hero-bg-image {
    transform: none;
  }
}

/* OVERLAPPING PROPERTY SEARCH BAR */

.rm-search-section {
  position: relative;
  z-index: 5;
  margin-top: -65px;
  padding-top: 0;
  padding-bottom: 55px;
  background: transparent;
}

.rm-search-section .container {
  position: relative;
  z-index: 2;
}

.rm-search-panel {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(10, 60, 110, 0.10);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(10, 26, 47, 0.16);
  padding: 30px;
}

/* Responsive overlap on tablets and mobile */

@media (max-width: 768px) {
  .rm-search-section {
    margin-top: -38px;
    padding-bottom: 35px;
  }

  .rm-search-panel {
    padding: 22px 18px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .rm-search-section {
    margin-top: -24px;
  }

  .rm-search-panel {
    padding: 20px 15px;
  }
}

/* ROYAL MANOR — SEARCH BAR FINISHING */

.rm-property-search {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr auto;
  align-items: end;
  gap: 14px;
}

.rm-search-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.rm-search-field > span {
  color: #333333;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.rm-search-field select,
.rm-search-field input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #dce4ec;
  border-radius: 7px;
  background-color: #ffffff;
  color: #333333;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rm-search-field select:focus,
.rm-search-field input:focus {
  outline: none;
  border-color: #1783C1;
  box-shadow: 0 0 0 3px rgba(23, 131, 193, 0.12);
}

.rm-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid #1783C1;
  border-radius: 7px;
  background: #1783C1;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rm-search-button:hover {
  background: #0A3C6E;
  border-color: #0A3C6E;
  transform: translateY(-1px);
}

.rm-search-button:focus-visible {
  outline: 3px solid rgba(23, 131, 193, 0.35);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .rm-property-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rm-search-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .rm-property-search {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rm-search-field select,
  .rm-search-field input,
  .rm-search-button {
    min-height: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-search-field select,
  .rm-search-field input,
  .rm-search-button {
    transition: none;
  }

  .rm-search-button:hover {
    transform: none;
  }
}

/* FEATURED PROPERTIES — PREMIUM EMPTY STATE */

.rm-featured-section {
  padding-top: clamp(65px, 8vw, 105px);
  padding-bottom: clamp(65px, 8vw, 105px);
  background: #ffffff;
}

.rm-featured-empty {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  margin-top: 34px;
  padding: clamp(28px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid #e5edf4;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(23,131,193,0.07), transparent 48%),
    linear-gradient(135deg, #f7fbfe 0%, #ffffff 75%);
}

.rm-empty-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf6fc, #f9fcfe);
}

.rm-empty-image {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  padding: 16px;
  animation: rm-home-float 5s ease-in-out infinite;
}

.rm-empty-image svg {
  display: block;
  width: 100%;
  height: auto;
}

.rm-empty-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgba(23, 131, 193, 0.16);
  border-radius: 50%;
}

.rm-orbit-one {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -45px;
}

.rm-orbit-two {
  width: 160px;
  height: 160px;
  bottom: -85px;
  left: -45px;
}

.rm-empty-copy {
  max-width: 540px;
}

.rm-empty-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: #0A3C6E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.rm-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #1783C1;
  box-shadow: 0 0 0 4px rgba(23, 131, 193, 0.12);
}

.rm-empty-copy h3 {
  margin: 0 0 16px;
  color: #0A3C6E;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.7px;
}

.rm-empty-copy > p {
  margin: 0;
  color: #555f6b;
  font-size: 15px;
  line-height: 1.85;
}

.rm-empty-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 27px;
}

.rm-empty-actions .rm-button {
  text-decoration: none;
}

.rm-empty-actions .text-link {
  font-size: 13px;
}

@keyframes rm-home-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (max-width: 760px) {
  .rm-featured-empty {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 22px;
  }

  .rm-empty-visual {
    min-height: 220px;
  }

  .rm-empty-image {
    max-width: 285px;
  }

  .rm-empty-copy h3 {
    font-size: 27px;
  }
}

@media (max-width: 480px) {
  .rm-empty-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .rm-empty-actions .rm-button {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rm-empty-image {
    animation: none;
  }
}

/* =========================================
   ROYAL MANOR — PREMIUM APPROACH SECTION
   ========================================= */

.rm-approach-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background: #ffffff;
}

.rm-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 85px);
}

/* Image area */
.rm-approach-visual {
  position: relative;
  min-width: 0;
  padding: 0 0 35px 20px;
}

.rm-approach-visual::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 65%;
  height: 72%;
  border: 1px solid rgba(23, 131, 193, 0.35);
  border-radius: 4px;
  pointer-events: none;
}

.rm-approach-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  box-shadow: 0 22px 55px rgba(10, 26, 47, 0.13);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.rm-approach-visual:hover img {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(10, 26, 47, 0.17);
}

.rm-approach-image-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 20px);
  padding: 19px 22px;
  background: #ffffff;
  color: #333333;
  border-radius: 3px;
  box-shadow: 0 12px 32px rgba(10, 26, 47, 0.10);
  font-size: 13px;
  font-weight: 500;
}

.rm-approach-caption-line {
  display: inline-block;
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  background: #1783C1;
}

.rm-approach-image-label {
  position: absolute;
  top: 20px;
  right: -12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  background: #ffffff;
  color: #0A3C6E;
  border: 1px solid rgba(10, 60, 110, 0.10);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  box-shadow: 0 8px 24px rgba(10, 26, 47, 0.08);
}

.rm-approach-label-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #1783C1;
}

/* Text area */
.rm-approach-copy {
  min-width: 0;
}

.rm-approach-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #1783C1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.rm-approach-copy .eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  flex: 0 0 30px;
  background: #1783C1;
}

.rm-approach-copy h2 {
  max-width: 560px;
  margin: 0 0 23px;
  color: #0A3C6E;
  font-size: clamp(30px, 3.1vw, 43px);
  line-height: 1.18;
  letter-spacing: -0.8px;
}

.rm-approach-copy h2 span {
  color: #1783C1;
}

.rm-approach-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0 0 17px;
  color: #555f69;
  font-size: 15px;
  line-height: 1.9;
}

.rm-approach-copy .rm-approach-lead {
  color: #333333;
  font-size: 16px;
  line-height: 1.85;
}

.rm-approach-points {
  display: grid;
  gap: 13px;
  margin: 25px 0 30px;
}

.rm-approach-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #333333;
  font-size: 14px;
  line-height: 1.6;
}

.rm-approach-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  color: #1783C1;
  background: rgba(23, 131, 193, 0.09);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.rm-approach-copy .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 13px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rm-approach-copy .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 60, 110, 0.16);
}

/* Tablet */
@media (max-width: 900px) {
  .rm-approach-section {
    padding: 70px 0;
  }

  .rm-approach-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .rm-approach-visual {
    padding-left: 12px;
  }

  .rm-approach-visual img {
    height: 410px;
  }

  .rm-approach-image-label {
    right: -5px;
    font-size: 9px;
  }

  .rm-approach-copy h2 {
    font-size: clamp(28px, 4vw, 36px);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .rm-approach-section {
    padding: 52px 0 58px;
  }

  .rm-approach-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .rm-approach-visual {
    padding: 12px 0 28px 10px;
  }

  .rm-approach-visual::before {
    top: 0;
    width: 70%;
    height: 65%;
  }

  .rm-approach-visual img {
    height: 340px;
    border-radius: 4px;
  }

  .rm-approach-image-caption {
    left: 0;
    bottom: 0;
    max-width: calc(100% - 12px);
    gap: 9px;
    padding: 14px 13px;
    font-size: 11px;
  }

  .rm-approach-caption-line {
    flex-basis: 20px;
    width: 20px;
  }

  .rm-approach-image-label {
    top: 22px;
    right: -5px;
    padding: 10px;
    font-size: 8px;
    letter-spacing: 0.8px;
  }

  .rm-approach-copy h2 {
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .rm-approach-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.8;
  }

  .rm-approach-copy .rm-approach-lead {
    font-size: 15px;
  }

  .rm-approach-points {
    margin: 23px 0 26px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .rm-approach-visual img,
  .rm-approach-copy .button {
    transition: none;
  }

  .rm-approach-visual:hover img,
  .rm-approach-copy .button:hover {
    transform: none;
  }
}

/* =========================================
   ROYAL MANOR — PREMIUM SERVICES SECTION
   ========================================= */

.rm-services-section {
  position: relative;
  padding: 82px 0 88px;
  overflow: hidden;
  background: #f7fafd;
}

.rm-services-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.rm-services-topline .eyebrow {
  margin: 0;
  color: #1783C1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.rm-services-reference {
  color: #6b7886;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-align: right;
}

.rm-services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #dfe8f0;
}

.rm-services-heading h2 {
  max-width: 650px;
  margin: 0;
  color: #0A3C6E;
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.rm-services-description p {
  max-width: 440px;
  margin: 0 0 3px;
  color: #596674;
  font-size: 15px;
  line-height: 1.85;
}

/* Service card grid */
.rm-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rm-services-grid .rm-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 270px;
  padding: 28px 30px 25px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e0e8f0;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(10, 26, 47, 0.025);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.rm-services-grid .rm-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #1783C1;
  transition: width 0.35s ease;
}

.rm-services-grid .rm-service-card:hover {
  transform: translateY(-5px);
  border-color: #c5ddeb;
  box-shadow: 0 18px 38px rgba(10, 26, 47, 0.08);
}

.rm-services-grid .rm-service-card:hover::before {
  width: 100%;
}

.rm-service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 21px;
}

.rm-service-number {
  color: #9aa9b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.rm-services-grid .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: #1783C1;
  background: #edf6fc;
  border: 1px solid #dcecf7;
  border-radius: 9px;
  font-size: 23px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.rm-services-grid .rm-service-card:hover .service-icon {
  color: #ffffff;
  background: #0A3C6E;
  transform: translateY(-2px);
}

.rm-services-grid .rm-service-card h2 {
  margin: 0 0 12px;
  color: #0A3C6E;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.rm-services-grid .rm-service-card p {
  margin: 0 0 25px;
  color: #596674;
  font-size: 14px;
  line-height: 1.85;
}

.rm-services-grid .rm-service-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  color: #1783C1;
  border-top: 1px solid #edf1f5;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s ease;
}

.rm-services-grid .rm-service-card > a:hover {
  color: #0A3C6E;
  text-decoration: none;
}

.rm-service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid #dce7ef;
  border-radius: 50%;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.rm-services-grid .rm-service-card > a:hover .rm-service-arrow {
  color: #ffffff;
  background: #1783C1;
  border-color: #1783C1;
  transform: translate(2px, -2px);
}

/* Tablet */
@media (max-width: 900px) {
  .rm-services-section {
    padding: 65px 0 70px;
  }

  .rm-services-intro {
    gap: 25px;
  }

  .rm-services-grid {
    gap: 16px;
  }

  .rm-services-grid .rm-service-card {
    padding: 25px;
  }

  .rm-services-grid .rm-service-card h2 {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .rm-services-section {
    padding: 48px 0 55px;
  }

  .rm-services-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 17px;
  }

  .rm-services-reference {
    font-size: 9px;
    text-align: left;
  }

  .rm-services-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 25px;
    padding-bottom: 23px;
  }

  .rm-services-heading h2 {
    font-size: clamp(28px, 7.5vw, 35px);
    line-height: 1.23;
  }

  .rm-services-description p {
    font-size: 14px;
    line-height: 1.8;
  }

  .rm-services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .rm-services-grid .rm-service-card {
    min-height: 0;
    padding: 23px 21px 20px;
    border-radius: 8px;
  }

  .rm-service-card-top {
    margin-bottom: 17px;
  }

  .rm-services-grid .rm-service-card h2 {
    font-size: 19px;
  }

  .rm-services-grid .rm-service-card p {
    margin-bottom: 21px;
    font-size: 14px;
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rm-services-grid .rm-service-card,
  .rm-services-grid .rm-service-card::before,
  .rm-services-grid .service-icon,
  .rm-services-grid .rm-service-card > a,
  .rm-service-arrow {
    transition: none;
  }

  .rm-services-grid .rm-service-card:hover,
  .rm-services-grid .rm-service-card:hover .service-icon,
  .rm-services-grid .rm-service-card > a:hover .rm-service-arrow {
    transform: none;
  }
}

/* =========================================
   ROYAL MANOR — HOMEPAGE CLOSING CTA
   ========================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: linear-gradient(115deg, #f0f7fc 0%, #ffffff 65%, #eaf5fc 100%);
  border-top: 1px solid #dcebf6;
  border-bottom: 1px solid #dcebf6;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -105px;
  right: 8%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(23, 131, 193, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: -65px;
  right: calc(8% + 40px);
  width: 180px;
  height: 180px;
  border: 1px solid rgba(23, 131, 193, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band .cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band .eyebrow-light {
  margin: 0 0 14px;
  color: #1783C1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.cta-band .cta-content h2 {
  max-width: 650px;
  margin: 0 0 14px;
  color: #0A3C6E;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.cta-band .cta-content p:not(.eyebrow) {
  max-width: 550px;
  margin: 0;
  color: #596674;
  font-size: 15px;
  line-height: 1.8;
}

.cta-band .button-light-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 50px;
  padding: 14px 23px;
  color: #ffffff;
  background: #1783C1;
  border: 1px solid #1783C1;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(23, 131, 193, 0.12);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cta-band .button-light-blue:hover {
  color: #ffffff;
  background: #0A3C6E;
  border-color: #0A3C6E;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(10, 60, 110, 0.18);
}

@media (max-width: 700px) {
  .cta-band {
    padding: 44px 0;
  }

  .cta-band .cta-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .cta-band .cta-content h2 {
    font-size: clamp(27px, 7vw, 34px);
    line-height: 1.25;
  }

  .cta-band .cta-content p:not(.eyebrow) {
    font-size: 14px;
  }

  .cta-band .button-light-blue {
    width: 100%;
    box-sizing: border-box;
  }

  .cta-band::before {
    right: -130px;
  }

  .cta-band::after {
    right: -80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band .button-light-blue {
    transition: none;
  }

  .cta-band .button-light-blue:hover {
    transform: none;
  }
}

/* Royal Manor — Premium Properties Page Introduction */
.listing-page .listing-heading {
  position: relative;
  max-width: 850px;
  margin-bottom: 38px;
  padding: 12px 0 24px;
}

.listing-page .listing-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #1783C1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.listing-page .listing-heading .eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: #1783C1;
}

.listing-page .listing-heading h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #0A3C6E;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.8px;
  text-wrap: balance;
}

.listing-page .listing-heading > p:last-child {
  max-width: 650px;
  margin: 0;
  color: #5D6875;
  font-size: 16px;
  line-height: 1.85;
}

@media (max-width: 600px) {
  .listing-page .listing-heading {
    margin-bottom: 26px;
    padding: 4px 0 12px;
  }

  .listing-page .listing-heading .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .listing-page .listing-heading h1 {
    font-size: clamp(30px, 8vw, 38px);
    letter-spacing: -0.5px;
  }

  .listing-page .listing-heading > p:last-child {
    font-size: 15px;
    line-height: 1.75;
  }
}

/* Royal Manor — Premium Property Search Filters */
.listing-page .listing-filters {
  position: relative;
  grid-template-columns: 1fr 1fr 1.25fr auto;
  align-items: end;
  gap: 18px;
  margin: 0 0 34px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid #e3eaf1;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(10, 60, 110, 0.07);
}

.listing-page .listing-filters > div:not(.listing-filter-actions) {
  min-width: 0;
}

.listing-page .listing-filters label {
  margin-bottom: 9px;
  color: #333333;
  font-size: 13px;
  font-weight: 600;
}

.listing-page .listing-filters select,
.listing-page .listing-filters input {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #dce4ed;
  border-radius: 9px;
  background-color: #ffffff;
  color: #333333;
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.listing-page .listing-filters select:focus,
.listing-page .listing-filters input:focus {
  outline: none;
  border-color: #1783C1;
  box-shadow: 0 0 0 3px rgba(23, 131, 193, 0.12);
}

.listing-page .listing-filter-actions {
  gap: 8px;
}

.listing-page .listing-filter-actions button {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.listing-page .listing-filter-actions .button-primary {
  box-shadow: 0 5px 14px rgba(10, 60, 110, 0.13);
}

@media (hover: hover) {
  .listing-page .listing-filter-actions button:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 1000px) {
  .listing-page .listing-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-page .listing-filter-actions {
    align-items: stretch;
  }

  .listing-page .listing-filter-actions button {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .listing-page .listing-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border-radius: 13px;
  }

  .listing-page .listing-filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .listing-page .listing-filter-actions button {
    width: 100%;
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .listing-page .listing-filters select,
  .listing-page .listing-filters input,
  .listing-page .listing-filter-actions button {
    transition: none;
  }
}

/* Royal Manor — Property Listing Results */
.listing-page .listing-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  color: #5D6875;
  font-size: 14px;
  line-height: 1.6;
}

.listing-page .listing-grid {
  align-items: stretch;
  gap: 24px;
}

.listing-page .listing-grid > * {
  min-width: 0;
}

.listing-page .listing-grid .empty-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  border: 1px solid #E3EAF1;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FC 100%);
  text-align: center;
}

.listing-page .listing-grid .empty-state h2,
.listing-page .listing-grid .empty-state h3 {
  margin: 0 0 12px;
  color: #0A3C6E;
  font-size: 24px;
  line-height: 1.35;
}

.listing-page .listing-grid .empty-state p {
  max-width: 540px;
  margin: 0 auto 20px;
  color: #5D6875;
  font-size: 15px;
  line-height: 1.8;
}

.listing-page .listing-grid .empty-state .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  text-decoration: none;
}

@media (max-width: 600px) {
  .listing-page .listing-results {
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 13px;
  }

  .listing-page .listing-grid {
    gap: 18px;
  }

  .listing-page .listing-grid .empty-state {
    padding: 34px 18px;
    border-radius: 13px;
  }

  .listing-page .listing-grid .empty-state h2,
  .listing-page .listing-grid .empty-state h3 {
    font-size: 21px;
  }
}

/* Homepage property cards — responsive row */
.rm-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.rm-property-grid .property-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5edf3;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(10, 60, 110, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rm-property-grid .property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(10, 60, 110, 0.14);
}

.rm-property-grid .property-card-image {
  display: block;
  height: 220px;
  overflow: hidden;
  background: #eef4f8;
}

.rm-property-grid .property-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-property-grid .property-card-content {
  padding: 20px;
}

.rm-property-grid .property-card-location {
  color: #64748b;
  font-size: 13px;
  margin: 0 0 8px;
}

.rm-property-grid .property-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
}

.rm-property-grid .property-card h3 a {
  color: #0A3C6E;
  text-decoration: none;
}

.rm-property-grid .property-card-price {
  color: #1783C1;
  font-weight: 700;
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .rm-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .rm-property-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rm-property-grid .property-card-image {
    height: 230px;
  }
}

/* Official Royal Manor logo */
.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
}

.premium-brand-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: 190px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .brand-logo,
  .premium-brand-logo {
    height: 40px;
    max-width: 155px;
  }
}

/* Header alignment and social links */
.site-header .nav-wrap {
  align-items: center;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header .brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

.site-header .brand-copy {
  align-self: center;
}

.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.header-socials a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #0A3C6E;
  border: 1px solid rgba(10, 60, 110, 0.2);
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease;
}

.header-socials svg {
  display: block;
  width: 16px;
  height: 16px;
}

.header-socials a:hover {
  background: #1783C1;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .site-header .brand-logo {
    height: 40px;
    max-width: 155px;
  }

  .header-socials {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* Premium footer social links */
.premium-footer .footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 20px;
}

.premium-footer .footer-socials-title {
  flex-basis: 100%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.premium-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #0A3C6E;
  background: #fff;
  border: 1px solid rgba(10, 60, 110, 0.2);
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease;
}

.premium-footer .footer-socials svg {
  display: block;
  width: 17px;
  height: 17px;
}

.premium-footer .footer-socials a:hover {
  color: #fff;
  background: #1783C1;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .premium-footer .footer-socials {
    gap: 8px;
  }
}

/* Royal Manor shared header alignment */
.site-header .header-inner,
.site-header .nav-wrap {
  align-items: center;
  box-sizing: border-box;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header .brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 190px;
  object-fit: contain;
  object-position: center;
  margin: 0;
  flex-shrink: 0;
}

.site-header .brand-copy {
  align-self: center;
}

.site-header .header-socials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.site-header .header-socials a {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  color: #0A3C6E;
  border: 1px solid rgba(10, 60, 110, 0.2);
  border-radius: 50%;
  text-decoration: none;
  transition: background-color .2s ease,
              color .2s ease,
              transform .2s ease;
}

.site-header .header-socials svg {
  display: block;
  width: 16px;
  height: 16px;
}

.site-header .header-socials a:hover {
  background: #1783C1;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .site-header .brand-logo {
    height: 40px;
    max-width: 155px;
  }

  .site-header .header-socials {
    flex-wrap: wrap;
    gap: 8px;
  }
}
/* =========================================================
   ROYAL MANOR — PREMIUM ABOUT PAGE
   Brand: Navy #0A3C6E | Blue #1783C1 | Light backgrounds
   ========================================================= */

.about-page {
  --rm-navy: #0A3C6E;
  --rm-blue: #1783C1;
  --rm-ink: #263746;
  --rm-muted: #687786;
  --rm-line: #E3EAF0;
  --rm-pale: #F4F8FB;
  --rm-white: #FFFFFF;
  overflow: clip;
}

.about-page *,
.about-page *::before,
.about-page *::after {
  box-sizing: border-box;
}

.about-page img {
  display: block;
  max-width: 100%;
}

.about-page a {
  -webkit-tap-highlight-color: transparent;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
  overflow-wrap: break-word;
}

.about-page h1,
.about-page h2,
.about-page h3 {
  color: var(--rm-navy);
}

.about-page p {
  color: var(--rm-muted);
  line-height: 1.85;
}

/* HERO */

.rm-about-hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 100px;
  background:
    radial-gradient(
      circle at 80% 12%,
      rgba(23, 131, 193, 0.07),
      transparent 32%
    ),
    #FFFFFF;
}

.rm-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.rm-about-copy {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.rm-about-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--rm-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  line-height: 1.6;
}

.rm-eyebrow-line {
  width: 34px;
  height: 2px;
  flex: 0 0 34px;
  background: var(--rm-blue);
}

.rm-about-copy h1 {
  max-width: 600px;
  margin: 0 0 25px;
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2.5px;
}

.rm-about-copy h1 span,
.rm-intro-content h2 span,
.rm-section-heading h2 span,
.rm-values-content h2 span {
  color: var(--rm-blue);
}

.rm-about-lead {
  max-width: 490px;
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}

.rm-about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.rm-about-actions .button,
.rm-final-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 22px;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.rm-about-actions .button:hover,
.rm-final-cta .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(10, 60, 110, 0.16);
}

.rm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rm-navy);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.rm-text-link span {
  color: var(--rm-blue);
  transition: transform 0.2s ease;
}

.rm-text-link:hover span {
  transform: translateX(5px);
}

.rm-hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 42px;
  color: #657787;
  font-size: 12px;
}

.rm-note-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--rm-blue);
  box-shadow: 0 0 0 5px rgba(23, 131, 193, 0.10);
}

/* HERO IMAGE */

.rm-about-visual {
  position: relative;
  min-width: 0;
  padding: 0 0 24px 20px;
}

.rm-hero-image-wrap {
  position: relative;
  min-height: 450px;
  height: clamp(450px, 49vw, 610px);
  overflow: hidden;
  border-radius: 3px 90px 3px 3px;
  background: #EAF0F4;
}

.rm-hero-image-wrap::after {
  position: absolute;
  inset: 45% 0 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(7, 27, 46, 0.72)
  );
}

.rm-hero-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.rm-hero-image-wrap:hover > img {
  transform: scale(1.035);
}

.rm-image-caption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFFFFF;
}

.rm-caption-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.rm-caption-title {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.2;
}

.rm-floating-mark {
  position: absolute;
  z-index: 2;
  top: 35px;
  left: -15px;
  display: flex;
  width: 94px;
  height: 118px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--rm-navy);
  background: #FFFFFF;
  border: 1px solid rgba(10, 60, 110, 0.10);
  box-shadow: 0 15px 45px rgba(16, 48, 73, 0.10);
}

.rm-floating-mark > span:first-child {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
}

.rm-mark-line {
  width: 30px;
  height: 1px;
  background: var(--rm-blue);
}

.rm-floating-mark small {
  font-size: 7px;
  letter-spacing: 1.4px;
}

.rm-visual-decoration {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: 0;
  width: 46%;
  height: 43%;
  border-right: 1px solid rgba(23, 131, 193, 0.28);
  border-bottom: 1px solid rgba(23, 131, 193, 0.28);
}

/* INTRODUCTION */

.rm-about-intro {
  padding: 85px 0 100px;
  background: var(--rm-pale);
  border-top: 1px solid #EAF0F5;
  border-bottom: 1px solid #EAF0F5;
}

.rm-intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.7fr;
  gap: 55px;
}

.rm-section-label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--rm-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.8;
}

.rm-section-index {
  color: #8A9DAC;
  font-size: 12px;
}

.rm-intro-content h2,
.rm-section-heading h2,
.rm-values-content h2 {
  margin: 0;
  font-size: clamp(31px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -1.3px;
}

.rm-intro-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 28px;
}

.rm-intro-columns p {
  margin: 0;
  font-size: 14px;
}

/* APPROACH */

.rm-approach-section {
  padding: 110px 0;
  background: #FFFFFF;
}

.rm-section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 45px;
  margin-bottom: 48px;
}

.rm-section-heading .rm-about-eyebrow {
  margin-bottom: 18px;
}

.rm-section-heading > p {
  max-width: 420px;
  margin: 0 0 5px;
  font-size: 14px;
}

.rm-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rm-process-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px 27px 23px;
  background: #FFFFFF;
  border: 1px solid var(--rm-line);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.rm-process-card:hover {
  transform: translateY(-7px);
  border-color: rgba(23, 131, 193, 0.4);
  box-shadow: 0 18px 42px rgba(10, 60, 110, 0.08);
}

.rm-process-card-featured {
  background: #F4F8FB;
  border-color: #DCE8F0;
}

.rm-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.rm-process-number {
  color: #8496A5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.rm-process-icon {
  display: flex;
  width: 53px;
  height: 53px;
  align-items: center;
  justify-content: center;
  color: var(--rm-blue);
  background: #FFFFFF;
  border: 1px solid #E1EAF1;
  border-radius: 50%;
}

.rm-process-icon svg {
  width: 30px;
  height: 30px;
}

.rm-process-card h3 {
  margin: 0 0 13px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.rm-process-card > p {
  margin: 0 0 25px;
  font-size: 13px;
  line-height: 1.9;
}

.rm-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  color: var(--rm-navy);
  border-top: 1px solid var(--rm-line);
  font-size: 11px;
  font-weight: 600;
}

.rm-card-bottom span:last-child {
  color: var(--rm-blue);
  font-size: 16px;
}

/* VALUES */

.rm-values-section {
  padding: 100px 0;
  background: var(--rm-pale);
}

.rm-values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.rm-values-visual {
  position: relative;
  min-width: 0;
  padding: 0 0 22px 22px;
}

.rm-values-visual::before {
  position: absolute;
  top: -20px;
  left: 0;
  width: 65%;
  height: 65%;
  content: "";
  border-top: 1px solid rgba(23, 131, 193, 0.35);
  border-left: 1px solid rgba(23, 131, 193, 0.35);
}

.rm-values-visual > img {
  position: relative;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.rm-values-image-label {
  position: absolute;
  right: -1px;
  bottom: 0;
  display: flex;
  min-width: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  color: #FFFFFF;
  background: var(--rm-navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.rm-values-image-label span:last-child {
  color: #9AD7F5;
  font-size: 20px;
}

.rm-values-content .rm-section-label {
  margin-bottom: 25px;
}

.rm-values-intro {
  margin: 24px 0 29px;
  font-size: 14px;
}

.rm-value-list {
  border-top: 1px solid #DDE6ED;
}

.rm-value-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid #DDE6ED;
}

.rm-value-check {
  display: flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  color: var(--rm-blue);
  background: #FFFFFF;
  border: 1px solid #DCE8F0;
  border-radius: 50%;
  font-size: 12px;
}

.rm-value-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.rm-value-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.rm-values-link {
  margin-top: 27px;
}

/* DISCOVERY CTA */

.rm-discovery-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  color: #FFFFFF;
  background: var(--rm-navy);
}

.rm-discovery-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: 65px;
}

.rm-discovery-copy {
  position: relative;
  z-index: 2;
}

.rm-light-eyebrow {
  color: #A9DDF6;
}

.rm-light-eyebrow .rm-eyebrow-line {
  background: #A9DDF6;
}

.rm-discovery-copy h2 {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(38px, 4.7vw, 60px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -1.8px;
}

.rm-discovery-copy h2 span {
  color: #9AD7F5;
}

.rm-discovery-copy > p {
  max-width: 470px;
  margin: 23px 0 0;
  color: #D4E1EB;
  font-size: 14px;
}

.rm-discovery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.rm-button-light {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 14px 20px;
  color: var(--rm-navy);
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rm-button-light:hover {
  transform: translateY(-3px);
  background: #EAF6FC;
}

.rm-discovery-secondary {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 5px;
}

.rm-discovery-image {
  position: relative;
  z-index: 1;
  height: 400px;
  overflow: hidden;
  border-radius: 2px 65px 2px 2px;
}

.rm-discovery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rm-discovery-watermark {
  position: absolute;
  right: -20px;
  bottom: -115px;
  color: rgba(255,255,255,.035);
  font-size: clamp(200px, 30vw, 400px);
  font-weight: 700;
  letter-spacing: -25px;
  line-height: 1;
  pointer-events: none;
}

/* FINAL ENQUIRY STRIP */

.rm-final-cta {
  padding: 50px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--rm-line);
}

.rm-final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.rm-final-label {
  display: block;
  margin-bottom: 10px;
  color: var(--rm-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.rm-final-cta h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.7px;
}

.rm-final-cta p {
  margin: 8px 0 0;
  font-size: 13px;
}

.rm-final-cta .button {
  flex-shrink: 0;
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  .about-page *,
  .about-page *::before,
  .about-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* TABLET */

@media (max-width: 1000px) {
  .rm-about-hero {
    padding: 65px 0 80px;
  }

  .rm-about-hero-grid {
    gap: 35px;
  }

  .rm-about-copy h1 {
    font-size: clamp(39px, 5.5vw, 57px);
    letter-spacing: -1.8px;
  }

  .rm-hero-image-wrap {
    min-height: 400px;
    height: 48vw;
  }

  .rm-intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rm-values-grid {
    gap: 38px;
  }

  .rm-values-visual > img {
    height: 440px;
  }

  .rm-discovery-grid {
    gap: 35px;
  }

  .rm-discovery-image {
    height: 350px;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .rm-about-hero {
    padding: 52px 0 65px;
  }

  .rm-about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rm-about-copy {
    max-width: none;
  }

  .rm-about-copy h1 {
    max-width: 540px;
    font-size: clamp(39px, 10vw, 54px);
    letter-spacing: -1.6px;
  }

  .rm-about-lead {
    font-size: 14px;
  }

  .rm-about-actions {
    align-items: flex-start;
    gap: 19px;
  }

  .rm-about-actions .button {
    min-height: 48px;
  }

  .rm-hero-note {
    margin-top: 28px;
  }

  .rm-about-visual {
    margin-left: 10px;
    padding-left: 10px;
  }

  .rm-hero-image-wrap {
    height: 105vw;
    min-height: 350px;
    max-height: 500px;
    border-top-right-radius: 60px;
  }

  .rm-floating-mark {
    top: 22px;
    left: -10px;
    width: 75px;
    height: 95px;
  }

  .rm-image-caption {
    right: 20px;
    bottom: 23px;
    left: 20px;
  }

  .rm-caption-title {
    font-size: 30px;
  }

  .rm-about-intro {
    padding: 65px 0;
  }

  .rm-intro-content h2,
  .rm-section-heading h2,
  .rm-values-content h2 {
    font-size: clamp(30px, 8vw, 40px);
    letter-spacing: -0.8px;
  }

  .rm-intro-columns {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
  }

  .rm-approach-section {
    padding: 70px 0;
  }

  .rm-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .rm-process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rm-process-card {
    min-height: 0;
    padding: 23px;
  }

  .rm-card-topline {
    margin-bottom: 25px;
  }

  .rm-process-card h3 {
    font-size: 22px;
  }

  .rm-values-section {
    padding: 70px 0;
  }

  .rm-values-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .rm-values-visual {
    margin-left: 5px;
    padding-left: 15px;
  }

  .rm-values-visual > img {
    height: 390px;
  }

  .rm-values-content .rm-section-label {
    margin-bottom: 20px;
  }

  .rm-values-intro {
    font-size: 13px;
  }

  .rm-discovery-section {
    padding: 70px 0;
  }

  .rm-discovery-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .rm-discovery-copy h2 {
    font-size: clamp(38px, 10vw, 53px);
    letter-spacing: -1.2px;
  }

  .rm-discovery-image {
    height: 330px;
    border-top-right-radius: 45px;
  }

  .rm-discovery-watermark {
    right: -10px;
    bottom: -40px;
    font-size: 200px;
  }

  .rm-final-cta {
    padding: 38px 0;
  }

  .rm-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .rm-final-cta h2 {
    font-size: 27px;
    line-height: 1.25;
  }

  .rm-final-cta .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .rm-about-copy h1 {
    font-size: 37px;
  }

  .rm-about-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .rm-discovery-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .rm-values-visual > img {
    height: 320px;
  }
}

/* Royal Manor — increase space above the logo */
.site-header .header-inner {
  padding-top: 18px;
  padding-bottom: 8px;
}

.site-header .brand {
  margin-top: 0;
  align-self: center;
}

@media (max-width: 768px) {
  .site-header .header-inner {
    padding-top: 12px;
    padding-bottom: 8px;
  }
}

/* Royal Manor — consistent shared header */
.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #ffffff;
}

.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Brand and logo */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin: 0;
  text-decoration: none;
}

.site-header .brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 100%;
  object-fit: contain;
}

.site-header .brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .brand-copy strong {
  color: #0A3C6E;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}

.site-header .brand-copy small {
  margin-top: 4px;
  color: #1783C1;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Navigation */
.site-header .primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.site-header .primary-nav > a:not(.nav-cta) {
  position: relative;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header .primary-nav > a:not(.nav-cta):hover,
.site-header .primary-nav > a.active {
  color: #1783C1;
}

.site-header .primary-nav > a.active::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: #1783C1;
  content: "";
}

/* Social icons */
.site-header .header-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .header-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #0A3C6E;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-header .header-socials a:hover {
  color: #1783C1;
  transform: translateY(-2px);
}

.site-header .header-socials svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Contact button */
.site-header .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 4px;
  background: #0A3C6E;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.site-header .nav-cta:hover {
  background: #1783C1;
}

/* Mobile menu button */
.site-header .menu-toggle {
  display: none;
}

/* Tablet and mobile */
@media (max-width: 1050px) {
  .site-header .nav-wrap {
    min-height: 82px;
    gap: 16px;
  }

  .site-header .brand-logo {
    height: 50px;
  }

  .site-header .primary-nav {
    gap: 14px;
  }

  .site-header .header-socials {
    gap: 5px;
  }

  .site-header .primary-nav > a:not(.nav-cta) {
    font-size: 13px;
  }

  .site-header .nav-cta {
    padding: 11px 13px;
  }
}

@media (max-width: 768px) {
  .site-header .nav-wrap {
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand-logo {
    height: 44px;
  }

  .site-header .brand-copy strong {
    font-size: 14px;
  }

  .site-header .brand-copy small {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .site-header .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid #e1e8ef;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
  }

  .site-header .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #0A3C6E;
  }

  .site-header .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    border-top: 1px solid #edf1f5;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(10, 60, 110, 0.10);
  }

  .site-header .primary-nav.is-open {
    display: flex;
  }

  .site-header .primary-nav > a:not(.nav-cta) {
    padding: 13px 0;
    font-size: 15px;
  }

  .site-header .primary-nav > a.active::after {
    display: none;
  }

  .site-header .header-socials {
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 0;
  }

  .site-header .nav-cta {
    align-self: flex-start;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    transition: none !important;
  }
}
