/* page-industry.css — Industry landing page blocks
   Spec ref: industry-page-template-spec.md */

/* ─── Block Hero (two-column) ─── */
.block-hero {
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.block-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .block-hero__grid {
    grid-template-columns: 55% 1fr;
    gap: 3rem;
  }
}

.block-hero .eyebrow {
  font: 600 var(--wp--preset--font-size--step-minus-1, 1rem)/1.5 var(--wp--preset--font-family--plus-jakarta-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0A2540;
  margin: 0 0 0.75rem;
}

.block-hero__copy h1 {
  font: 700 var(--wp--preset--font-size--step-5, clamp(2rem, 1.85rem + 7.69vw, 3.75rem))/1.12 var(--wp--preset--font-family--plus-jakarta-sans);
  letter-spacing: -0.3px;
  color: #0A2540;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.block-hero__copy h1 mark {
  background: none;
  color: #FBBF24;
}

.block-hero__copy .lead {
  font-size: var(--wp--preset--font-size--step-1, 1.125rem);
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 2rem;
  max-width: 540px;
}

.block-hero .field-group {
  display: flex;
  max-width: 440px;
  margin: 0 0 0.75rem;
}

.block-hero .field-group input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0 1rem;
  height: 52px;
  border: 2px solid #E3E7EA;
  border-right: 0;
  border-radius: 100px 0 0 100px;
  font: 400 16px/1 var(--wp--preset--font-family--open-sans);
  color: #13191E;
  background: #fff;
}

.block-hero .field-group input[type="email"]:focus {
  outline: none;
  border-color: #0A2540;
}

.block-hero .field-group button {
  padding: 0 1.25rem;
  height: 52px;
  background: #FBBF24;
  color: #0A2540;
  font: 700 14px/1 var(--wp--preset--font-family--open-sans);
  text-transform: uppercase;
  letter-spacing: -0.4px;
  border: 0;
  border-radius: 0 100px 100px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.block-hero .field-group button:hover {
  background: #E5AC20;
}

.block-hero .fineprint {
  font-size: 13px;
  color: #757575;
  margin: 0;
}

.block-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (max-width: 959px) {
  .block-hero { text-align: center; }
  .block-hero__copy .lead { margin-inline: auto; }
  .block-hero .field-group { max-width: 100%; margin-inline: auto; }
  .block-hero__media { max-width: 480px; margin: 0 auto; }
}

/* ─── Value Prop Trio ─── */
.block-value-prop {
  background: #0A2540;
  color: #fff;
  padding: clamp(3rem, 2rem + 5vw, 5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 3.5rem);
}

.block-value-prop .display {
  font: 700 var(--wp--preset--font-size--step-5, clamp(2rem, 1.85rem + 7.69vw, 3.75rem))/1.15 var(--wp--preset--font-family--plus-jakarta-sans);
  text-align: center;
  margin: 0 0 3rem;
  text-wrap: balance;
}

.block-value-prop .display mark {
  background: none;
  color: #FBBF24;
}

.valueprop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
  .valueprop__grid { grid-template-columns: repeat(3, 1fr); }
}

.vp-card {
  background: #fff;
  color: #0A2540;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 6px 6px 9px rgba(0,0,0,0.08);
}

.vp-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #EBF4FF;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.vp-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: #0A2540;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vp-card__title {
  font: 700 1.25rem/1.3 var(--wp--preset--font-family--plus-jakarta-sans);
  margin: 0 0 0.75rem;
}

.vp-card__body {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

.vp-card__body sup {
  color: #FBBF24;
  font-weight: 700;
}

.valueprop__cta {
  text-align: center;
  margin-bottom: 1rem;
}

.valueprop__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  height: 56px;
  background: #FBBF24;
  color: #0A2540;
  font: 700 18px/1 var(--wp--preset--font-family--open-sans);
  text-transform: uppercase;
  border-radius: 28px;
  text-decoration: none;
  transition: background 0.2s;
}

