/* Gas & Brass Armory Dealer Services — WordPress public-site styles
   Paste into Appearance > Editor > Styles > Additional CSS. */

.gba-public-site {
  --gba-bg: #f4f7fb;
  --gba-surface: #ffffff;
  --gba-surface-2: #eef3f9;
  --gba-text: #152033;
  --gba-muted: #64748b;
  --gba-line: #dbe4ef;
  --gba-navy: #0b1f3a;
  --gba-blue: #1769e0;
  --gba-blue-dark: #0e54b8;
  --gba-success: #117a4b;
  --gba-danger: #b42318;
  --gba-shadow: 0 16px 38px rgba(15, 35, 65, .08);
  --gba-radius: 16px;
  box-sizing: border-box;
  color: var(--gba-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.gba-public-site *, .gba-public-site *::before, .gba-public-site *::after { box-sizing: border-box; }
.gba-public-site a { color: inherit; text-decoration: none; }
.gba-public-site img { max-width: 100%; }
.gba-public-site button, .gba-public-site input, .gba-public-site textarea { font: inherit; }
.gba-public-site button { cursor: pointer; }
.gba-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Remove SaleCraft's content-width and block-gap effects around these full-width sections. */
.gba-public-page,
.gba-site-header,
.gba-site-footer {
  width: 100vw;
  max-width: none !important;
  margin-block: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.gba-public-page { background: var(--gba-bg); overflow: hidden; }

/* Header */
.gba-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gba-line);
}
.admin-bar .gba-site-header { top: 32px; }
.gba-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gba-brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--gba-navy) !important; font-weight: 800; }
.gba-brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg, var(--gba-navy), var(--gba-blue)); color: #fff; font-weight: 900; }
.gba-nav-links { display: flex; align-items: center; justify-content: center; gap: 20px; color: #42536b; font-size: .92rem; font-weight: 600; }
.gba-nav-links a:hover, .gba-nav-links a:focus-visible { color: var(--gba-blue); }
.gba-nav-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.gba-mobile-nav { display: none; position: relative; }
.gba-mobile-summary { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--gba-line); border-radius: 10px; background: #fff; color: var(--gba-navy); cursor: pointer; list-style: none; }
.gba-mobile-summary::-webkit-details-marker { display: none; }
.gba-mobile-summary:focus-visible { outline: 3px solid rgba(23, 105, 224, .2); outline-offset: 2px; }
.gba-mobile-icon { width: 21px; display: grid; gap: 4px; }
.gba-mobile-icon span { height: 2px; border-radius: 999px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.gba-mobile-nav[open] .gba-mobile-icon span:first-child { transform: translateY(6px) rotate(45deg); }
.gba-mobile-nav[open] .gba-mobile-icon span:nth-child(2) { opacity: 0; }
.gba-mobile-nav[open] .gba-mobile-icon span:last-child { transform: translateY(-6px) rotate(-45deg); }
.gba-mobile-menu { position: absolute; top: calc(100% + 12px); right: 0; width: min(280px, calc(100vw - 26px)); display: grid; padding: 8px; border: 1px solid var(--gba-line); border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(15, 35, 65, .16); }
.gba-mobile-menu a { padding: 13px 14px; border-radius: 9px; color: #364a65; font-weight: 700; }
.gba-mobile-menu a:hover, .gba-mobile-menu a:focus-visible { background: var(--gba-surface-2); color: var(--gba-blue); outline: none; }

/* Buttons */
.gba-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 17px; border: 1px solid transparent; border-radius: 10px; font-weight: 700; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.gba-button-primary { background: var(--gba-blue); color: #fff !important; }
.gba-button-primary:hover { background: var(--gba-blue-dark); transform: translateY(-1px); }
.gba-button-secondary { border-color: var(--gba-line); background: #fff; color: var(--gba-navy) !important; }
.gba-button-secondary:hover { border-color: #9bbce9; color: var(--gba-blue) !important; }

/* Hero */
.gba-hero { padding: 88px 0 72px; background: radial-gradient(circle at 85% 10%, rgba(23, 105, 224, .17), transparent 28%), linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%); border-bottom: 1px solid var(--gba-line); }
.gba-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; align-items: center; }
.gba-eyebrow { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #e7f0ff; color: #1458b5; font-size: .82rem; font-weight: 800; letter-spacing: .04em; line-height: 1.4; text-transform: uppercase; }
.gba-public-site h1 { margin: 16px 0; color: var(--gba-navy); font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; }
.gba-public-site h2 { margin: 0 0 14px; color: var(--gba-navy); font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.025em; }
.gba-public-site h3 { color: var(--gba-navy); }
.gba-lead { max-width: 720px; margin-top: 0; color: #52647d; font-size: 1.14rem; line-height: 1.75; }
.gba-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gba-align-center { text-align: center; }
.gba-align-center.gba-actions, .gba-align-center .gba-actions { justify-content: center; }
.gba-align-center .gba-lead { margin-inline: auto; }
.gba-hero-panel { padding: 26px; border-radius: 22px; background: var(--gba-navy); color: #fff; box-shadow: 0 26px 70px rgba(11, 31, 58, .22); }
.gba-hero-panel h3 { margin-top: 0; color: #fff; }
.gba-hero-metric { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gba-hero-metric:last-child { border-bottom: 0; }
.gba-hero-image img { width: 100%; display: block; border-radius: 20px; box-shadow: var(--gba-shadow); }

/* Public content blocks */
.gba-section { padding: 38px 0; }
.gba-section + .gba-section { padding-top: 22px; }
.gba-section-heading { max-width: 760px; margin-bottom: 34px; }
.gba-display-heading { margin: 12px 0 14px !important; font-size: clamp(2rem, 4vw, 3rem) !important; }
.gba-width-normal { max-width: 850px; }
.gba-width-wide { max-width: 1120px; }
.gba-width-full { width: min(1440px, calc(100% - 32px)); max-width: none; }
.gba-text { color: var(--gba-text); font-size: 1.05rem; line-height: 1.8; white-space: pre-wrap; }
.gba-rich-text { font-size: 1rem; line-height: 1.75; }
.gba-rich-text > :first-child { margin-top: 0; }
.gba-rich-text > :last-child { margin-bottom: 0; }
.gba-rich-text h1, .gba-rich-text h2, .gba-rich-text h3, .gba-rich-text h4 { margin: 1.45em 0 .55em; color: var(--gba-navy); line-height: 1.2; }
.gba-rich-text p, .gba-rich-text li { color: var(--gba-text); }
.gba-rich-text img { max-width: 100%; height: auto; border-radius: 14px; }
.gba-card-grid { display: grid; gap: 20px; }
.gba-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gba-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gba-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gba-card { padding: 24px; border: 1px solid var(--gba-line); border-radius: var(--gba-radius); background: var(--gba-surface); box-shadow: 0 5px 18px rgba(20, 42, 70, .035); }
.gba-card h3 { margin-top: 0; }
.gba-card p { color: var(--gba-muted); line-height: 1.65; }
.gba-image { margin-top: 0; margin-bottom: 0; }
.gba-image img { width: 100%; height: auto; display: block; border-radius: 16px; }
.gba-image figcaption { margin-top: 9px; color: var(--gba-muted); font-size: .88rem; text-align: center; }
.gba-image-text-section { padding: 76px 0; border-top: 1px solid rgba(219, 228, 239, .72); background: #fff; }
.gba-image-text-section:nth-of-type(even) { background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); }
.gba-image-text { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(38px, 5vw, 72px); align-items: center; }
.gba-image-text.gba-image-right .gba-image-text-media { order: 2; }
.gba-image-text-media { position: relative; padding: 10px; border: 1px solid #d8e3f0; border-radius: 22px; background: rgba(255, 255, 255, .9); box-shadow: 0 24px 62px rgba(15, 35, 65, .15); }
.gba-image-text-media::after { content: ""; position: absolute; z-index: -1; inset: 12% -5% -7% 10%; border-radius: 28px; background: rgba(23, 105, 224, .12); filter: blur(22px); }
.gba-image-text-media img { width: 100%; height: auto; display: block; border-radius: 14px; }
.gba-image-text-content h2 { margin: 14px 0 18px; font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.12; }
.gba-image-text-content .gba-rich-text > p:first-child { color: #52647d; font-size: 1.06rem; line-height: 1.72; }
.gba-image-text-content .gba-rich-text ul { display: grid; gap: 11px; margin: 22px 0 0; padding: 0; list-style: none; }
.gba-image-text-content .gba-rich-text li { position: relative; padding-left: 30px; color: #42536b; line-height: 1.58; }
.gba-image-text-content .gba-rich-text li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e5f5ec; color: var(--gba-success); font-size: .76rem; font-weight: 900; }
.gba-image-text-content .gba-rich-text li strong { color: var(--gba-navy); }
.gba-image-text-action { margin-top: 28px; }
.gba-cta { padding: 42px; border-radius: 20px; background: var(--gba-navy); color: #fff; }
.gba-cta h2 { margin-top: 0; color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.gba-cta p { max-width: 720px; color: #d7e1ee; line-height: 1.65; }
.gba-pricing-card { max-width: 600px; }
.gba-muted { color: var(--gba-muted); }
.gba-spacer-small { height: 24px; }
.gba-spacer-medium { height: 56px; }
.gba-spacer-large { height: 96px; }

/* Pricing */
.gba-plans-section { padding: 72px 0; border-top: 1px solid var(--gba-line); background: #f8fbff; }
.gba-plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gba-plan-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid var(--gba-line); border-radius: 18px; background: #fff; box-shadow: var(--gba-shadow); }
.gba-plan-card h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.gba-plan-card p { color: var(--gba-muted); line-height: 1.6; }
.gba-plan-card ul { flex: 1; margin: 7px 0 24px; padding-left: 20px; color: #42536b; line-height: 1.65; }
.gba-plan-card .gba-button { width: 100%; }
.gba-plan-price { display: flex; align-items: baseline; gap: 7px; color: var(--gba-navy); }
.gba-plan-price strong { font-size: 2rem; letter-spacing: -.035em; }
.gba-plan-price span { color: var(--gba-muted); }
.gba-plans-loading { min-height: 180px; display: grid; place-items: center; border: 1px dashed var(--gba-line); border-radius: 14px; background: #fff; color: var(--gba-muted); font-weight: 700; }
.gba-notice, .gba-form-message { padding: 14px 16px; border: 1px solid #b9d2f5; border-radius: 12px; background: #edf5ff; color: #274a75; line-height: 1.55; }
.gba-error { border-color: #f2b8b5; background: #fff0ef; color: var(--gba-danger); }

/* Contact form */
.gba-form-card { width: min(620px, 100%); margin: 0 auto; padding: 32px; border: 1px solid var(--gba-line); border-radius: 20px; background: #fff; box-shadow: var(--gba-shadow); }
.gba-form-card h2 { margin-top: 14px; }
.gba-form-grid { display: grid; gap: 16px; }
.gba-field { display: grid; gap: 7px; }
.gba-field label { color: #364a65; font-size: .9rem; font-weight: 750; }
.gba-field input, .gba-field textarea { width: 100%; padding: 12px 13px; border: 1px solid #cfd9e6; border-radius: 10px; outline: none; background: #fff; color: var(--gba-text); }
.gba-field input:focus, .gba-field textarea:focus { border-color: #70a4eb; box-shadow: 0 0 0 3px rgba(23, 105, 224, .11); }

/* Footer */
.gba-site-footer { margin-top: 60px !important; padding: 46px 0 30px; background: var(--gba-navy); color: #c8d3e2; }
.gba-site-footer p { color: #c8d3e2; }
.gba-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.gba-footer-title { margin-bottom: 10px; color: #fff; font-weight: 800; }
.gba-footer-links { display: grid; gap: 9px; }
.gba-footer-links a:hover, .gba-footer-links a:focus-visible { color: #fff; }
.gba-footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }

@media (max-width: 1100px) {
  .gba-nav-links { gap: 13px; font-size: .86rem; }
}
@media (max-width: 960px) {
  .gba-nav-links, .gba-nav-actions { display: none; }
  .gba-mobile-nav { display: block; }
  .gba-hero-grid { grid-template-columns: 1fr 1fr; }
  .gba-plan-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .gba-grid-3, .gba-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gba-image-text { grid-template-columns: 1fr; gap: 24px; }
  .gba-image-text.gba-image-right .gba-image-text-media { order: 0; }
}
@media (max-width: 782px) {
  .admin-bar .gba-site-header { top: 46px; }
}
@media (max-width: 650px) {
  .gba-container { width: min(calc(100% - 26px), 1180px); }
  .gba-hero { padding: 55px 0 52px; }
  .gba-hero-grid, .gba-grid-2, .gba-grid-3, .gba-grid-4, .gba-plan-grid, .gba-footer-grid { grid-template-columns: 1fr; }
  .gba-section { padding: 28px 0; }
  .gba-image-text-section { padding: 52px 0; }
  .gba-cta { padding: 28px 22px; }
  .gba-form-card { padding: 25px 20px; }
}

