/*
Theme Name: BWI Labs
Theme URI: https://bwilabs.com
Description: BWI Labs child theme — custom homepage over Twenty Twenty-Five
Author: BWI Labs
Template: twentytwentyfive
Version: 1.2
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #ffffff;
  color: #0D1B3E;
  -webkit-font-smoothing: antialiased;
}

:root {
  --navy:       #0D1B3E;
  --orange:     #E8640A;
  --orange-lt:  #FDF0E6;
  --white:      #FFFFFF;
  --offwhite:   #F8F7F5;
  --border:     #E2E0DB;
  --text-mid:   #2D3748;
  --text-light: #718096;
}

.bwi-fullpage .site-header,
.bwi-fullpage .site-footer,
.bwi-fullpage .wp-block-template-part { display: none !important; }
.bwi-fullpage #primary { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

/* ── NAV ── */
.bwi-nav {
  background: var(--white);
  border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 66px;
  position: sticky; top: 0; z-index: 100;
}
.bwi-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.bwi-logo-mark {
  width: 34px; height: 34px; background: var(--navy);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 11px; color: var(--orange); letter-spacing: -0.5px;
}
.bwi-logo-text { font-size: 16px; font-weight: 600; color: var(--navy); }
.bwi-nav-links { display: flex; align-items: center; gap: 1.75rem; }
.bwi-nav-links a { font-size: 15px; color: var(--text-mid); text-decoration: none; transition: color .15s; }
.bwi-nav-links a:hover { color: var(--navy); }
.bwi-nav-cta {
  font-size: 14px; padding: 8px 18px;
  border: 1.5px solid var(--navy); border-radius: 7px;
  color: var(--navy); background: transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s;
}
.bwi-nav-cta:hover { background: var(--navy); color: var(--white); }

/* ── HERO ── */
.bwi-hero { background: var(--navy); padding: 5rem 2.5rem 4.5rem; text-align: center; }
.bwi-kicker {
  display: inline-block; font-size: 12px; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(232,100,10,.4);
  padding: 5px 15px; border-radius: 20px; margin-bottom: 1.5rem;
}
.bwi-h1 {
  font-size: 46px; font-weight: 600; line-height: 1.12;
  color: var(--white); margin-bottom: .9rem;
}
.bwi-h1 em { color: var(--orange); font-style: normal; }
.bwi-hero-sub {
  font-size: 17px; color: rgba(255,255,255,.68);
  line-height: 1.7; max-width: 500px; margin: 0 auto 1.75rem;
}
.bwi-barriers {
  display: flex; justify-content: center; gap: 1.75rem;
  flex-wrap: wrap; margin-bottom: 2.25rem;
}
.bwi-barrier {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; color: rgba(255,255,255,.52);
}
.bwi-barrier::before {
  content: ''; width: 5px; height: 5px;
  background: var(--orange); border-radius: 50%; flex-shrink: 0;
}
.bwi-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bwi-btn-primary {
  background: var(--orange); color: var(--white); border: none;
  padding: 13px 26px; border-radius: 8px; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: opacity .15s;
}
.bwi-btn-primary:hover { opacity: .88; color: var(--white); }
.bwi-btn-ghost {
  background: transparent; color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.32);
  padding: 13px 26px; border-radius: 8px; font-size: 15px;
  cursor: pointer; text-decoration: none; transition: border-color .15s;
}
.bwi-btn-ghost:hover { border-color: rgba(255,255,255,.65); color: var(--white); }
.bwi-hero-trust {
  margin-top: 3rem; font-size: 13px;
  color: rgba(255,255,255,.28); letter-spacing: .05em;
}

/* ── SECTIONS ── */
.bwi-section { padding: 3.75rem 2.5rem; }
.bwi-section-alt { background: var(--offwhite); }
.bwi-divider { height: 0.5px; background: var(--border); }
.bwi-section-label {
  font-size: 12px; font-weight: 500; letter-spacing: .09em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .45rem;
}
.bwi-section-h2 {
  font-size: 26px; font-weight: 600; color: var(--navy);
  line-height: 1.25; margin-bottom: .55rem;
}
.bwi-section-sub {
  font-size: 16px; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 2rem;
}

