/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-phone-btn {
  background: #29b6e8;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

.header-phone-btn:hover {
  background: #1a9fd0;
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 40px;
  background: url('https://offer.mspoffer.com/wp-content/uploads/2023/11/sell-your-house-fast.webp') center/cover no-repeat;
  background-color: #555;
  background-blend-mode: multiply;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 55, 55, 0.68);
  z-index: 0;
}

.hero-content,
.hero-form-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  color: #fff;
  max-width: 480px;
  padding-top: 8px;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* FORM CARD */
.hero-form-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 24px;
  width: 420px;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.hero-form-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222;
  text-align: center;
}

.offer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.offer-form input,
.offer-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.offer-form input:focus,
.offer-form textarea:focus {
  border-color: #29b6e8;
}

.opt-in {
  display: flex;
  align-items: flex-start;
}

.opt-in-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

/* Hide the native checkbox completely */
.opt-in-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom checkbox box */
.opt-in-label .custom-checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  min-width: 14px;
  height: 14px;
  border: 1.5px solid #aaa;
  border-radius: 2px;
  background: #fff;
  margin-top: 2px;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

/* Checkmark SVG inside */
.opt-in-label .custom-checkbox svg {
  display: none;
  width: 9px;
  height: 9px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* When checked: fill box and show checkmark */
.opt-in-label input[type="checkbox"]:checked ~ .custom-checkbox {
  background: #29b6e8;
  border-color: #29b6e8;
}

.opt-in-label input[type="checkbox"]:checked ~ .custom-checkbox svg {
  display: block;
}

.opt-in-label span {
  flex: 1;
}

.opt-in-label a {
  color: #29b6e8;
  text-decoration: underline;
  cursor: pointer;
}

.btn-submit {
  background: #29b6e8;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.btn-submit:hover {
  background: #1a9fd0;
}

/* ===== 3 STEPS SECTION ===== */
.steps-section {
  padding: 56px 24px;
  text-align: center;
  background: #fff;
}

.steps-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #222;
}

.steps-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.steps-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.step-card {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 32px 24px;
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  text-align: center;
}

.step-card-blue {
  background: #29b6e8;
  color: #fff;
}

.step-card-blue h3,
.step-card-blue p {
  color: #fff;
}

.step-icon {
  margin-bottom: 16px;
  font-size: 2.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.step-icon img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.step-icon-fallback {
  font-size: 2.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.step-card p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
}

/* ===== TEAM PHOTO SECTION ===== */
.team-photo-section {
  padding: 64px 40px;
  background: #fff;
}

.team-photo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.team-photo-text {
  flex: 1;
  min-width: 260px;
}

.team-photo-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.2;
}

.team-photo-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}

.btn-team-cta {
  display: inline-block;
  background: #29b6e8;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-team-cta:hover {
  background: #1a9fd0;
}

.team-photo-img {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
}

.team-photo-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
  object-fit: cover;
}

@media (max-width: 900px) {
  .team-photo-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 32px;
  }

  .team-photo-img {
    width: 240px;
  }
}

@media (max-width: 600px) {
  .team-photo-section {
    padding: 40px 16px;
  }

  .team-photo-text h2 {
    font-size: 1.45rem;
  }

  .team-photo-img {
    width: 200px;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: #29b6e8;
  padding: 56px 24px;
  color: #fff;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 20px 0 14px;
}

.reasons-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.reasons-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}

.reasons-grid ul li {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: #fff;
  background: #1a9fd0;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.about-gallery {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.about-gallery h3 {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}

.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery-track img {
  min-width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  padding: 10px 13px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2;
  transition: background 0.2s;
  -webkit-appearance: none;
}

.gallery-btn:hover {
  background: rgba(0,0,0,0.7);
}

.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }

.btn-cta {
  display: inline-block;
  background: #fff;
  color: #29b6e8;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 4px;
  border: 2px solid #fff;
  transition: all 0.2s;
  text-align: center;
}

.btn-cta:hover {
  background: transparent;
  color: #fff;
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
  padding: 56px 24px;
  text-align: center;
  background: #fff;
}

