/* ============================================
   Fast Mobile Home Offer — Stylesheet
   ============================================ */

/* --- Variables & Reset --- */
:root {
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --orange:   #f97316;
  --orange-dk:#ea580c;
  --green:    #16a34a;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;
  --shadow:    0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius:    8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue-700);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container-narrow { max-width: 800px; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
p  { color: var(--gray-700); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-800); }

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

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  padding: .65rem 1.25rem;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* --- Section --- */
.section { padding-block: 5rem; }
.section-alt { background: var(--blue-50); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { font-size: 1.05rem; }

.section-label {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: .9rem;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}
.cta-footnote {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--gray-500);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo-icon { flex-shrink: 0; }
.logo-text { font-size: 1.1rem; color: var(--gray-900); }
.logo-text strong { color: var(--blue-700); }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: .25rem;
}
.nav-link {
  padding: .5rem .85rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.nav-link:hover { background: var(--blue-50); color: var(--blue-700); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: color var(--transition);
}
.header-phone:hover { color: var(--blue-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--gray-100);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.mobile-nav a {
  display: block;
  padding: .65rem .9rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--gray-700);
}
.mobile-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.mobile-phone { font-weight: 700 !important; color: var(--blue-700) !important; }
.mobile-nav .btn { text-align: center; margin-top: .5rem; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, #3b82f6 100%);
  color: var(--white);
  padding-block: 5rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--white); }

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2.25rem;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: rgba(255,255,255,.95);
}
.hero-bullets svg { flex-shrink: 0; color: #4ade80; }

.hero-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label  { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: .2rem; }
.stat-divider { width: 1px; height: 2.5rem; background: rgba(255,255,255,.2); }

/* Form Card */
.hero-form-wrapper { position: sticky; top: 88px; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.form-card-header {
  background: var(--blue-700);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}
.form-card-title { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: .3rem; }
.form-card-sub   { font-size: .85rem; color: rgba(255,255,255,.85); }

.lead-form-container { padding: 1.25rem; }

.form-placeholder-visual {
  border: 2px dashed #93c5fd;
  border-radius: var(--radius);
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--gray-500);
  background: #f0f9ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.form-placeholder-visual svg { margin-inline: auto; }
.form-placeholder-visual p { font-size: .9rem; }
.form-placeholder-visual p:first-of-type { font-weight: 700; color: var(--gray-700); }

.form-placeholder-sm { padding: 1.75rem 1.25rem; }
.form-placeholder-sm p { font-size: .85rem; }

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--gray-500);
  padding: .75rem 1.25rem 1.25rem;
}
.form-privacy svg { color: var(--green); flex-shrink: 0; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.step-card h3 { margin-bottom: .65rem; }

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 3rem;
  flex-shrink: 0;
}

/* ============================================
   BENEFITS
   ============================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.benefit-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.benefit-card h3 { margin-bottom: .6rem; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-300);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.comparison-table thead {
  background: var(--blue-900);
  color: var(--white);
}
.comparison-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: .85rem;
}
.comparison-table th.col-us {
  background: var(--blue-700);
}

.comparison-table tbody tr { border-bottom: 1px solid var(--gray-100); }
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: var(--gray-50); }
.comparison-table tbody tr:nth-child(even) .col-us { background: #eff6ff; }

.comparison-table td {
  padding: .9rem 1.25rem;
  color: var(--gray-700);
}
.col-us {
  background: #f0f6ff;
  font-weight: 600;
  color: var(--blue-800) !important;
}

.check-mark {
  color: var(--green);
  font-weight: 800;
  margin-right: .3rem;
}

/* ============================================
   CONDITIONS
   ============================================ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.sub-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--blue-800);
}
.sub-section-title.centered { text-align: center; }

.check-list {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  color: var(--gray-700);
}
.check-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.home-types-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.home-type-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 1.25rem .75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: background var(--transition), box-shadow var(--transition);
}
.home-type-card:hover { background: var(--blue-100); box-shadow: var(--shadow); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .9rem; }

.testimonial-card blockquote { margin-bottom: 1.25rem; }
.testimonial-card blockquote p { font-size: .92rem; color: var(--gray-700); font-style: italic; line-height: 1.7; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span  { font-size: .8rem; color: var(--gray-500); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { margin-bottom: 2rem; }

.faq-item {
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200, #e5e7eb); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue-700); }

.faq-chevron { flex-shrink: 0; transition: transform var(--transition); color: var(--gray-500); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-question { color: var(--blue-700); }

.faq-answer { padding-bottom: 1.25rem; }
.faq-answer p { font-size: .95rem; line-height: 1.7; }

.faq-contact {
  text-align: center;
  padding: 1.5rem;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  font-size: .95rem;
  color: var(--gray-700);
}
.faq-contact a { color: var(--blue-700); font-weight: 700; }
.faq-contact a:hover { text-decoration: underline; }

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding-block: 5rem;
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p  { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 1.5rem; }

.cta-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 2rem;
}
.cta-bullets li { font-size: 1rem; color: rgba(255,255,255,.9); font-weight: 600; }

.cta-phone-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 2px solid rgba(255,255,255,.4);
  padding-bottom: .15rem;
  transition: border-color var(--transition);
}
.cta-phone-link:hover { border-color: var(--white); }

.cta-form-card .form-card { border-radius: var(--radius-lg); overflow: hidden; }
.cta-form-card .form-card h3 { font-size: 1.2rem; padding: 1.25rem 1.25rem .25rem; }
.cta-form-card .form-card > p { padding: 0 1.25rem .75rem; font-size: .9rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.8);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.footer-logo span { font-size: 1rem; color: var(--white); }
.footer-logo strong { color: #60a5fa; }

.footer-tagline { font-size: .88rem; line-height: 1.6; margin-bottom: 1rem; color: rgba(255,255,255,.65); }
.footer-phone { font-size: 1.05rem; font-weight: 700; color: #60a5fa; }
.footer-phone:hover { color: var(--white); }

.footer-links h4, .footer-contact h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p { font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.footer-contact .btn-outline-white { font-size: .9rem; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a { color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner     { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .benefits-grid  { grid-template-columns: repeat(2, 1fr); }
  .home-types-grid{ grid-template-columns: repeat(3, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding-block: 3.5rem; }

  .nav, .header-right { display: none; }
  .nav-toggle { display: flex; }

  .hero         { padding-block: 3.5rem 3rem; }
  .hero-inner   { grid-template-columns: 1fr; gap: 2rem; }
  .hero-form-wrapper { position: static; }

  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-arrow { display: none; }

  .benefits-grid      { grid-template-columns: 1fr; }
  .two-col-grid        { grid-template-columns: 1fr; gap: 2rem; }
  .home-types-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .cta-inner           { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand        { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }

  .hero-stats          { flex-direction: column; gap: 1rem; }
  .stat-divider        { width: 80%; height: 1px; }
  .home-types-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid         { grid-template-columns: 1fr; }
  .footer-bottom       { flex-direction: column; text-align: center; }
}
