:root {
  --bg: #faf8f5;
  --surface: #f0ede8;
  --primary: #1a4a3a;
  --accent: #e8913a;
  --accent-light: #fdf3e8;
  --text: #1c1917;
  --text-mid: #57534e;
  --text-light: #a8a29e;
  --white: #ffffff;
  --border: #e7e3dc;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--text-light);
  border-left: 1px solid var(--border);
  padding-left: 16px;
}
.nav-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-cta-btn:hover { opacity: 0.88; }

/* SECTIONS */
section { padding: 80px 40px; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.02em;
  max-width: 600px;
}

/* HERO */
.hero { padding: 80px 40px 100px; }
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 460px;
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.refresh-ring {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-slow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0.15;
  animation: pulse 4s ease-in-out infinite;
}
.ring-fast {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: spin 6s linear infinite;
}
.ring-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit 4s linear infinite;
  transform-origin: 0 90px;
}
.ring-center {
  position: absolute;
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.15; transform: scale(1); } 50% { opacity: 0.25; transform: scale(1.05); } }
@keyframes orbit { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(360deg); } }

.hero-stat-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.hero-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.4;
}

/* PROBLEM */
.problem { background: var(--primary); padding: 80px 40px; }
.problem .section-label { color: var(--accent); }
.problem .section-headline { color: var(--white); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}
.problem-card {
  background: var(--primary);
  padding: 36px 32px;
}
.problem-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,145,58,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.problem-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* SOLUTION */
.solution { background: var(--bg); }
.solution-inner { max-width: 1100px; margin: 0 auto; }
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.solution-item {
  background: var(--white);
  padding: 40px 36px;
}
.solution-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.solution-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.solution-item p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* PROCESS */
.process { background: var(--surface); }
.process-inner { max-width: 900px; margin: 0 auto; }
.process .section-headline { margin-bottom: 56px; }
.process-steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.step:last-child { padding-bottom: 0; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-line {
  flex: 1;
  width: 2px;
  background: var(--border);
  margin-top: 12px;
}
.step:last-child .step-line { display: none; }
.step-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.step-content p { font-size: 15px; color: var(--text-mid); line-height: 1.7; max-width: 560px; }

/* PRICING */
.pricing { background: var(--bg); }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
}
.pricing-card--featured {
  border: 2px solid var(--primary);
  background: var(--primary);
  position: relative;
}
.pricing-card--featured .pricing-tier,
.pricing-card--featured .pricing-amount,
.pricing-card--featured .pricing-note,
.pricing-card--featured li { color: var(--white); }
.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.pricing-price { margin-bottom: 24px; }
.pricing-amount {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
}
.pricing-note { font-size: 14px; color: var(--text-light); margin-left: 4px; }
.pricing-features { list-style: none; }
.pricing-features li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card--featured .pricing-features li { border-color: rgba(255,255,255,0.15); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 4.5l-7 7-4-4' stroke='%23e8913a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card--featured .pricing-features li::before { background-color: rgba(232,145,58,0.25); }
.pricing-upsell {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.5;
}

/* GUARANTEE */
.guarantee { background: var(--surface); padding: 60px 40px; }
.guarantee-inner { max-width: 800px; margin: 0 auto; }
.guarantee-content {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.guarantee-icon { flex-shrink: 0; }
.guarantee-headline {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.guarantee-body { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* CLOSING */
.closing { background: var(--primary); padding: 100px 40px; text-align: center; }
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.7; }

/* FOOTER */
.footer { padding: 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--primary); }
.footer-note { font-size: 13px; color: var(--text-light); }

/* GALLERY */
.gallery { background: var(--surface); padding: 80px 40px; }
.gallery-inner { max-width: 1200px; margin: 0 auto; }
.gallery-sub { font-size: 16px; color: var(--text-mid); margin-top: 12px; margin-bottom: 0; max-width: 560px; }
.gallery-grid { display: flex; flex-direction: column; gap: 64px; margin-top: 56px; }
.gallery-item { }
.gallery-label-row {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
}
.gallery-biz-name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--primary);
}
.gallery-biz-type { font-size: 13px; color: var(--text-light); }
.gallery-compare {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  align-items: center;
}
.gallery-arrow { display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.gallery-panel { display: flex; flex-direction: column; gap: 12px; }
.panel-badge {
  display: inline-flex; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.panel-badge--before { background: #ffeaea; color: #c0392b; }
.panel-badge--after { background: #e8f5e9; color: #1a6b2a; }
.panel-problem-tags, .panel-win-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.ptag {
  font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 20px;
  background: #ffeaea; color: #c0392b;
}
.wtag {
  font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 20px;
  background: #e8f5e9; color: #1a6b2a;
}

/* BROWSER MOCKUP — OLD */
.mockup-browser { border-radius: 8px; overflow: hidden; font-family: Arial, sans-serif; }
.mockup-browser--old { border: 1px solid #ccc; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px;
}
.browser-bar--old { background: #e8e8e8; border-bottom: 1px solid #ccc; }
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; }
.browser-url { flex: 1; font-size: 11px; text-align: center; }
.browser-url--old { color: #555; background: #fff; border-radius: 4px; padding: 2px 8px; }
.mockup-body--old { background: #f0f0f0; max-height: 300px; overflow: hidden; }
.old-header { background: #fff; padding: 10px 12px; border-bottom: 2px solid #999; }
.old-header--blue { background: #e8f0fb; border-bottom: 2px solid #003366; }
.old-header--dark { background: #222; border-bottom: 2px solid #cc2200; }
.old-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.old-logo-icon { font-size: 22px; }
.old-logo-name { font-size: 13px; font-weight: bold; color: #1a4a3a; letter-spacing: 0.02em; }
.old-logo-tagline { font-size: 10px; color: #888; }
.old-nav { display: flex; flex-wrap: wrap; gap: 3px; }
.old-nav span { font-size: 11px; background: #e8e8e8; border: 1px solid #bbb; padding: 2px 8px; color: #333; cursor: pointer; }
.old-nav--blue span { background: #003366; color: #fff; border-color: #002244; font-size: 10px; }
.old-hero-banner {
  background: linear-gradient(135deg, #2a5298, #1a3a6a);
  padding: 16px 12px; text-align: center;
}
.old-hero-text { font-size: 16px; font-weight: bold; color: #ffdd00; text-shadow: 1px 1px 0 #000; margin-bottom: 4px; }
.old-hero-sub { font-size: 12px; color: #fff; margin-bottom: 10px; }
.old-hero-cta { }
.old-btn {
  display: inline-block; font-size: 12px; font-weight: bold;
  padding: 6px 14px; border-radius: 4px;
  background: linear-gradient(to bottom, #ffcc00, #ff9900);
  color: #000; border: 1px solid #cc7700; cursor: pointer;
}
.old-btn--blue { background: linear-gradient(to bottom, #0055cc, #003399); color: #fff; border-color: #002277; margin-top: 8px; display: inline-block; font-size: 12px; font-weight: bold; padding: 6px 14px; border-radius: 4px; }
.old-btn--red { background: linear-gradient(to bottom, #cc2200, #990000); color: #fff; border-color: #660000; margin-top: 8px; display: inline-block; font-size: 12px; font-weight: bold; padding: 6px 14px; border-radius: 4px; }
.old-content-row { display: flex; gap: 0; }
.old-sidebar { width: 120px; flex-shrink: 0; background: #e0e0e0; border-right: 1px solid #bbb; padding: 8px; }
.old-sidebar-title { font-size: 10px; font-weight: bold; background: #666; color: #fff; padding: 3px 6px; margin-bottom: 4px; }
.old-sidebar-item { font-size: 10px; color: #0000cc; padding: 2px 0; text-decoration: underline; cursor: pointer; }
.old-sidebar-sep { border-top: 1px solid #bbb; margin: 6px 0; }
.old-badge-img { font-size: 10px; color: #555; text-align: center; line-height: 1.4; }
.old-main { flex: 1; padding: 10px; background: #fff; }
.old-welcome { font-size: 14px; font-weight: bold; color: #1a3a6a; margin-bottom: 6px; }
.old-body-text { font-size: 10px; color: #333; line-height: 1.5; margin-bottom: 8px; }
.old-marquee { font-size: 10px; color: #cc2200; background: #ffeecc; border: 1px solid #ffaa00; padding: 3px 6px; margin-bottom: 8px; }
.old-img-row { display: flex; gap: 6px; }
.old-img-placeholder { width: 80px; height: 55px; background: #ccc; border: 1px solid #aaa; }
.old-img-placeholder--2 { background: #bbb; }
.old-dental-flash { display: flex; gap: 10px; padding: 10px; background: #fff; }
.old-flash-img { width: 90px; flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.old-flash-square { width: 88px; height: 50px; background: #ccc; border: 1px solid #aaa; }
.old-flash-square--sm { height: 30px; background: #bbb; }
.old-flash-square--xs { height: 20px; background: #ddd; }
.old-flash-right { flex: 1; }
.old-flash-welcome { font-size: 13px; font-weight: bold; color: #003366; margin-bottom: 5px; }
.old-flash-body { font-size: 10px; color: #444; line-height: 1.5; margin-bottom: 6px; }
.old-flash-hours { font-size: 10px; color: #555; margin-bottom: 4px; }
.old-services-strip { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 10px; background: #e8e8e8; border-top: 1px solid #bbb; }
.old-services-strip--dark { background: #222; border-top: 1px solid #444; }
.old-service-badge { font-size: 10px; padding: 3px 8px; background: #fff; border: 1px solid #bbb; color: #333; border-radius: 3px; }
.old-service-badge--dark { background: #444; border-color: #666; color: #ddd; }
.old-contractor-hero { display: flex; gap: 10px; padding: 10px; background: #f5f5f5; }
.old-contractor-img { width: 90px; height: 80px; flex-shrink: 0; background: #ccc; border: 1px solid #aaa; }
.old-contractor-right { flex: 1; }
.old-cert-row { display: flex; gap: 4px; margin-bottom: 6px; }
.old-cert { font-size: 9px; font-weight: bold; padding: 2px 6px; background: #ffcc00; border: 1px solid #cc9900; color: #333; border-radius: 2px; }

/* BROWSER MOCKUP — NEW */
.mockup-browser--new { border: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.browser-bar--new { background: #f5f5f5; border-bottom: 1px solid #e0e0e0; }
.new-dot { }
.new-dot--r { background: #ff5f57; }
.new-dot--y { background: #ffbd2e; }
.new-dot--g { background: #28c840; }
.browser-url--new { flex: 1; font-size: 11px; text-align: center; color: #555; background: #fff; border-radius: 6px; padding: 2px 10px; border: 1px solid #e0e0e0; }
.mockup-body--new { background: #faf8f5; max-height: 300px; overflow: hidden; }
.mockup-body--dental { background: #f0faf8; }
.mockup-body--contractor-new { background: #1a2a1a; }
.new-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #fff; border-bottom: 1px solid #f0ede8;
}
.new-nav--dental { background: #f0faf8; border-bottom: 1px solid #d0ece8; }
.new-nav--dark { background: #1a2a1a; border-bottom: 1px solid rgba(255,255,255,0.1); }
.new-nav-logo { font-weight: 700; font-size: 13px; color: #1a4a3a; }
.new-nav-links { display: flex; align-items: center; gap: 12px; }
.new-nav-links span { font-size: 11px; color: #57534e; }
.new-nav-cta {
  font-size: 11px; font-weight: 600;
  background: #e8913a; color: #fff;
  padding: 4px 12px; border-radius: 6px;
}
.new-nav-cta--teal { background: #0a6e5c; }
.new-hero { padding: 20px 14px 14px; }
.new-hero--dental { background: #f0faf8; }
.new-hero--dark { background: #1a2a1a; }
.new-hero-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #e8913a; margin-bottom: 6px; }
.new-hero-h1 { font-size: 18px; font-weight: 900; color: #1a4a3a; line-height: 1.15; margin-bottom: 7px; letter-spacing: -0.02em; }
.new-hero-sub { font-size: 11px; color: #57534e; margin-bottom: 12px; }
.new-hero-cta {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: #e8913a; color: #fff;
  padding: 7px 16px; border-radius: 7px;
}
.new-hero-cta--teal { background: #0a6e5c; }
.new-cards-row { display: flex; gap: 6px; padding: 12px 14px; background: #fff; border-top: 1px solid #f0ede8; }
.new-card {
  flex: 1; background: #faf8f5; border: 1px solid #e7e3dc;
  border-radius: 8px; padding: 10px 8px; text-align: center;
}
.new-card--dental { background: #f0faf8; border-color: #c8e8e0; }
.new-card--dark { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1); }
.new-card-icon { font-size: 16px; margin-bottom: 4px; }
.new-card-title { font-size: 10px; font-weight: 700; color: #1a4a3a; margin-bottom: 2px; }
.new-card-desc { font-size: 9px; color: #78716c; line-height: 1.3; }

/* GALLERY CTA ROW */
.gallery-cta-row {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px; text-align: center;
}
.gallery-cta-text {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--primary); letter-spacing: -0.01em;
}
.gallery-cta-btn {
  display: inline-block;
  background: var(--accent); color: var(--white);
  padding: 15px 32px; border-radius: 10px;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: opacity 0.15s;
}
.gallery-cta-btn:hover { opacity: 0.88; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  section { padding: 60px 24px; }
  .nav { padding: 16px 24px; }
  .guarantee-content { flex-direction: column; gap: 20px; }
  .step { grid-template-columns: 40px 1fr; gap: 20px; }
  .gallery { padding: 60px 24px; }
  .gallery-compare { grid-template-columns: 1fr; gap: 12px; }
  .gallery-arrow { transform: rotate(90deg); }
}


@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .closing-headline { font-size: 28px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}