/*
Theme Name: Superior Business Solutions
Theme URI: https://superiorbusiness.solutions
Author: Superior Business Solutions
Author URI: https://superiorbusiness.solutions
Description: Custom WordPress theme for Superior Business Solutions — Web design, hosting, and digital marketing agency based in Orlando, FL. Built with a white/red/grey color scheme, fully responsive, mobile-first.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://superiorbusiness.solutions
Text Domain: sbs
*/

/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
  --red: #C0202A;
  --red-dark: #9A1820;
  --g900: #1A1A1A;
  --g700: #3D3D3D;
  --g500: #6B6B6B;
  --g300: #ADADAD;
  --g200: #D0D0D0;
  --g100: #F0F0F0;
  --g50: #F8F8F8;
  --white: #ffffff;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--g900);
  overflow-x: hidden;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

p {
  line-height: 1.75;
}

/* ===========================
   SHARED COMPONENTS
=========================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--g500);
  font-weight: 300;
  line-height: 1.75;
  max-width: 540px;
}

/* ===========================
   BUTTONS
=========================== */
.btn-red {
  background: var(--red);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  color: var(--white);
}

.btn-outline {
  border: 1px solid var(--g200);
  color: var(--g700);
  padding: 13px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--g900);
  color: var(--g900);
}

.btn-ghost {
  color: var(--g500);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--g900);
}

.btn-ghost::after {
  content: '→';
}

.btn-white {
  background: var(--white);
  color: var(--red);
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  position: relative;
}

.btn-white:hover {
  background: var(--g50);
  transform: translateY(-2px);
  color: var(--red);
}

/* ===========================
   NAVIGATION
=========================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 60px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g100);
  transition: box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.5px;
  color: var(--g900);
  text-decoration: none;
}

.nav-logo span {
  color: var(--red);
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  color: var(--g500);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.current {
  color: var(--g900);
}

.nav-menu .nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 500 !important;
}

.nav-menu .nav-cta:hover {
  background: var(--red-dark);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--g900);
  padding: 4px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--g900);
  padding: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-link {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo-link span {
  color: var(--red);
}

.footer-brand p {
  font-size: 14px;
  color: var(--g500);
  font-weight: 300;
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--g300);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--g500);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: var(--g500);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===========================
   PAGE HERO (INNER PAGES)
=========================== */
.page-hero {
  padding: 150px 60px 80px;
  background: var(--g50);
  border-bottom: 1px solid var(--g100);
}

.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-hero .eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red);
}

.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.0;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 17px;
  color: var(--g500);
  font-weight: 300;
  line-height: 1.8;
  max-width: 560px;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  background: var(--red);
  padding: 90px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin-bottom: 36px;
  position: relative;
}

/* ===========================
   FORMS
=========================== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--g700);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--g200);
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--g900);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}

.submit-btn:hover {
  background: var(--red-dark);
}

/* ===========================
   WORDPRESS CORE ALIGNMENT
=========================== */
.wp-block-image img {
  border-radius: 4px;
}

.aligncenter {
  text-align: center;
}

.alignleft {
  float: left;
  margin-right: 24px;
}

.alignright {
  float: right;
  margin-left: 24px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .site-nav {
    padding: 0 24px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--g100);
    padding: 24px;
    gap: 0;
    z-index: 199;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--g100);
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .nav-hamburger {
    display: block;
  }

  .site-footer {
    padding: 48px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    padding: 110px 24px 60px;
  }

  .cta-banner {
    padding: 60px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 40px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}