.valueprop__cta a:hover { background: #E5AC20; }

.block-value-prop .fineprint {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ─── Feature Tabs (Tabcordion) ─── */
.block-feature-tabs {
  padding: clamp(3rem, 2rem + 5vw, 5rem) 0;
}

.block-feature-tabs .eyebrow {
  font: 600 var(--wp--preset--font-size--step-minus-1, 1rem)/1.5 var(--wp--preset--font-family--plus-jakarta-sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0A2540;
  text-align: center;
  margin: 0 0 0.75rem;
}

.block-feature-tabs .display {
  font: 700 var(--wp--preset--font-size--step-5, clamp(2rem, 1.85rem + 7.69vw, 3.75rem))/1.15 var(--wp--preset--font-family--plus-jakarta-sans);
  text-align: center;
  color: #0A2540;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}

.tabcordion__tabs {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .tabcordion__tabs { display: flex; flex-wrap: wrap; }
}

.tabcordion__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid #E3E7EA;
  border-radius: 100px;
  background: #fff;
  color: #0A2540;
  font: 600 15px/1 var(--wp--preset--font-family--open-sans);
  cursor: pointer;
  transition: all 0.2s;
}

.tabcordion__tab:hover { border-color: #0A2540; }

.tabcordion__tab[aria-selected="true"] {
  background: #0A2540;
  color: #fff;
  border-color: #0A2540;
}

.tabcordion__tab svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tabcordion__tab[aria-selected="true"] svg { stroke: #fff; }

/* Panels */
.tabcordion__panel {
  display: none;
}

.tabcordion__panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .tabcordion__panel.is-active {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.feature-panel__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #F5F7FA;
  padding: 1rem;
  display: block;
}

.feature-panel__copy h3 {
  font: 700 var(--wp--preset--font-size--step-3, 1.5rem)/1.3 var(--wp--preset--font-family--plus-jakarta-sans);
  color: #0A2540;
  margin: 0 0 0.75rem;
}

.feature-panel__copy .lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 1.25rem;
}

.ticklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.ticklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #13191E;
}

.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #FBBF24;
  border-radius: 50%;
}

.ticklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #0A2540;
  border-bottom: 2px solid #0A2540;
  transform: rotate(-45deg);
}

.btn--text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0A2540;
  font: 700 1rem/1.4 var(--wp--preset--font-family--open-sans);
  text-decoration: none;
  transition: color 0.2s;
}

.btn--text::after { content: "\2192"; }
.btn--text:hover { color: #FBBF24; }

/* Mobile accordion headers */
.tabcordion__mobile-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 2px solid #E3E7EA;
  font: 700 1.125rem/1.3 var(--wp--preset--font-family--plus-jakarta-sans);
  color: #0A2540;
  cursor: pointer;
  background: none;
  text-align: left;
}

.tabcordion__mobile-header svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tabcordion__mobile-header::after {
  content: "+";
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 300;
  color: #757575;
}

.tabcordion__mobile-header[aria-expanded="true"]::after { content: "\2212"; }

@media (min-width: 768px) {
  .tabcordion__mobile-header { display: none; }
}

@media (max-width: 767px) {
  .tabcordion__panel.is-active { display: block; padding: 1.5rem 0; }
  .feature-panel__media { margin-bottom: 1.5rem; }
}

/* ─── Feature Callout Cards ─── */
.block-feature-cards {
  padding: clamp(3rem, 2rem + 5vw, 5rem) 0;
  background: #F5F7FA;
}

.block-feature-cards .display {
  font: 700 var(--wp--preset--font-size--step-5, clamp(2rem, 1.85rem + 7.69vw, 3.75rem))/1.15 var(--wp--preset--font-family--plus-jakarta-sans);
  text-align: center;
  color: #0A2540;
  margin: 0 0 2.5rem;
  text-wrap: balance;
}

.feature-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 576px) {
  .feature-cards__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .feature-cards__grid { grid-template-columns: repeat(3, 1fr); }
}

.fc-card a {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 6px 6px 9px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.fc-card a:hover {
  transform: translateY(-4px);
  box-shadow: 6px 12px 20px rgba(0,0,0,0.12);
}

.fc-card__thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #E3E7EA;
}

