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

/* ─── Variables ──────────────────────────────── */
:root {
  --cream:      #F7F3EE;
  --cream-dark: #EDE6DC;
  --terra:      #B8623A;
  --terra-dark: #9A5030;
  --charcoal:   #2A2825;
  --mid:        #6B6560;
  --white:      #FFFFFF;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --transition: 200ms ease;
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── Focus states (accessibility) ──────────── */
:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { font-size: 1rem; color: var(--mid); line-height: 1.75; }
.lead { font-size: 1.15rem; color: var(--mid); max-width: 640px; line-height: 1.8; }

/* ─── Layout ─────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark p, .section--dark .lead { color: #C4BDB5; }
.section--cream { background: var(--cream-dark); }

/* ─── Grain texture overlay ───────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.04;
}

/* ─── Nav ────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0 32px;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(42,40,37,0.08); }
.nav__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo span { color: var(--terra); }
.nav__mark { width: 30px; height: 30px; flex-shrink: 0; color: var(--charcoal); }
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color var(--transition);
  white-space: nowrap;
  padding: 8px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav__links a:hover { color: var(--charcoal); }
.nav__cta {
  background: var(--terra) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  letter-spacing: 0.06em !important;
  transition: background var(--transition) !important;
  text-transform: uppercase !important;
  min-height: 44px !important;
}
.nav__cta:hover { background: var(--terra-dark) !important; }

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen mobile menu */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 68px 0 0;
  background: var(--cream);
  z-index: 190;
  flex-direction: column;
  padding: 48px 32px;
  gap: 0;
  overflow-y: auto;
}
.nav__overlay.open { display: flex; }
.nav__overlay a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--charcoal);
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
  transition: color var(--transition);
  display: block;
}
.nav__overlay a:hover { color: var(--terra); }
.nav__overlay .nav__overlay-cta {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--terra);
  color: var(--white) !important;
  padding: 16px 24px;
  margin-top: 32px;
  text-align: center;
  border-bottom: none;
}
.nav__overlay .nav__overlay-cta:hover { background: var(--terra-dark); }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 32px;
  height: 48px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn--primary { background: var(--terra); color: var(--white); }
.btn--primary:hover { background: var(--terra-dark); }
.btn--outline { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn--outline:hover { background: var(--charcoal); color: var(--cream); }
.btn--outline-light { background: transparent; color: var(--cream); border: 1px solid rgba(247,243,238,0.4); }
.btn--outline-light:hover { background: rgba(247,243,238,0.12); }

/* ─── Hero ───────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 800px);
  align-items: stretch;
}
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 0;
}
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
  display: block;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: 0.82rem; color: var(--mid); margin-top: 20px; }
.hero__image {
  background: linear-gradient(135deg, #D4C4B0 0%, #C2A882 40%, #B89070 100%);
  position: relative;
  overflow: hidden;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* Trust strip */
.trust-strip {
  background: var(--charcoal);
  color: var(--cream);
  padding: 20px 0;
}
.trust-strip__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C4BDB5;
}
.trust-item::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}

/* ─── Photo placeholder ──────────────────────── */
.photo {
  background: linear-gradient(135deg, #D4C4B0 0%, #C2A882 60%, #B89070 100%);
  width: 100%;
  position: relative;
  overflow: hidden;
}
.photo--tall { aspect-ratio: 3/4; }
.photo--wide { aspect-ratio: 16/9; }
.photo--square { aspect-ratio: 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── Section header ─────────────────────────── */
.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }
.section-header--center .lead { margin: 16px auto 0; }
.section-header .lead { margin-top: 16px; }
.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}

/* ─── Grids ──────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }

/* ─── Service card ───────────────────────────── */
.service-card {
  border-top: 1px solid var(--cream-dark);
  padding-top: 32px;
}
.section--dark .service-card { border-top-color: rgba(255,255,255,0.1); }
.service-card__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--terra);
  display: block;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 20px; }
.service-card__price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--charcoal);
  display: block;
  margin-bottom: 16px;
}
.section--dark .service-card__price { color: var(--cream); }
.service-card__link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  border-bottom: 1px solid var(--terra);
  padding-bottom: 2px;
  transition: opacity var(--transition);
  display: inline-block;
}
.service-card__link:hover { opacity: 0.7; }

/* ─── Pricing table ──────────────────────────── */
.pricing-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.pricing-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.95rem;
}
.pricing-table td:last-child { text-align: right; font-family: var(--serif); font-size: 1.05rem; }
.section--dark .pricing-table td { border-bottom-color: rgba(255,255,255,0.08); color: #C4BDB5; }
.section--dark .pricing-table td:last-child { color: var(--cream); }

/* ─── Steps ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step__num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--terra);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }

/* ─── Split layout ───────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse .split__image { order: -1; }

/* ─── Scope list ─────────────────────────────── */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.scope h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}
.scope ul li {
  font-size: 0.95rem;
  color: var(--mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.scope ul li::before { content: '—'; color: var(--terra); flex-shrink: 0; }

/* ─── FAQ accordion ──────────────────────────── */
.faq-item { border-top: 1px solid var(--cream-dark); }
.faq-item:last-child { border-bottom: 1px solid var(--cream-dark); }
.faq-item__q {
  font-family: var(--serif);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  color: var(--charcoal);
  transition: color var(--transition);
}
.faq-item__q:hover { color: var(--terra); }
.faq-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--terra);
  font-family: var(--sans);
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); }
.faq-item__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-item__body p {
  padding-bottom: 28px;
  max-width: 680px;
}
.faq-item.open .faq-item__body { max-height: 400px; }

