/*
 * Kundan Base — Block Styles
 * Styles for every ACF block. Mirrors the HTML structure in each block.php template.
 */

/* Hero frontend styles: blocks/hero/style.css (block.json "style") */
/* Problem / Context: blocks/problem-context/style.css (block.json "style") */
/* Icon Cards Grid: blocks/icon-cards-grid/style.css (block.json "style") */

/* CTA Band frontend styles: blocks/cta-band/style.css (block.json "style") */

/* ─── Feature List ───────────────────────────────── */
/* .kb-feature-list { background: var(--white); }
.kb-feature-list__grid { display: grid; gap: 24px; margin-bottom: 16px; }
.kb-feature-list__grid--2 { grid-template-columns: repeat(2, 1fr); }
.kb-feature-list__grid--3 { grid-template-columns: repeat(3, 1fr); }
.kb-feature-num {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
} */

/* ─── Process Steps ──────────────────────────────── */
/* .kb-process { background: var(--grey-bg); }
.kb-process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 48px;
}
.kb-process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: var(--grey-border);
  z-index: 0;
}
.kb-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.kb-process__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--grey-bg);
}
.kb-process__step h3 { font-size: 0.97rem; margin-bottom: 8px; color: var(--navy); }
.kb-process__step p  { font-size: 0.87rem; color: var(--muted); line-height: 1.55; }
.kb-process__note {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 20px 28px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
} */

/* ─── Message Cards ──────────────────────────────── */
/* .kb-messages { background: var(--white); }
.kb-messages__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 32px; }
.kb-messages__card {
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.kb-messages__tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.kb-messages__card h3 { color: var(--navy); margin-bottom: 10px; }
.kb-messages__card p  { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.kb-messages__note    { color: var(--muted); font-size: 0.93rem; text-align: center; font-style: italic; } */

/* ─── Dark Grid ──────────────────────────────────── */
/* .kb-dark-grid { background: var(--navy); padding: var(--section-py) 0; }
.kb-dark-grid .section-label { color: #93c5fd; }
.kb-dark-grid h2 { color: var(--white); margin-bottom: 16px; }
.kb-dark-grid .section-intro { color: rgba(255,255,255,0.55); }
.kb-dark-grid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kb-dark-grid__item {
  background: rgba(255,255,255,0.03);
  padding: 36px 32px;
  transition: background var(--transition);
}
.kb-dark-grid__item:hover { background: rgba(255,255,255,0.06); }
.kb-dark-grid__icon {
  width: 44px; height: 44px;
  background: rgba(37,99,235,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #93c5fd;
}
.kb-dark-grid__item h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.kb-dark-grid__item p  { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.65; } */

/* ─── Two-Col List ───────────────────────────────── */
/* .kb-two-col-list { background: var(--grey-bg); }
.kb-two-col-list__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kb-two-col-list__body { color: var(--muted); font-size: 1.05rem; margin-top: 16px; }
.kb-related-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin: 24px 0 32px; }
.kb-related-list li { display: flex; gap: 16px; align-items: flex-start; }
.kb-related-list__icon {
  width: 40px; height: 40px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.kb-related-list strong { display: block; color: var(--navy); margin-bottom: 2px; }
.kb-related-list span   { font-size: 0.9rem; color: var(--muted); }
.kb-two-col-list__visual {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.kb-two-col-list__visual-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.kb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kb-chip {
  background: var(--grey-bg);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--navy-mid);
}
.kb-two-col-list__visual-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-border);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
} */

/* ─── FAQ Accordion ──────────────────────────────── */
/* .kb-faq { background: var(--white); }
.kb-faq__list { max-width: 800px; margin: 0 auto; }
.kb-faq__item { border-bottom: 1px solid var(--grey-border); }
.kb-faq__item:first-child { border-top: 1px solid var(--grey-border); }
.kb-faq__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.kb-faq__btn:hover { color: var(--accent); }
.kb-faq__arrow {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: transform 0.25s, background 0.2s, border-color 0.2s, color 0.2s;
}
.kb-faq__btn[aria-expanded="true"] .kb-faq__arrow {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.kb-faq__body { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.kb-faq__body-inner { padding: 0 0 24px; color: var(--muted); font-size: 0.97rem; line-height: 1.7; } */

