/* ============================================================
   DGJ SOLUTIONS LLC — Homepage stylesheet
   Light theme: mint #2DD4BF on near-white #F7FBFA
   ============================================================ */

:root {
  --bg: #F7FBFA;
  --surface: #FFFFFF;
  --ink: #0F1715;
  --muted: #3E5C54;
  --mint: #2DD4BF;
  --mint-deep: #0D9488;
  --mint-soft: #99F6E4;
  --mint-dark: #062E2B;
  --line: #DCEBE6;
  --warm: #F5B942;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 14px;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--mint);
  color: var(--mint-dark);
  box-shadow: 0 8px 20px #b9f3e9;
}

.btn-primary:hover {
  background-color: #1fd0ba;
}

.btn-ghost {
  background-color: transparent;
  color: var(--mint-deep);
  border-color: var(--mint);
}

.btn-ghost:hover {
  background-color: var(--mint-soft);
}

/* =============================
   PUZZLE NAVIGATION
   ============================= */
.puzzle-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--mint-dark);
}

/* Puzzle piece: base tile with two knobs on the right and one notch on the left */
.puzzle-piece {
  position: relative;
  width: 30px;
  height: 30px;
  background-color: var(--mint);
  border-radius: 6px;
}

.piece-knob {
  position: absolute;
  right: -9px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
}

.piece-knob-top {
  top: 1px;
  background-color: var(--mint-deep);
}

.piece-knob-bottom {
  bottom: 1px;
  background-color: var(--mint);
}

.piece-notch {
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--surface);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--mint-deep);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--mint);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex: 0 0 auto;
  background-color: var(--mint);
  color: var(--mint-dark);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background-color: #1fd0ba;
  transform: translateY(-1px);
}

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

.toggle-bar {
  width: 24px;
  height: 3px;
  background-color: var(--mint-dark);
  border-radius: 2px;
}

/* =============================
   LIGHT BULB HERO
   ============================= */
.lightbulb-hero {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-deep);
  background-color: var(--mint-soft);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Bulb visual */
.bulb-visual {
  position: relative;
  width: 260px;
  height: 360px;
  margin: 0 auto;
}

.bulb-glow {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background-color: var(--mint-soft);
}

.glow-ray {
  position: absolute;
  width: 6px;
  height: 42px;
  border-radius: 6px;
  background-color: var(--mint);
  left: 50%;
  top: 30px;
  transform-origin: 50% 140px;
}

.ray-1 { transform: translateX(-50%) rotate(0deg); }
.ray-2 { transform: translateX(-50%) rotate(40deg); }
.ray-3 { transform: translateX(-50%) rotate(-40deg); }
.ray-4 { transform: translateX(-50%) rotate(80deg); }
.ray-5 { transform: translateX(-50%) rotate(-80deg); }

.bulb-glass {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  background-color: var(--mint-soft);
  border: 5px solid var(--mint);
  border-radius: 50% 50% 42% 42%;
}

.filament {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 50px;
  border: 4px solid var(--mint-deep);
  border-top: none;
  border-radius: 0 0 22px 22px;
}

.bulb-base {
  position: absolute;
  top: 185px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 46px;
  background-color: var(--mint-deep);
  border-radius: 4px 4px 8px 8px;
}

.thread {
  position: absolute;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--mint-soft);
  border-radius: 2px;
}

.thread-1 { top: 12px; }
.thread-2 { top: 24px; }
.thread-3 { top: 36px; }

.bulb-cap {
  position: absolute;
  top: 229px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 12px;
  background-color: var(--mint-dark);
  border-radius: 4px;
}

/* =============================
   STATEMENT ROW
   ============================= */
.statement-row {
  background-color: var(--mint-dark);
  padding: 80px 24px;
}

.statement-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.statement-text {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--surface);
}

.statement-text span {
  color: var(--mint);
}

/* =============================
   ABOUT
   ============================= */
.about-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.about-body p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.about-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 600;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background-color: var(--mint);
}

/* =============================
   STAT COLUMNS
   ============================= */
.stats-section {
  background-color: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

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

.stat-col {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stat-col:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--mint-deep);
}

