/*
 * styles_aib.css
 * Styles for page-ai-and-your-business.php
 * Follows nwwebdev2026 theme conventions
 * Brand: #b4d22d (yellow-green), #00873c (medium green), #005a2d (dark forest green)
 * Fonts: DM Serif Display (headings), DM Sans (body)
 */

/* ============================================================
   HERO
   ============================================================ */

.aib-hero {
  background-color: #005a2d;
  color: #fff;
  padding: 5rem 2rem 4rem;
}

.aib-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.aib-hero__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b4d22d;
  margin: 0 0 1.25rem;
}

.aib-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1.25rem;
}

.aib-hero__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  max-width: 640px;
}

/* ============================================================
   SECTION BASE
   ============================================================ */

.aib-section {
  padding: 4rem 2rem;
}

.aib-section--alt {
  background-color: #f5f7f4;
}

.aib-section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.aib-section__inner--narrow {
  max-width: 760px;
}

/* ============================================================
   SECTION HEADER (numbered)
   ============================================================ */

.aib-section__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #b4d22d;
}

.aib-section__num {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: #00873c;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.aib-section__header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 400;
  color: #005a2d;
  margin: 0;
  line-height: 1.25;
}

/* ============================================================
   SECTION BODY
   ============================================================ */

.aib-section__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2a2a2a;
}

.aib-section__body p + p {
  margin-top: 1.1rem;
}

.aib-section__body--split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* ============================================================
   INTRO
   ============================================================ */

.aib-intro .aib-section__inner {
  font-family: 'DM Sans', sans-serif;
  color: #2a2a2a;
}

.aib-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  font-weight: 400;
}

/* ============================================================
   CALLOUT BOX
   ============================================================ */

.aib-section__callout {
  background: #fff;
  border-left: 4px solid #b4d22d;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  border-radius: 0 6px 6px 0;
  align-self: start;
  position: sticky;
  top: 2rem;
}

.aib-section--alt .aib-section__callout {
  background: #fff;
}

.aib-callout__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00873c;
  margin: 0 0 0.6rem;
}

.aib-callout__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a1a1a;
  margin: 0;
}

/* ============================================================
   LIST
   ============================================================ */

.aib-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.aib-list li {
  padding: 0.85rem 0 0.85rem 1.4rem;
  border-bottom: 1px solid #dde8d8;
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2a2a2a;
}

.aib-list li:first-child {
  border-top: 1px solid #dde8d8;
}

.aib-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 6px;
  height: 6px;
  background: #b4d22d;
  border-radius: 50%;
}

.aib-list li strong {
  color: #005a2d;
}

/* ============================================================
   ACTION GRID
   ============================================================ */

.aib-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.aib-action {
  display: flex;
  gap: 1.25rem;
  align-items: start;
}

.aib-action__num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: #b4d22d;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}

.aib-action h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #005a2d;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.aib-action p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.aib-section--cta {
  background-color: #005a2d;
  color: #fff;
}

.aib-section--cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.25;
}

.aib-section--cta p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.1rem;
}

.aib-cta-button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.85rem 2rem;
  background: #b4d22d;
  color: #005a2d;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.aib-cta-button:hover {
  background: #cde84c;
  color: #003d1e;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 860px) {
  .aib-section__body--split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .aib-section__callout {
    position: static;
  }

  .aib-action-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .aib-hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  .aib-section {
    padding: 3rem 1.25rem;
  }

  .aib-section__header {
    flex-direction: column;
    gap: 0.25rem;
  }
}