/* FAQ section labels */
.faq-category {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0;
  padding-top: 56px;
  display: block;
}
.faq-category:first-child { padding-top: 0; }

/* ─── Contact form ───────────────────────────── */
.contact-form { max-width: 600px; }
.form__group { margin-bottom: 24px; }
.form__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-dark);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  height: 44px;
}
.form__textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
  padding: 10px 0;
}
.form__input:focus, .form__textarea:focus, .form__select:focus { border-bottom-color: var(--terra); }
.form__input::placeholder, .form__textarea::placeholder { color: #BDB5AA; }
.form__select { cursor: pointer; }
.form__select option { color: var(--charcoal); }

/* CF7 override */
.wpcf7-form .form__group .wpcf7-form-control { display: block; width: 100%; }
.wpcf7-not-valid-tip { font-size: 0.78rem; color: #B91C1C; margin-top: 4px; display: block; }
.wpcf7-response-output { font-size: 0.88rem; margin-top: 16px; padding: 12px 16px; border-radius: 2px; }

/* ─── Contact info sidebar ───────────────────── */
.contact-info { padding-top: 80px; }
.contact-info__item { margin-bottom: 48px; }
.contact-info__item .eyebrow { margin-bottom: 8px; }
.contact-info__item p, .contact-info__item a {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.5;
}

/* ─── CTA banner ─────────────────────────────── */
.cta-banner {
  background: var(--charcoal);
  color: var(--cream);
  padding: 96px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--cream); margin-bottom: 16px; }
.cta-banner p { color: #C4BDB5; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ─── Realtor callout ────────────────────────── */
.realtor-callout {
  background: var(--cream-dark);
  border-left: 3px solid var(--terra);
  padding: 48px 56px;
}
.realtor-callout .eyebrow { margin-bottom: 12px; }
.realtor-callout h3 { margin-bottom: 16px; }
.realtor-callout p { margin-bottom: 28px; }

/* ─── Add-on box ─────────────────────────────── */
.addon-box {
  background: var(--cream-dark);
  padding: 32px 40px;
  margin-top: 40px;
  border-left: 3px solid var(--terra);
}
.addon-box h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
}
.addon-box p { font-size: 0.95rem; }

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 64px 0 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer__logo .nav__mark { color: var(--cream); }
.footer__logo span { color: var(--terra); }
.footer__brand p { font-size: 0.9rem; color: #9A9188; max-width: 260px; }
.footer__col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9A9188;
  margin-bottom: 20px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  font-size: 0.9rem;
  color: #C4BDB5;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: var(--cream); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p { font-size: 0.82rem; color: #6B6560; }

/* ─── Page hero (inner pages) ────────────────── */
.page-hero { padding: 80px 0 64px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { max-width: 760px; }
.page-hero .lead { margin-top: 20px; max-width: 640px; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero__content { padding: 64px 48px 64px 0; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__content { padding: 64px 0 48px; }
  .hero__image { min-height: 400px; order: -1; }
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__image { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .scope-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .trust-strip__inner { gap: 24px; }
  .realtor-callout { padding: 40px 32px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav { padding: 0 20px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contact-info { padding-top: 48px; }
  .trust-strip__inner { flex-direction: column; gap: 16px; align-items: flex-start; padding: 0 20px; }
  .split { gap: 32px; }
  .realtor-callout { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── Animation initial states — Motion overrides these ──────── */
.hero__eyebrow,
.hero h1,
.hero .lead,
.hero__actions,
.hero__note { opacity: 0; }

[data-reveal] { opacity: 0; }
[data-stagger] > * { opacity: 0; }
[data-reveal-img] { opacity: 0; }
.faq-item { opacity: 0; }

/* ─── No-JS fallback — show everything if JS doesn't load ────── */
.no-js [data-reveal],
.no-js [data-stagger] > *,
.no-js [data-reveal-img],
.no-js .faq-item,
.no-js .hero__eyebrow,
.no-js .hero h1,
.no-js .hero .lead,
.no-js .hero__actions,
.no-js .hero__note { opacity: 1 !important; }

/* ─── Smooth card and button hover ───────────────────────────── */
.service-card { will-change: transform; }
.btn { will-change: transform; }

/* ─── Service card CTA note ──────────────────────────────────── */
.service-card__cta-note {
  font-size: 0.82rem;
  color: var(--terra);
  margin-bottom: 20px;
  font-style: italic;
}
