/* ============================================
   Estate Attorney Partnerships
   Stewart Team Real Estate Partners
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f4f8;
  --bg-dark: #4f3b56;
  --text: #1a1a1a;
  --text-soft: #4a4a4a;
  --text-light: #ffffff;
  --accent: #a77bb6;
  --accent-dark: #4f3b56;
  --border: #e8e2ec;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================
   Header
   ============================================ */

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  background: var(--bg);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.header-contact {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.header-contact a {
  color: var(--text);
  margin-left: 24px;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  background: var(--bg-alt);
  padding: 100px 40px 90px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  max-width: 850px;
  margin: 0 auto 24px;
  color: var(--text);
}

.hero-sub {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--text-light);
  transition: all 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--text);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--text-light);
}

.team-lead-btn {
  margin-top: 8px;
}

/* ============================================
   Section Defaults
   ============================================ */

section {
  padding: 90px 40px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
}

/* ============================================
   Stats
   ============================================ */

.stats {
  background: var(--bg-dark);
  color: var(--text-light);
}

.stats .section-head h2 {
  color: var(--text-light);
}

.stats .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: Georgia, serif;
  font-size: 56px;
  color: #d4b8e2;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Why Partner With Us
   ============================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.2s ease;
}

.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.why-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.why-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--accent);
}

.why-card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* ============================================
   Process
   ============================================ */

.process {
  background: var(--bg-alt);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.step {
  padding: 32px 24px;
  background: var(--bg);
  border-top: 3px solid var(--accent);
  position: relative;
}

.step-num {
  font-family: Georgia, serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ============================================
   Testimonials
   ============================================ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial {
  padding: 40px 36px;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
}

.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

/* ============================================
   Team Snapshot
   ============================================ */

.team-snapshot {
  background: var(--bg-alt);
  text-align: center;
}

.team-snapshot p {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--text-soft);
  font-size: 17px;
}

.team-lead {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}

.team-lead-name {
  font-family: Georgia, serif;
  font-size: 22px;
  margin-bottom: 4px;
}

.team-lead-title {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
  padding: 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 4px;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  background: var(--bg-dark);
  color: var(--text-light);
  text-align: center;
}

.cta-section h2 {
  color: var(--text-light);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.cta-contact {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.cta-contact a {
  color: var(--text-light);
  font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}

.cta-contact a:hover {
  border-color: var(--text-light);
  text-decoration: none;
}

.cta-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 8px;
}

/* ============================================
   Footer
   ============================================ */

footer {
  padding: 40px;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
  margin-top: 8px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .stats-grid,
  .why-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 70px 24px;
  }
  .hero {
    padding: 70px 24px;
  }
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
  .header-contact a {
    margin: 0 8px;
  }
}

@media (max-width: 540px) {
  .stats-grid,
  .why-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 44px;
  }
}
