/* ============================================================
   PlumberCallAnswering.com — Landing page layout
   ============================================================ */

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Site nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-800);
  height: 64px;
  display: flex;
  align-items: center;
}
.site-nav .container {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  color: #fff;
  letter-spacing: -0.01em;
  margin-right: 16px;
}
.site-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--copper-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-logo span { color: var(--copper-300); }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--navy-300);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: var(--weight-medium);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(175deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-page);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-300);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero-label::before,
.hero-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--copper-500);
  opacity: 0.6;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--copper-300);
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--navy-200);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: var(--leading-relaxed);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: var(--text-sm);
  color: var(--navy-300);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust span::before {
  content: '✓';
  color: var(--color-success-mid);
  font-weight: var(--weight-bold);
}

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  letter-spacing: var(--tracking-tight);
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span { color: var(--copper-500); }
.stat-desc {
  font-size: var(--text-sm);
  color: var(--fg2);
  line-height: var(--leading-snug);
}

/* ── Section headers ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-500);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--copper-500);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--neutral-900);
  margin-bottom: 16px;
  line-height: var(--leading-snug);
}
.section-sub {
  font-size: var(--text-lg);
  color: var(--fg2);
  max-width: 560px;
  line-height: var(--leading-relaxed);
}

/* ── Features ─────────────────────────────────────────────── */
.features-section { padding: 96px 0; }
.features-header { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-200);
  transform: translateY(-2px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-navy  { background: var(--navy-50); color: var(--navy-700); }
.feature-icon-copper { background: var(--copper-50); color: var(--copper-600); }
.feature-icon-green { background: var(--color-success-bg); color: var(--color-success); }
.feature-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--neutral-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: var(--text-base);
  color: var(--fg2);
  line-height: var(--leading-relaxed);
}

/* ── How it works ─────────────────────────────────────────── */
.how-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 56px;
}
.how-step { text-align: center; padding: 0 16px; }
.how-connector {
  display: flex;
  align-items: center;
  padding-top: 26px;
}
.how-step-num {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.how-step-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--neutral-900);
  margin-bottom: 10px;
}
.how-step-desc {
  font-size: var(--text-sm);
  color: var(--fg2);
  line-height: var(--leading-relaxed);
}

/* ── Testimonial ──────────────────────────────────────────── */
.testimonial-section { padding: 96px 0; }
.testimonial-card {
  background: var(--navy-900);
  border-radius: var(--radius-2xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: var(--weight-extrabold);
  color: var(--navy-700);
  line-height: 1;
  pointer-events: none;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--weight-medium);
  color: #fff;
  line-height: var(--leading-snug);
  margin-bottom: 28px;
  position: relative;
  max-width: 720px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--copper-500);
  color: #fff;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-name {
  font-weight: var(--weight-semibold);
  color: #fff;
  font-size: var(--text-base);
}
.testimonial-role {
  font-size: var(--text-sm);
  color: var(--navy-300);
  font-family: var(--font-mono);
}

/* ── Bottom CTA ───────────────────────────────────────────── */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--weight-extrabold);
  color: #fff;
  letter-spacing: var(--tracking-tight);
  margin-bottom: 16px;
  line-height: var(--leading-tight);
}
.cta-section p {
  font-size: var(--text-lg);
  color: var(--navy-200);
  margin-bottom: 36px;
  line-height: var(--leading-relaxed);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--neutral-950);
  padding: 40px 0;
  border-top: 1px solid var(--neutral-900);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  color: var(--neutral-400);
  text-decoration: none;
}
.footer-logo span { color: var(--copper-400); }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--neutral-300); }
.footer-copy {
  font-size: var(--text-xs);
  color: var(--neutral-600);
  font-family: var(--font-mono);
}

/* ── Demo modal ───────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 13, 26, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  border-radius: var(--radius-2xl);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modal-in var(--duration-slow) var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--fg2);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}
.modal-close:hover { background: var(--neutral-100); color: var(--fg); }
.modal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-500);
  margin-bottom: 8px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--neutral-900);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: var(--text-sm);
  color: var(--fg2);
  line-height: var(--leading-relaxed);
  margin-bottom: 28px;
}
.modal-form { display: flex; flex-direction: column; gap: 20px; }
.modal-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Reveal state */
.reveal-wrap { text-align: center; padding: 16px 0; }
.reveal-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--copper-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.reveal-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--neutral-900);
  margin-bottom: 12px;
  letter-spacing: var(--tracking-tight);
}
.reveal-sub {
  font-size: var(--text-sm);
  color: var(--fg2);
  margin-bottom: 20px;
  line-height: var(--leading-relaxed);
}
.reveal-phone {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--navy-700);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding: 16px;
  border: 2px solid var(--navy-200);
  border-radius: var(--radius-xl);
  background: var(--navy-50);
  transition: all var(--transition-base);
}
.reveal-phone:hover {
  background: var(--navy-100);
  border-color: var(--navy-400);
  box-shadow: var(--shadow-navy);
}
.reveal-hint {
  font-size: var(--text-sm);
  color: var(--fg3);
  margin-bottom: 28px;
  font-style: italic;
}
.reveal-next {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.reveal-next p { font-size: var(--text-sm); color: var(--fg2); }

/* ── Mobile sticky CTA ────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(12,45,85,0.1);
  z-index: 100;
}
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-steps { grid-template-columns: 1fr; gap: 32px; }
  .how-connector { display: none; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .testimonial-card { padding: 36px 28px; }
  .testimonial-card::before { font-size: 100px; }
  .nav-links { display: none; }
  .mobile-cta { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 60px; }
  .features-section,
  .how-section,
  .testimonial-section,
  .cta-section { padding: 64px 0; }
}
