/* ===== DND Logix v2 - Light Theme ===== */
:root {
  --white: #ffffff;
  --off-white: #f8f7f4;
  --cream: #f0ede6;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --ink: #1c1917;
  --navy: #1e3a5f;
  --navy-light: #2c5282;
  --gold: #b8860b;
  --gold-light: #daa520;
  --teal: #0d7377;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--stone-700);
  line-height: 1.8;
}

/* ===== Sidebar Navigation ===== */
.sidebar {
  position: fixed; left: 0; top: 0;
  width: 260px; height: 100vh;
  background: var(--white);
  border-right: 1px solid var(--stone-200);
  padding: 40px 28px;
  display: flex; flex-direction: column;
  z-index: 100;
  overflow-y: auto;
}
.sidebar .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.sidebar .logo span { color: var(--gold); }
.sidebar .tagline {
  font-size: 0.8rem;
  color: var(--stone-400);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.sidebar nav ul { list-style: none; }
.sidebar nav ul li { margin-bottom: 4px; }
.sidebar nav ul li a {
  display: block;
  padding: 10px 16px;
  color: var(--stone-500);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.sidebar nav ul li a:hover {
  background: var(--stone-100);
  color: var(--navy);
}
.sidebar .sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--stone-200);
}
.sidebar .sidebar-footer p {
  font-size: 0.78rem;
  color: var(--stone-400);
  line-height: 1.6;
}

/* ===== Main Content ===== */
.main {
  margin-left: 260px;
  min-height: 100vh;
}

section { padding: 80px 60px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
h2 { font-size: 2rem; font-weight: 700; color: var(--stone-800); margin-bottom: 12px; }
.section-desc { color: var(--stone-400); max-width: 600px; font-size: 1rem; margin-bottom: 40px; }

/* ===== Hero ===== */
.hero {
  padding: 100px 60px 60px;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
}
.hero .section-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--stone-900);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--navy); display: block; }
.hero .sub { color: var(--stone-400); font-size: 1.05rem; line-height: 1.8; margin-bottom: 28px; }
.hero .hero-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--stone-100);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--stone-600);
}
.hero-right {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px;
}

.btn { display: inline-block; padding: 13px 32px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: all 0.2s ease; font-size: 0.92rem; border: none; cursor: pointer; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--stone-300); }
.btn-ghost:hover { border-color: var(--navy); }

/* ===== Stats ===== */
.stats {
  background: var(--white);
  border-top: 1px solid var(--stone-200);
  padding: 40px 60px;
}
.stats-grid { display: flex; gap: 0; max-width: 1100px; margin: 0 auto; }
.stat-cell {
  flex: 1; text-align: center;
  padding: 24px 16px;
  position: relative;
}
.stat-cell:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px;
  background: var(--stone-200);
}
.stat-cell .n { font-size: 2.2rem; font-weight: 800; color: var(--navy); display: block; }
.stat-cell .l { color: var(--stone-400); font-size: 0.85rem; display: block; margin-top: 2px; }

/* ===== Services ===== */
.svc-grid {
  display: grid; gap: 20px;
}
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.25s ease;
}
.svc-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}
.svc-card .icon {
  font-size: 1.6rem; margin-bottom: 10px;
}
.svc-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--stone-800); margin-bottom: 8px; }
.svc-card p { font-size: 0.9rem; color: var(--stone-500); line-height: 1.65; }
.svc-card a { color: var(--navy); font-size: 0.85rem; font-weight: 600; text-decoration: none; margin-top: 10px; display: inline-block; }
.svc-card a:hover { color: var(--gold); }

/* ===== About ===== */
.about-split {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start;
}
.about-text p { color: var(--stone-500); margin-bottom: 16px; line-height: 1.8; }
.about-text .blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  font-style: italic;
  color: var(--stone-600);
  margin: 20px 0;
  font-size: 0.95rem;
}
.about-sidebar {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 28px;
}
.about-sidebar h3 { font-size: 1rem; color: var(--stone-800); margin-bottom: 14px; }
.sb-item { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--stone-100); font-size: 0.88rem; }
.sb-item:last-child { border-bottom: none; }
.sb-item .k { color: var(--stone-400); }
.sb-item .v { color: var(--stone-700); text-align: right; }

