/* Elm City Home Buyers theme */
:root {
  --bg-main: #f7f9f8;
  --bg-white: #ffffff;
  --bg-soft: #eef3f0;
  --navy: #16324f;
  --navy-dark: #10263b;
  --green: #3f7d5a;
  --green-dark: #2f6547;
  --green-soft: #e7f0ea;
  --text-main: #1f2933;
  --text-muted: #667085;
  --border: #dfe5e1;
  --shadow: 0 14px 38px rgba(16, 38, 59, 0.1);
  --shadow-small: 0 6px 20px rgba(16, 38, 59, 0.07);
  --radius: 14px;
  --radius-small: 9px;
  --max-width: 1180px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(22, 50, 79, 0.08);
  box-shadow: 0 5px 18px rgba(16, 38, 59, 0.05);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #ffffff;
  border-radius: 13px;
  font-size: 1.5rem;
  box-shadow: 0 7px 16px rgba(63, 125, 90, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-text span {
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  position: relative;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.nav-cta {
  background: var(--green);
  color: #ffffff !important;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(63, 125, 90, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 1.7rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: var(--radius-small);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--bg-soft);
}

.text-link {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero */
/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(247, 249, 248, 0.78) 0%,
      rgba(247, 249, 248, 0.64) 30%,
      rgba(247, 249, 248, 0.28) 55%,
      rgba(247, 249, 248, 0.06) 78%,
      rgba(247, 249, 248, 0.02) 100%
    ),
    url("images/Hero01.webp") center center / cover no-repeat;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 0.75fr;
  gap: 4.5rem;
  align-items: center;
}

/* Hero copy */
.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.hero-copy h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 1.35rem;
}

.hero-lead {
  max-width: 590px;
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-benefits span {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.98rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Hero note */
.hero-note {
  display: inline-block;
  max-width: 560px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 0.25rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
}

/* Offer card */
.offer-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  padding: 1.55rem;
  box-shadow: 0 14px 35px rgba(16, 38, 59, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.offer-label {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

/* Form fields */
.offer-form input,
.offer-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 50, 79, 0.12);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.94rem;
}

.offer-card h2 {
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.offer-card > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.15rem;
}

.offer-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offer-form label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.offer-form input,
.offer-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.94rem;
}

.offer-form input:focus,
.offer-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 125, 90, 0.12);
}

.offer-form textarea {
  min-height: 80px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.78rem 1rem;
}

/* Form privacy note */
.form-privacy {
  display: block;
  width: fit-content;
  margin: 0.4rem auto 0;
  padding: 0.35rem 0.6rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Trust strip */
.trust-strip {
  background: var(--navy);
  color: #ffffff;
}

.trust-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-container div {
  text-align: center;
}

.trust-container strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.trust-container span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-soft);
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-heading p:last-child {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-small);
}

.step-number {
  display: inline-block;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.step-card p {
  color: var(--text-muted);
}

/* Split layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-copy h2,
.local-section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.split-copy > p:not(.eyebrow),
.local-section p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Check list */
.check-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.85rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* Highlight card */
.highlight-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.highlight-icon {
  display: inline-block;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.highlight-card strong {
  color: var(--green-dark);
}

/* Situations */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.situation-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-small);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.situation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.situation-card span {
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.situation-card h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.situation-card p {
  color: var(--text-muted);
}

/* Local section */
.local-section {
  background: #ffffff;
}

.area-card {
  background: var(--navy);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.area-card h3 {
  margin-bottom: 1.2rem;
  font-size: 1.35rem;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.area-list span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-small);
  padding: 0.8rem;
  text-align: center;
}

/* FAQ preview */
.faq-preview {
  max-width: 850px;
  margin: 0 auto;
}

.faq-preview details {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.85rem;
}

.faq-preview summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 700;
}

.faq-preview details p {
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.center-link {
  text-align: center;
  margin-top: 1.6rem;
}

/* Final CTA */
.final-cta {
  background: var(--green);
  color: #ffffff;
  padding: 4rem 1.5rem;
}

.final-cta-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}

.final-cta p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
}

/* Tablet */
@media (max-width: 1000px) {
  .nav-links {
    gap: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-copy {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-lead,
  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-benefits,
  .hero-buttons {
    justify-content: center;
  }

  .offer-card {
    justify-self: center;
    max-width: 560px;
  }

  .steps-grid,
  .situations-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-container {
    padding: 0.8rem 1rem;
  }

  .brand-icon {
    width: 46px;
    height: 46px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 1rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-small);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem;
    text-align: center;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.3rem;
  }

  .hero {
    background:
      linear-gradient(
        rgba(247, 249, 248, 0.88),
        rgba(247, 249, 248, 0.91)
      ),
      url("Hero01.png") center center / cover no-repeat;
    padding: 3.5rem 1rem;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .offer-card {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.91);
    padding: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .steps-grid,
  .situations-grid,
  .trust-container {
    grid-template-columns: 1fr;
  }

  .trust-container {
    gap: 1.4rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .final-cta-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text span {
    font-size: 0.8rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-benefits {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .offer-card h2 {
    font-size: 1.4rem;
  }

  .section-heading h2,
  .split-copy h2,
  .local-section h2,
  .final-cta h2 {
    font-size: 1.9rem;
  }
}

