/* ============================================================
   BETTER WEBSITES — WHMCS v8 Custom Theme
   Extends: Twenty-One
   Brand: Navy #0d2557 · Gold #f5a520 · Blue #3d8bd4
   ============================================================ */

/* --- Google Fonts loaded in header.tpl --- */

:root {
  --bw-navy:       #0d2557;
  --bw-navy-mid:   #1a3a7c;
  --bw-navy-light: #2a4a8f;
  --bw-gold:       #f5a520;
  --bw-gold-dark:  #e8960e;
  --bw-blue:       #3d8bd4;
  --bw-white:      #ffffff;
  --bw-off-white:  #f4f7fc;
  --bw-border:     #e2e8f4;
  --bw-text:       #0d1b3e;
  --bw-text-mid:   #546080;
  --bw-text-light: #8292aa;
  --font-h:        'Barlow Condensed', sans-serif;
  --font-b:        'Inter', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
body.bw-site {
  font-family: var(--font-b);
  color: var(--bw-text);
  background: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* === NAVIGATION === */
.bw-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--bw-border);
  box-shadow: 0 2px 16px rgba(13,37,87,0.07);
}
.bw-nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 0;
}
.bw-nav__logo { flex-shrink: 0; margin-right: 48px; }
.bw-nav__logo img { height: 44px; width: auto; display: block; }
.bw-nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
}
.bw-nav__links a {
  color: var(--bw-text);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-b);
  transition: color 0.15s;
}
.bw-nav__links a:hover { color: var(--bw-navy); }
.bw-nav__actions { display: flex; align-items: center; gap: 20px; }
.bw-nav__phone {
  color: var(--bw-navy);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-b);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.15s;
}
.bw-nav__phone:hover { color: var(--bw-blue); }

