/* Dumb House Rescue - main stylesheet */

:root {
  --cream: #fbf3e8;
  --cream-dark: #f3e6d2;
  --white: #ffffff;
  --orange: #e07a4f;
  --orange-dark: #c8622f;
  --green: #4c7c59;
  --green-dark: #3a6046;
  --text: #33291f;
  --text-soft: #6b5d4f;
  --border: #e8dcc8;
  --shadow: 0 10px 30px rgba(51, 41, 31, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Nunito", sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

img {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(224, 122, 79, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.brand-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-dark);
  border-bottom-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 460px;
}

.hero-art {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
}

.eyebrow {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--text);
}

.hero h1 span {
  color: var(--orange-dark);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-cities {
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-cities strong {
  color: var(--text);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head .eyebrow {
  background: var(--orange);
}

.section-head p {
  color: var(--text-soft);
}

/* Cards / grid */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--orange-dark);
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  color: var(--text-soft);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* Process steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  position: relative;
  padding: 30px 20px 20px;
  background: var(--cream-dark);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h4 {
  font-size: 1rem;
  margin-top: 6px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin-bottom: 0;
}

/* City chips */
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.city-chip {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  color: var(--green-dark);
}

/* CTA banner */
.cta-banner {
  background: var(--green);
  color: var(--white);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  margin: 0 auto;
}

.cta-banner h2 {
  color: var(--white);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
  margin: 0 auto 24px;
}

.cta-banner .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  box-shadow: none;
}

.cta-banner .btn-primary:hover {
  background: var(--cream);
}

/* Page header (interior pages) */
.page-header {
  padding: 56px 0 40px;
  text-align: center;
}

.page-header .eyebrow {
  background: var(--green);
}

.page-header p {
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 auto;
}

/* About page */
.about-photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange) 0%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

.two-col {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.two-col > * {
  flex: 1 1 400px;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.value-list .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Contact page */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.field-row {
  display: flex;
  gap: 16px;
}

.field-row .field {
  flex: 1;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.contact-info-card {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-card h3 {
  margin-top: 0;
}

.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange-dark);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile nav */
@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}
