/* =========================================
   Klision — Landing Page Styles
   Built for HVAC contractors
   ========================================= */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --steel-blue: #2D4A5E;
  --burnt-orange: #D4621A;
  --burnt-orange-hover: #E06A20;
  --burnt-orange-active: #B8521A;
  --charcoal: #1C1C1E;
  --charcoal-darker: #141416;
  --off-white: #F5F7FA;
  --white: #FFFFFF;
  --body-text: #2A2A2E;
  --cool-gray: #6B7280;
  --cool-gray-light: #8A9BAD;
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;

  /* Typography */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Spacing (8px base) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 4px 14px rgba(212, 98, 26, 0.35);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--steel-blue);
  border-radius: 4px;
}

/* Text selection */
::selection {
  background: var(--burnt-orange);
  color: white;
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--burnt-orange);
  outline-offset: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: var(--space-sm);
}

.section-label-light {
  color: var(--cool-gray-light);
}

.section-sub {
  color: var(--cool-gray);
  font-size: 1.05rem;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-lg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--burnt-orange);
  color: white;
  border-color: var(--burnt-orange);
}

.btn-primary:hover {
  background: var(--burnt-orange-hover);
  border-color: var(--burnt-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn-primary:active {
  background: var(--burnt-orange-active);
  border-color: var(--burnt-orange-active);
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--steel-blue);
  border-color: var(--steel-blue);
}

.btn-outline:hover {
  background: var(--steel-blue);
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav-header.nav-scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: white;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  color: white !important;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.nav-phone:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--charcoal);
  color: white;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle noise texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero-ownership-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cool-gray-light);
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: white;
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--cool-gray-light);
  max-width: 580px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-cta {
  margin-bottom: var(--space-sm);
}

.hero-cta-sub {
  font-size: 0.8rem;
  color: var(--cool-gray);
}

/* Phone Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}

.phone-frame {
  width: 280px;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
  animation: phone-float 4s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #111;
  border-radius: 12px;
  margin: 0 auto 8px;
  position: relative;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 4px;
}

.phone-screen {
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-section {
  padding: 14px 16px;
  background: #222;
}

.vm-section {
  border-left: 3px solid #D4621A;
}

.cal-section {
  border-left: 3px solid #2ecc71;
}

.mock-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cool-gray);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.vm-customer {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.vm-address, .vm-service {
  font-size: 0.68rem;
  color: var(--cool-gray-light);
  margin-bottom: 2px;
}

.vm-time {
  font-size: 0.62rem;
  color: var(--cool-gray);
  margin-top: 6px;
}

.cal-job {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.cal-date {
  font-size: 0.68rem;
  color: #2ecc71;
  margin-bottom: 6px;
}

.cal-badge {
  display: inline-block;
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 3px;
}

.phone-homebtn {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--charcoal-darker);
  padding: var(--space-lg) var(--space-md);
}

.trust-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.trust-number {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--burnt-orange);
  line-height: 1;
}

.trust-star {
  color: var(--burnt-orange);
}

.trust-label {
  font-size: 0.8rem;
  color: var(--cool-gray-light);
  max-width: 160px;
  line-height: 1.4;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* =========================================
   SECTIONS — Common
   ========================================= */
.section {
  padding: var(--space-2xl) var(--space-md);
}

.section-light { background: var(--white); }
.section-offwhite { background: var(--off-white); }
.section-white { background: var(--white); }
.section-dark { background: var(--charcoal); }
.section-dark-cta { background: var(--charcoal); padding: 100px var(--space-md); }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section h2 {
  margin-bottom: var(--space-lg);
}

.h2-light {
  color: white;
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.problem-card {
  padding: var(--space-md);
}

.problem-icon {
  width: 56px;
  height: 56px;
  background: rgba(45, 74, 94, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  color: var(--steel-blue);
}

.problem-card h3 {
  color: var(--body-text);
  margin-bottom: var(--space-xs);
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--cool-gray);
  line-height: 1.65;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  border-color: var(--steel-blue);
  box-shadow: var(--shadow-md);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(45, 74, 94, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.service-card h3 {
  margin-bottom: var(--space-xs);
  color: var(--body-text);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--cool-gray);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border-light);
}

.price-main {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--body-text);
}

.price-period {
  font-size: 0.9rem;
  color: var(--cool-gray);
}

.price-sub {
  font-size: 0.8rem;
  color: var(--cool-gray);
}

/* =========================================
   PRICING SECTION
   ========================================= */
.math-proof-box {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  font-family: var(--font-mono);
}

.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.math-label {
  font-size: 0.85rem;
  color: var(--cool-gray-light);
}

.math-value {
  font-size: 1rem;
  font-weight: 700;
}

.math-mo {
  font-size: 0.75rem;
  font-weight: 400;
}

.math-strike {
  color: var(--cool-gray);
  text-decoration: line-through;
}

.math-highlight {
  color: white;
}

.math-orange {
  color: var(--burnt-orange);
}

