/* ─────────────────────────────────────────────────────────
   Industries / categories component

   The expandable red category tiles, extracted from home.css so the
   homepage and the Total Market Research service page can share one copy
   rather than each carrying its own. The markup and data live in
   template-parts/industries-section.php.

   The rules below were lifted from home.css verbatim. home.css still
   carries its own copy for the homepage, which also styles the surrounding
   .industries-section wrapper; only the component itself is duplicated here.
   If these ever diverge, home.css is the original.

   Depends on --red / --white / --black / --rule being defined, which
   components.css provides outside the homepage.
   ───────────────────────────────────────────────────────── */

.industry-icon {
    width: 44px;
    height: 44px;
    color: var(--white);
    margin-bottom: 22px;
    display: block;
  }
.industry-name {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.0;
    margin-bottom: 12px;
  }
.industry-count {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    padding-top: 12px;
    border-top: 2px solid rgba(255,255,255,0.9);
    display: inline-block;
    padding-right: 24px;
    margin-bottom: 16px;
  }
.industry-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    margin-bottom: 18px;
    max-width: 280px;
  }
.industry-brands {
    font-size: 12px;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    font-weight: 500;
  }
.industry-brands strong {
    color: var(--white);
    font-weight: 700;
  }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.18);
  }
.industry-card {
    background: var(--red);
    padding: 28px 24px 26px;
    display: flex;
    flex-direction: column;
    transition: background 0.22s;
    
    border: 0;
    margin: 0;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    appearance: none;
    color: inherit;
    position: relative;
  }
.industry-card:hover { background: #d4163c; }
.industry-card:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: -4px;
  }
.industry-card[aria-expanded="true"] { background: #b81034; }
.industry-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 22px;
    height: 22px;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
    transition: transform 0.25s, opacity 0.2s;
  }
.industry-toggle svg { width: 100%; height: 100%; }
.industry-card:hover .industry-toggle { opacity: 1; }
.industry-card[aria-expanded="true"] .industry-toggle {
    transform: rotate(180deg);
    opacity: 1;
  }
.industry-icon-sm {
    width: 32px;
    height: 32px;
    color: var(--white);
    margin-bottom: 16px;
    display: block;
    flex-shrink: 0;
  }
.industry-card .industry-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
    padding-right: 32px; 
  }
.industry-card .industry-count {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.95);
    padding-top: 8px;
    border-top: 2px solid rgba(255,255,255,0.95);
    display: inline-block;
    padding-right: 18px;
    margin-bottom: 12px;
    align-self: flex-start;
  }
.industry-card .industry-brands {
    font-size: 11.5px;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
    font-weight: 500;
    margin-top: auto;
  }
.industry-card .industry-brands strong {
    color: var(--white);
    font-weight: 700;
  }
@media (max-width: 1100px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry-card { padding: 20px 18px 18px; }
  .industry-card .industry-name { font-size: 16px; padding-right: 28px; }
  .industry-card .industry-brands { font-size: 11px; }
  .industry-toggle { top: 18px; right: 18px; width: 18px; height: 18px; }
  .industry-panel-inner { padding: 24px 18px 28px; }
  .industry-panel-head { gap: 12px; margin-bottom: 18px; padding-bottom: 12px; }
  .industry-panel-eyebrow { font-size: 10px; letter-spacing: 0.18em; }
}
.industry-panel {
    grid-column: 1 / -1;
    background: var(--white);
    color: var(--black);
  }
.industry-panel[hidden] { display: none; }
.industry-panel-inner {
    padding: 36px 32px 40px;
  }
.industry-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
  }
.industry-panel-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red);
  }
.industry-panel-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s;
    flex-shrink: 0;
  }
.industry-panel-close svg { width: 14px; height: 14px; }
.industry-panel-close:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
  }
.industry-panel-empty {
    font-size: 14px;
    color: var(--muted, #5a5a5a);
    margin: 0;
  }
.industry-cases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
@media (max-width: 1100px) {
  .industry-cases { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .industry-cases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .industry-cases { grid-template-columns: 1fr; }
}
.industry-case {
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s, transform 0.18s;
  }
.industry-case:hover {
    border-color: rgba(255,44,85,0.5);
    transform: translateY(-1px);
  }
.industry-case-brand {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.005em;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
  }
.industry-case-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
.industry-case-metrics li {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    padding: 5px 8px;
    background: rgba(255,44,85,0.06);
    border-radius: 5px;
    min-width: 0;
  }
.industry-case-metric-value {
    font-size: 12.5px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
  }
.industry-case-metric-label {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted, #5a5a5a);
    line-height: 1.1;
  }
@media (max-width: 768px) {
  .case-studies,
  .case-studies--partnerships-bg,
  .industries-section,
  .lv-section,
  .our-team,
  .contact-form-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .case-studies > p:not(.section-label),
  .industries-section > p:not(.section-label) {
    margin-bottom: 28px;
  }
}
@media (max-width: 768px) {
  .why-diff-intro-copy p,
  .ai-tech p:not(.section-label),
  .our-team > p:not(.our-team-sublabel):not(.our-team-fulldesc):not(.section-label),
  .case-studies > p:not(.section-label),
  .industries-section > p:not(.section-label),
  .our-team-fulldesc,
  .lion-framework-sub,
  .framework-body,
  .swheel-sub,
  .hero-sub,
  .hero-stat-line,
  .hero-form-sub,
  .hero-cta-micro,
  .rev-calc-sub,
  .rev-calc-card--inline .rev-calc-sub,
  .rev-calc-formula,
  .founder-copy p,
  .partner-hero-desc,
  .lv-features li,
  .cta-desc,
  .cta-sub {
    font-size: 14px;
    line-height: 1.5;
  }
}