/*
 * Theme Name:  Kadence Child — FBA Profit Master
 * Template:    kadence
 * Version: 4.0
 * Description: FBA Profit Master — premium Royal Blue + Marigold Gold design system, Poppins
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =============================================
   DESIGN TOKENS — Royal Blue / Marigold Gold
   ============================================= */
:root {
  --brand:        #0A4ECB;   /* Royal Blue — primary */
  --brand-mid:    #1E66F5;   /* gradient partner */
  --brand-dark:   #083DA8;
  --brand-deep:   #06173A;   /* midnight anchor */
  --brand-light:  #EAF1FE;   /* tint backgrounds */
  --gold:         #FFCA3A;   /* Marigold Gold — CTAs only */
  --gold-dark:    #F0B71F;
  --gradient-trust: linear-gradient(135deg, #0A4ECB 0%, #1E66F5 100%);
  --white:        #FFFFFF;
  --body-bg:      #F8FAFC;   /* Cool Gray */
  --card-bg:      #FFFFFF;
  --dark:         #1E293B;   /* Deep Charcoal — never pure black */
  --text:         #1E293B;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;
  --border:       #E2E8F0;
  --border-light: #F1F5F9;
  --footer-link:  #E3EDFF;
  --shadow-card:  0 10px 40px rgba(10, 78, 203, 0.04);
  --shadow-card-hover: 0 18px 56px rgba(10, 78, 203, 0.10);
  --shadow-sm:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --radius:       12px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --font:         'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Legacy aliases — old class/var names resolve to new palette */
  --teal:         var(--brand);
  --teal-dark:    var(--brand-dark);
  --teal-light:   var(--brand-light);
  --orange:       var(--gold);
  --orange-dark:  var(--gold-dark);

  /* Kadence palette */
  --global-palette1: #0A4ECB;
  --global-palette2: #06173A;
  --global-palette3: #1E293B;
  --global-palette4: #64748B;
  --global-palette5: #F8FAFC;
  --global-palette6: #FFFFFF;
  --global-palette7: #E2E8F0;
  --global-palette8: #EAF1FE;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }

/* =============================================
   KADENCE THEME — SHOW HEADER/FOOTER
   ============================================= */
#masthead, .site-header, .kadence-header, header.site-header,
#colophon, footer.site-footer {
  display: unset !important;
}
.entry-content, .page-content,
.content-area, .site-main, .wp-site-blocks {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-container, .wp-block-group__inner-container { max-width: 100% !important; }
.entry-header, .kadence-page-header, .page-title-inner { display: none !important; }

/* Force Poppins throughout */
body, h1, h2, h3, h4, h5, h6, p, li, a, span, div, button, input, select, textarea,
.wp-block-kadence-advancedheading,
.entry-content { font-family: var(--font) !important; }

/* =============================================
   HEADER — WHITE + ROYAL BLUE NAV + GOLD CTA
   ============================================= */
#masthead, .site-header, .kadence-header, .kadence-sticky-header {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 4px rgba(10,78,203,0.05) !important;
}
.site-branding img, .kadence-site-brand img,
.custom-logo, .custom-logo-link img {
  height: 50px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
}
.main-navigation a, .kadence-navigation a, .primary-menu a,
.navigation-menu a, .nav-menu a, #site-navigation a,
.kadence-menu a, .menu-item a {
  color: var(--brand) !important;
  font-family: var(--font) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}
.main-navigation a:hover, .kadence-navigation a:hover, .primary-menu a:hover,
.nav-menu a:hover, .kadence-menu a:hover, .menu-item a:hover,
.menu-item.current-menu-item > a {
  color: var(--brand-dark) !important;
  background: var(--brand-light) !important;
}
/* Far-right menu item = gold CTA pill ("Book a Strategy Call") */
.menu-item-104 > a {
  background: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700 !important;
  padding: 11px 24px !important;
  border-radius: 50px !important;
  margin-left: 10px !important;
  box-shadow: 0 4px 14px rgba(255,202,58,0.35) !important;
}
.menu-item-104 > a:hover {
  background: var(--gold-dark) !important;
  color: var(--dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(255,202,58,0.45) !important;
}

/* =============================================
   MOBILE / TABLET MENU — visible hamburger + branded drawer
   ============================================= */
/* Hamburger toggle: was palette5 (near-white) on white header = invisible */
.mobile-toggle-open-container .menu-toggle-open,
.mobile-toggle-open-container .menu-toggle-open:focus,
.menu-toggle-open {
  color: var(--brand) !important;
  padding: 8px 10px !important;
}
.mobile-toggle-open-container .menu-toggle-open:hover,
.mobile-toggle-open-container .menu-toggle-open:focus-visible {
  color: var(--brand-dark) !important;
  background: var(--brand-light) !important;
  border-radius: 8px !important;
}
.menu-toggle-open .menu-toggle-icon { font-size: 26px !important; }

/* Drawer panel */
#mobile-drawer .drawer-inner,
#mobile-drawer .drawer-content,
#mobile-drawer .pop-portal-drawer-inner {
  background: var(--brand-deep) !important;
}
#mobile-drawer .drawer-header .drawer-toggle,
#mobile-drawer button.menu-toggle-close {
  color: #FFFFFF !important;
}
/* Drawer links — override global blue link rule for dark panel */
#mobile-drawer .mobile-navigation a,
#mobile-drawer .menu-item a {
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
}
#mobile-drawer .mobile-navigation ul li {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
#mobile-drawer .menu-item a:hover,
#mobile-drawer .menu-item.current-menu-item > a {
  color: var(--gold) !important;
  background: rgba(255,255,255,0.06) !important;
}
/* Gold CTA inside drawer */
#mobile-drawer .menu-item-104 > a {
  background: var(--gold) !important;
  color: var(--dark) !important;
  justify-content: center !important;
  text-align: center !important;
  margin-top: 14px !important;
  border-radius: 50px !important;
}
#mobile-drawer .menu-item-104 { border-bottom: none !important; }