/* Superior responsive polish 2026-04-29 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.admin-bar .site-nav {
  top: 32px;
}

.site-nav {
  height: 78px !important;
  padding: 0 clamp(22px, 4vw, 60px) !important;
  overflow: visible !important;
}

.nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  max-width: min(460px, 72vw) !important;
  overflow: visible !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.nav-logo-symbol {
  width: 34px !important;
  height: 34px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  display: block !important;
}

.nav-logo-img {
  display: none !important;
}

.nav-logo-text {
  color: var(--g900) !important;
  font-family: 'Syne', sans-serif !important;
  font-size: clamp(18px, 2.2vw, 28px) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

.nav-logo-text span {
  color: var(--red) !important;
}

.nav-hamburger {
  display: block !important;
  margin-left: auto !important;
}

.nav-menu {
  display: none !important;
}

.nav-menu.open {
  display: flex !important;
}

.home-hero {
  min-height: auto !important;
  padding: clamp(148px, 16vh, 220px) clamp(24px, 4vw, 60px) 76px !important;
  overflow: visible !important;
}

.hero-content {
  max-width: 980px !important;
}

.home-hero h1 {
  max-width: 820px !important;
}

.hero-actions {
  flex-wrap: wrap !important;
}

.hero-stats {
  max-width: 760px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(92px, 1fr)) !important;
  gap: clamp(18px, 4vw, 52px) !important;
  align-items: start !important;
}

.trust-bar {
  padding: 56px clamp(24px, 4vw, 60px) !important;
  overflow: hidden !important;
}

.trust-inner {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(120px, 1fr)) !important;
  gap: clamp(20px, 4vw, 48px) !important;
  align-items: start !important;
}

.trust-item {
  min-width: 0 !important;
}

.svc-visual {
  min-height: 320px !important;
  overflow: hidden !important;
}

.svc-visual-image {
  padding: 0 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%) !important;
  position: relative !important;
}

.svc-visual-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
  filter: grayscale(8%) contrast(1.03) !important;
  opacity: 0.94 !important;
}

.svc-visual-image::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.26)) !important;
  pointer-events: none !important;
}

.svc-visual-image .svc-visual-num {
  z-index: 2 !important;
}

@media (max-width: 900px) {
  body.admin-bar .site-nav {
    top: 46px;
  }

  .home-hero {
    padding: 132px 24px 64px !important;
  }

  .trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .trust-item:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 700px) {
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .site-nav {
    height: 70px !important;
    padding: 0 18px !important;
  }

  .nav-logo-symbol {
    width: 30px !important;
    height: 30px !important;
  }

  .nav-logo-text {
    font-size: 18px !important;
  }

  .home-hero {
    padding: 118px 20px 56px !important;
  }

  .hero-stats,
  .trust-inner {
    grid-template-columns: 1fr !important;
  }

  .trust-item:last-child {
    grid-column: auto !important;
  }

  .svc-visual {
    min-height: 240px !important;
  }
}


/* Superior logo and stat alignment 2026-04-29 */
.site-nav {
  background: rgba(18, 18, 20, 0.97) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.nav-logo {
  max-width: min(340px, 66vw) !important;
}

.nav-logo-symbol,
.nav-logo-text {
  display: none !important;
}

.nav-logo-img {
  display: block !important;
  width: clamp(218px, 24vw, 310px) !important;
  height: auto !important;
  max-height: 50px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: brightness(0) invert(1) contrast(1.18) !important;
}

.nav-hamburger,
.nav-hamburger span {
  color: #ffffff !important;
}

.nav-hamburger span {
  background: #ffffff !important;
}

.nav-menu.open {
  background: rgba(18, 18, 20, 0.98) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.nav-menu.open a {
  color: rgba(255,255,255,0.78) !important;
}

.nav-menu.open a:hover,
.nav-menu.open a.current {
  color: #ffffff !important;
}

.hero-stats {
  width: min(100%, 900px) !important;
  max-width: 900px !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(20px, 3.2vw, 46px) !important;
}

.hero-stats > div {
  min-width: 0 !important;
}

.hero-stats .stat-num {
  font-size: clamp(34px, 4.5vw, 58px) !important;
  line-height: 0.95 !important;
  white-space: nowrap !important;
}

.hero-stats .stat-label {
  font-size: clamp(15px, 1.7vw, 20px) !important;
  line-height: 1.25 !important;
}

@media (max-width: 640px) {
  .nav-logo-img {
    width: min(230px, 68vw) !important;
    max-height: 44px !important;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 22px !important;
  }
}

@media (max-width: 390px) {
  .nav-logo-img {
    width: 196px !important;
  }
}