/* ===== Process ===== */
.proc-list { counter-reset: step; }
.proc-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 20px;
  margin-bottom: 24px;
  position: relative;
}
.proc-item::before {
  counter-increment: step;
  content: counter(step);
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.proc-item .pc-content h4 { color: var(--stone-800); font-size: 1rem; margin-bottom: 4px; }
.proc-item .pc-content p { color: var(--stone-400); font-size: 0.9rem; line-height: 1.6; }

/* ===== Coverage ===== */
.cov-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.cov-item {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--stone-600);
  display: flex; align-items: center; gap: 10px;
}

/* ===== Testimonials ===== */
.testi-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  padding: 32px;
}
.testi-card .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card .q { color: var(--stone-500); font-size: 0.92rem; line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.testi-card .who { font-weight: 600; color: var(--stone-800); font-size: 0.9rem; }
.testi-card .who span { font-weight: 400; color: var(--stone-400); }

/* ===== Footer ===== */
.footer {
  background: var(--stone-900);
  color: var(--stone-400);
  padding: 60px 60px 30px;
  margin-left: 260px;
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 14px; }
.footer-col p { font-size: 0.85rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--stone-400); text-decoration: none; font-size: 0.85rem; }
.footer-col ul li a:hover { color: var(--cream); }
.footer-bot {
  max-width: 1100px; margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; font-size: 0.8rem;
}
.footer-bot a { color: var(--stone-400); text-decoration: none; }
.footer-bot a:hover { color: var(--cream); }

/* ===== Sub-pages ===== */
.page-head {
  padding: 100px 60px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
}
.page-head h1 { font-size: 2.2rem; color: var(--stone-900); margin-bottom: 8px; }
.page-head p { color: var(--stone-400); max-width: 550px; }

.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
}
.cform input, .cform textarea {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--stone-300);
  border-radius: 8px; color: var(--stone-800); font-size: 0.95rem;
  margin-bottom: 12px; font-family: inherit;
  transition: border-color 0.2s;
}
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,95,0.08); }
.cform textarea { min-height: 120px; resize: vertical; }

.ci-card {
  background: var(--white); border: 1px solid var(--stone-200);
  border-radius: 12px; padding: 32px;
}
.ci-row { display: flex; gap: 14px; margin-bottom: 18px; }
.ci-row .ci-ico { width: 40px; height: 40px; background: var(--cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.ci-row .ci-l { color: var(--stone-400); font-size: 0.8rem; }
.ci-row .ci-v { color: var(--stone-700); font-size: 0.9rem; }

.privacy-content { max-width: 800px; margin: 0 auto; padding: 40px 60px; }
.privacy-content h3 { color: var(--stone-800); font-size: 1.1rem; margin: 28px 0 10px; }
.privacy-content p { color: var(--stone-500); line-height: 1.8; margin-bottom: 10px; font-size: 0.92rem; }

@media (max-width: 1024px) {
  .sidebar { width: 220px; padding: 30px 20px; }
  .main { margin-left: 220px; }
  .hero .section-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-right { padding: 24px; }
  .stats-grid { flex-wrap: wrap; }
  .stat-cell { flex: 0 0 50%; }
  .stat-cell:nth-child(2)::after { display: none; }
  .svc-row { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .testi-cards { grid-template-columns: 1fr; }
  .footer { margin-left: 220px; }
  .privacy-content { padding: 30px; }
}

@media (max-width: 768px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .hero { padding: 60px 24px 40px; }
  section { padding: 50px 24px; }
  .stats { padding: 24px 16px; }
  .stat-cell { flex: 0 0 50%; }
  .page-head { padding: 70px 24px 30px; }
  .privacy-content { padding: 24px; }
  .footer { margin-left: 0; padding: 40px 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cov-list { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