/* =============================================
   FOOTER — SOLID ROYAL BLUE
   ============================================= */
#colophon, footer.site-footer, .footer-html {
  background: var(--brand) !important;
  color: var(--footer-link) !important;
}
.footer-html a { color: var(--footer-link) !important; }
.footer-html a:hover { color: #FFFFFF !important; }

/* =============================================
   SECTION LAYOUT SYSTEM
   ============================================= */
.fba-section { width: 100%; box-sizing: border-box; }
.fba-section-inner {
  max-width: 1160px;
  margin-left: auto; margin-right: auto;
  width: 100%; box-sizing: border-box;
  padding: 0 32px;
}
.fba-text-center { text-align: center; }

.wp-block-kadence-rowlayout.alignfull, .wp-block-kadence-rowlayout {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}

.fba-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.fba-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.fba-col { min-width: 0; }

/* =============================================
   HERO — DEEP ROYAL TWO-COLUMN
   ============================================= */
.fba-hero-wrap {
  background: linear-gradient(135deg, #06173A 0%, #0A2E7E 52%, #0A4ECB 135%);
  padding: 130px 32px 120px;
  text-align: left;
  overflow: hidden;
}
.fba-hero-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: center;
}
.fba-hero-wrap h1 {
  color: #FFFFFF;
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.fba-hero-wrap p {
  color: #C7D8FB;
  font-size: 19px;
  max-width: 560px;
  margin: 0 0 42px;
  line-height: 1.65;
}
.fba-hero-btns { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }

/* ── Dashboard mockup card ── */
.fba-hero-mock {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 0 90px rgba(30,102,245,0.45), 0 30px 60px rgba(4,16,42,0.5);
  transform: rotate(1.5deg);
}
.fba-mock-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.fba-mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.fba-mock-dots span:first-child { background: var(--gold); }
.fba-mock-label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}
.fba-mock-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.fba-mock-big { font-size: 34px; font-weight: 800; color: var(--dark); letter-spacing: -0.03em; }
.fba-mock-chip {
  background: #FFF6DC; color: #946F00;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
}
.fba-mock-chart { width: 100%; height: auto; display: block; margin-bottom: 14px; }
.fba-mock-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  border-top: 1px solid var(--border-light); padding-top: 14px;
}
.fba-mock-stat span { display: block; }
.fba-mock-stat .v { font-size: 16px; font-weight: 700; color: var(--brand); }
.fba-mock-stat .k { font-size: 10.5px; color: var(--text-light); font-weight: 500; }

/* =============================================
   BUTTONS
   ============================================= */
.fba-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.fba-btn-lg { padding: 18px 40px; font-size: 17px; }
.fba-btn-md { padding: 14px 30px; font-size: 15px; }
.fba-btn-sm { padding: 10px 22px; font-size: 13px; }