/* ─── Final CTA ──────────────────────────────────── */
/* .kb-final-cta {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kb-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(37,99,235,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.kb-final-cta__inner { position: relative; }
.kb-final-cta h2 { color: var(--white); max-width: 680px; margin: 0 auto 20px; }
.kb-final-cta__sub { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 540px; margin: 0 auto 40px; }
.kb-final-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.kb-trust-badges { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.kb-trust-badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.kb-trust-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.2); } */

/* ─── Text Image ─────────────────────────────────── */
.kb-text-image { }
.kb-text-image--white { background: var(--white); }
.kb-text-image--grey  { background: var(--grey-bg); }
.kb-text-image__grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kb-text-image__grid--right .kb-text-image__media { order: 2; }
.kb-text-image__grid--right .kb-text-image__body  { order: 1; }
.kb-text-image__media img { border-radius: var(--radius-lg); width: 100%; }
.kb-text-image__body h2 { margin-bottom: 16px; }
.kb-text-image__body p  { color: var(--muted); }
.kb-text-image__cta { margin-top: 28px; }

/* ─── Team Grid ──────────────────────────────────── */
.kb-team { background: var(--white); }
.kb-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.kb-team__member { text-align: center; }
.kb-team__photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background: var(--grey-bg);
}
.kb-team__name  { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.kb-team__title { color: var(--accent); font-size: 0.9rem; margin-bottom: 10px; }
.kb-team__bio   { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ─── Testimonials ───────────────────────────────── */
.kb-testimonials { background: var(--grey-bg); }
.kb-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kb-testimonials__card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.kb-testimonials__quote { color: var(--text); font-size: 0.97rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.kb-testimonials__author { display: flex; align-items: center; gap: 12px; }
.kb-testimonials__photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--grey-bg);
  flex-shrink: 0;
}
.kb-testimonials__name    { font-weight: 600; font-size: 0.9rem; }
.kb-testimonials__company { font-size: 0.82rem; color: var(--muted); }

/* ─── Stats Bar ──────────────────────────────────── */
.kb-stats-bar { padding: 60px 0; }
.kb-stats-bar--light  { background: var(--grey-bg); }
.kb-stats-bar--dark   { background: var(--navy); }
.kb-stats-bar--accent { background: var(--accent); }
.kb-stats-bar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; text-align: center; }
.kb-stats-bar__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
.kb-stats-bar__label { font-size: 0.9rem; font-weight: 500; }
.kb-stats-bar--light  .kb-stats-bar__number { color: var(--accent); }
.kb-stats-bar--light  .kb-stats-bar__label  { color: var(--muted); }
.kb-stats-bar--dark   .kb-stats-bar__number,
.kb-stats-bar--dark   .kb-stats-bar__label  { color: rgba(255,255,255,0.9); }
.kb-stats-bar--accent .kb-stats-bar__number,
.kb-stats-bar--accent .kb-stats-bar__label  { color: var(--white); }

/* ─── Logo Strip ─────────────────────────────────── */
.kb-logo-strip { padding: 48px 0; }
.kb-logo-strip--white { background: var(--white); }
.kb-logo-strip--grey  { background: var(--grey-bg); }
.kb-logo-strip__label { text-align: center; margin-bottom: 32px; }
.kb-logo-strip__grid  { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.kb-logo-strip__logo  { opacity: 0.45; transition: opacity var(--transition); filter: grayscale(1); }
.kb-logo-strip__logo:hover { opacity: 0.75; }
.kb-logo-strip__logo img { height: 32px; width: auto; }

/* ─── Rich Text ──────────────────────────────────── */
.kb-rich-text { background: var(--white); }
.kb-rich-text--narrow  .entry-content { max-width: 640px; }
.kb-rich-text--normal  .entry-content { max-width: 800px; }
.kb-rich-text--wide    .entry-content { max-width: 1000px; }
