/* ============================================
   Sweet Home Residential — Homepage Styles
   ============================================ */

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(155,58,58,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.hero__content { color: var(--white); }
.hero__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.hero__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}
.hero__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: var(--cta);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

/* Hero Form */
.hero__form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hero__form { padding: 28px 24px; }
.hero__form-header {
  text-align: center;
  margin-bottom: 24px;
}
.hero__form-header h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.hero__form-step {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.hero__form-progress {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}
.hero__form-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.form-step { display: none; }
.form-step.active { display: block; }
.hero__form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 16px;
}
.hero__form label:first-child { margin-top: 0; }
.hero__form input[type="text"],
.hero__form input[type="email"],
.hero__form input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.hero__form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155,58,58,0.2);
}
.hero__form .btn { margin-top: 20px; font-size: 1.05rem; padding: 16px; }
.form-back {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 0.9rem;
  cursor: pointer;
}
.form-back:hover { color: var(--gold); }
.hero__form-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 16px;
}
.form-success {
  text-align: center;
  padding: 20px 0;
}
.form-success h3 {
  font-size: 1.3rem;
  margin: 16px 0 8px;
  color: var(--navy);
}
.form-success p { color: var(--gray-500); }

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.step {
  text-align: center;
  max-width: 340px;
  position: relative;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step__icon {
  margin-bottom: 12px;
  color: var(--navy);
}
.step__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.step__text {
  color: var(--gray-500);
  font-size: 0.95rem;
}
.step__text a { color: var(--gold); font-weight: 600; }
.step__arrow { display: none; }

/* ========== WHAT WE DO ========== */
.what-we-do {
  padding: 80px 0;
  background: var(--off-white);
}
.what-we-do__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.wwd-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  text-align: center;
}
.wwd-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.wwd-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(155,58,58,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
}
.wwd-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.wwd-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.wwd-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s;
}
.wwd-card__link:hover { gap: 10px; }

/* ========== ABOUT ========== */
.about {
  padding: 80px 0;
  background: var(--white);
}
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.about__image { flex-shrink: 0; }
.about__photo-placeholder {
  width: 240px;
  height: 280px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  font-size: 0.85rem;
  border: 2px dashed var(--gray-300);
}
.about__content p {
  color: var(--gray-700);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
.about__stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}
.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}
.about__stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}

/* ========== FINAL CTA ========== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}
.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.final-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.final-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

/* ========== RESPONSIVE — TABLET (768px+) ========== */
@media (min-width: 768px) {
  .hero__inner { flex-direction: row; align-items: center; }
  .hero__content { flex: 1; }
  .hero__form-wrapper { flex: 0 0 420px; }
  .hero { padding: 60px 0 68px; }

  .what-we-do__grid { grid-template-columns: repeat(2, 1fr); }

  .about__inner { flex-direction: row; text-align: left; }
  .about__stats { justify-content: flex-start; }

  .final-cta__buttons { flex-direction: row; justify-content: center; }
}

/* ========== RESPONSIVE — DESKTOP (1024px+) ========== */
@media (min-width: 1024px) {
  .hero { padding: 80px 0 88px; }
  .hero__form-wrapper { flex: 0 0 450px; }
  .hero__form { padding: 32px; }

  .steps { flex-direction: row; gap: 0; }
  .step { flex: 1; }
  .step__arrow {
    display: flex;
    align-items: center;
    padding: 0 8px;
    margin-top: -40px;
  }

  .what-we-do__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========== RESPONSIVE — LARGE DESKTOP (1280px+) ========== */
@media (min-width: 1280px) {
  .hero__title { font-size: 3.2rem; }
}
