/*
 * CHAKBERRI LLC site styles.
 * Palette: deep berry-dark + burgundy + leaf-green + cream-pink.
 * Fonts:   Lora (display serif) + Manrope (body) + DM Mono (digits/labels).
 * Layout signature: rounded organic cards (16-20px corners), soft shadows,
 *                   single curved vine accent, card-stacked sections.
 * Naming: --cbr-*, cbr-*.
 */

:root {
  --cbr-bg:        #1F0A14;
  --cbr-bg-soft:   #2B1220;
  --cbr-bg-card:   #32172A;
  --cbr-bg-alt:    #28101F;
  --cbr-primary:   #A8164B;
  --cbr-primary-dim: #6F1230;
  --cbr-accent:    #5C8A3A;
  --cbr-accent-dim: #3F6128;
  --cbr-text:      #FBF1EE;
  --cbr-text-dim:  #C9B6B0;
  --cbr-text-muted:#8D7A75;
  --cbr-stroke:    rgba(251, 241, 238, 0.08);
  --cbr-radius-lg: 22px;
  --cbr-radius-md: 16px;
  --cbr-radius-sm: 10px;
  --cbr-shadow:    0 18px 40px -22px rgba(0, 0, 0, 0.6),
                   0 4px 10px -6px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
  color: var(--cbr-text);
  background: var(--cbr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.cbr-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.cbr-top {
  background: linear-gradient(180deg, rgba(15, 5, 10, 0.95), rgba(31, 10, 20, 0.85));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cbr-stroke);
  position: sticky; top: 0; z-index: 50;
}
.cbr-top-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 16px;
}
.cbr-brand {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cbr-text);
}
.cbr-mark { width: 44px; height: 44px; }
.cbr-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.cbr-brand-name {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.2px;
}
.cbr-brand-sub {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--cbr-primary);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.cbr-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.cbr-nav a {
  color: var(--cbr-text-dim);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 4px;
  transition: color .2s;
}
.cbr-nav a:hover { color: var(--cbr-text); }

/* ===== Hero ===== */
.cbr-hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(168, 22, 75, 0.20), transparent 70%),
    radial-gradient(700px 400px at 90% 100%, rgba(92, 138, 58, 0.14), transparent 60%),
    var(--cbr-bg);
  position: relative;
  overflow: hidden;
}
.cbr-hero::before {
  content: "";
  position: absolute;
  left: -120px; bottom: -120px; width: 800px; height: 400px;
  border: 2px solid rgba(92, 138, 58, 0.22);
  border-radius: 100%;
  transform: rotate(-12deg);
  pointer-events: none;
}
.cbr-hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px;
  align-items: center;
  position: relative;
}
.cbr-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--cbr-primary);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.cbr-h1 {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}
.cbr-lead { font-size: 18px; color: var(--cbr-text-dim); max-width: 520px; margin: 0 0 18px; }
.cbr-meta { font-family: "DM Mono", monospace; font-size: 12px; color: var(--cbr-text-muted); margin: 0 0 28px; }
.cbr-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.cbr-btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: transform .2s, background .2s, color .2s;
}
.cbr-btn-primary {
  background: var(--cbr-primary);
  color: var(--cbr-text);
  box-shadow: 0 12px 30px -10px rgba(168, 22, 75, 0.55);
}
.cbr-btn-primary:hover { background: #C01A56; transform: translateY(-1px); }
.cbr-btn-ghost {
  background: transparent;
  color: var(--cbr-text);
  border: 1px solid rgba(251, 241, 238, 0.22);
}
.cbr-btn-ghost:hover { background: rgba(251, 241, 238, 0.06); }

.cbr-hero-art { display: flex; justify-content: center; }
.cbr-hero-art svg { width: 100%; max-width: 320px; height: auto; }

/* ===== Sections ===== */
.cbr-section { padding: 72px 0; }
.cbr-section-alt { background: var(--cbr-bg-alt); }
.cbr-h2 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 16px;
  letter-spacing: -0.2px;
}
.cbr-section-lead {
  max-width: 720px;
  color: var(--cbr-text-dim);
  font-size: 16px;
  margin: 0 0 36px;
}

