/* ============================================================
   HOME.CSS — Results Real Estate Inc.
   Homepage only — loaded via page-home.php
   ============================================================ */

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--off-white);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  filter: brightness(0.22) saturate(0.55);
  transition: transform 10s ease;
}
.home-hero:hover .hero-bg img { transform: scale(1.03); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    rgba(245,248,251,0.97) 0%,
    rgba(238,243,248,0.94) 50%,
    rgba(12,51,72,0.5) 100%
  );
  z-index: 1;
}
/* Floating shapes */
.hero-shape {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 1;
}
.hero-shape--1 { width: 520px; height: 520px; background: rgba(0,212,255,0.06); top:-100px; right:-80px; animation: floatY 9s ease-in-out infinite; }
.hero-shape--2 { width: 260px; height: 260px; background: rgba(12,51,72,0.05); bottom: 80px; left: 40px; animation: floatY 11s ease-in-out infinite reverse; }

.hero-inner {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 40px 40px;
  max-width: 1180px; margin: 0 auto; width: 100%;
}
.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700;
  color: var(--primary);
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.28);
  padding: 7px 16px; border-radius: var(--r-pill);
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease 0.8s both;
}

.hero-h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.08; margin-bottom: 22px;
  animation: fadeInUp 0.7s ease 0.95s both;
}
.hero-h1 em { color: var(--accent-dark); font-style: italic; }

.hero-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.78; margin-bottom: 36px; max-width: 540px;
  animation: fadeInUp 0.7s ease 1.1s both;
}
.hero-sub strong { color: var(--primary); font-weight: 700; }

.hero-actions {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 36px;
  animation: fadeInUp 0.7s ease 1.25s both;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 18px;
  animation: fadeInUp 0.7s ease 1.4s both;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--primary);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* Hero stats bar */
.hero-stats {
  background: var(--primary);
  position: relative; z-index: 2;
  display: flex; align-items: center; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease 1.55s both;
}
.hstat {
  flex: 1; min-width: 130px;
  text-align: center; padding: 26px 16px;
}
.hstat-n {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900; color: var(--white); line-height: 1;
}
.hstat-n sup { font-size: 55%; vertical-align: super; }
.hstat-l { display: block; font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.09em; margin-top: 6px; font-weight: 600; }
.hstat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 88px; right: 52px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeIn 1s ease 1.8s both;
}
.scroll-hint span { font-size: 9.5px; color: var(--primary); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; writing-mode: vertical-rl; }
.scroll-hint-line { width: 1px; height: 52px; background: linear-gradient(to bottom, var(--accent), transparent); animation: pulse 2s ease-in-out infinite; }

/* ══════════════════════════════════════════
   PROBLEM SECTION
══════════════════════════════════════════ */
.problem-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.problem-img {
  position: relative; overflow: hidden;
}
.problem-img img { width: 100%; height: 100%; object-fit: cover; }
.problem-img-float {
  position: absolute; bottom: 28px; right: -18px;
  background: var(--primary); color: var(--white);
  padding: 18px 22px; border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); text-align: center; z-index: 2;
  max-width: 210px;
}
.problem-img-float strong { font-family: var(--font-heading); font-size: 32px; color: var(--accent); display: block; }
.problem-img-float span   { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.4; display: block; margin-top: 3px; }

.problem-content { background: var(--off-white); padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.problem-content .section-h2 { margin-bottom: 20px; }
.problem-body { margin-bottom: 24px; }
.problem-body p { font-size: 15px; line-height: 1.8; margin-bottom: 12px; }

.problem-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.pill-danger { font-size: 12.5px; font-weight: 600; color: #c0392b; background: #fef0f0; border: 1px solid rgba(192,57,43,0.2); padding: 6px 16px; border-radius: var(--r-pill); }

/* ══════════════════════════════════════════
   ABOUT SNAPSHOT
══════════════════════════════════════════ */
.home-about { padding: 96px 0; background: var(--white); position: relative; overflow: hidden; }
.home-about-bg-shape {
  position: absolute; top: -200px; right: -200px;
  width: 650px; height: 650px; border-radius: 50%;
  background: rgba(0,212,255,0.04); pointer-events: none;
}
.home-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-img-col { position: relative; }
.about-img-main { width: 100%; height: 520px; object-fit: cover; object-position: top; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); }
.about-img-accent {
  position: absolute; top: 40px; left: -36px;
  width: 175px; height: 220px;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}
.about-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.about-broker-card {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--primary); padding: 20px 24px;
  border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
}
.about-broker-card strong { display: block; font-family: var(--font-heading); font-size: 17px; color: var(--white); }
.about-broker-card span   { display: block; font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.about-broker-card .broker-exp { display: inline-block; margin-top: 10px; background: var(--accent); color: var(--primary); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: var(--r-pill); }

.about-text .section-label   { margin-bottom: 12px; }
.about-text .section-h2      { margin-bottom: 18px; }
.about-text p { font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.about-text strong { color: var(--primary); font-weight: 700; }

.about-features { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.af-row { display: flex; align-items: flex-start; gap: 14px; }
.af-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-dim); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: background var(--tr-fast), transform var(--tr-bounce);
}
.af-row:hover .af-icon { background: rgba(0,212,255,0.2); transform: scale(1.08); }
.af-row div:last-child strong { display: block; font-size: 14px; font-weight: 700; color: var(--primary); }
.af-row div:last-child span   { font-size: 13px; color: var(--text-muted); margin-top: 2px; display: block; }

/* ══════════════════════════════════════════
   SERVICES CARDS
══════════════════════════════════════════ */
.home-services { padding: 96px 0; background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.svc-card { background: var(--white); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); transition: transform var(--tr), box-shadow var(--tr); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.svc-card-img { position: relative; height: 200px; overflow: hidden; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc-card:hover .svc-card-img img { transform: scale(1.07); }
.svc-card-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,51,72,0.55) 0%, transparent 55%); }
.svc-num { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--primary); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-pill); }

