/* ============================================
   HOMEPAGE STYLES - homepage.css
   Complete styles for BPP Homepage
   ============================================ */

/* ============================================
   GLOBAL OVERFLOW FIX
   ============================================ */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Prevent sections from causing overflow, but NOT header */
main, footer, section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Header needs overflow visible for dropdowns */
.site-header,
.site-header * {
  overflow: visible;
}

/* ============================================
   SR-ONLY (Hidden but accessible to crawlers)
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: var(--surface-97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* No overflow hidden - allows dropdowns to show */
}

.site-header .container {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 520px) {
  .site-header {
    padding: 0.85rem 1rem;
  }
  
  .logo-text {
    max-width: 68vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon,
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon {
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
}

.logo-img {
  object-fit: contain;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  position: relative;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover {
  background: var(--bg);
  color: var(--brand);
}

.nav-cta {
  background: var(--cta) !important;
  color: white !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--cta-hover) !important;
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  font-family: inherit;
}

.nav-dropdown-trigger:hover {
  background: var(--bg);
  color: var(--brand);
}

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  padding: 16px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  z-index: 1001;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu-small {
  min-width: 200px;
}

.dropdown-section {
  margin-bottom: 16px;
}

.dropdown-section:last-of-type {
  margin-bottom: 12px;
}

.dropdown-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  margin-bottom: 4px;
}

.dropdown-item {
  display: block;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: var(--bg);
  color: var(--brand);
}

.dropdown-view-all {
  display: block;
  padding: 10px 12px;
  color: var(--cta);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
  padding-top: 16px;
}

/* ============================================
   MOBILE MENU BUTTON
   ============================================ */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   STRUCTURED MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: 16px 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-section {
  margin-bottom: 20px;
}

.mobile-menu-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 8px;
}

.mobile-menu-section a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-all {
  display: block;
  padding: 12px 0;
  color: var(--cta);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.mobile-menu-link {
  display: block;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu-cta {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: var(--cta);
  color: white !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  padding-top: 70px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: var(--bg);
}

/* Desktop Hero */
.hero-desktop {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-desktop h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.15;
  word-wrap: break-word;
}

.hero-desktop h1 span {
  color: #486881;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-70);
  max-width: 640px;
  margin: 0 auto 36px;
  padding: 0 16px;
}

/* Mobile Quiz Hero - Hidden on Desktop */
.hero-mobile-quiz {
  display: none;
  padding: 40px 0 30px;
  text-align: center;
}

.hero-mobile-quiz .hero-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.hero-mobile-quiz .hero-title span {
  color: #486881;
}

.hero-mobile-quiz .hero-subtitle {
  font-size: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero-desktop {
    display: none;
  }
  .hero-mobile-quiz {
    display: block;
  }
}

/* ============================================
   QUIZ CARD
   ============================================ */
.quiz-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.quiz-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background 0.2s;
}

.quiz-progress-dot.active {
  background: var(--cta);
}

.quiz-progress-text {
  font-size: 13px;
  color: var(--text-70);
  margin-left: 8px;
}

.quiz-question {
  display: none;
}

.quiz-question.active {
  display: block;
}

.quiz-question-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-option {
  padding: 14px 16px;
  background: var(--bg);
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--brand);
  background: var(--surface);
}

.quiz-option.selected {
  border-color: var(--cta);
  background: var(--cta-bg);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.quiz-nav-link {
  font-size: 14px;
  color: var(--brand);
  cursor: pointer;
  transition: color 0.2s;
}

.quiz-nav-link:hover {
  color: var(--cta);
}

.quiz-nav-link.disabled {
  color: var(--text-70);
  cursor: default;
}

/* Quiz Result Form */
.quiz-result,
.quiz-success {
  display: none;
}

.quiz-result.active,
.quiz-success.active {
  display: block;
}

.quiz-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.quiz-result-icon {
  font-size: 24px;
}

.quiz-result-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.quiz-result-desc {
  font-size: 14px;
  color: var(--text-70);
  margin-bottom: 16px;
}

.quiz-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.quiz-summary-tag {
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-70);
}

.quiz-form-group {
  margin-bottom: 16px;
}

.quiz-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.quiz-form-label .required {
  color: var(--cta);
}

.quiz-form-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  box-sizing: border-box;
  max-width: 100%;
}

.quiz-form-input:focus {
  outline: none;
  border-color: var(--brand);
}

.quiz-audit-chip {
  margin-top: 8px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

.quiz-submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--cta);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.quiz-submit-btn:hover {
  background: var(--cta-hover);
}

.quiz-micro-trust {
  text-align: center;
  font-size: 12px;
  color: var(--text-70);
  margin-top: 12px;
}

/* Quiz Success */
.quiz-success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.quiz-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.quiz-success-desc {
  font-size: 14px;
  color: var(--text-70);
  margin-bottom: 20px;
}

.quiz-packages-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

/* Quiz Package Chips */
/* ============================================
   PLATFORM LOGOS
   ============================================ */
