/*
 * cda-web-design.css
 * Styles for /coeur-dalene/web-design/index.html
 * All rules are scoped under .cdawd-* or .cdawd body selectors
 * so they cannot leak to other pages.
 */

/* ── 1. TRUST BAR ─────────────────────────────────────────────── */
.cdawd-trust-bar {
  background: #14142a;
  padding: 10px 16px;
  text-align: center;
}
.cdawd-trust-bar p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.cdawd-trust-bar .cdawd-stars {
  color: #F49C22;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-right: 4px;
}

/* ── 2. PERSONA CARDS ─────────────────────────────────────────── */
.cdawd-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.75rem 0 1rem;
}
@media (max-width: 700px) {
  .cdawd-persona-grid {
    grid-template-columns: 1fr;
  }
}
.cdawd-persona-card {
  background: #FBEFEB;
  border-top: 4px solid #F46122;
  border-radius: 6px;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cdawd-persona-card svg {
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.cdawd-persona-card h3 {
  font-family: var(--disp);
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  color: #14142a;
  margin: 0 0 0.5rem;
}
.cdawd-persona-card p {
  font-size: 0.9rem;
  color: #351C11;
  margin: 0;
  line-height: 1.55;
}
.cdawd-persona-caption {
  font-size: 0.92rem;
  color: #351C11;
  font-style: italic;
  text-align: center;
  margin: 0.25rem 0 0;
}

/* ── 3. SITEMAP DIAGRAM ───────────────────────────────────────── */
.cdawd-sitemap {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.cdawd-sitemap-root {
  background: #14142a;
  color: #fff;
  font-family: var(--disp);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  white-space: nowrap;
}
.cdawd-sitemap-trunk {
  width: 2px;
  height: 28px;
  background: #F46122;
}
.cdawd-sitemap-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: auto;
  max-width: 560px;
  border-top: 2px solid #F46122; /* branch bar the trunk drops onto */
  padding-top: 12px;
}
.cdawd-sitemap-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
.cdawd-sitemap-row {
  justify-content: center;
}
.cdawd-sitemap-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.cdawd-sitemap-page {
  background: #FBEFEB;
  border: 1px solid #F46122;
  border-radius: 3px;
  padding: 3px 10px;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: #351C11;
  white-space: nowrap;
}
.cdawd-sitemap-label {
  font-size: 0.75rem;
  color: #888;
  font-style: italic;
  text-align: center;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .cdawd-sitemap-rows {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .cdawd-sitemap-pages {
    gap: 4px;
  }
  .cdawd-sitemap-page {
    font-size: 0.72rem;
    padding: 3px 7px;
  }
}

/* ── 3b. FACE + COPY 2-COL ────────────────────────────────────── */
.cdawd-face-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
  align-items: center;
  margin-top: 1.75rem;
}
@media (max-width: 700px) {
  .cdawd-face-grid {
    grid-template-columns: 1fr;
  }
  .cdawd-face-grid .cdawd-face-photo {
    order: -1;
    width: 100%;
    max-width: 230px;
    margin: 0 auto;
  }
}
.cdawd-face-photo img {
  width: 100%;
  border-radius: 50%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 4px 24px rgba(20,20,42,0.18);
}

/* ── 4. NAVY "WHY MOST" SECTION ───────────────────────────────── */
.cdawd-navy-section {
  background: #14142a;
  padding: 4rem 0;
}
.cdawd-navy-section h2 {
  font-family: var(--disp);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-transform: none;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cdawd-navy-section h2 span {
  color: #F46122;
}
.cdawd-pull-quote {
  font-family: var(--disp);
  font-size: clamp(1.2rem, 3.5vw, 1.75rem);
  font-weight: 600;
  text-transform: none;
  color: #F49C22;
  border-left: 4px solid #F46122;
  padding: 0.6rem 1.2rem;
  margin: 1.5rem 0 2rem;
  line-height: 1.3;
}
.cdawd-blurb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
@media (max-width: 700px) {
  .cdawd-blurb-grid {
    grid-template-columns: 1fr;
  }
}
.cdawd-blurb {
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 1.25rem;
  border-top: 3px solid #F46122;
}
.cdawd-blurb h4 {
  font-family: var(--disp);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.02em;
  color: #F46122;
  margin: 0 0 0.6rem;
}
.cdawd-blurb p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.6;
}

/* ── 5. STAT GRID ─────────────────────────────────────────────── */
.cdawd-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
@media (max-width: 800px) {
  .cdawd-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cdawd-stat {
  background: #FBEFEB;
  border-radius: 6px;
  padding: 1.25rem 0.75rem;
  text-align: center;
}
.cdawd-stat__number {
  font-family: var(--disp);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: #F46122;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.cdawd-stat__caption {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: #351C11;
  line-height: 1.4;
}
/* phone: captions vary a lot in length, so side-by-side cards leave big voids —
   go single-column with number beside caption instead */
@media (max-width: 600px) {
  .cdawd-stat-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .cdawd-stat {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .cdawd-stat__number {
    font-size: 1.6rem;
    margin-bottom: 0;
    flex-shrink: 0;
    min-width: 82px;
  }
  .cdawd-stat__caption {
    flex: 1;
    font-size: 0.85rem;
  }
}

/* ── 5b. REAL CLIENTS CASE-STUDY SECTION ─────────────────────── */
.cdawd-case-section {
  padding: 3.5rem 0;
  background: #fff;
}
.cdawd-case-section .cdawd-case-header {
  text-align: center;
  margin-bottom: 2rem;
}
.cdawd-case-section .cdawd-case-header h2 {
  font-family: var(--disp);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  text-transform: none;
  color: #14142a;
  margin-bottom: 0.25rem;
}
.cdawd-case-section .cdawd-case-header h2 span {
  color: #F46122;
}
.cdawd-case-stream {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 2rem;
}

/* ── 6. LOCAL 2-COL (BUILT IN CDA) ───────────────────────────── */
.cdawd-local-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 840px) {
  .cdawd-local-grid {
    grid-template-columns: 1fr;
  }
}

/* ── MISC ─────────────────────────────────────────────────────── */
/* Ensure headings inside normal sections keep the hub style */
.cdawd-section-white {
  background: #fff;
}
.cdawd-section-cream {
  background: #FBEFEB;
}

/* ============================================================
   9D "QUIET COMPACT" LAYER — /coeur-dalene/web-design/ (matches css/home-9d.css)
   ============================================================ */
.cdawd-persona-grid{gap:14px}
.cdawd-persona-card{background:rgba(255,255,255,.42);border:0;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(53,28,17,.08);align-items:flex-start;text-align:left;padding:22px 24px 24px}
.cdawd-persona-card svg{stroke:var(--orange);color:var(--orange)}
.cdawd-persona-card h3{font-size:clamp(18px,1.4vw,20px)!important;color:var(--brown)}
.cdawd-persona-card p{color:rgba(53,28,17,.72);font-size:15px;line-height:1.55;text-align:left}
.cdawd-persona-caption{text-align:left;color:rgba(53,28,17,.6)}
.cdawd-navy-section{background:linear-gradient(#17162e,#1a1731);padding:clamp(60px,6.6vw,96px) 0}
.cdawd-navy-section h2{font-size:clamp(27px,2.8vw,40px)!important;color:#FBEFEB}
.cdawd-navy-section p{color:rgba(251,239,235,.70)}
.cdawd-pull-quote{font-size:clamp(20px,1.8vw,26px);color:var(--cream);border-left:2px solid var(--orange)}
.cdawd-blurb-grid{gap:14px}
.cdawd-blurb{background:rgba(251,239,235,.045);border-top:0;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(251,239,235,.08);padding:20px 22px}
.cdawd-blurb h4{font-size:18px!important;color:#FBEFEB}
.cdawd-blurb p{color:rgba(251,239,235,.70)}
.cdawd-stat-grid{gap:14px}
.cdawd-stat{text-align:left;background:rgba(255,255,255,.42);border-radius:14px;box-shadow:inset 0 0 0 1px rgba(53,28,17,.08);padding:20px 22px}
.cdawd-stat__number{font:600 clamp(30px,3vw,42px)/1 var(--disp);letter-spacing:-.035em;color:var(--orange);margin-bottom:10px}
.cdawd-stat__caption{font-size:14px;line-height:1.5;color:rgba(53,28,17,.72)}
.cdawd-face-photo img{box-shadow:0 30px 60px -36px rgba(53,28,17,.55)}
.cdawd-case-section .cdawd-case-header{text-align:left}
