/* ==========================================
   Turn Ready Property Services Design System
   home.css
========================================== */

/* Keyframe Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  min-height: 540px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 50%, #ffffff 100%);
  padding: 44px 0;
}

.hero .hero-grid {
  width: min(1380px, calc(100% - 56px));
  margin: 0 auto;
}

.hero-copy,
.hero-content {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeUp 0.6s ease forwards;
  max-width: 100%;
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 16px 0;
  font-size: clamp(36px, 4.2vw, 54px);
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero h1 em {
  font-weight: 800;
  font-style: normal;
  color: var(--green);
}

.hero-text,
.hero-content p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 24px 0;
  color: var(--slate-body);
}

.hero-actions,
.hero-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 0;
}

.hero-image {
  background: var(--light-gray);
  min-height: 380px;
  max-height: 440px;
  height: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s ease forwards;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-placeholder-box {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #0B3D91 0%, #1E6EDB 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
}

.hero-placeholder-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-placeholder-box p {
  color: #E5EAF0;
  font-size: 14px;
  max-width: 380px;
}

/* Trust Row Section */
.trust-row {
  min-height: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0 8vw;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.trust-row span {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  border-right: 1px solid var(--border-color);
}

.trust-row span:last-child {
  border: 0;
}

.trust-row b {
  color: var(--green);
  font-size: 20px;
  margin-right: 10px;
}

/* Services Section */
#services {
  background: #ffffff;
  padding: 3.2rem 0 3rem;
}

#services .container {
  max-width: 1240px;
  text-align: center;
}

#services h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
}

.section-heading {
  display: block;
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
}

.section-intro {
  line-height: 1.65;
  color: var(--slate-body);
  margin: 0 auto 2.5rem;
  max-width: 680px;
  font-size: 1.1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.services-cta-row {
  margin-top: 3rem;
  text-align: center;
}

/* Why Us Section */
#why-us {
  background: var(--slate-bg);
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

#why-us .container {
  text-align: center;
}

#why-us h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
}

/* Reviews Section */
#reviews {
  background: #ffffff;
  padding: 5rem 0;
}

#reviews .container {
  text-align: center;
}

#reviews h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(28px, 3.5vw, 44px);
}

#reviews .service-card {
  text-align: center;
}

#reviews strong {
  display: block;
  margin-top: 1.2rem;
  font-size: 1.3rem;
  color: var(--green);
}

/* FAQ Section */
#faq {
  background: var(--slate-bg);
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

#faq .container {
  max-width: 900px;
}

#faq h2 {
  text-align: center;
  margin: 0.5rem 0 2.5rem;
  font-size: clamp(28px, 3.5vw, 44px);
}

#faq .eyebrow {
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.faq-item h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
}

.faq-item p {
  margin: 0;
  line-height: 1.65;
  color: var(--slate-body);
}

/* Estimate Section Layout */
#estimate {
  padding: 4rem 0 1rem 0;
  background: #ffffff;
  text-align: center;
}

#estimate .container {
  max-width: 800px;
}

#estimate h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px 0;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--charcoal);
}

#estimate .section-intro {
  max-width: 640px;
  line-height: 1.65;
  color: var(--slate-body);
  margin: 0 auto 1.5rem;
}

.estimate-cta {
  display: none; /* Hide duplicate button right before form */
}

#estimate-form {
  padding: 0 0 5rem 0;
  background: #ffffff;
}

#estimate-form .container {
  max-width: 920px;
  margin: 0 auto;
}