.platform-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  max-width: 100%;
}

.platform-logos > span:first-child {
  font-size: 13px;
  color: var(--text-70);
}

.platform-name {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.platform-airbnb {
  background: var(--airbnb-bg);
  color: var(--airbnb);
}

.platform-booking {
  background: var(--booking-bg);
  color: var(--booking);
}

.platform-vrbo {
  background: var(--vrbo-bg);
  color: var(--vrbo);
}

.platform-more {
  font-size: 13px;
  color: var(--text-70);
}

@media (max-width: 480px) {
  .platform-logos {
    gap: 8px;
  }
  .platform-name {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}

.btn-primary {
  background: var(--cta);
  color: white;
}

.btn-primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
}

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

@media (max-width: 768px) {
  .btn {
    padding: 14px 24px;
    font-size: 15px;
  }
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   STATS (Trust Bar)
   ============================================ */
.stats {
  background: var(--surface);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-70);
  font-size: 14px;
}

@media (max-width: 768px) {
  .stats {
    padding: 32px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-number {
    font-size: 32px;
  }
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-title .eyebrow {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-70);
  font-size: 18px;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 32px;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .section-title p {
    font-size: 16px;
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 80px 0;
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--cta-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-70);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--surface);
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-70);
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 60px 0;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .step-card {
    padding: 20px;
  }
}

/* ============================================
   PACKAGES
   ============================================ */
.packages {
  padding: 80px 0;
  background: var(--bg);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.package-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
}

.package-card.premium {
  border-color: var(--cta);
}

.package-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
}

.package-badge {
  display: inline-block;
  background: rgba(72, 104, 129, 0.12);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid rgba(72, 104, 129, 0.2);
}

.package-card.basic .package-badge {
  background: var(--primary-light);
  color: var(--primary);
}

.package-card.premium .package-badge {
  background: rgba(255, 56, 92, 0.1);
  color: var(--cta);
}

.package-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.package-header .tagline {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}

.package-header .audience {
  font-size: 13px;
  color: var(--text-70);
  margin-bottom: 4px;
}

.package-header .coverage {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

.package-body {
  padding: 24px 32px;
  flex: 1;
}

.package-features {
  list-style: none;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features li .check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.package-features li strong {
  color: var(--text);
}

.package-features li span {
  color: var(--text-70);
  font-size: 13px;
}

.package-footer {
  padding: 24px 32px;
}

.package-footer .btn {
  width: 100%;
  justify-content: center;
}

.package-benefits {
  display: flex;
  gap: 16px;
  padding: 16px 32px;
  background: rgba(72, 104, 129, 0.05);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.benefit-item .icon {
  font-size: 18px;
}

.benefit-item span {
  color: var(--text);
}

@media (max-width: 768px) {
  .packages {
    padding: 60px 0;
  }
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .package-header,
  .package-body,
  .package-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================
   WHICH PACKAGE
   ============================================ */
.which-package {
  background: var(--surface);
  padding: 80px 0;
}

.which-package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.which-card {
  background: var(--bg);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.which-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.which-card-icon {
  font-size: 28px;
}

.which-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.which-card .desc {
  font-size: 14px;
  color: var(--text-70);
  margin-bottom: 16px;
}

.which-card ul {
  list-style: none;
}

.which-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.which-card ul li .check {
  color: var(--success);
  font-weight: 600;
}

@media (max-width: 768px) {
  .which-package {
    padding: 60px 0;
  }
  .which-package-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
  padding: 0 0 80px;
  background: var(--bg);
}

.comparison-table {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--primary-dark);
  color: white;
}

.comparison-header-cell {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
}

.comparison-header-cell.highlight {
  background: rgba(255,255,255,0.1);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 16px 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.comparison-cell:first-child {
  color: var(--text);
}

.comparison-cell:not(:first-child) {
  justify-content: center;
}

.comparison-cell .check {
  color: var(--success);
  font-size: 18px;
  font-weight: 700;
}

.comparison-cell .dash {
  color: var(--border);
  font-size: 18px;
}

.comparison-footer {
  padding: 16px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-70);
  background: var(--bg);
  border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .comparison {
    padding: 60px 0;
  }
  .comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    min-width: 400px;
  }
  .comparison-header-cell,
  .comparison-cell {
    padding: 12px 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .comparison-header,
  .comparison-row {
    min-width: 320px;
  }
  .comparison-header-cell,
  .comparison-cell {
    padding: 10px 6px;
    font-size: 11px;
  }
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-studies {
  padding: 80px 0;
  background: var(--surface);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s;
  width: 100%;
}

.case-card:hover {
  transform: translateY(-4px);
}

.case-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--success);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.case-content {
  padding: 28px;
}

.case-location {
  font-size: 13px;
  color: var(--text-70);
  margin-bottom: 6px;
}

.case-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  word-wrap: break-word;
}

.case-meta {
  font-size: 14px;
  color: var(--text-70);
  margin-bottom: 24px;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.case-stat {
  text-align: center;
  min-width: 0;
}

.case-stat .stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.case-stat .stat-before {
  font-size: 14px;
  color: var(--text-70);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.case-stat .stat-after {
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700;
  color: var(--success);
}

.case-tags-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-70);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 12px;
}

.case-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
}

@media (max-width: 768px) {
  .case-studies {
    padding: 60px 0;
  }
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-image {
    height: 180px;
  }
  .case-content {
    padding: 20px;
  }
}

/* ============================================
   MINI AUDIT CTA
   ============================================ */
.mini-audit-cta {
  margin-top: 48px;
}

.mini-audit-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: white;
}

.mini-audit-copy h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.mini-audit-copy p {
  font-size: 15px;
  opacity: 0.9;
  color: white;
}

.mini-audit-actions {
  text-align: right;
  flex-shrink: 0;
}

.mini-audit-actions .btn {
  background: white;
  color: var(--primary-dark);
}

.mini-audit-actions .btn:hover {
  background: var(--bg-alt);
}

.mini-audit-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.8;
  color: white;
}