.fc-card__body-wrap {
  padding: 1.25rem;
  flex: 1;
}

.fc-card__title {
  font: 700 1.0625rem/1.3 var(--wp--preset--font-family--plus-jakarta-sans);
  color: #0A2540;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.fc-card__arrow { color: #FBBF24; }

.fc-card__body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
}

/* ─── Testimonial Banner ─── */
.block-testimonial {
  background: #0A2540;
  color: #fff;
  padding: clamp(3rem, 2rem + 5vw, 5rem) 0;
}

.block-testimonial__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .block-testimonial__inner {
    flex-direction: row;
    text-align: left;
  }
}

.block-testimonial figure { margin: 0; flex: 1; }

.testimonial__quote {
  font: 700 var(--wp--preset--font-size--step-3, 1.5rem)/1.4 var(--wp--preset--font-family--plus-jakarta-sans);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.testimonial__cite {
  font-size: 1rem;
  color: #FBBF24;
}

.testimonial__cite .cite__name { font-weight: 700; }

.testimonial__cite .cite__co {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ─── FAQ override (tighten bottom on industry pages) ─── */
.industries .block-faq-accordion {
  padding-bottom: 2rem;
}

/* ─── Industry Links ─── */
.block-industry-links {
  padding: clamp(2rem, 1rem + 3vw, 3rem) 0;
}

.block-industry-links h2 {
  font: 700 var(--wp--preset--font-size--step-3, 1.5rem)/1.3 var(--wp--preset--font-family--plus-jakarta-sans);
  color: #0A2540;
  margin: 0 0 1.5rem;
}

.industry-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-links__grid li a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 2px solid #E3E7EA;
  border-radius: 100px;
  font: 600 15px/1.4 var(--wp--preset--font-family--open-sans);
  color: #0A2540;
  text-decoration: none;
  transition: all 0.2s;
}

.industry-links__grid li a:hover {
  border-color: #FBBF24;
  background: #FBBF24;
  color: #0A2540;
}

/* ─── CTA / Signup contrast ─── */
.industries .block-cta-banner {
  padding-top: 4px !important;
  background-color: #0e2f50;
}

/* ═══════════════════════════════════════════
   Dark Mode — [data-theme="dark"]
   ═══════════════════════════════════════════ */

[data-theme="dark"] .block-hero { background: #0F1923; }
[data-theme="dark"] .block-hero .eyebrow { color: #FBBF24; }
[data-theme="dark"] .block-hero__copy h1 { color: #fff; }
[data-theme="dark"] .block-hero__copy .lead { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .block-hero .field-group input[type="email"] {
  background: #162232; border-color: #2a3a4e; color: #fff;
}
[data-theme="dark"] .block-hero .fineprint { color: rgba(255,255,255,0.4); }

[data-theme="dark"] .vp-card { background: #162232; color: #fff; }
[data-theme="dark"] .vp-card__icon { background: rgba(251,191,36,0.12); }
[data-theme="dark"] .vp-card__icon svg { stroke: #FBBF24; }
[data-theme="dark"] .vp-card__body { color: rgba(255,255,255,0.7); }

[data-theme="dark"] .block-feature-tabs { background: #0F1923; }
[data-theme="dark"] .block-feature-tabs .eyebrow { color: #FBBF24; }
[data-theme="dark"] .block-feature-tabs .display { color: #fff; }
[data-theme="dark"] .tabcordion__tab {
  border-color: #2a3a4e; background: #162232; color: #fff;
}
[data-theme="dark"] .tabcordion__tab[aria-selected="true"] {
  background: #FBBF24; color: #0A2540; border-color: #FBBF24;
}
[data-theme="dark"] .tabcordion__tab[aria-selected="true"] svg { stroke: #0A2540; }
[data-theme="dark"] .feature-panel__copy h3 { color: #fff; }
[data-theme="dark"] .feature-panel__copy .lead { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .feature-panel__media img { background: #162232; }
[data-theme="dark"] .ticklist li { color: rgba(255,255,255,0.9); }
[data-theme="dark"] .tabcordion__mobile-header { color: #fff; border-color: #2a3a4e; }
[data-theme="dark"] .btn--text { color: #FBBF24; }

[data-theme="dark"] .block-feature-cards { background: #162232; }
[data-theme="dark"] .block-feature-cards .display { color: #fff; }
[data-theme="dark"] .fc-card a { background: #1e2d3d; }
[data-theme="dark"] .fc-card__title { color: #fff; }
[data-theme="dark"] .fc-card__body { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .fc-card__thumb { background: #162232; }

[data-theme="dark"] .block-industry-links h2 { color: #fff; }
[data-theme="dark"] .industry-links__grid li a { border-color: #2a3a4e; color: #fff; }
[data-theme="dark"] .industry-links__grid li a:hover {
  border-color: #FBBF24; background: #FBBF24; color: #0A2540;
}

/* ═══════════════════════════════════════════
   Dark Mode — system preference fallback
   ═══════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .block-hero { background: #0F1923; }
  :root:not([data-theme="light"]) .block-hero .eyebrow { color: #FBBF24; }
  :root:not([data-theme="light"]) .block-hero__copy h1 { color: #fff; }
  :root:not([data-theme="light"]) .block-hero__copy .lead { color: rgba(255,255,255,0.7); }
  :root:not([data-theme="light"]) .block-hero .field-group input[type="email"] {
    background: #162232; border-color: #2a3a4e; color: #fff;
  }
  :root:not([data-theme="light"]) .block-hero .fineprint { color: rgba(255,255,255,0.4); }

  :root:not([data-theme="light"]) .vp-card { background: #162232; color: #fff; }
  :root:not([data-theme="light"]) .vp-card__icon { background: rgba(251,191,36,0.12); }
  :root:not([data-theme="light"]) .vp-card__icon svg { stroke: #FBBF24; }
  :root:not([data-theme="light"]) .vp-card__body { color: rgba(255,255,255,0.7); }

  :root:not([data-theme="light"]) .block-feature-tabs { background: #0F1923; }
  :root:not([data-theme="light"]) .block-feature-tabs .eyebrow { color: #FBBF24; }
  :root:not([data-theme="light"]) .block-feature-tabs .display { color: #fff; }
  :root:not([data-theme="light"]) .tabcordion__tab {
    border-color: #2a3a4e; background: #162232; color: #fff;
  }
  :root:not([data-theme="light"]) .tabcordion__tab[aria-selected="true"] {
    background: #FBBF24; color: #0A2540; border-color: #FBBF24;
  }
  :root:not([data-theme="light"]) .tabcordion__tab[aria-selected="true"] svg { stroke: #0A2540; }
  :root:not([data-theme="light"]) .feature-panel__copy h3 { color: #fff; }
  :root:not([data-theme="light"]) .feature-panel__copy .lead { color: rgba(255,255,255,0.7); }
  :root:not([data-theme="light"]) .feature-panel__media img { background: #162232; }
  :root:not([data-theme="light"]) .ticklist li { color: rgba(255,255,255,0.9); }
  :root:not([data-theme="light"]) .tabcordion__mobile-header { color: #fff; border-color: #2a3a4e; }
  :root:not([data-theme="light"]) .btn--text { color: #FBBF24; }

  :root:not([data-theme="light"]) .block-feature-cards { background: #162232; }
  :root:not([data-theme="light"]) .block-feature-cards .display { color: #fff; }
  :root:not([data-theme="light"]) .fc-card a { background: #1e2d3d; }
  :root:not([data-theme="light"]) .fc-card__title { color: #fff; }
  :root:not([data-theme="light"]) .fc-card__body { color: rgba(255,255,255,0.7); }
  :root:not([data-theme="light"]) .fc-card__thumb { background: #162232; }

  :root:not([data-theme="light"]) .block-industry-links h2 { color: #fff; }
  :root:not([data-theme="light"]) .industry-links__grid li a { border-color: #2a3a4e; color: #fff; }
  :root:not([data-theme="light"]) .industry-links__grid li a:hover {
    border-color: #FBBF24; background: #FBBF24; color: #0A2540;
  }
}
