/*
 * BWP Branding Steps Section
 * Custom layout for Branding service - Large graphic left, numbered steps right
 * Similar to Integrated Advertising layout
 * Updated: 2025-11-23
 */

/* ============================================
   BRANDING STEPS SECTION
   ============================================ */

.branding-steps-section {
  background-color: #2C2C2C; /* Dark charcoal */
  padding: 96px 60px;
  color: var(--bwp-white, #FFFFFF);
}

.branding-steps-container {
  max-width: 1200px;
  margin: 0 auto;
}

.branding-steps-header {
  font-family: var(--heading-font, 'Merriweather', Georgia, serif);
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  color: var(--bwp-white, #FFFFFF);
  text-align: left;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.branding-steps-intro {
  font-family: var(--body-font, 'Open Sans', Arial, sans-serif);
  font-size: 1.125rem; /* 18px */
  color: var(--bwp-white, #FFFFFF);
  text-align: left;
  max-width: 900px;
  margin: 0 0 4rem 0;
  line-height: 1.8;
}

/* Main Content Layout - Graphic left, steps right */
.branding-steps-content {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 3rem;
}

/* ============================================
   GRAPHIC - LEFT SIDE (1/3 width on desktop)
   ============================================ */

/* A quarter, not a third (#301). Every drawing under-fills its own viewBox --
   58% for panels, 60% for bars and network, 75% for rings and orbit -- so a
   wider column buys empty space rather than a bigger picture. At 1280px this
   renders the artwork at roughly 170-220px, against 183px on the reference
   site, and hands the 8% back to the reading column.

   Shared deliberately: this moves all six converted pages, which is the point.
   A per-page override would be the forking these stylesheets exist to remove. */
.branding-graphic {
  flex: 0 0 25%;
  max-width: 25%;
}

.branding-graphic svg {
  width: 100%;
  height: auto;
}

/* ============================================
   STEPS LIST - RIGHT SIDE (2/3 width on desktop)
   ============================================ */

/* Takes whatever is left after the graphic and the 60px gap, rather than a
   percentage that ignores the gap. The pair used to be 33.333% + 66.667%,
   which with the gap totals 100% + 60px and overflowed the row by exactly
   that -- clipped rather than scrolling, so it never showed up (#301). */
.branding-steps-list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.branding-step {
  margin-bottom: 1rem;
}

.branding-step-heading {
  font-family: var(--heading-font, 'Merriweather', Georgia, serif);
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  color: var(--bwp-white, #FFFFFF);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.branding-step-text {
  font-family: var(--body-font, 'Open Sans', Arial, sans-serif);
  font-size: 1.125rem; /* 18px */
  color: var(--bwp-white, #FFFFFF);
  opacity: 0.9;
  line-height: 1.7;
  margin: 0;
}

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

/* Tablet (768px-1199px) */
@media (max-width: 1199px) {
  .branding-steps-section {
    padding: 80px 40px;
  }

  .branding-steps-content {
    gap: 40px;
  }
}

/* Mobile (320px-767px) - Full width SVG, vertical stack */
@media (max-width: 767px) {
  .branding-steps-section {
    padding: 60px 20px;
  }

  .branding-steps-header {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .branding-steps-intro {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  /* Stack vertically on mobile */
  .branding-steps-content {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  /* SVG takes full width on mobile */
  .branding-graphic {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  /* Steps list takes full width on mobile */
  .branding-steps-list {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .branding-step-heading {
    font-size: 1.25rem;
  }

  .branding-step-text {
    font-size: 1rem;
  }
}

/* Small mobile (320px-480px) */
@media (max-width: 480px) {
  .branding-steps-section {
    padding: 50px 20px;
  }

  .branding-steps-header {
    font-size: 1.75rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .branding-steps-section {
    background-color: transparent;
    border: 1px solid var(--gray-300, #E0E0E0);
    page-break-inside: avoid;
  }

  .branding-steps-header,
  .branding-step-heading {
    color: var(--bwp-charcoal, #2C2C2C);
  }

  .branding-steps-intro,
  .branding-step-text {
    color: var(--gray-700, #616161);
  }
}

/* ============================================
   CLOSING PARAGRAPH (#322)
   ============================================ */

/* The paragraph after a block's items. Shared by both section kinds -- the
   grid stylesheet loads on top of this one -- rather than named per page.
   Declarations are lifted from .integrated-marketing-closing, which is the
   only place this element has existed until now. */

.section-footer {
  font-family: var(--body-font, 'Open Sans', Arial, sans-serif);
  font-size: 1.125rem; /* 18px */
  color: var(--bwp-white, #FFFFFF);
  text-align: left;
  max-width: 900px;
  margin: 4rem 0 3rem 0;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .section-footer {
    font-size: 1rem;
    margin: 3rem 0 2rem 0;
  }
}

/* ============================================
   BULLET LIST (#301)
   ============================================ */

/* A plain bullet list inside a block -- no headings, just lines. Declarations
   lifted from .web-app-focus-* in web_app_design_dev.css, which is the only
   place this element has existed. Shared here so both section kinds get it;
   service_grid.css loads on top of this file. */

.section-list {
  margin: 2rem 0 3rem 0;
}

.section-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-list-bullet {
  color: var(--bwp-red, #C93636);
  font-size: 1.5rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.section-list-text {
  font-family: var(--body-font, 'Open Sans', Arial, sans-serif);
  font-size: 1.125rem; /* 18px */
  color: var(--bwp-white, #FFFFFF);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .section-list-item {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .section-list-bullet {
    font-size: 1.25rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Ensure sufficient contrast */
.branding-step-heading:focus-visible {
  outline: 2px solid var(--bwp-red, #D32F2F);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