@media (max-width: 768px) {
  .mini-audit-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }
  .mini-audit-actions {
    text-align: center;
    width: 100%;
  }
  .mini-audit-actions .btn {
    width: 100%;
  }
  .mini-audit-copy h3 {
    font-size: 20px;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--bg);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: rgba(72, 104, 129, 0.15);
  border: 1px solid rgba(72, 104, 129, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.author-info h4 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.testimonial-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  background: var(--success-bg);
  color: var(--success-dark);
  border-radius: 4px;
}

.author-info p {
  color: var(--text-70);
  font-size: 13px;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 80px 0;
  background: var(--surface);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(72, 104, 129, 0.03);
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s;
  font-weight: 400;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer-content {
  padding: 0 24px 18px;
  color: var(--text-70);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }
  .faq-question {
    padding: 16px 20px;
    font-size: 14px;
  }
  .faq-answer-content {
    padding: 0 20px 16px;
    font-size: 13px;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-70);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.form-benefits {
  list-style: none;
  margin-bottom: 32px;
}

.form-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.form-benefit-icon {
  color: var(--success);
  font-weight: 700;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  border: 1px solid var(--border);
}

.contact-method:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.contact-method-icon {
  font-size: 24px;
}

.contact-method span {
  font-size: 12px;
  color: var(--text-70);
}

.contact-method strong {
  display: block;
  font-size: 15px;
  color: var(--text);
}

/* Form Card */
.form-card {
  background: var(--surface);
  padding: 36px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.service-context {
  padding: 12px 16px;
  background: var(--cta-bg);
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--cta);
  word-wrap: break-word;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
  max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Radio Group */
.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.form-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--cta);
}

.form-radio-label {
  font-size: 15px;
  color: var(--text);
}

.form-submit {
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-70);
}

.form-message {
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 14px;
}

.form-success {
  background: var(--success-bg);
  color: var(--success);
}

.form-error {
  background: var(--error-bg);
  color: var(--error);
}

.form-or {
  text-align: center;
  margin: 20px 0;
  color: var(--text-70);
  font-size: 14px;
  position: relative;
}

.form-or::before,
.form-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-light);
}

.form-or::before {
  left: 0;
}

.form-or::after {
  right: 0;
}

.form-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--whatsapp);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s;
}

.form-whatsapp:hover {
  background: var(--whatsapp-hover);
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-card {
    padding: 24px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  word-wrap: break-word;
}

.footer-brand span {
  color: var(--cta);
}

.footer-brand-col p {
  font-size: 15px;
  line-height: 1.7;
}

.site-footer h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 12px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
  word-break: break-word;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================
   SOCIAL PROOF TOAST
   ============================================ */
.social-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 900;
  max-width: calc(100% - 48px);
  width: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
}

.social-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.social-toast-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.social-toast-content {
  flex: 1;
  min-width: 0;
}

.social-toast-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-toast-time {
  font-size: 12px;
  color: var(--text-70);
}

.social-toast-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-70);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .social-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    width: auto;
  }
}

/* ============================================
   SCROLL POPUP CTA
   ============================================ */
.scroll-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: min(320px, calc(100% - 48px));
  width: auto;
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s;
}

.scroll-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-70);
  cursor: pointer;
  line-height: 1;
}

.scroll-popup-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.scroll-popup h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.scroll-popup p {
  font-size: 14px;
  color: var(--text-70);
  margin-bottom: 16px;
}

.scroll-popup-cta {
  display: block;
  padding: 14px;
  background: var(--cta);
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 12px;
}

.scroll-popup-cta:hover {
  background: var(--cta-hover);
  color: white;
}

.scroll-popup-dismiss {
  display: block;
  width: 100%;
  padding: 10px;
  background: none;
  border: none;
  color: var(--text-70);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.scroll-popup-dismiss:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  .scroll-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    padding: 20px;
  }
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Prevent any section from causing overflow */
section, main, footer {
  max-width: 100%;
}
