/* ─────────────────────────────────────────────
   RYAN BENROTH HOMES — Main Stylesheet
   Palette: Warm white · Slate blue · Tan/sand
   Feel: Personal, calm, professional, trusted
───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --white:    #faf9f7;
  --off:      #f3f0eb;
  --sand:     #e8e0d4;
  --tan:      #c4aa88;
  --tan-dark: #a08660;
  --slate:    #3d5a73;
  --slate-dk: #2b3f52;
  --ink:      #1e1e1e;
  --mid:      #5a5550;
  --light:    #9a9490;
  --rule:     #ddd8cf;
  --radius:   6px;
  --max:      1100px;
  --transition: 0.22s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width:100%; display:block; }
a   { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--mid); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 600; }

/* ── LAYOUT ──────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-lg { padding: 110px 0; }

/* ── NAV ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo span { color: var(--slate); }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover { color: var(--ink); background: var(--off); }
.nav-links a.active { color: var(--slate); }

.nav-cta {
  background: var(--slate);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover { background: var(--slate-dk) !important; color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--slate);
  color: #fff;
}
.btn-primary:hover { background: var(--slate-dk); color: #fff; }

.btn-outline {
  border: 1.5px solid var(--slate);
  color: var(--slate);
  background: transparent;
}
.btn-outline:hover { background: var(--slate); color: #fff; }

.btn-tan {
  background: var(--tan);
  color: #fff;
}
.btn-tan:hover { background: var(--tan-dark); color: #fff; }

.btn-ghost {
  color: var(--slate);
  font-weight: 500;
  padding: 13px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost::after { content: '→'; transition: transform var(--transition); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: var(--off);
  padding: 72px 0 0;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: end;
}

.hero-content { padding-bottom: 72px; }

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan-dark);
  display: block;
  margin-bottom: 20px;
}

.hero-content h1 { margin-bottom: 20px; }

.hero-content p {
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-num {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--slate);
  line-height: 1;
}

.trust-label {
  font-size: 12px;
  color: var(--light);
  letter-spacing: 0.04em;
}

.hero-photo-wrap {
  position: relative;
  align-self: end;
}

.hero-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
}

.hero-photo-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 220px;
}

.hero-photo-badge strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 3px;
}

.hero-photo-badge span {
  font-size: 12px;
  color: var(--light);
}

/* ── INTRO STRIP ────────────────────────────── */
.intro-strip {
  background: var(--slate);
  padding: 20px 0;
}

.intro-strip p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  text-align: center;
  margin: 0;
}

.intro-strip strong { color: #fff; }

/* ── CARDS ───────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}

.card h4 { margin-bottom: 8px; }
.card p  { font-size: 14px; margin-bottom: 16px; }

.card-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}

.card-link::after { content: '→'; }
.card-link:hover  { gap: 8px; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
}

.stars {
  color: var(--tan);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial blockquote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial cite {
  font-size: 13px;
  color: var(--light);
  font-style: normal;
}

/* ── PROCESS STEPS ───────────────────────────── */
.steps { counter-reset: step; }

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.step-num {
  counter-increment: step;
  content: counter(step);
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--off);
  border: 2px solid var(--tan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate);
}

.step-num::before { content: counter(step); }

.step-content h4 { margin-bottom: 5px; }
.step-content p  { font-size: 14.5px; margin: 0; }

/* ── CTA BAND ─────────────────────────────────── */
.cta-band {
  background: var(--slate);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 32px; }

.cta-band .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── SECTION HEADER ─────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header .eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-dark);
  display: block;
  margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 540px; }

/* ── ARTICLE ─────────────────────────────────── */
.article-wrap { max-width: 740px; }

.article-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan-dark);
  display: block;
  margin-bottom: 12px;
}

.article-deck {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  border-left: 3px solid var(--tan);
  padding-left: 18px;
  font-style: italic;
  margin-bottom: 24px;
}

.article-byline {
  font-size: 13px;
  color: var(--light);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 36px;
}

.article-body h2 { margin: 40px 0 14px; }
.article-body h3 { margin: 32px 0 12px; }
.article-body p  { font-size: 15.5px; }

.article-callout {
  background: var(--off);
  border-left: 4px solid var(--slate);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}

.article-callout p {
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}

.article-cta {
  background: var(--off);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--slate);
  padding: 28px 32px;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-top: 40px;
}

.article-cta h3 { margin-bottom: 10px; }
.article-cta p  { font-size: 14.5px; margin-bottom: 20px; }

/* ── SPLIT LAYOUT ───────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split.reverse { }
.split img {
  border-radius: var(--radius);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* ── CITY PAGE HERO ─────────────────────────── */
.page-hero {
  background: var(--off);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--rule);
}

.page-hero .eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-dark);
  display: block;
  margin-bottom: 14px;
}

.page-hero h1 { margin-bottom: 16px; max-width: 680px; }
.page-hero p  { font-size: 1.05rem; max-width: 560px; margin-bottom: 32px; }

/* ── COMPARISON TABLE ───────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
}

.compare-table th {
  background: var(--slate-dk);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  background: #fff;
  color: var(--mid);
}

.compare-table tr:nth-child(even) td { background: var(--off); }
.compare-table .highlight td { font-weight: 600; color: var(--slate); }

/* ── CALLOUT BOX ────────────────────────────── */
.callout {
  background: var(--off);
  border-left: 4px solid var(--tan);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}
.callout p { color: var(--ink); margin: 0; }

/* ── SELLER RESOURCES ───────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

/* ── TIMELINE ───────────────────────────────── */
.timeline { counter-reset: step; }
.timeline-step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

/* ── CONTACT FORM ───────────────────────────── */
.form-wrap {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--slate);
}

.form-group textarea { resize: vertical; min-height: 110px; }

/* ── GUIDES INDEX ───────────────────────────── */
.guide-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 16px;
}

.guide-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-1px);
}

.guide-card-meta .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan-dark);
  display: block;
  margin-bottom: 6px;
}

.guide-card-meta h3 { font-size: 1.1rem; margin-bottom: 6px; }
.guide-card-meta p  { font-size: 14px; margin: 0; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  background: var(--slate-dk);
  color: rgba(255,255,255,0.55);
  padding: 52px 0 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-brand .nav-logo { color: #fff; font-size: 1.1rem; display: block; margin-bottom: 10px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.45); margin: 0; }

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ── DIVIDER ─────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--rule); margin: 0; }

/* ── PROSE ───────────────────────────────────── */
.prose p { margin-bottom: 1.1rem; font-size: 15.5px; }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose strong { color: var(--ink); }

/* ── ABOUT ───────────────────────────────────── */
.about-photo {
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
}

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; }
  .hero-photo   { height: 420px; border-radius: var(--radius); }
  .hero-photo-badge { display: none; }
  .split        { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section    { padding: 52px 0; }
  .section-lg { padding: 64px 0; }
  .nav-links  { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 12px 24px 20px;
    gap: 4px;
    z-index: 99;
  }
  .nav-cta    { display: none; }
  .nav-toggle { display: flex; }
  .hero-content p { font-size: 1rem; }
  .hero-trust { gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-wrap  { padding: 24px 20px; }
  .guide-card { flex-direction: column; align-items: flex-start; }
}
