/* ===========================
   WEBBINGTON — Homepage Styles
   =========================== */

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

:root {
  --white:        #ffffff;
  --off-white:    #f5f4f0;
  --light-grey:   #efefec;
  --border:       #e2e1dc;
  --ink:          #1a1a18;
  --ink-muted:    #4a4a44;
  --ink-light:    #7a7a72;
  --green:        #4a6741;
  --green-light:  #6a8f61;
  --green-bg:     #eef2ec;
  --yellow:       #e8c96a;
  --yellow-bg:    #fdf6e3;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    24px;
  --radius-pill:  999px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --font-sans:    'Inter', system-ui, sans-serif;
  --font-serif:   'Fraunces', Georgia, serif;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--ink-muted); }

.accent-green { color: var(--green-light); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-bg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-sub { color: var(--ink-muted); max-width: 560px; margin-bottom: 3rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-dark {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-dark:hover { background: #3a5432; border-color: #3a5432; }

.btn-outline-dark {
  background: var(--yellow-bg);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover { background: var(--yellow); }

.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  border-color: transparent;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--ink); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

.btn-lg { font-size: 1rem; padding: 14px 30px; }

/* ===========================
   NAV
   =========================== */
.nav-wrapper {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 24px;
}
.nav {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
}
.nav-logo { flex-shrink: 0; }
.nav-logo-img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--ink); background: var(--light-grey); }
.nav .btn { margin-left: 0.5rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  text-align: center;
}
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}
.hero-watermark img { width: 100%; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.hero-headline {
  margin-bottom: 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===========================
   PROOF BAR
   =========================== */
.proof-bar {
  background: var(--light-grey);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.proof-bar-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.logo-item:hover { opacity: 1; }
.logo-item svg { flex-shrink: 0; }
.logo-item--img {
  gap: 0;
}
.logo-item--img img {
  height: 24px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.6);
  transition: filter var(--transition), opacity var(--transition);
}
.logo-item--img:hover img {
  filter: grayscale(0%) contrast(1);
}

/* ===========================
   REFRAME
   =========================== */
.reframe {
  padding: 100px 0;
}
.reframe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.reframe-text h2 { margin-bottom: 1.25rem; }
.reframe-text p { margin-bottom: 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: 0.6rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.reframe-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.pain-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.pain-card--good {
  background: var(--green-bg);
  border-color: #c2d4be;
}
.pain-icon {
  font-size: 1.2rem;
  color: #c0392b;
  margin-bottom: 0.5rem;
}
.pain-icon--good { color: var(--green); }
.pain-card strong { display: block; margin-bottom: 0.5rem; font-size: 0.95rem; }
.pain-card p { font-size: 0.9rem; }

/* ===========================
   SERVICES
   =========================== */
.services-section {
  background: var(--off-white);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-card--featured {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,103,65,0.08);
}
.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.service-card--featured .service-num { color: var(--green-bg); }
.service-card h3 { margin-bottom: 0.25rem; }
.service-duration {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.service-list { display: flex; flex-direction: column; gap: 0.4rem; }
.service-list li {
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green-light);
}

/* ===========================
   WHY WEBBINGTON
   =========================== */
.why-section {
  padding: 100px 0;
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why-text h2 { margin-bottom: 1.25rem; }
.why-text p { margin-bottom: 1.25rem; }
.matt-bio-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0.85rem 1rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: fit-content;
}
.matt-bio-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.matt-bio-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.matt-bio-info span {
  font-size: 0.78rem;
  color: var(--ink-light);
}
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  margin-left: 2px;
}
.stat-label { font-size: 0.82rem; color: var(--ink-muted); }

/* ===========================
   PROCESS
   =========================== */
.process-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 3rem;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.88rem; }
.process-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 24px;
  align-self: flex-start;
}

/* ===========================
   DIFFERENTIATORS TABLE
   =========================== */
.diff-section { padding: 100px 0; }
.diff-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  margin-top: 2.5rem;
}
.diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.diff-table th, .diff-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.diff-table th:first-child,
.diff-table td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.diff-table thead th {
  background: var(--off-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}
.diff-table tbody tr:last-child td { border-bottom: none; }
.diff-table tbody tr:hover td { background: var(--off-white); }
.th-us { color: var(--green) !important; }
.td-us { color: var(--green); font-weight: 700; }

/* ===========================
   PRICING
   =========================== */
.pricing-section {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.pricing-phase {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.pricing-range {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.pricing-range span { font-size: 1rem; font-weight: 500; color: var(--ink-muted); }
.pricing-card p { font-size: 0.88rem; margin-bottom: 1.25rem; }
.pricing-list { display: flex; flex-direction: column; gap: 0.4rem; }
.pricing-list li {
  font-size: 0.85rem;
  color: var(--ink-muted);
  padding-left: 1.2rem;
  position: relative;
}
.pricing-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.75rem;
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  opacity: 0.04;
  pointer-events: none;
  filter: invert(1);
}
.cta-banner-watermark img { width: 100%; }
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 1.25rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.cta-note {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4) !important;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-logo { height: auto; width: 200px; max-width: 100%; filter: invert(1) brightness(0.85); object-fit: contain; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-credit { font-size: 0.78rem; color: rgba(255,255,255,0.3) !important; }
.footer-links { display: flex; gap: 3rem; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-hamburger { display: flex; }

  .reframe-inner,
  .why-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .services-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .process-steps { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .process-step { flex-direction: row; text-align: left; }
  .process-connector { display: none; }

  .why-stats { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 80px; }
  .why-stats { grid-template-columns: 1fr; }
  .hero-watermark { width: 320px; }
  .cta-banner-watermark { width: 280px; }
}

/* ===========================
   MOBILE NAV OPEN STATE
   =========================== */
.nav.is-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 200;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.nav.is-open .nav-links a { font-size: 1.4rem; }
.nav.is-open .nav-links .nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}