/* ── COURSES ── */
.bwi-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.bwi-course-card {
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: 12px; padding: 1.6rem;
  text-decoration: none; color: inherit; display: block;
  transition: border-color .15s, box-shadow .15s;
}
.bwi-course-card:hover { border-color: #185FA5; box-shadow: 0 2px 14px rgba(24,95,165,.08); }
.bwi-course-card.featured { border: 1.5px solid var(--navy); }
.bwi-badge {
  display: inline-block; font-size: 12px;
  padding: 3px 11px; border-radius: 20px; margin-bottom: .9rem;
}
.bwi-badge-free { background: var(--orange-lt); color: var(--orange); }
.bwi-badge-paid { background: #E6F1FB; color: #185FA5; }
.bwi-course-title { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: .45rem; line-height: 1.3; }
.bwi-course-desc  { font-size: 15px; color: var(--text-mid); line-height: 1.65; margin-bottom: .9rem; }
.bwi-course-meta  { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 5px; }

/* ── WHY CARDS ── */
.bwi-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
}
.bwi-why-card {
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: 12px; padding: 1.4rem;
}
.bwi-why-icon  { font-size: 24px; color: var(--navy); margin-bottom: .65rem; }
.bwi-why-title { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: .3rem; }
.bwi-why-body  { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ── ABOUT ── */
.bwi-about-wrap { background: var(--navy); padding: 2.5rem; border-radius: 14px; }
.bwi-about-inner {
  display: grid; grid-template-columns: 170px 1fr;
  gap: 2.25rem; align-items: start;
}
.bwi-about-left { text-align: center; }
.bwi-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(232,100,10,.12); border: 2px solid rgba(232,100,10,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 600; color: var(--orange);
  margin: 0 auto .8rem;
}
.bwi-about-name { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.bwi-about-role { font-size: 13px; color: var(--orange); letter-spacing: .02em; margin-bottom: .8rem; }
.bwi-tag {
  display: inline-block; font-size: 11px;
  background: rgba(232,100,10,.15); color: var(--orange);
  border: 1px solid rgba(232,100,10,.25);
  padding: 3px 10px; border-radius: 20px; margin: 3px 2px;
}
.bwi-about-bio {
  font-size: 15px; color: rgba(255,255,255,.65);
  line-height: 1.8; margin-bottom: .9rem;
}
.bwi-about-bio:last-child { margin-bottom: 0; }

/* ── CTA ── */
.bwi-cta-strip { padding: 3.75rem 2.5rem; text-align: center; background: var(--offwhite); }
.bwi-cta-sub { font-size: 16px; color: var(--text-mid); margin-bottom: 1.6rem; line-height: 1.65; }
.bwi-btn-navy {
  background: var(--navy); color: var(--white); border: none;
  padding: 13px 30px; border-radius: 8px; font-size: 15px; font-weight: 500;
  cursor: pointer; text-decoration: none; display: inline-block; transition: opacity .15s;
}
.bwi-btn-navy:hover { opacity: .85; color: var(--white); }

/* ── FOOTER ── */
.bwi-footer {
  background: var(--white); border-top: 0.5px solid var(--border);
  padding: 1.6rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.bwi-footer-left { font-size: 13px; color: var(--text-light); }
.bwi-footer-links { display: flex; gap: 1.4rem; }
.bwi-footer-links a { font-size: 13px; color: var(--text-light); text-decoration: none; }
.bwi-footer-links a:hover { color: var(--navy); }
header .wp-block-site-title,
header .site-title,
.wp-site-blocks .wp-block-site-title,
h1.wp-block-site-title { display: none !important; }
.wp-block-template-part[data-slug="header"],
header.wp-block-template-part,
.site-header { display: none !important; }
body > .wp-site-blocks > header,
.wp-site-blocks header:first-child,
[data-slug="header"],
.site-header,
.wp-block-site-title,
h1.wp-block-site-title,
header h1 { display: none !important; }
div#header { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .bwi-h1 { font-size: 34px; }
  .bwi-hero-sub { font-size: 15px; }
  .bwi-section-h2 { font-size: 22px; }
  .bwi-about-inner { grid-template-columns: 1fr; }
  .bwi-about-left { display: flex; flex-direction: column; align-items: center; }
  .bwi-nav-link-hide { display: none; }
  .bwi-section { padding: 3rem 1.25rem; }
  .bwi-hero { padding: 3.75rem 1.25rem 3.25rem; }
}

