/* ============================================================
   RR Property Solutions — design system
   Warm, trustworthy, editorial. Built for homeowners who need
   clarity and reassurance, not hype.
   ============================================================ */

:root {
  /* Palette — cool mist + deep ocean blue + warm coral accent */
  --cream:      #eef2f8;
  --cream-2:    #e1e8f3;
  --paper:      #ffffff;
  --ink:        #16202c;
  --ink-soft:   #44536a;
  --ink-faint:  #788698;
  --evergreen:  #1d5f8a;
  --evergreen-d:#174c70;
  --clay:       #e15a3f;
  --clay-d:     #c44529;
  --line:       #dbe3ef;
  --gold:       #f0a93c;

  --shadow-sm: 0 1px 2px rgba(22, 32, 44, .06);
  --shadow-md: 0 14px 36px -18px rgba(22, 32, 44, .35);
  --shadow-lg: 0 40px 80px -40px rgba(22, 32, 44, .45);

  --radius:   18px;
  --radius-sm:12px;
  --maxw:     1140px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(29, 95, 138, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(225, 90, 63, .09), transparent 55%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--evergreen); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  color: var(--ink);
}

p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay);
  margin: 0 0 1rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background: rgba(238, 242, 248, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--evergreen);
  color: var(--cream);
}
.brand .mark svg { width: 19px; height: 19px; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 13px;
  border-radius: 9px;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(29, 95, 138, .08); }

.nav-cta { margin-left: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(225, 90, 63, .8);
}
.btn-primary:hover { background: var(--clay-d); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(225, 90, 63, .85); }

.btn-dark { background: var(--evergreen); color: #fff; }
.btn-dark:hover { background: var(--evergreen-d); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--evergreen); color: var(--evergreen); }

.btn-block { width: 100%; padding: 16px 22px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  margin-bottom: .5em;
}
.hero h1 em {
  font-style: italic;
  color: var(--evergreen);
}
.hero .lead {
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 32ch;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.8rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--evergreen); flex: none; }

/* Hero offer card */
.offer-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 130px; height: 130px;
  background: radial-gradient(circle at top right, rgba(240, 169, 60, .25), transparent 70%);
  border-radius: 22px;
  pointer-events: none;
}
.offer-card h3 { font-size: 1.45rem; margin-bottom: 1.1rem; }
.offer-step {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.offer-step:last-of-type { border-bottom: 0; }
.offer-step .num {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--evergreen);
  color: var(--cream);
  font-weight: 700;
  font-size: .9rem;
  font-family: var(--font-display);
}
.offer-step strong { display: block; font-size: 1rem; }
.offer-step span { color: var(--ink-faint); font-size: .92rem; }
.offer-card .btn { margin-top: 18px; }

/* ---------- Photos / media ---------- */
.shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.hero-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  margin-bottom: 22px;
  aspect-ratio: 16 / 11;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo .tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(22, 32, 44, .72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
}
.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.media-split .frame { aspect-ratio: 4 / 3; }
.banner-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 7;
}
.banner-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Section scaffolding ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 56ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); margin: 0; }

.band-green {
  background: var(--evergreen);
  color: var(--cream);
}
.band-green h1, .band-green h2, .band-green h3 { color: #fff; }
.band-green .eyebrow { color: var(--gold); }
.band-green .section-head p { color: rgba(237, 242, 248, .85); }

.band-paper { background: var(--paper); border-block: 1px solid var(--line); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.step .step-no {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--clay);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
  opacity: .9;
}
.step h3 { font-size: 1.3rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* ---------- Feature list ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
}
.feature .ic {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(29, 95, 138, .12);
  color: var(--evergreen);
}
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .25em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-card {
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
}
.compare-card.us { background: var(--evergreen); color: var(--cream); border-color: transparent; }
.compare-card.us h3 { color: #fff; }
.compare-card.them { background: var(--paper); }
.compare-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-card li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 10px 0;
  border-top: 1px solid rgba(0,0,0,.07);
  font-size: 1rem;
}
.compare-card.us li { border-top-color: rgba(255,255,255,.14); }
.compare-card li:first-child { border-top: 0; }
.compare-card li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.us li svg { color: var(--gold); }
.them li svg { color: var(--ink-faint); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.quote blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.45;
  color: var(--ink);
}
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-2);
  color: var(--evergreen);
  font-weight: 700;
  font-family: var(--font-display);
}
.quote .who strong { display: block; font-size: .96rem; }
.quote .who span { color: var(--ink-faint); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  padding: 4px 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  width: 22px; height: 22px;
  transition: transform .2s ease;
  color: var(--clay);
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---------- Form ---------- */
.form-shell {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.form-aside {
  background: var(--evergreen);
  color: var(--cream);
  padding: 44px 38px;
}
.form-aside h2 { color: #fff; font-size: 1.9rem; }
.form-aside p { color: rgba(237, 242, 248, .85); }
.form-aside .assure { list-style: none; margin: 24px 0 0; padding: 0; }
.form-aside .assure li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .98rem;
}
.form-aside .assure li:first-child { border-top: 0; }
.form-aside .assure svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 2px; }
.form-aside .callout {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  font-size: .95rem;
}
.form-aside .callout strong { color: #fff; }

.form-main { padding: 44px 40px; }
.form-progress {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 6px;
}

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .96rem;
  margin-bottom: 7px;
  color: var(--ink);
}
.field .hint {
  display: block;
  font-weight: 500;
  font-size: .85rem;
  color: var(--ink-faint);
  margin-top: -2px;
  margin-bottom: 8px;
}
.field .req { color: var(--clay); }

.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--evergreen);
  box-shadow: 0 0 0 3px rgba(29, 95, 138, .14);
}
.textarea { resize: vertical; min-height: 96px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23244a40' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: .88rem;
}
.form-foot svg { width: 16px; height: 16px; flex: none; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { font-size: 1.15rem; max-width: 50ch; margin: 0 auto 1.8rem; color: rgba(237,242,248,.85); }

/* ---------- Prose (content pages) ---------- */
.prose { max-width: 70ch; }
.prose p { font-size: 1.1rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.1em; color: var(--ink-soft); font-size: 1.08rem; }
.prose li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(237, 242, 248, .72);
  padding: 56px 0 30px;
}
.footer a { color: rgba(237, 242, 248, .72); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand .mark { background: var(--evergreen); }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer .contact-line { display: flex; gap: 9px; align-items: center; margin-bottom: 9px; }
.footer .contact-line svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Reveal animation ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
  .reveal[data-d="1"] { animation-delay: .08s; }
  .reveal[data-d="2"] { animation-delay: .16s; }
  .reveal[data-d="3"] { animation-delay: .24s; }
  .reveal[data-d="4"] { animation-delay: .32s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-shell { grid-template-columns: 1fr; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .features, .compare, .footer-grid { grid-template-columns: 1fr; }
  .media-split { grid-template-columns: 1fr; gap: 28px; }
  .media-split .order-img { order: -1; }
  .banner-photo { aspect-ratio: 16 / 9; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
}
@media (max-width: 620px) {
  .nav-links { gap: 2px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .form-main, .form-aside { padding: 30px 24px; }
  .footer-bottom { flex-direction: column; }
}