/* ===== Service cards ===== */
.cbr-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}
.cbr-card {
  background: var(--cbr-bg-card);
  border-radius: var(--cbr-radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--cbr-shadow);
  border: 1px solid var(--cbr-stroke);
  transition: transform .2s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.cbr-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; width: 140px; height: 140px;
  background: radial-gradient(circle at 70% 30%, rgba(168, 22, 75, 0.20), transparent 65%);
  pointer-events: none;
}
.cbr-card:hover { transform: translateY(-3px); border-color: rgba(168, 22, 75, 0.4); }
.cbr-card-tag {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--cbr-accent);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.cbr-card h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
}
.cbr-card p { color: var(--cbr-text-dim); font-size: 15px; margin: 0; }

/* ===== Mini spec list (tools) ===== */
.cbr-mini {
  background: var(--cbr-bg-card);
  border-radius: var(--cbr-radius-md);
  padding: 8px 4px;
  border: 1px solid var(--cbr-stroke);
  max-width: 760px;
  box-shadow: var(--cbr-shadow);
}
.cbr-mini-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 18px;
  padding: 14px 22px;
  border-top: 1px solid var(--cbr-stroke);
  font-size: 14.5px;
}
.cbr-mini-row:first-child { border-top: none; }
.cbr-mini-row > span:first-child {
  color: var(--cbr-accent);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cbr-mini-row > span:last-child { color: var(--cbr-text); }

/* ===== Coverage ===== */
.cbr-coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.cbr-coverage-svg {
  width: 100%; height: auto;
  background: var(--cbr-bg-card);
  border-radius: var(--cbr-radius-md);
  padding: 18px;
  border: 1px solid var(--cbr-stroke);
}
.cbr-coverage-list { list-style: none; padding: 0; margin: 0; }
.cbr-coverage-list li { padding: 10px 0; border-top: 1px solid var(--cbr-stroke); color: var(--cbr-text-dim); }
.cbr-coverage-list li:first-child { border-top: none; }
.cbr-coverage-list strong { color: var(--cbr-text); font-weight: 600; }

/* ===== FAQ ===== */
.cbr-faq {
  background: var(--cbr-bg-card);
  border-radius: var(--cbr-radius-md);
  border: 1px solid var(--cbr-stroke);
  margin-bottom: 12px;
  padding: 0 22px;
}
.cbr-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.cbr-faq summary::after {
  content: "+";
  color: var(--cbr-accent);
  font-family: "DM Mono", monospace;
  font-size: 20px;
}
.cbr-faq[open] summary::after { content: "\2013"; }
.cbr-faq p { margin: 0 0 18px; color: var(--cbr-text-dim); font-size: 15px; }

/* ===== About ===== */
.cbr-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}
.cbr-about-card {
  background: var(--cbr-bg-card);
  border-radius: var(--cbr-radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--cbr-stroke);
  box-shadow: var(--cbr-shadow);
}
.cbr-about-card h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 16px;
  color: var(--cbr-text);
}
.cbr-about-card ul { list-style: none; padding: 0; margin: 0; }
.cbr-about-card li { padding: 8px 0; color: var(--cbr-text-dim); font-size: 14.5px; border-top: 1px solid var(--cbr-stroke); }
.cbr-about-card li:first-child { border-top: none; }
.cbr-about-card strong { color: var(--cbr-text); font-weight: 600; }
.cbr-privacy-link { margin: 16px 0 0; }
.cbr-privacy-link a { color: var(--cbr-accent); text-decoration: none; font-weight: 600; }
.cbr-privacy-link a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.cbr-footer {
  background: #170810;
  border-top: 1px solid var(--cbr-stroke);
  padding: 28px 0;
}
.cbr-footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: var(--cbr-text-muted);
  font-size: 13px;
}
.cbr-footer a { color: var(--cbr-text-dim); text-decoration: none; }
.cbr-footer a:hover { color: var(--cbr-text); }

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .cbr-nav { display: none; }
  .cbr-hero { padding: 56px 0 48px; }
  .cbr-hero-grid { grid-template-columns: 1fr; }
  .cbr-coverage-grid { grid-template-columns: 1fr; }
  .cbr-section { padding: 56px 0; }
  .cbr-mini-row { grid-template-columns: 1fr; gap: 6px; }
}