/* Gold = conversion accent (dark text, never white) */
.fba-btn-orange {
  background: var(--gold); color: var(--dark);
  box-shadow: 0 6px 18px rgba(255,202,58,0.35);
}
.fba-btn-orange:hover {
  background: var(--gold-dark); color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255,202,58,0.45);
}
/* Royal blue solid */
.fba-btn-teal { background: var(--brand); color: #FFFFFF; box-shadow: 0 6px 18px rgba(10,78,203,0.25); }
.fba-btn-teal:hover { background: var(--brand-dark); color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(10,78,203,0.35); }
.fba-btn-white { background: #FFFFFF; color: var(--brand); }
.fba-btn-white:hover { background: var(--brand-light); color: var(--brand-dark); transform: translateY(-2px); }
.fba-btn-outline { background: transparent; color: #FFFFFF; border: 2px solid rgba(255,255,255,0.65); }
.fba-btn-outline:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.1); color: #FFFFFF; transform: translateY(-2px); }

/* =============================================
   SECTION HEADINGS
   ============================================= */
.fba-section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.fba-section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.fba-section-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 520px; margin: 0 auto; line-height: 1.65;
}

/* =============================================
   CARDS — premium architecture
   ============================================= */
.fba-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.fba-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.fba-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 0 0 10px; }
.fba-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── PAIN CARDS ── */
.fba-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fba-pain-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.fba-pain-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.fba-pain-icon {
  width: 52px; height: 52px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.fba-pain-card h3 { color: var(--dark); font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.fba-pain-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0; }

/* ── TOOL CARDS — crisp bordered, arrow indicator ── */
.fba-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fba-tool-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: all 0.3s ease;
}
.fba-tool-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.fba-tool-icon {
  width: 54px; height: 54px;
  background: var(--brand-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.fba-tool-card h3 { color: var(--dark); font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.fba-tool-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0 0 20px; flex: 1; }
.fba-tool-btn {
  color: var(--brand);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  transition: all 0.3s ease;
}
.fba-tool-card:hover .fba-tool-btn { gap: 9px; }
.fba-tool-btn:hover { color: var(--brand-dark); }

/* ── STATS — interlocking metric showcase ── */
.fba-stats-box { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fba-stat-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.fba-stat-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.fba-stat-item:nth-child(even) { transform: translateY(22px); }
.fba-stat-item:nth-child(even):hover { transform: translateY(20px); }
.fba-stat-num {
  font-size: 42px; font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  display: block; margin-bottom: 6px;
}
.fba-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── INFOBOX ── */
.fba-infobox {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: all 0.3s ease;
}
.fba-infobox:hover { box-shadow: var(--shadow-card-hover); }
.fba-infobox h3 { color: var(--dark); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.fba-infobox p  { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* ── SERVICE CARDS ── */
.fba-service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex; flex-direction: column; height: 100%;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.fba-service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: var(--brand); }
.fba-service-card--featured {
  background: var(--gradient-trust);
  border-color: var(--brand);
  box-shadow: 0 18px 56px rgba(10,78,203,0.30);
}
.fba-service-card--featured:hover { box-shadow: 0 24px 64px rgba(10,78,203,0.40); border-color: var(--brand-dark); }
.fba-service-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.fba-service-card--featured .fba-service-badge {
  color: #FFFFFF;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px; border-radius: 20px;
}
.fba-service-badge--featured { background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 20px; }
.fba-service-card h3 { color: var(--dark); font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.fba-service-card--featured h3 { color: #FFFFFF; }
.fba-service-desc { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0 0 20px; }
.fba-service-card--featured .fba-service-desc { color: rgba(255,255,255,0.88); }
.fba-service-list { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.fba-service-list li {
  color: var(--text-muted); font-size: 14px;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.fba-service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.fba-service-card--featured .fba-service-list li { color: rgba(255,255,255,0.92); border-bottom-color: rgba(255,255,255,0.15); }
.fba-service-card--featured .fba-service-list li::before { color: var(--gold); }
.fba-service-btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #FFFFFF;
  font-size: 15px; font-weight: 700;
  padding: 15px 28px; border-radius: 50px;
  text-decoration: none; margin-top: auto;
  transition: all 0.3s ease;
}
.fba-service-btn:hover { background: var(--brand-dark); color: #FFFFFF; transform: translateY(-2px); }
.fba-service-btn--featured { background: var(--gold); color: var(--dark); }
.fba-service-btn--featured:hover { background: var(--gold-dark); color: var(--dark); }

/* ── FORMS ── */
.fba-form { display: flex; flex-direction: column; gap: 16px; }
.fba-form-group { display: flex; flex-direction: column; gap: 6px; }
.fba-form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.fba-form-group input,
.fba-form-group select,
.fba-form-group textarea {
  width: 100%; padding: 13px 15px;
  background: #FFFFFF; border: 1.5px solid var(--border);
  border-radius: 10px; color: var(--dark);
  font-family: var(--font); font-size: 15px;
  transition: all 0.3s ease;
}
.fba-form-group input:focus,
.fba-form-group select:focus,
.fba-form-group textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10,78,203,0.12);
}
.fba-form-group input::placeholder,
.fba-form-group textarea::placeholder { color: var(--text-light); }
.fba-form-group select {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.fba-form-btn {
  background: var(--gold); color: var(--dark);
  font-family: var(--font); font-size: 17px; font-weight: 700;
  border: none; border-radius: 50px; padding: 17px 32px;
  cursor: pointer; transition: all 0.3s ease; margin-top: 4px;
  box-shadow: 0 6px 18px rgba(255,202,58,0.35);
}
.fba-form-btn:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,202,58,0.45); }
.fba-form-privacy { font-size: 12px; color: var(--text-light); text-align: center; margin: 4px 0 0; }

/* ── GUIDE BULLETS ── */
.fba-guide-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fba-guide-bullets li {
  color: var(--text); font-size: 16px; padding-left: 28px;
  position: relative; line-height: 1.55;
}
.fba-guide-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.fba-guide-form-box {
  background: #FFFFFF; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 34px;
  box-shadow: var(--shadow-card-hover);
}
.fba-guide-form-box h3 { color: var(--dark); font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.fba-guide-form-box > p { color: var(--text-muted); font-size: 15px; margin: 0 0 24px; }

/* ── CONTACT EXPECT LIST ── */
.fba-expect-list { display: flex; flex-direction: column; gap: 20px; }
.fba-expect-item { display: flex; align-items: flex-start; gap: 16px; }
.fba-expect-num {
  width: 36px; height: 36px; background: var(--brand); color: #FFFFFF;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.fba-expect-item strong { color: var(--dark); font-size: 16px; display: block; margin-bottom: 4px; }
.fba-expect-item p { color: var(--text-muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ── CALCULATOR ── */
.fba-calc-wrap {
  max-width: 900px; margin: 0 auto;
  background: #FFFFFF; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.fba-calc-tabs { display: flex; background: var(--body-bg); border-bottom: 1px solid var(--border); }
.fba-tab {
  flex: 1; padding: 16px 20px; background: none; border: none;
  border-bottom: 2.5px solid transparent; font-family: var(--font);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; transition: all 0.3s ease; margin-bottom: -1px;
}
.fba-tab:hover { color: var(--dark); background: rgba(10,78,203,0.03); }
.fba-tab--active, .fba-tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; background: #FFFFFF; }
.fba-tab-panel { padding: 32px; }
.fba-tab-desc {
  color: var(--text-muted); font-size: 14px; margin: 0 0 20px;
  padding: 12px 16px; background: var(--brand-light);
  border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0;
}
.fba-calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.fba-input-group { display: flex; flex-direction: column; gap: 6px; }
.fba-input-group label {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.fba-input-group input {
  background: var(--body-bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 11px 13px;
  color: var(--dark); font-family: var(--font); font-size: 15px;
  font-weight: 600; width: 100%; transition: all 0.3s ease;
}
.fba-input-group input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,78,203,0.12); }
.fba-calc-results {
  background: var(--body-bg); border-radius: var(--radius);
  padding: 20px; margin-top: 8px;
  border: 1px solid var(--border);
}
.fba-result-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border-light);
  font-size: 14px; color: var(--text-muted);
}
.fba-result-item:last-child { border-bottom: none; }
.fba-result-item span:last-child { font-weight: 700; color: var(--dark); font-size: 16px; }
.fba-result-item--highlight {
  background: var(--brand-light);
  margin: 4px -20px; padding: 12px 20px;
  border-bottom: none !important; border-radius: 8px;
}
.fba-result-item--highlight span:last-child { color: var(--brand); font-size: 18px; }
.fba-verdict { font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 8px; width: 100%; text-align: center; }

/* ── CALCULATOR PAGE EXTRAS ── */
/* Greyed placeholders: empty field must look empty */
input::placeholder, textarea::placeholder { color: #9CA3AF !important; opacity: 1 !important; font-weight: 400 !important; }

/* Tooltip "i" badges */
.fba-tip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: #E2E8F0; color: #64748B;
  font-size: 11px; font-weight: 700; font-style: normal;
  margin-left: 6px; cursor: help; position: relative; vertical-align: middle;
}
.fba-tip:hover, .fba-tip:focus { background: var(--brand); color: #fff; outline: none; }
.fba-tip::after {
  content: attr(data-tip);
  position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%);
  background: #1E293B; color: #fff;
  font-size: 12.5px; font-weight: 400; line-height: 1.55; text-transform: none; letter-spacing: 0;
  padding: 10px 13px; border-radius: 8px; width: 220px; text-align: left;
  opacity: 0; visibility: hidden; transition: opacity 0.2s; z-index: 99; pointer-events: none;
  box-shadow: 0 8px 24px rgba(15,23,42,0.25);
}
.fba-tip:hover::after, .fba-tip:focus::after { opacity: 1; visibility: visible; }

/* CTA two-column (text left, support specialist right) */
.calc-cta-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 56px; align-items: center; max-width: 1000px; margin: 0 auto;
}

/* Calculator testimonials */
.calc-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1080px; margin: 0 auto; }
.calc-testi-card {
  background: #FFFFFF; border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 34px 26px; text-align: center;
  box-shadow: var(--shadow-card); transition: all 0.3s ease;
}
.calc-testi-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.calc-testi-face {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 14px; border: 3px solid var(--brand-light); display: block;
}
.calc-testi-stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 14px; }
.calc-testi-quote { color: #475569; font-size: 14px; line-height: 1.7; margin: 0 0 18px; }
.calc-testi-name { color: var(--dark); font-size: 15px; font-weight: 700; }
.calc-testi-meta { color: var(--text-light); font-size: 12.5px; margin-top: 3px; }

/* ── KEYWORD EXTRACTOR ── */
.fba-kw-wrap { max-width: 900px; margin: 0 auto; }
.fba-kw-input-area { display: flex; flex-direction: column; gap: 12px; }
.fba-kw-input-area > label { font-size: 15px; font-weight: 600; color: var(--dark); }
.fba-kw-textarea {
  width: 100%; background: #FFFFFF; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px; color: var(--dark);
  font-family: var(--font); font-size: 14px; line-height: 1.65; resize: vertical;
  transition: all 0.3s ease;
}
.fba-kw-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,78,203,0.12); }
.fba-kw-textarea::placeholder { color: var(--text-light); }
.fba-kw-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.fba-kw-btn {
  padding: 12px 24px; border-radius: 50px; font-family: var(--font);
  font-size: 14px; font-weight: 600; border: 1.5px solid var(--border);
  background: #FFFFFF; color: var(--text-muted); cursor: pointer; transition: all 0.3s ease;
}
.fba-kw-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.fba-kw-btn--primary { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.fba-kw-btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #FFFFFF; }
.fba-kw-filters { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.fba-kw-filter-label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; cursor: pointer; }
.fba-kw-filter-label input[type="checkbox"] { accent-color: var(--brand); width: 16px; height: 16px; }
.fba-kw-output { margin-top: 24px; }
.fba-kw-output table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fba-kw-output th { text-align: left; padding: 8px 12px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); background: var(--body-bg); }
.fba-kw-output td { padding: 9px 12px; border-bottom: 1px solid var(--border-light); color: var(--text); }
.fba-kw-output tr:last-child td { border-bottom: none; }
.fba-kw-output tr:hover td { background: var(--body-bg); }
.fba-kw-output .kw-high { color: var(--brand); font-weight: 700; }

/* ── THANK YOU ── */
.fba-ty-box { max-width: 680px; margin: 0 auto; text-align: center; }
.fba-ty-icon {
  width: 80px; height: 80px; background: var(--brand-light);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 32px;
}
.fba-ty-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.fba-ty-btn { display: inline-flex; align-items: center; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; }
.fba-ty-btn:hover { transform: translateY(-2px); }
.fba-ty-btn--teal { background: var(--brand); color: #FFFFFF; }
.fba-ty-btn--orange { background: var(--gold); color: var(--dark); }

/* =============================================
   FOOTER (injected via wp_footer) — ROYAL BLUE
   ============================================= */
.fba-footer {
  background: var(--brand);
  color: var(--footer-link);
  padding: 72px 32px 36px;
  font-family: var(--font);
}
.fba-footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 280px 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.fba-footer-logo img { height: 44px; width: auto; margin-bottom: 12px; background: #FFFFFF; padding: 6px 10px; border-radius: 8px; }
.fba-footer-tagline { font-size: 13px; color: #B9CDF5; line-height: 1.65; }
.fba-footer-col h4 {
  font-size: 11px; font-weight: 700; color: #9FBCF2;
  text-transform: uppercase; letter-spacing: 2px; margin: 0 0 14px;
}
.fba-footer-col ul { list-style: none; padding: 0; margin: 0; }
.fba-footer-col ul li { margin-bottom: 10px; }
.fba-footer-col ul a { font-size: 13px; color: var(--footer-link); transition: all 0.3s ease; }
.fba-footer-col ul a:hover { color: #FFFFFF; }
.fba-footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 0 0 20px; }
.fba-footer-bottom {
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.fba-footer-copy { font-size: 12px; color: #9FBCF2; }
.fba-footer-bottom-links { display: flex; gap: 20px; }
.fba-footer-bottom-links a { font-size: 12px; color: #9FBCF2; }
.fba-footer-bottom-links a:hover { color: #FFFFFF; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .fba-footer-inner { grid-template-columns: 1fr 1fr; }
  .fba-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .fba-hero-mock { max-width: 460px; }
}
@media (max-width: 768px) {
  /* kill horizontal blowout: page must never exceed viewport */
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  .fba-hero-grid > div, .fba-hero-left, .fba-hero-right,
  .fba-cols-2 > div, .fba-cols-3 > div, .fba-col { min-width: 0 !important; }
  .fba-btn { white-space: normal !important; text-align: center; justify-content: center; }
  .fba-btn-lg { padding: 16px 28px; font-size: 16px; }
  .fba-hero-btns { width: 100%; }
  .fba-hero-btns .fba-btn { flex: 1 1 auto; }
  .fba-section-inner { padding: 0 20px; }
  .fba-pain-grid, .fba-tools-grid, .fba-cols-2, .fba-cols-3 { grid-template-columns: 1fr !important; gap: 20px; }
  .fba-stats-box { grid-template-columns: 1fr 1fr; }
  .fba-stat-item:nth-child(even) { transform: none; }
  .fba-stat-item:nth-child(even):hover { transform: translateY(-2px); }
  .fba-hero-wrap { padding: 72px 20px 64px; }
  .fba-hero-wrap h1 { font-size: 34px; }
  .fba-hero-mock { transform: none; }
  .fba-calc-grid { grid-template-columns: 1fr 1fr; }
  .fba-tab-panel { padding: 20px 16px; }
  /* collapse inline-styled grids (page content uses style="...repeat(4,1fr)...") */
  .entry-content [style*="repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  .entry-content [style*="repeat(3"] { grid-template-columns: 1fr !important; }
  /* KPI numbers: keep on one line at phone size */
  .entry-content [style*="repeat(4"] [style*="font-size:26px"] { font-size: 21px !important; white-space: nowrap; }
  /* tooltips: pin to left edge of icon so they never run off-screen */
  .fba-tip::after { left: auto; right: -12px; transform: none; width: 200px; }
  /* CTA + testimonials stack on mobile */
  .calc-cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .calc-testi-grid { grid-template-columns: 1fr; }
  .fba-footer-inner { grid-template-columns: 1fr; }
  .fba-footer-bottom { flex-direction: column; align-items: flex-start; }
  .fba-kw-controls { flex-direction: column; }
  .fba-kw-btn { width: 100%; justify-content: center; }
  .fba-ty-btns { flex-direction: column; align-items: center; }
  .menu-item-104 > a { margin-left: 0 !important; }
}
@media (max-width: 480px) {
  .fba-calc-grid { grid-template-columns: 1fr; }
  .fba-stats-box { grid-template-columns: 1fr; }
  .entry-content [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* =============================================
   FOCUS / A11Y
   ============================================= */
*:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }
button, [role="button"] { cursor: pointer; }

/* Hide Kadence default footer credit */
.site-info, .footer-credit, .kadence-credit { display: none !important; }

/* =============================================
   DESKTOP NAV DROPDOWN
   ============================================= */
.main-navigation .nav-drop-wrap .sub-menu,
.main-navigation ul ul {
  background: #ffffff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(10,78,203,0.12) !important;
  min-width: 220px !important;
  padding: 8px 0 !important;
}
.main-navigation .nav-drop-wrap .sub-menu li a,
.main-navigation ul ul li a {
  color: #1E293B !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 18px !important;
  display: block !important;
  transition: background 0.2s, color 0.2s !important;
}
.main-navigation .nav-drop-wrap .sub-menu li a:hover,
.main-navigation ul ul li a:hover {
  background: #EEF4FF !important;
  color: #0A4ECB !important;
}

/* =============================================
   LOGO SIZE — DESKTOP
   ============================================= */
.site-branding img, .kadence-site-brand img,
.custom-logo, .custom-logo-link img {
  height: 63px !important;
  max-width: 275px !important;
}
.fba-footer-logo img {
  height: 70px !important;
  padding: 8px 12px !important;
}

/* =============================================
   LOGO SIZE — MOBILE / TABLET
   ============================================= */
@media (max-width: 768px) {
  .site-branding img, .kadence-site-brand img,
  .custom-logo, .custom-logo-link img {
    height: 55px !important;
    max-width: 220px !important;
  }
  .fba-footer-logo img {
    height: 48px !important;
  }
}

/* =============================================
   MOBILE CONTAINER — SINGLE CLEAN WRAPPER
   Strip any Kadence/WP extra horizontal padding
   so only .fba-section-inner controls side gutters
   ============================================= */
@media (max-width: 768px) {
  .wp-block-kadence-rowlayout,
  .wp-block-kadence-column,
  .wp-block-kadence-rowlayout > .wp-block-kadence-column,
  .kt-row-column-wrap,
  .entry-content,
  .wp-site-blocks,
  .site-main,
  .content-area {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .fba-section-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .fba-hero-wrap {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* =============================================
   MOBILE SECTION VERTICAL PADDING FIX
   120px on mobile = massive dead space — reduce
   ============================================= */
@media (max-width: 768px) {
  .wp-block-kadence-rowlayout,
  .wp-block-kadence-rowlayout.alignfull {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  /* Hero overrides — keep its own tighter values */
  .fba-hero-wrap {
    padding-top: 72px !important;
    padding-bottom: 64px !important;
  }
  /* Footer inner — less padding on mobile */
  .fba-footer-inner,
  .fba-footer-bottom {
    padding-top: 48px !important;
    padding-bottom: 24px !important;
  }
}
@media (max-width: 480px) {
  .wp-block-kadence-rowlayout,
  .wp-block-kadence-rowlayout.alignfull {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* =============================================
   LOGO — MORE SPECIFIC SELECTORS (override Kadence)
   ============================================= */
.site-branding a.brand img,
.mobile-site-branding a.brand img,
.site-branding a.brand img.custom-logo,
.mobile-site-branding a.brand img.custom-logo {
  height: 63px !important;
  width: auto !important;
  max-width: 300px !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  .site-branding a.brand img,
  .mobile-site-branding a.brand img,
  .site-branding a.brand img.custom-logo,
  .mobile-site-branding a.brand img.custom-logo {
    height: 55px !important;
    max-width: 220px !important;
  }
  /* Header tall enough to hold logo */
  .site-main-header-inner-wrap {
    min-height: 70px !important;
    align-items: center !important;
  }
}

/* =============================================
   REMOVE KADENCE CONTENT-STYLE-BOXED CONSTRAINT
   body.content-style-boxed adds inner shadow box
   to the main content area — we want full-width
   ============================================= */
body.content-style-boxed .site,
body.content-style-boxed #page,
body.content-style-boxed .site-main,
body.content-style-boxed .content-area,
body.content-style-boxed .entry-content,
body.content-style-boxed .wp-site-blocks {
  max-width: 100% !important;
  box-shadow: none !important;
  background: transparent !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =============================================
   STRIP ALL KADENCE CONTENT WRAPPERS
   entry-content-wrap is the hidden extra box
   content-vertical-padding-show adds top/bottom gap
   ============================================= */
.entry-content-wrap,
.content-area,
.site-main,
.entry-content,
.entry-content.single-content,
body.content-style-boxed .entry-content-wrap,
body.content-style-boxed .entry-content.single-content,
body.content-vertical-padding-show .entry-content-wrap,
body.content-vertical-padding-show .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Also strip any Kadence-added vertical spacing between page content and header/footer */
body.content-vertical-padding-show .site-main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* =============================================
   SECTION PADDING — UNIFIED 80px DESKTOP
   Hero keeps its own values; all others 80px
   ============================================= */
.wp-block-kadence-rowlayout.alignfull:not(.fba-hero-section) {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
@media (max-width: 768px) {
  .wp-block-kadence-rowlayout.alignfull:not(.fba-hero-section) {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
}
@media (max-width: 480px) {
  .wp-block-kadence-rowlayout.alignfull:not(.fba-hero-section) {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

/* =============================================
   A1 — HERO AVATAR STRIP
   ============================================= */
.fba-hero-avatars {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.fba-avatar-stack {
  display: flex;
  align-items: center;
}
.fba-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  object-fit: cover;
  object-position: center top;
  margin-left: -12px;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.fba-avatar-circle:first-child { margin-left: 0; }
.fba-avatar-text {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* =============================================
   A2 — STUDENT WINS SECTION
   ============================================= */
.fba-wins-featured {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 28px;
}
.fba-wins-face {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #FFCA3A;
  flex-shrink: 0;
}
.fba-wins-stars { color: #FFCA3A; font-size: 20px; letter-spacing: 2px; margin-bottom: 14px; }
.fba-wins-stars-sm { font-size: 15px; margin-bottom: 10px; }
.fba-wins-quote {
  color: rgba(255,255,255,0.92);
  font-size: 17px;
  line-height: 1.72;
  font-style: italic;
  margin: 0 0 16px;
}
.fba-wins-name { color: #FFFFFF; font-weight: 700; font-size: 15px; }
.fba-wins-role { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }

.fba-wins-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.fba-wins-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.fba-wins-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.fba-wins-card-face {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #E2E8F0;
  flex-shrink: 0;
}
.fba-wins-card-name { font-weight: 700; font-size: 14px; color: #1E293B; }
.fba-wins-card-cat { font-size: 12px; color: #94A3B8; margin-top: 2px; }
.fba-wins-card-quote { color: #475569; font-size: 14px; line-height: 1.65; margin: 0; }

.fba-wins-wa {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.fba-wa-header {
  background: #075E54;
  color: #FFFFFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fba-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.fba-wa-contact { font-size: 14px; font-weight: 600; }
.fba-wa-status { font-size: 11px; color: rgba(255,255,255,0.7); }
.fba-wa-body { background: #ECE5DD; padding: 16px; }
.fba-wa-bubble {
  background: #FFFFFF;
  border-radius: 0 12px 12px 12px;
  padding: 12px 14px 8px;
  font-size: 14px;
  color: #1E293B;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fba-wa-time { font-size: 11px; color: #8696A0; text-align: right; }

/* Mobile */
@media (max-width: 768px) {
  .fba-wins-featured { flex-direction: column; align-items: center; text-align: center; padding: 24px; }
  .fba-wins-grid { grid-template-columns: 1fr; }
  .fba-hero-avatars { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* =============================================
   HERO FLAG OVERLAY (subliminal CA + US)
   ============================================= */
.fba-hero-wrap { position: relative; }
.fba-hero-flags-bg {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 20px;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}
.fba-hero-flags-bg span { font-size: 110px; display: block; }
.fba-hero-grid { position: relative; z-index: 1; }

/* =============================================
   V1 — PAIN CARD VOICE TESTIMONIALS
   ============================================= */
.fba-pain-voice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}
.fba-pain-face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid #0A4ECB;
}
.fba-pain-quote {
  font-size: 12.5px;
  color: #475569;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 4px;
}
.fba-pain-who {
  font-size: 11.5px;
  font-weight: 700;
  color: #0A4ECB;
}

/* =============================================
   V2 — TOOL CARD IMAGES
   ============================================= */
.fba-tool-img {
  width: 100%;
  height: 140px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  margin: -1px -1px 16px;
}
.fba-tool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.fba-tool-card:hover .fba-tool-img img { transform: scale(1.04); }

/* =============================================
   V4 — CTA SPLIT WITH HEADSET WOMAN
   ============================================= */
.fba-cta-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.fba-cta-split-img img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.fba-cta-flags {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
@media (max-width: 768px) {
  .fba-hero-flags-bg span { font-size: 60px; }
  .fba-hero-flags-bg { right: 2%; opacity: 0.10; }
  .fba-cta-split { grid-template-columns: 1fr; }
  .fba-cta-split-img { display: none; }
  .fba-tool-img { height: 110px; }
}


/* ── Hero flag row — angled real flag images (V2) ── */
.fba-hero-left { position: relative; }
.fba-hero-flag-row {
  display: flex;
  gap: 14px;
  margin: 0 0 20px 0;
  align-items: flex-end;
}
.fba-flag-angled {
  width: 72px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.40);
  opacity: 0.78;
}
.fba-flag-ca { transform: rotate(-8deg) translateY(5px); }
.fba-flag-us { transform: rotate(5deg) translateY(-3px); }
@media (max-width: 767px) {
  .fba-flag-angled { width: 50px; }
  .fba-hero-flag-row { margin-bottom: 14px; }
}

/* ── Pain card icons — modern icon box (V2) ── */
.fba-pain-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(10,78,203,0.10) 0%, rgba(30,102,245,0.17) 100%);
  border-radius: 14px;
  border: 1px solid rgba(10,78,203,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}


/* ── Keyword extractor — filter buttons + score bar + tags ── */
.kw-filter {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all .2s ease;
}
.kw-filter:hover,
.kw-filter.active {
  background: #0A4ECB;
  border-color: #0A4ECB;
  color: #FFFFFF;
}
.score-bar {
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  margin-top: 4px;
  width: 80px;
}
.score-fill {
  height: 4px;
  border-radius: 2px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}
.tag-blue { background: #EFF6FF; color: #2563EB; }
.tag-gray { background: #F1F5F9; color: #64748B; }


/* ── Opt-in form section ── */
.fba-optin-wrap {
  display: flex;
  align-items: center;
  gap: 56px;
}
.fba-optin-img {
  flex: 0 0 260px;
  background: #EFF6FF;
  border-radius: 20px;
  padding: 22px 22px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fba-optin-img img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 12px;
  drop-shadow: none;
}
.fba-optin-content { flex: 1; }
.fba-optin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFCA3A;
  border: 1px solid rgba(255,202,58,0.35);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.fba-optin-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fba-optin-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 500px;
}
.fba-optin-fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fba-optin-input {
  flex: 1 1 150px;
  min-width: 130px;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: #FFFFFF;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s ease;
}
.fba-optin-input::placeholder { color: rgba(255,255,255,0.38); }
.fba-optin-input:focus { border-color: #FFCA3A; background: rgba(255,255,255,0.10); }
.fba-optin-btn {
  padding: 13px 28px;
  background: #FFCA3A;
  color: #0F172A;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.fba-optin-btn:hover { background: #F5B800; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,202,58,0.35); }
.fba-optin-fine {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  margin: 10px 0 0;
}
@media (max-width: 768px) {
  .fba-optin-wrap { flex-direction: column; gap: 0; }
  .fba-optin-img { display: none; }
  .fba-optin-fields { flex-direction: column; }
  .fba-optin-input, .fba-optin-btn { width: 100%; }
  .fba-optin-sub { max-width: 100%; }
}

/* ── Contact page — coach card ── */
.fba-contact-coach-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(10,78,203,0.07);
}
.fba-contact-coach-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #FFCA3A;
  flex-shrink: 0;
}
.fba-contact-coach-name {
  font-size: 18px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 2px;
}
.fba-contact-coach-role {
  font-size: 13px;
  color: #0A4ECB;
  font-weight: 600;
  margin: 0 0 8px;
}
.fba-contact-coach-bio {
  font-size: 14px;
  color: #64748B;
  margin: 0 0 12px;
  line-height: 1.55;
}
.fba-contact-email-link {
  font-size: 14px;
  font-weight: 600;
  color: #0A4ECB;
  text-decoration: none;
}
.fba-contact-email-link:hover { text-decoration: underline; }

/* ── Mobile improvements ── */
@media (max-width: 768px) {
  .fba-section { padding-left: 16px !important; padding-right: 16px !important; }
  .fba-section-inner { padding: 0 4px; }
  .fba-contact-coach-card { flex-direction: column; align-items: center; text-align: center; }
  .fba-guide-form-box { padding: 24px 20px; }
  .fba-form-btn { font-size: 15px; padding: 14px 20px; }
  .fba-cols-2, .fba-cols-3 { gap: 32px !important; }
  .fba-expect-item { gap: 12px; }
  .fba-ty-btns { flex-direction: column; align-items: center; }
  .fba-ty-btn { width: 100%; max-width: 320px; text-align: center; }
}
@media (max-width: 480px) {
  .fba-hero-wrap h1 { font-size: 28px !important; }
  .fba-section-title { font-size: 22px !important; }
  .fba-form-group input,
  .fba-form-group select,
  .fba-form-group textarea { font-size: 16px; }
}
