/* =========================================================
   Royal LePage Solutions - Site-wide styles
   v1001 - For pages hosted on info.royallepagesolutions.com
   ========================================================= */

:root {
  --rls-red:        #EA002A;
  --rls-red-dk:     #C20023;
  --rls-black:      #000000;
  --rls-white:      #FFFFFF;
  --rls-dark-grey:  #2A2A2A;
  --rls-warm-grey:  #6B6660;
  --rls-light-grey: #E8E6E3;
  --rls-stone:      #D8D3CB;
  --rls-taupe:      #B8AC9C;

  --rls-sans: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --rls-max-width: 1200px;
}

/* ─── Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--rls-sans);
  color: var(--rls-dark-grey);
  background: var(--rls-white);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rls-sans);
  color: var(--rls-black);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 200;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
  color: var(--rls-warm-grey);
}

a {
  color: var(--rls-red);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--rls-red-dk);
}

/* ─── Hero section ─── */
.rls-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--rls-black);
  color: var(--rls-white);
  overflow: hidden;
}

.rls-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.rls-hero-content {
  position: relative;
  max-width: var(--rls-max-width);
  margin: 0 auto;
  padding: 6rem 2.5rem 4rem;
  width: 100%;
  z-index: 2;
}

.rls-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
}

.rls-hero h1 {
  color: var(--rls-white);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}

.rls-hero h1 .accent {
  color: var(--rls-red);
  font-weight: 400;
}

/* ─── Container ─── */
.rls-container {
  max-width: var(--rls-max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.rls-section {
  padding: 5rem 0;
}

/* ─── Buttons ─── */
.rls-btn {
  display: inline-block;
  background: var(--rls-red);
  color: var(--rls-white);
  font-family: var(--rls-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: 1px solid var(--rls-red);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

.rls-btn:hover {
  background: var(--rls-red-dk);
  border-color: var(--rls-red-dk);
  color: var(--rls-white);
}

.rls-btn-outline {
  background: transparent;
  color: var(--rls-black);
  border-color: var(--rls-black);
}

.rls-btn-outline:hover {
  background: var(--rls-black);
  color: var(--rls-white);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .rls-hero-content {
    padding: 5rem 1.5rem 3rem;
  }
  .rls-container {
    padding: 0 1.5rem;
  }
  .rls-section {
    padding: 3.5rem 0;
  }
}