/* === BUTTONS === */
.bw-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.bw-btn--navy  { background: var(--bw-navy); color: #fff; border-color: var(--bw-navy); }
.bw-btn--navy:hover  { background: var(--bw-navy-mid); border-color: var(--bw-navy-mid); color: #fff; }
.bw-btn--gold  { background: var(--bw-gold); color: var(--bw-navy); border-color: var(--bw-gold); font-weight: 700; }
.bw-btn--gold:hover  { background: var(--bw-gold-dark); border-color: var(--bw-gold-dark); }
.bw-btn--outline-navy { background: transparent; color: var(--bw-navy); border-color: var(--bw-navy); }
.bw-btn--outline-navy:hover { background: var(--bw-navy); color: #fff; }
.bw-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.bw-btn--outline-white:hover { border-color: rgba(255,255,255,0.7); }
.bw-btn--lg { font-size: 16px; padding: 14px 36px; }
.bw-btn--sm { font-size: 13px; padding: 8px 16px; }
.bw-btn--block { display: flex; justify-content: center; width: 100%; }

/* === LAYOUT === */
.bw-container    { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.bw-container--sm { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.bw-section { padding: 96px 0; }
.bw-section--white    { background: #fff; }
.bw-section--tinted   { background: var(--bw-off-white); border-top: 1px solid var(--bw-border); }
.bw-section--navy     { background: var(--bw-navy); }
.bw-section--dark     { background: #0a1c47; }
.bw-section__header   { text-align: center; margin-bottom: 60px; }
.bw-section__header--mb-sm { margin-bottom: 36px; }

/* Tags / pills */
.bw-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 16px;
  font-family: var(--font-b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bw-tag--navy  { background: var(--bw-off-white); border: 1px solid var(--bw-border); color: var(--bw-navy); }
.bw-tag--gold  { background: rgba(245,165,32,0.13); border: 1px solid rgba(245,165,32,0.3); color: var(--bw-gold); }
.bw-tag--blue  { background: var(--bw-off-white); border: 1px solid var(--bw-border); color: var(--bw-blue); }
.bw-tag__dot   { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* Headings */
.bw-h1 { font-family: var(--font-h); font-size: 86px; font-weight: 800; line-height: 0.96; letter-spacing: -0.01em; text-wrap: pretty; margin: 0; }
.bw-h2 { font-family: var(--font-h); font-size: 52px; font-weight: 800; line-height: 1; margin: 0 0 14px; }
.bw-h3 { font-family: var(--font-h); font-size: 28px; font-weight: 700; line-height: 1.1; margin: 0 0 12px; }
.bw-h2--white { color: #fff; }
.bw-h2--navy  { color: var(--bw-navy); }
.bw-lead { font-size: 19px; line-height: 1.65; text-wrap: pretty; }
.bw-lead--white { color: rgba(255,255,255,0.75); }
.bw-lead--mid   { color: var(--bw-text-mid); }
.bw-gold-text   { color: var(--bw-gold); }

/* === HERO === */
.bw-hero {
  background: var(--bw-navy);
  padding: 108px 32px 128px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.bw-hero__inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.bw-hero__ctas  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.bw-hero__stats { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.bw-hero__stat  { text-align: center; padding: 0 32px; }
.bw-hero__stat-val { font-family: var(--font-h); font-size: 32px; font-weight: 800; color: #fff; }
.bw-hero__stat-val--gold { color: var(--bw-gold); }
.bw-hero__stat-lbl { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }
.bw-hero__divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }
/* Decorative bars */
.bw-deco { position: absolute; pointer-events: none; opacity: 0.18; }
.bw-deco--tr { top: 52px; right: 140px; display: flex; flex-direction: column; gap: 12px; transform: rotate(-10deg); }
.bw-deco--bl { bottom: 60px; left: 64px; opacity: 0.1; display: flex; flex-direction: column; gap: 8px; }
.bw-deco__bar { border-radius: 4px; }

/* === TRUST BAR === */
.bw-trust { background: var(--bw-off-white); border-bottom: 1px solid #dde5f2; padding: 22px 32px; }
.bw-trust__inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.bw-trust__item { display: flex; align-items: center; gap: 10px; padding: 10px 36px; border-right: 1px solid #d0daea; }
.bw-trust__item:last-child { border-right: none; }
.bw-trust__icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bw-trust__icon--navy { background: var(--bw-navy); }
.bw-trust__icon--gold { background: var(--bw-gold); }
.bw-trust__label { font-size: 14px; font-weight: 600; color: var(--bw-text); white-space: nowrap; }

/* === FEATURE CARDS === */
.bw-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.bw-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.bw-card {
  background: var(--bw-off-white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--bw-border);
  transition: border-color 0.2s;
}
.bw-card:hover { border-color: var(--bw-gold); }
.bw-card--white { background: #fff; }
.bw-card__icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.bw-card__icon--gold { background: var(--bw-gold); }
.bw-card__icon--blue { background: var(--bw-blue); }
.bw-card__title { font-family: var(--font-h); font-size: 24px; font-weight: 700; color: var(--bw-navy); margin: 0 0 10px; }
.bw-card__desc  { font-size: 15px; color: var(--bw-text-mid); line-height: 1.65; margin: 0; text-wrap: pretty; }

/* === COMPARISON TABLE === */
.bw-compare-wrap { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--bw-border); box-shadow: 0 4px 24px rgba(13,37,87,0.07); }
.bw-compare-row { display: grid; grid-template-columns: 220px repeat(4,1fr); }
.bw-compare-row--alt { background: #f9fafc; }
.bw-compare-cell { padding: 18px 20px; border-left: 1px solid var(--bw-border); display: flex; align-items: center; justify-content: center; }
.bw-compare-cell:first-child { border-left: none; padding: 18px 24px; justify-content: flex-start; }
.bw-compare-cell--bw { background: #fffbf0 !important; border-left: 2px solid var(--bw-gold) !important; }
.bw-compare-head { display: grid; grid-template-columns: 220px repeat(4,1fr); background: var(--bw-navy); }
.bw-compare-head-cell { padding: 22px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.1); }
.bw-compare-head-cell:first-child { padding: 22px 24px; text-align: left; border-left: none; }
.bw-compare-head-cell--bw { background: var(--bw-gold); }
.bw-compare-brand { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: var(--bw-navy); }
.bw-compare-brand--white { color: rgba(255,255,255,0.7); }
.bw-compare-feat { font-size: 14px; font-weight: 600; color: var(--bw-text); }
.bw-yes { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bw-yes__tick { color: #16a34a; font-size: 17px; font-weight: 700; }
.bw-yes__label { font-size: 13px; font-weight: 600; color: var(--bw-text); }
.bw-no { color: #dc2626; font-size: 17px; font-weight: 700; text-align: center; }
.bw-partial { font-size: 13px; font-weight: 500; color: #d97706; text-align: center; }
.bw-note { font-size: 12px; color: var(--bw-text-light); text-align: center; margin-top: 16px; }

/* === PRICING === */
.bw-toggle { display: inline-flex; align-items: center; background: var(--bw-off-white); border: 1px solid var(--bw-border); border-radius: 8px; padding: 4px; gap: 4px; }
.bw-toggle__btn {
  border: none; padding: 9px 20px; border-radius: 6px;
  font-size: 14px; font-weight: 600; font-family: var(--font-b);
  cursor: pointer; background: transparent; color: var(--bw-text-mid);
  transition: all 0.15s; display: inline-flex; align-items: center; gap: 6px;
}
.bw-toggle__btn--active { background: var(--bw-navy); color: #fff; }
.bw-toggle__badge { background: var(--bw-gold); color: var(--bw-navy); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.bw-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; margin-top: 40px; }
.bw-plan { background: #fff; border-radius: 16px; border: 1px solid var(--bw-border); overflow: hidden; box-shadow: 0 2px 12px rgba(13,37,87,0.05); }
.bw-plan--featured { background: var(--bw-navy); border: 2px solid var(--bw-gold); box-shadow: 0 8px 40px rgba(13,37,87,0.22); }
.bw-plan__popular { background: var(--bw-gold); text-align: center; padding: 7px; font-size: 12px; font-weight: 700; color: var(--bw-navy); letter-spacing: 0.06em; text-transform: uppercase; }
.bw-plan__hd { padding: 28px 32px 24px; border-bottom: 1px solid var(--bw-border); border-top: 4px solid var(--bw-navy); }
.bw-plan--featured .bw-plan__hd { border-bottom-color: rgba(255,255,255,0.12); border-top: none; padding-top: 24px; }
.bw-plan__name { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: var(--bw-navy); margin-bottom: 6px; }
.bw-plan--featured .bw-plan__name { color: var(--bw-gold); }
.bw-plan__desc { font-size: 13px; color: var(--bw-text-mid); margin-bottom: 20px; }
.bw-plan--featured .bw-plan__desc { color: rgba(255,255,255,0.55); }
.bw-plan__price { display: flex; align-items: flex-end; gap: 4px; }
.bw-plan__amt { font-family: var(--font-h); font-size: 48px; font-weight: 800; color: var(--bw-navy); line-height: 1; }
.bw-plan--featured .bw-plan__amt { color: #fff; }
.bw-plan__per { font-size: 14px; color: var(--bw-text-light); margin-bottom: 8px; }
.bw-plan--featured .bw-plan__per { color: rgba(255,255,255,0.5); }
.bw-plan__billing { font-size: 12px; color: var(--bw-text-light); margin-top: 6px; }
.bw-plan--featured .bw-plan__billing { color: rgba(255,255,255,0.35); }
.bw-plan__bd { padding: 24px 32px 28px; }
.bw-plan__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.bw-plan__feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--bw-text); }
.bw-plan--featured .bw-plan__feat { color: rgba(255,255,255,0.9); }
.bw-plan__tick { color: #16a34a; font-weight: 700; font-size: 15px; }
.bw-plan--featured .bw-plan__tick { color: var(--bw-gold); }
.bw-plan__cta {
  display: block; text-align: center; font-family: var(--font-b); font-size: 15px; font-weight: 600;
  padding: 13px; border-radius: 8px; background: var(--bw-navy); color: #fff; transition: background 0.15s;
}
.bw-plan__cta:hover { background: var(--bw-navy-mid); color: #fff; }
.bw-plan--featured .bw-plan__cta { background: var(--bw-gold); color: var(--bw-navy); font-weight: 700; }
.bw-plan--featured .bw-plan__cta:hover { background: var(--bw-gold-dark); }

/* === MIGRATION STEPS === */
.bw-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; position: relative; }
.bw-steps__line {
  position: absolute; top: 32px;
  left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(245,165,32,0.35) 10%, rgba(245,165,32,0.35) 90%, transparent);
}
.bw-step { text-align: center; position: relative; }
.bw-step__num { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-family: var(--font-h); font-size: 30px; font-weight: 800; }
.bw-step__num--gold { background: var(--bw-gold); color: var(--bw-navy); }
.bw-step__num--blue { background: var(--bw-blue); color: #fff; }
.bw-step__title { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.bw-step__desc  { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; text-wrap: pretty; }

/* === TESTIMONIALS === */
.bw-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.bw-testi { background: var(--bw-off-white); border-radius: 16px; padding: 36px; border: 1px solid var(--bw-border); display: flex; flex-direction: column; gap: 20px; }
.bw-testi__stars { color: var(--bw-gold); font-size: 18px; }
.bw-testi__text  { font-size: 15px; color: var(--bw-text); line-height: 1.7; margin: 0; font-style: italic; text-wrap: pretty; }
.bw-testi__author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.bw-testi__avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-h); font-size: 18px; font-weight: 700; }
.bw-testi__name { font-size: 14px; font-weight: 600; color: var(--bw-text); }
.bw-testi__role { font-size: 13px; color: var(--bw-text-light); }

/* === CTA SECTION === */
.bw-cta { background: var(--bw-navy); padding: 96px 32px; text-align: center; position: relative; overflow: hidden; }
.bw-cta__inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.bw-cta__title { font-family: var(--font-h); font-size: 60px; font-weight: 800; color: #fff; margin: 0 0 18px; line-height: 1; text-wrap: pretty; }
.bw-cta__sub   { font-size: 18px; color: rgba(255,255,255,0.65); margin: 0 0 44px; line-height: 1.6; text-wrap: pretty; }
.bw-cta__btns  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.bw-cta__note  { font-size: 13px; color: rgba(255,255,255,0.35); }

/* === FOOTER === */
.bw-footer { background: #0a1c47; padding: 72px 32px 0; }
.bw-footer__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.bw-footer__logo { height: 52px; width: auto; display: block; margin-bottom: 18px; border-radius: 6px; }
.bw-footer__tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.65; margin: 0 0 20px; max-width: 260px; text-wrap: pretty; }
.bw-footer__phone { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600; transition: color 0.15s; }
.bw-footer__phone:hover { color: var(--bw-gold); }
.bw-footer__reg   { font-size: 12px; color: rgba(255,255,255,0.3); margin: 12px 0 0; }
.bw-footer__heading { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: var(--bw-gold); letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 20px; }
.bw-footer__links   { display: flex; flex-direction: column; gap: 12px; }
.bw-footer__links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.15s; }
.bw-footer__links a:hover { color: #fff; }
.bw-footer__bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
.bw-footer__bar p { font-size: 13px; color: rgba(255,255,255,0.3); margin: 0; }
.bw-footer__legal { display: flex; gap: 24px; }
.bw-footer__legal a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color 0.15s; }
.bw-footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* === CLIENT AREA === */
.bw-client-body { display: flex; min-height: calc(100vh - 72px); }
.bw-sidebar {
  width: 240px; background: var(--bw-navy); flex-shrink: 0;
  position: sticky; top: 72px; height: calc(100vh - 72px);
  overflow-y: auto; display: flex; flex-direction: column;
}
.bw-sidebar__hd { padding: 16px 24px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.bw-sidebar__label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em; }
.bw-sidebar__nav { padding: 10px 0; flex: 1; }
.bw-sidebar__link {
  display: flex; align-items: center; gap: 12px; padding: 11px 24px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6);
  border-left: 3px solid transparent; transition: all 0.12s;
}
.bw-sidebar__link:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.05); }
.bw-sidebar__link--active { color: var(--bw-gold) !important; background: rgba(245,165,32,0.1); border-left-color: var(--bw-gold); font-weight: 600; }
.bw-sidebar__ft { padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.bw-sidebar__migrate {
  display: flex; align-items: center; gap: 10px;
  background: rgba(245,165,32,0.12); border: 1px solid rgba(245,165,32,0.28);
  border-radius: 8px; padding: 12px 14px; font-size: 13px; font-weight: 600;
  color: var(--bw-gold); cursor: pointer; transition: background 0.15s;
}
.bw-sidebar__migrate:hover { background: rgba(245,165,32,0.2); }
.bw-sidebar__logout { display: block; text-align: center; font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 12px; }
.bw-sidebar__logout:hover { color: rgba(255,255,255,0.6); }
.bw-client__main { flex: 1; padding: 36px 40px; min-width: 0; background: var(--bw-off-white); }

/* Client area components */
.bw-page-hd { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.bw-page-title { font-family: var(--font-h); font-size: 38px; font-weight: 800; color: var(--bw-navy); margin: 0 0 4px; line-height: 1; }
.bw-page-sub { font-size: 14px; color: var(--bw-text-light); margin: 0; }
.bw-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.bw-stat-card { background: #fff; border-radius: 12px; padding: 20px 22px; border: 1px solid var(--bw-border); box-shadow: 0 1px 6px rgba(13,37,87,0.04); }
.bw-stat-card--navy { background: var(--bw-navy); border-color: var(--bw-navy); }
.bw-stat-card__lbl { font-size: 11px; font-weight: 700; color: var(--bw-text-light); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.bw-stat-card--navy .bw-stat-card__lbl { color: rgba(255,255,255,0.4); }
.bw-stat-card__val { font-family: var(--font-h); font-size: 42px; font-weight: 800; color: var(--bw-navy); line-height: 1; margin-bottom: 6px; }
.bw-stat-card--navy .bw-stat-card__val { color: var(--bw-gold); font-size: 22px; }
.bw-stat-card__note { font-size: 12px; font-weight: 600; }
.bw-stat-card__note--green  { color: #16a34a; }
.bw-stat-card__note--amber  { color: #d97706; }
.bw-stat-card__note--muted  { color: var(--bw-text-light); }
.bw-sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bw-sec-title { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: var(--bw-navy); margin: 0; }
.bw-sec-link { font-size: 13px; font-weight: 600; color: var(--bw-blue); cursor: pointer; }
.bw-service-card { background: #fff; border-radius: 12px; padding: 22px 24px; border: 1px solid var(--bw-border); box-shadow: 0 1px 6px rgba(13,37,87,0.04); }
.bw-service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.bw-service-card__name { font-family: var(--font-h); font-size: 20px; font-weight: 700; color: var(--bw-navy); margin-bottom: 4px; }
.bw-service-card__meta { font-size: 13px; color: var(--bw-text-light); margin-bottom: 16px; }
.bw-service-card__actions { display: flex; gap: 8px; }
.bw-service-card__specs { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--bw-border); border-radius: 10px; overflow: hidden; }
.bw-spec { padding: 12px 14px; border-right: 1px solid var(--bw-border); }
.bw-spec:last-child { border-right: none; }
.bw-spec__lbl { font-size: 10px; font-weight: 700; color: var(--bw-text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.bw-spec__val { font-family: var(--font-h); font-size: 18px; font-weight: 700; color: var(--bw-navy); }
.bw-spec__val--green { color: #16a34a; }

/* Badges */
.bw-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.bw-badge--active    { background: #dcfce7; color: #16a34a; }
.bw-badge--growth    { background: #e0ecf9; color: #1a5fa0; }
.bw-badge--starter   { background: var(--bw-off-white); color: var(--bw-text-mid); border: 1px solid var(--bw-border); }
.bw-badge--business  { background: #ede9fe; color: #5b21b6; }
.bw-badge--inprogress { background: #dbeafe; color: #1d4ed8; }
.bw-badge--awaiting  { background: #fef9c3; color: #a16207; }
.bw-badge--resolved  { background: #dcfce7; color: #16a34a; }
.bw-badge--paid      { background: #dcfce7; color: #16a34a; }
.bw-badge--unpaid    { background: #fef9c3; color: #a16207; }
.bw-badge--overdue   { background: #fee2e2; color: #dc2626; }
.bw-badge--cancelled { background: #f1f5f9; color: #64748b; }

/* Tables */
.bw-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--bw-border); box-shadow: 0 2px 8px rgba(13,37,87,0.05); }
.bw-table th { padding: 12px 20px; font-size: 11px; font-weight: 700; color: var(--bw-text-light); text-transform: uppercase; letter-spacing: 0.06em; text-align: left; border-bottom: 2px solid var(--bw-off-white); }
.bw-table td { padding: 15px 20px; font-size: 13px; color: var(--bw-text); border-bottom: 1px solid var(--bw-off-white); }
.bw-table tbody tr:last-child td { border-bottom: none; }
.bw-table__id { font-weight: 600; color: var(--bw-blue); }
.bw-table__link { font-weight: 600; color: var(--bw-blue); }
.bw-table__link:hover { color: var(--bw-navy); }
.bw-table__action { font-size: 13px; font-weight: 700; font-family: var(--font-b); }

/* Info box */
.bw-info { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.bw-info p { font-size: 13px; color: #1e40af; margin: 0; }

/* Invoice action button */
.bw-pay-btn { font-size: 13px; font-weight: 700; color: #fff; background: var(--bw-gold); padding: 6px 14px; border-radius: 6px; display: inline-block; transition: background 0.15s; }
.bw-pay-btn:hover { background: var(--bw-gold-dark); color: var(--bw-navy); }

/* === CART / CHECKOUT === */
.bw-checkout { max-width: 1000px; margin: 0 auto; padding: 40px 32px; }
.bw-checkout__steps { display: flex; align-items: center; margin-bottom: 36px; background: #fff; border-radius: 12px; padding: 20px 28px; border: 1px solid var(--bw-border); gap: 0; }
.bw-checkout__step { display: flex; align-items: center; gap: 10px; flex: 1; }
.bw-checkout__num { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.bw-checkout__num--active  { background: var(--bw-navy); color: #fff; }
.bw-checkout__num--done    { background: #16a34a; color: #fff; }
.bw-checkout__num--pending { background: var(--bw-border); color: var(--bw-text-light); }
.bw-checkout__lbl--active  { font-size: 13px; font-weight: 600; color: var(--bw-navy); }
.bw-checkout__lbl--pending { font-size: 13px; font-weight: 500; color: var(--bw-text-light); }
.bw-checkout__connector    { flex: 1; height: 2px; background: var(--bw-border); margin: 0 4px; max-width: 60px; }
.bw-checkout__body { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.bw-checkout__main { background: #fff; border-radius: 14px; padding: 28px; border: 1px solid var(--bw-border); }
.bw-checkout__summary { background: #fff; border-radius: 14px; padding: 24px; border: 1px solid var(--bw-border); position: sticky; top: 90px; }
.bw-form__group { margin-bottom: 20px; }
.bw-form__label { display: block; font-size: 13px; font-weight: 600; color: var(--bw-text); margin-bottom: 6px; }
.bw-form__input, .bw-form__select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--bw-border);
  border-radius: 6px; font-family: var(--font-b); font-size: 14px;
  color: var(--bw-text); background: #fff; outline: none; transition: border-color 0.15s;
}
.bw-form__input:focus, .bw-form__select:focus { border-color: var(--bw-navy); }
.bw-form__row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bw-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.bw-summary-row__lbl { font-size: 13px; color: var(--bw-text-mid); }
.bw-summary-row__val { font-size: 13px; font-weight: 600; color: var(--bw-text); }
.bw-summary-total { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--bw-border); }
.bw-summary-total__lbl { font-family: var(--font-h); font-size: 18px; font-weight: 700; color: var(--bw-navy); }
.bw-summary-total__val { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: var(--bw-navy); }

/* Domain search */
.bw-domain-hero { background: var(--bw-navy); padding: 72px 32px; text-align: center; }
.bw-domain-search { display: flex; max-width: 640px; margin: 0 auto; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 32px rgba(13,37,87,0.25); }
.bw-domain-search input { flex: 1; padding: 17px 22px; font-family: var(--font-b); font-size: 16px; color: var(--bw-text); border: none; outline: none; }
.bw-domain-search select { padding: 17px 14px; border: none; border-left: 1px solid var(--bw-border); font-family: var(--font-b); font-size: 15px; font-weight: 600; color: var(--bw-text-mid); background: var(--bw-off-white); outline: none; cursor: pointer; }
.bw-domain-search__btn { background: var(--bw-gold); color: var(--bw-navy); font-family: var(--font-b); font-size: 15px; font-weight: 700; padding: 17px 28px; border: none; cursor: pointer; transition: background 0.15s; }
.bw-domain-search__btn:hover { background: var(--bw-gold-dark); }
.bw-domain-result { background: #fff; border-radius: 10px; padding: 18px 24px; border: 1px solid var(--bw-border); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-shadow: 0 1px 6px rgba(13,37,87,0.04); }
.bw-domain-result--available { border-left: 4px solid #16a34a; }
.bw-domain-result--taken { border-left: 4px solid var(--bw-border); opacity: 0.7; }
.bw-domain-result__name { font-family: var(--font-h); font-size: 26px; font-weight: 800; color: var(--bw-navy); }
.bw-domain-result__avail { font-size: 13px; font-weight: 600; color: #16a34a; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.bw-domain-result__taken { font-size: 13px; color: var(--bw-text-light); margin-top: 2px; }
.bw-domain-result__price { font-family: var(--font-h); font-size: 26px; font-weight: 800; color: var(--bw-navy); }
.bw-domain-result__period { font-size: 12px; color: var(--bw-text-light); }
.bw-domain-result__right { display: flex; align-items: center; gap: 16px; text-align: right; }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .bw-plans { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 1024px) {
  .bw-h1 { font-size: 64px; }
  .bw-grid-3 { grid-template-columns: repeat(2,1fr); }
  .bw-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bw-stats-grid { grid-template-columns: repeat(2,1fr); }
  .bw-sidebar { display: none; }
  .bw-checkout__body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .bw-h1 { font-size: 46px; }
  .bw-h2 { font-size: 38px; }
  .bw-nav__links { display: none; }
  .bw-trust__item { padding: 10px 16px; }
  .bw-grid-3, .bw-grid-2 { grid-template-columns: 1fr; }
  .bw-testi-grid { grid-template-columns: 1fr; }
  .bw-footer__inner { grid-template-columns: 1fr; }
  .bw-hero { padding: 72px 24px 80px; }
  .bw-cta { padding: 64px 24px; }
  .bw-cta__title { font-size: 42px; }
}



/* ============================================================
   NAVIGATION — Desktop baseline (class-driven, no inline styles)
   ============================================================ */
body.bw-site { margin: 0; padding: 0; }

.bw-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f4;
  box-shadow: 0 2px 16px rgba(13,37,87,0.07);
}
.bw-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
}
.bw-nav-logo {
  flex-shrink: 0;
  margin-right: 48px;
  text-decoration: none;
}
.bw-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
}
.bw-nav-links a {
  color: #0d1b3e;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.bw-nav-links a:hover { color: #0d2557; }
.bw-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bw-nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #0d2557;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.bw-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f7fc;
  color: #0d1b3e;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #e2e8f4;
}
.bw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
}
.bw-btn-outline { background: transparent; color: #0d2557; border: 2px solid #0d2557; }
.bw-btn-solid   { background: #0d2557; color: #ffffff; border: 2px solid #0d2557; }
.bw-hamburger   { display: none; }

/* ============================================================
   MOBILE RESPONSIVE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {

  /* --- Header --- */
  .bw-nav-inner {
    padding: 0 20px !important;
    height: auto !important;
    min-height: 64px !important;
    flex-wrap: wrap !important;
  }
  .bw-nav-logo {
    margin-right: auto !important;
    padding: 12px 0 !important;
    flex: 0 0 auto !important;
  }
  .bw-hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 6px;
    margin-left: 8px;
    flex-shrink: 0;
  }
  .bw-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0d2557;
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
  }
  .bw-nav-open .bw-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .bw-nav-open .bw-hamburger span:nth-child(2) { opacity: 0; }
  .bw-nav-open .bw-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hide nav + actions by default on mobile */
  .bw-nav-links  { display: none !important; }
  .bw-nav-actions { display: none !important; }

  /* Show when open */
  .bw-nav-open .bw-nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid #e2e8f4;
  }
  .bw-nav-open .bw-nav-links a {
    padding: 11px 0;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid #f4f7fc;
  }
  .bw-nav-open .bw-nav-links a:last-child { border-bottom: 0; }
  .bw-nav-open .bw-nav-actions {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
    padding: 4px 0 16px;
  }
  .bw-nav-open .bw-nav-phone {
    justify-content: center;
    padding: 10px;
    background: #f4f7fc;
    border-radius: 6px;
    border: 1px solid #e2e8f4;
  }
  .bw-nav-open .bw-nav-cart { justify-content: center; }
  .bw-nav-open .bw-btn { justify-content: center; }

  /* --- Homepage pricing grid --- */
  .bw-plans-grid { grid-template-columns: 1fr !important; }

  /* --- Comparison table — scrollable --- */
  .bw-comparison-scroll { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .bw-comparison-scroll > div { min-width: 700px; }

  /* --- General page padding --- */
  .bw-page-body section { padding-left: 20px !important; padding-right: 20px !important; }

  /* --- Footer --- */
  .bw-footer-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 480px) {
  .bw-footer-grid { grid-template-columns: 1fr !important; }
}