.svc-card-body { padding: 24px; }
.svc-card-body h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.25; }
.svc-card-body p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 18px; }
.svc-card-body p strong { color: var(--primary); font-weight: 700; }

/* ══════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════ */
.home-why {
  position: relative; padding: 96px 0; overflow: hidden;
}
.why-bg { position: absolute; inset: 0; z-index: 0; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; }
.why-bg-overlay { position: absolute; inset: 0; background: rgba(7,31,46,0.92); }
.home-why .container { position: relative; z-index: 1; }

.why-cards { overflow: hidden; }
.why-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.why-card { flex-shrink: 0; width: 400px; background: rgba(255,255,255,0.06); border: 1px solid rgba(0,212,255,0.18); border-radius: var(--r-xl); padding: 36px; transition: background var(--tr), transform var(--tr); }
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-card-icon { width: 56px; height: 56px; background: rgba(0,212,255,0.14); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px; transition: background var(--tr-fast), transform var(--tr-bounce); }
.why-card:hover .why-card-icon { background: rgba(0,212,255,0.24); transform: scale(1.08); }
.why-card h3 { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 18px; line-height: 1.3; }
.why-list { display: flex; flex-direction: column; gap: 9px; }
.why-list li { font-size: 13.5px; color: rgba(255,255,255,0.7); padding-left: 18px; position: relative; line-height: 1.6; }
.why-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.65; }

.why-controls { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.why-ctrl { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--tr-fast), transform var(--tr-bounce), color var(--tr-fast); }
.why-ctrl:hover { background: var(--accent); color: var(--primary); transform: scale(1.1); }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.home-testi { padding: 96px 0; background: var(--light-bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.testi-card { background: var(--white); border-radius: var(--r-xl); padding: 34px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); position: relative; overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); }
.testi-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent); }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card--dark { background: var(--primary); border-color: transparent; }
.testi-card--dark::before { background: var(--accent); height: 3px; }

.testi-quote { font-family: var(--font-heading); font-size: 72px; line-height: 0.6; color: var(--accent); opacity: 0.2; display: block; margin-bottom: 16px; }
.testi-card--dark .testi-quote { opacity: 0.35; }

.testi-text { font-size: 14px; line-height: 1.82; color: var(--text-muted); margin-bottom: 24px; }
.testi-card--dark .testi-text { color: rgba(255,255,255,0.78); }
.testi-text strong { color: var(--primary); font-weight: 700; }
.testi-card--dark .testi-text strong { color: var(--accent); }

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.testi-card--dark .testi-av { background: rgba(0,212,255,0.2); color: var(--accent); }
.testi-author div:nth-child(2) strong { display: block; font-size: 13.5px; font-weight: 700; color: var(--primary); }
.testi-card--dark .testi-author div:nth-child(2) strong { color: var(--white); }
.testi-author div:nth-child(2) span { font-size: 12px; color: var(--text-muted); }
.testi-card--dark .testi-author div:nth-child(2) span { color: rgba(255,255,255,0.5); }
.testi-stars { margin-left: auto; font-size: 13px; color: #f59e0b; letter-spacing: 2px; }

/* ══════════════════════════════════════════
   FINAL CTA STRIP
══════════════════════════════════════════ */
.home-cta-strip {
  position: relative; padding: 88px 0; overflow: hidden;
}
.cta-strip-bg { position: absolute; inset: 0; z-index: 0; }
.cta-strip-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.18) saturate(0.5); }
.cta-strip-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,31,46,0.97) 40%, rgba(12,51,72,0.92) 100%); }
.home-cta-strip .container { position: relative; z-index: 1; }
.cta-strip-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }

.cta-strip-left h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip-left p  { font-size: 16px; color: rgba(255,255,255,0.68); margin-bottom: 32px; }
.cta-checks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.cta-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,0.8); }
.cta-check-icon { width: 26px; height: 26px; background: rgba(0,212,255,0.14); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }

.cta-form-card { background: var(--white); border-radius: var(--r-xl); padding: 42px; box-shadow: 0 24px 80px rgba(0,0,0,0.3); }
.cta-form-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.cta-form-card > p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 26px; }
.cta-form { display: flex; flex-direction: column; gap: 16px; }
.cta-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-about-grid { gap: 52px; }
}
@media (max-width: 900px) {
  .problem-section { grid-template-columns: 1fr; }
  .problem-img { height: 360px; }
  .problem-img-float { right: 20px; }
  .problem-content { padding: 60px 40px; }
  .home-about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { display: none; }
  .about-broker-card { right: -10px; bottom: -14px; }
  .testi-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .cta-strip-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .hero-inner { padding: 60px 20px 32px; }
  .hero-h1 { font-size: 34px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hstat { min-width: 50%; }
  .hstat-divider { display: none; }
  .scroll-hint { display: none; }
  .why-card { width: 300px; }
  .cta-form-card { padding: 26px 20px; }
}