.stat-suffix {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--mint-deep);
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================
   SERVICES (horizontal scroll + tabs)
   ============================= */
.services-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.services-head {
  text-align: center;
  max-width: 680px;
}

.services-head h2 {
  margin-bottom: 16px;
}

.services-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.scroller {
  margin-top: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) var(--line);
  padding-bottom: 12px;
}

.scroller::-webkit-scrollbar {
  height: 8px;
}

.scroller::-webkit-scrollbar-track {
  background: var(--line);
  border-radius: 8px;
}

.scroller::-webkit-scrollbar-thumb {
  background: var(--mint);
  border-radius: 8px;
}

.scroll-track {
  display: flex;
  gap: 20px;
  padding: 4px 24px;
  width: max-content;
}

.service-card {
  flex: 0 0 300px;
  text-align: left;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover,
.service-card.is-active {
  border-color: var(--mint);
  box-shadow: 0 12px 28px #d8efe9;
  transform: translateY(-4px);
}

.card-index {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mint-soft);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--mint-dark);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-panel {
  margin-top: 40px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.panel-tab {
  flex: 1 1 auto;
  background: none;
  border: none;
  padding: 16px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.panel-tab:hover {
  color: var(--mint-deep);
}

.panel-tab.is-active {
  color: var(--mint-dark);
  border-bottom-color: var(--mint);
}

.panel-body {
  padding: 28px;
}

.panel-detail h3 {
  color: var(--mint-dark);
  margin-bottom: 12px;
}

.panel-detail p {
  color: var(--muted);
  margin-bottom: 14px;
}

.panel-detail ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.panel-detail ul li {
  padding-left: 24px;
  position: relative;
  color: var(--ink);
}

.panel-detail ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint-deep);
  font-weight: 800;
}

/* =============================
   ENGAGEMENT / COMPARISON TABLE
   ============================= */
.engagement-section {
  padding: 96px 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line);
}

.engagement-section h2 {
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 640px;
}

.table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  background-color: var(--mint-dark);
  color: var(--surface);
  font-weight: 700;
}

.compare-table thead th:nth-child(n+2) {
  text-align: center;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--mint-dark);
}

.compare-table tbody td {
  text-align: center;
  color: var(--muted);
}

.compare-table tbody tr:hover {
  background-color: var(--bg);
}

/* =============================
   PROCESS (numbered list)
   ============================= */
.process-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.process-section h2 {
  margin-bottom: 48px;
}

.process-list {
  list-style: none;
  counter-reset: step;
  max-width: 760px;
}

.process-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background-color: var(--mint-soft);
}

.process-step:last-child::before {
  display: none;
}

.step-num {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mint);
  color: var(--mint-dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  z-index: 1;
}

.step-body h3 {
  font-size: 1.25rem;
  color: var(--mint-dark);
  margin-bottom: 8px;
}

.step-body p {
  color: var(--muted);
}

/* =============================
   CONTACT / SPLIT CTA BAND
   ============================= */
.contact-section {
  padding: 96px 0;
  background-color: var(--mint-dark);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-left h2 {
  color: var(--surface);
  margin-bottom: 18px;
}

.contact-left p {
  color: var(--mint-soft);
  margin-bottom: 32px;
  max-width: 460px;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint-soft);
  margin-bottom: 4px;
}

.detail-value {
  color: var(--surface);
  font-weight: 600;
}

a.detail-value:hover {
  color: var(--mint);
}

.contact-form {
  background-color: var(--surface);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mint-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--bg);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--mint);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mint-deep);
  min-height: 1.4em;
}

/* =============================
   FOOTER
   ============================= */
.site-footer {
  background-color: var(--surface);
  border-top: 3px solid var(--mint);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.footer-brand {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mint-dark);
  margin-bottom: 12px;
}

.footer-about p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-title {
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--mint-deep);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  color: var(--mint-deep);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--mint-dark);
}

/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .bulb-visual {
    margin-top: 20px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }

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

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    display: none;
  }

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

  .stat-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stat-col:last-child {
    border-bottom: none;
  }

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