/* ============================================
   SOUTH CONSULTANTS — Rebuilt to match Wix theme
   Navy #1a2744 | Orange #e8634a | White header
   ============================================ */

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

:root {
  --navy: #1a2744;
  --navy-light: #243358;
  --orange: #e8634a;
  --orange-dark: #c94f38;
  --white: #ffffff;
  --light: #f5f7fa;
  --mid: #dde2ee;
  --text: #1a2744;
  --text-light: #5a6a8a;
  --font: 'Inter', sans-serif;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(26,39,68,0.10);
  --shadow-lg: 0 8px 40px rgba(26,39,68,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 90px 0; }
.center { text-align: center; }

h1 { font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.12; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { line-height: 1.75; color: var(--text-light); }

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 14px auto 52px;
  color: var(--text-light);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius);
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,99,74,0.35); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.full-width { width: 100%; text-align: center; }

/* ==============================
   HEADER — White, matches Wix
   ============================== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(26,39,68,0.08), var(--shadow);
}

/* Top bar: logo left, social + CTA right */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  border-bottom: 1px solid var(--mid);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo img { height: 52px; width: auto; }
.logo-text { display: flex; flex-direction: column; border-left: 2px solid var(--mid); padding-left: 14px; }
.logo-name { color: var(--navy); font-weight: 900; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
.logo-tagline { color: var(--orange); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.85; }
.social-icon.yt { background: #ff0000; }
.social-icon.li { background: #0077b5; }
.header-cta { display: flex; flex-direction: column; gap: 6px; }
.header-cta .btn {
  padding: 9px 22px;
  font-size: 0.82rem;
  white-space: nowrap;
  border-radius: var(--radius);
}

/* Nav bar below top bar */
.header-nav {
  background: var(--navy);
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 0;
}
.header-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 14px 24px;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
  position: relative;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-bottom-color: var(--orange);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ==============================
   HERO — Full width, centred text
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 113px; /* header height */
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,39,68,0.72) 0%, rgba(26,39,68,0.55) 60%, rgba(26,39,68,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 60px 32px;
}
.hero-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(232,99,74,0.12);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(232,99,74,0.3);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-divider {
  width: 60px; height: 3px;
  background: var(--orange);
  margin: 0 auto 28px;
}

/* ==============================
   STATS BAR
   ============================== */
.stats-bar {
  background: var(--navy);
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 52px;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.1em; text-transform: uppercase; }

/* ==============================
   ABOUT
   ============================== */
.about { background: var(--white); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-text h2 { margin-bottom: 20px; color: var(--navy); }
.col-text p { margin-bottom: 16px; }
.col-text .btn { margin-top: 10px; }
.col-image img {
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ==============================
   PRODUCTS
   ============================== */
.products { background: var(--light); }
.products h2 { color: var(--navy); margin-bottom: 8px; }
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.product-card {
  background: var(--white);
  border-radius: 2px;
  padding: 44px 40px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--mid);
  border-top: 4px solid var(--mid);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--orange); }
.product-card.featured { background: var(--navy); border-top-color: var(--orange); }
.product-card.featured h3,
.product-card.featured .product-tagline { color: var(--white); }
.product-card.featured p,
.product-card.featured li { color: rgba(255,255,255,0.75); }
.product-badge {
  position: absolute;
  top: -1px; right: 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 0 0 4px 4px;
}
.product-icon { font-size: 2.8rem; margin-bottom: 20px; }
.product-card h3 { margin-bottom: 6px; color: var(--navy); }
.product-tagline { font-size: 0.78rem; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; display: block; }
.product-card > p { margin-bottom: 24px; }
.product-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 9px; }
.product-features li { font-size: 0.88rem; font-weight: 500; color: var(--text-light); }
.product-card.featured .product-features li { color: rgba(255,255,255,0.75); }

/* ==============================
   TRAINING
   ============================== */
.training { position: relative; overflow: hidden; }
.training-bg { position: absolute; inset: 0; z-index: 0; }
.training-bg img { width: 100%; height: 100%; object-fit: cover; }
.training-overlay { position: absolute; inset: 0; background: rgba(26,39,68,0.88); }
.training .container { position: relative; z-index: 1; }
.training h2 { color: var(--white); margin-bottom: 16px; }
.training .section-sub { color: rgba(255,255,255,0.7); }
.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.training-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid var(--orange);
  border-radius: 2px;
  padding: 32px 24px;
  transition: all 0.25s;
}
.training-card:hover { background: rgba(232,99,74,0.12); transform: translateY(-4px); }
.training-icon { font-size: 2rem; margin-bottom: 16px; }
.training-card h4 { color: var(--white); margin-bottom: 10px; }
.training-card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }

/* ==============================
   GLOBAL
   ============================== */
.global { background: var(--white); }
.global h2 { color: var(--navy); }
.global-regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.global-regions span {
  background: var(--light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--mid);
}

/* ==============================
   CTA BAND
   ============================== */
.cta-band {
  background: var(--orange);
  padding: 80px 24px;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 40px; }
.cta-band .btn-white { background: var(--white); color: var(--orange); border-color: var(--white); font-weight: 800; }
.cta-band .btn-white:hover { background: var(--light); }
.cta-band .btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ==============================
   CONTACT
   ============================== */
.contact { background: var(--light); }
.contact h2 { color: var(--navy); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  margin-top: 8px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--mid);
  border-radius: var(--radius);
  padding: 11px 16px;
  font-family: var(--font);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,99,74,0.1); }
.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.82rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: var(--text-light); }
.contact-item a:hover { color: var(--orange); }
.social-links { display: flex; gap: 10px; margin-top: 4px; }
.social-btn {
  background: var(--navy);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--orange); }

/* ==============================
   FOOTER
   ============================== */
footer { background: var(--navy); padding: 48px 32px 28px; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo img { height: 44px; }
.footer-logo .logo-name { color: var(--white); font-size: 1.05rem; }
.footer-logo .logo-tagline { color: rgba(255,255,255,0.4); font-size: 0.68rem; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-divider { width: 40px; height: 2px; background: var(--orange); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse { direction: ltr; }
  .product-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat { padding: 24px 32px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .header-top { padding: 12px 20px; }
  .header-nav { display: none; padding: 0 20px; }
  .header-nav.open { display: flex; flex-direction: column; gap: 0; }
  .header-nav a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); border-left: 3px solid transparent; }
  .header-nav a:hover { border-left-color: var(--orange); border-bottom-color: transparent; }
  .hamburger { display: flex; }
  .hero { margin-top: 80px; }
  .hero h1 { font-size: 2.2rem; }
  .training-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .logo-text { display: none; }
  .header-cta .btn { font-size: 0.78rem; padding: 8px 14px; }
  .stats-bar { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px; }
}

/* ==============================
   SITEGUARD CALLOUT BAND
   ============================== */
.siteguard-callout {
  margin-top: 40px;
  background: var(--navy);
  border-left: 5px solid var(--orange);
  border-radius: 2px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.callout-stat { display: flex; flex-direction: column; align-items: center; min-width: 140px; }
.callout-num { font-size: 2.6rem; font-weight: 900; color: var(--orange); line-height: 1; }
.callout-label { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; text-align: center; }
.callout-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.15); }
.callout-text { flex: 1; }
.callout-text p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.callout-text strong { color: var(--white); }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }

/* Header inner layout */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 3px solid var(--navy);
}

/* Nav inside header */
#nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
#nav a {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
#nav a:hover { color: var(--orange); background: rgba(232,99,74,0.07); }
#nav a.nav-cta { background: var(--orange); color: var(--white); margin-left: 8px; }
#nav a.nav-cta:hover { background: var(--orange-dark); }

/* Stat divider */
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.12); }

/* btn-outline for hero */
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); border-radius: var(--radius); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); border-radius: var(--radius); }
.btn-outline-dark:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* section-eyebrow light variant */
.section-eyebrow.light { color: var(--orange); }
h2.light { color: var(--white); }
p.light { color: rgba(255,255,255,0.7); }
.section-sub.light { color: rgba(255,255,255,0.65); }

@media (max-width: 768px) {
  .header-inner { padding: 12px 20px; }
  #nav { display: none; }
  #nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow-lg); z-index: 999; }
  .hamburger { display: flex; }
  .siteguard-callout { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
  .callout-divider { display: none; }
}