.math-green {
  color: #2ecc71;
}

.math-orig {
  font-size: 0.7rem;
  color: var(--cool-gray);
  text-decoration: line-through;
}

.math-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0;
}

.math-savings {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  padding-top: 10px !important;
}

.math-free {
  padding-top: 4px !important;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--steel-blue);
}

.pricing-card-featured {
  background: var(--steel-blue);
  border: 2px solid var(--burnt-orange);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 1;
}

.pricing-card-featured:hover {
  border-color: var(--burnt-orange);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--burnt-orange);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-header-label {
  font-size: 0.8rem;
  color: var(--cool-gray);
  margin-bottom: 4px;
}

.pricing-card-featured .pricing-header-label {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: var(--space-sm);
}

.pricing-card-featured .pricing-card-title {
  color: white;
}

.pricing-price {
  margin-bottom: 4px;
}

.pricing-amount {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--body-text);
}

.pricing-card-featured .pricing-amount {
  color: white;
}

.pricing-period {
  font-size: 1rem;
  color: var(--cool-gray);
}

.pricing-card-featured .pricing-period {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-setup {
  font-size: 0.8rem;
  color: var(--cool-gray);
  margin-bottom: var(--space-sm);
}

.pricing-savings-line {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.pricing-tagline {
  font-size: 0.875rem;
  color: var(--cool-gray);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-md);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--body-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card-featured .pricing-features li {
  color: rgba(255, 255, 255, 0.95);
}

.pricing-card-featured .pricing-features li svg {
  stroke: rgba(255, 255, 255, 0.7);
}

.pricing-card-featured .pricing-features li strong {
  font-weight: 600;
}

.pricing-card-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.pricing-card:not(.pricing-card-featured) .btn {
  width: 100%;
}

.pricing-card-featured .btn {
  width: 100%;
  justify-content: center;
}

/* Auto-Recall Add-on Row */
.addon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--cool-gray);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.step-item {
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--burnt-orange);
  line-height: 1;
}

.step-connector {
  position: absolute;
  top: 24px;
  right: -30px;
  width: calc(100% - 48px);
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--steel-blue) 0px,
    var(--steel-blue) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: 0.4;
}

.step-item-last .step-connector {
  display: none;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: rgba(45, 74, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--steel-blue);
}

.section-dark .step-icon {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.step-item h3 {
  color: white;
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--cool-gray-light);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

.section-dark .step-item p {
  color: rgba(255, 255, 255, 0.6);
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--steel-blue);
  box-shadow: var(--shadow-md);
}

.testimonial-quote-mark {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--burnt-orange);
  opacity: 0.15;
  pointer-events: none;
}

.testimonial-quote {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

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

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--body-text);
  font-style: normal;
}

.testimonial-company {
  font-size: 0.8rem;
  color: var(--cool-gray);
}

/* =========================================
   OWNERSHIP SECTION
   ========================================= */
.ownership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.ownership-lead {
  font-size: 1.05rem;
  color: var(--body-text);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.ownership-text p {
  color: var(--cool-gray);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.ownership-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: 8px;
}

.ownership-check-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--body-text);
}

.ownership-check-item svg {
  flex-shrink: 0;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--body-text);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--burnt-orange);
}

.faq-question span {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--cool-gray);
  transition: transform var(--transition-slow);
}

.faq-item.faq-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.faq-open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-md);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--cool-gray);
  line-height: 1.7;
}

/* =========================================
   FINAL CTA
   ========================================= */
.section-dark-cta .section-inner {
  text-align: center;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--cool-gray-light);
  margin-bottom: var(--space-lg);
}

.cta-or {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--cool-gray);
}

.cta-phone {
  color: var(--burnt-orange);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.cta-phone:hover {
  color: var(--burnt-orange-hover);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--charcoal-darker);
  color: white;
  padding: var(--space-xl) var(--space-md);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto auto;
  gap: var(--space-md) var(--space-xl);
  align-items: start;
}

.footer-logo {
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--cool-gray);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-email,
.footer-phone {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-email:hover,
.footer-phone:hover {
  color: white;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--cool-gray);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
}

.footer-legal-links a {
  color: var(--cool-gray);
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: white;
}

/* =========================================
   RESPONSIVE — TABLET (≤ 900px)
   ========================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--charcoal);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .nav-links.nav-links-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-hamburger.nav-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-hamburger.nav-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.nav-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero-mockup {
    display: none;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .trust-bar-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .trust-divider {
    width: 60px;
    height: 1px;
  }

  .problem-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card-featured {
    order: -1;
    transform: none;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .step-connector {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .ownership-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .section {
    padding: 64px var(--space-md);
  }

  .section-dark-cta {
    padding: 64px var(--space-md);
  }
}

/* =========================================
   RESPONSIVE — MOBILE (≤ 480px)
   ========================================= */
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .btn-large {
    width: 100%;
  }

  .pricing-card-featured {
    transform: none;
  }

  .math-proof-box {
    padding: var(--space-md);
  }
}
