:root {
  --forest: #0e3a32;
  --deep-green: #005a4e;
  --mint: #9fc8bd;
  --soft-mint: #d0e2da;
  --gold: #b88128;
  --pale-gold: #dbcfa7;
  --cream: #ece9d3;
  --bronze: #b8a171;
  --charcoal: #2e2e2e;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(14, 58, 50, .18);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top left, rgba(159, 200, 189, .30), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.top-strip {
  background: var(--forest);
  color: var(--pale-gold);
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-header {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 161, 113, .35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5%;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo-lockup img {
  width: min(360px, 62vw);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  background: var(--forest);
  color: var(--white);
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 24px;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 48px;
  align-items: center;
  padding: 76px 5%;
  background:
    linear-gradient(135deg, rgba(14, 58, 50, .98), rgba(0, 90, 78, .88)),
    var(--forest);
  color: var(--white);
  overflow: hidden;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  margin: 0 0 12px;
}

.hero .eyebrow,
.contact-section .eyebrow,
.mortgage-section .eyebrow {
  color: var(--pale-gold);
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: -0.05em;
}

h2 {
  color: var(--forest);
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: -0.04em;
}

h3 {
  color: var(--forest);
  font-size: 26px;
}

.hero-text {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 720px;
  color: rgba(255, 255, 255, .90);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  border: 2px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(184, 129, 40, .26);
}

.btn-light {
  background: var(--white);
  color: var(--forest);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .80);
  color: var(--white);
}

.btn-large {
  font-size: 18px;
  padding: 17px 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.trust-row a {
  color: var(--pale-gold);
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.photo-frame {
  border: 8px solid rgba(219, 207, 167, .55);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transform: rotate(1deg);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-card {
  position: absolute;
  left: -34px;
  bottom: -34px;
  background: rgba(14, 58, 50, .94);
  color: var(--white);
  border: 1px solid rgba(219, 207, 167, .45);
  border-radius: 22px;
  padding: 20px;
  width: 245px;
  box-shadow: var(--shadow);
}

.hero-card img {
  max-width: 135px;
  display: block;
  margin-bottom: 12px;
}

.hero-card p {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.hero-card span {
  color: var(--pale-gold);
  font-size: 14px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1180px, 90%);
  margin: -42px auto 38px;
  position: relative;
  z-index: 5;
}

.quick-actions a {
  background: var(--white);
  border: 1px solid rgba(184, 161, 113, .36);
  border-radius: 22px;
  padding: 24px;
  color: var(--charcoal);
  text-decoration: none;
  box-shadow: 0 14px 42px rgba(14, 58, 50, .10);
}

.quick-actions strong {
  color: var(--forest);
  display: block;
  font-size: 22px;
  margin-bottom: 5px;
}

.quick-actions span {
  color: #606060;
}

.section {
  width: min(1180px, 90%);
  margin: 32px auto;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(184, 161, 113, .32);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 16px 46px rgba(14, 58, 50, .07);
}

.centered {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p,
.section-copy p {
  font-size: 18px;
}

.ai-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  border: 3px solid var(--gold);
  background:
    linear-gradient(135deg, rgba(208, 226, 218, .72), rgba(255,255,255,.94));
}

.ai-panel {
  background: var(--forest);
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
}

.ai-panel h3 {
  color: var(--pale-gold);
}

.ai-panel li {
  margin-bottom: 10px;
}

.note {
  color: var(--pale-gold);
  font-weight: 800;
}

.widget-card {
  background: var(--white);
  border: 1px solid rgba(184, 161, 113, .32);
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
}

.split-section,
.mortgage-section,
.about-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.mortgage-section {
  background:
    linear-gradient(135deg, rgba(14, 58, 50, .96), rgba(0, 90, 78, .88));
  color: var(--white);
}

.mortgage-section h2,
.contact-section h2 {
  color: var(--white);
}

.review-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.review-links a {
  background: var(--soft-mint);
  color: var(--forest);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  text-decoration: none;
}

.about-section {
  grid-template-columns: 360px 1fr;
}

.about-photo {
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--pale-gold);
}

.about-photo img {
  width: 100%;
  display: block;
}

.contact-section {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(184, 129, 40, .28), transparent 32rem),
    var(--forest);
  color: var(--white);
}

.contact-section > img {
  width: min(220px, 65vw);
  margin-bottom: 22px;
}

.centered-row {
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
}

.social-links a {
  color: var(--pale-gold);
  font-weight: 900;
}

.footer {
  width: min(1180px, 90%);
  margin: 0 auto;
  padding: 38px 0 54px;
  color: #5d5d5d;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding-top: 12px;
  }

  body.menu-open .main-nav {
    display: grid;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-card {
    position: static;
    margin-top: 16px;
    width: auto;
  }

  .quick-actions,
  .ai-feature,
  .split-section,
  .mortgage-section,
  .about-section {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    margin-top: 22px;
  }

  .about-photo {
    max-width: 360px;
  }

  .top-strip {
    display: none;
  }
}

@media (max-width: 620px) {
  .section,
  .quick-actions {
    width: 94%;
  }

  .logo-lockup img {
    width: 260px;
  }

  h1 {
    font-size: 42px;
  }

  .widget-card {
    padding: 12px;
  }
}