.comparison-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #222;
}

.comparison-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 36px;
}

.comparison-grid {
  display: flex;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.comparison-card {
  flex: 1;
  padding: 36px 28px;
  text-align: left;
}

.comparison-card.dark {
  background: #1a1a1a;
  color: #fff;
}

.comparison-card.blue {
  background: #29b6e8;
  color: #fff;
}

.comparison-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 22px;
  text-align: center;
}

.comparison-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-card ul li {
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 12px;
}

.comparison-card ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.x-icon {
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon-white {
  background: #fff;
  color: #29b6e8;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: url('https://offer.mspoffer.com/wp-content/uploads/2023/11/sell-your-house-fast.webp') center/cover no-repeat;
  background-color: #444;
  background-blend-mode: multiply;
  position: relative;
  padding: 72px 24px;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.btn-cta-large {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #29b6e8;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 44px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-cta-large:hover {
  background: #1a9fd0;
}

/* ===== VIDEO TESTIMONIALS ===== */
.video-testimonials {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.video-wrap {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .video-testimonials {
    flex-direction: column;
    align-items: center;
  }

  .video-wrap {
    width: 100%;
    max-width: 100%;
    min-width: unset;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 56px 24px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: #222;
}

.testimonials-rating {
  margin-bottom: 36px;
}

.excellent-label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #222;
}

.stars {
  font-size: 1.8rem;
  color: #f4b400;
  margin: 4px 0;
}

.google-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #4285F4;
  margin-top: 4px;
}

.testimonials-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 8px;
  padding: 22px 18px;
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.reviewer-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #29b6e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.reviewer-info strong {
  font-size: 0.88rem;
  color: #222;
}

.review-date {
  font-size: 0.76rem;
  color: #888;
}

.google-g {
  margin-left: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: #4285F4;
  background: #f1f1f1;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-stars {
  color: #f4b400;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 0.86rem;
  color: #444;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
}

.footer-privacy {
  font-size: 0.88rem;
  color: #29b6e8;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  color: #888;
}

/* ===== RESPONSIVE — TABLET (max 900px) ===== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 36px 20px 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-form-card {
    width: 100%;
    max-width: 520px;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-gallery {
    width: 100%;
  }

  .comparison-grid {
    flex-direction: column;
    border-radius: 8px;
  }

  .comparison-card {
    border-radius: 0;
  }

  .comparison-card:first-child {
    border-radius: 8px 8px 0 0;
  }

  .comparison-card:last-child {
    border-radius: 0 0 8px 8px;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 480px;
    width: 100%;
  }
}

/* ===== RESPONSIVE — MOBILE (max 600px) ===== */
@media (max-width: 600px) {
  .header-inner {
    padding: 8px 14px;
  }

  .logo {
    height: 42px;
  }

  .header-phone-btn {
    font-size: 0.8rem;
    padding: 9px 13px;
  }

  .hero {
    padding: 28px 16px 36px;
  }

  .hero-content h1 {
    font-size: 1.55rem;
  }

  .hero-content h4 {
    font-size: 0.95rem;
  }

  .hero-form-card {
    padding: 22px 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .steps-section,
  .about-section,
  .comparison-section,
  .testimonials-section {
    padding: 40px 16px;
  }

  .steps-section h2,
  .comparison-section h2,
  .testimonials-section h2 {
    font-size: 1.45rem;
  }

  .about-text h3 {
    font-size: 1.05rem;
  }

  .reasons-grid {
    flex-direction: column;
    gap: 4px;
  }

  .reasons-grid ul {
    gap: 8px;
  }

  .gallery-track img {
    height: 200px;
  }

  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    max-width: 100%;
    width: 100%;
  }

  .btn-cta-large {
    font-size: 1rem;
    padding: 14px 28px;
  }

  .cta-banner {
    padding: 56px 16px;
  }

  .comparison-card {
    padding: 28px 20px;
  }
}

/* ===== RESPONSIVE — SMALL MOBILE (max 380px) ===== */
@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.3rem;
  }

  .header-phone-btn {
    font-size: 0.72rem;
    padding: 8px 10px;
  }
}
