/* =============================================
   SMATEQ GROUP — DESIGN SYSTEM
   Palette: Deep Navy (#0A1F3A) + SMATEQ Orange (#EE5A24) + Gold (#F2A922)
   ============================================= */

:root {
  --navy: #0A1F3A;
  --navy-mid: #14304D;
  --navy-light: #1F4668;
  --navy-soft: #2C5680;
  --orange: #EE5A24;
  --orange-dark: #C94A1C;
  --orange-light: #FFE4D6;
  --gold: #F2A922;
  --gold-light: #FFE9B8;
  --white: #FFFFFF;
  --off-white: #F6F7FA;
  --gray-100: #EEF1F6;
  --gray-200: #E1E5EC;
  --gray-300: #C9D0DB;
  --gray-400: #9AA3B2;
  --gray-600: #55637A;
  --gray-800: #2A3447;
  --red: #E53E3E;
  --green: #2F9E6A;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --topbar-h: 0px;
  --nav-h: 80px;
  --total-nav-h: calc(var(--nav-h) + var(--topbar-h));
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(10, 31, 58, 0.10);
  --shadow-lg: 0 12px 48px rgba(10, 31, 58, 0.18);
  --shadow-orange: 0 8px 24px rgba(238, 90, 36, 0.35);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.text-center { text-align: center; }

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-top: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ===== EDITOR TOOLBAR ===== */
.editor-toolbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-bottom: 3px solid var(--orange);
}
.editor-toolbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.editor-label { font-size: 0.9rem; font-weight: 600; }
.editor-actions { display: flex; gap: 0.75rem; }
.editor-actions button {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}
#save-btn { background: var(--orange); color: var(--white); }
#save-btn:hover { background: var(--orange-dark); }
#exit-btn { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
#exit-btn:hover { background: rgba(255,255,255,0.1); }

/* ===== ADMIN TRIGGER ===== */
.admin-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  background: var(--navy);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0.7;
}
.admin-trigger:hover { opacity: 1; transform: scale(1.1); }

/* ===== LOGIN MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 31, 58, 0.8);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.modal-box h2 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 900; margin-bottom: 0.5rem; }
.modal-box p { color: var(--gray-600); margin-bottom: 1.5rem; }
.modal-box input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}
.modal-box input:focus { border-color: var(--orange); }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.modal-actions button {
  flex: 1; padding: 0.85rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem;
  background: var(--orange); color: var(--white);
  transition: var(--transition);
}
.modal-actions button:hover { background: var(--orange-dark); }
.modal-actions button.cancel { background: var(--gray-100); color: var(--gray-600); }
.modal-actions button.cancel:hover { background: var(--gray-200); }

/* ===== EDIT MODE HIGHLIGHT ===== */
body.edit-mode .editable {
  outline: 2px dashed var(--orange);
  outline-offset: 4px;
  cursor: text;
  border-radius: 4px;
  min-width: 30px;
  min-height: 1em;
  transition: background 0.2s;
}
body.edit-mode .editable:hover { background: rgba(238, 90, 36, 0.08); }
body.edit-mode .editable:focus { outline: 2px solid var(--orange); background: rgba(238, 90, 36, 0.12); }

/* ===== TOP BAR & NAVBAR ===== */
.top-bar {
  background: var(--navy-mid);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  height: var(--topbar-h);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: none;
  align-items: center;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-bar-contact {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}
.top-bar-contact a {
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition);
}
.top-bar-contact a:hover { color: var(--orange); }
.top-bar-socials { display: flex; gap: 1rem; }
.top-bar-socials a {
  transition: var(--transition);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.top-bar-socials a:hover { color: var(--orange); }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(10, 31, 58, 0.3); }
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { height: 42px; width: auto; object-fit: contain; }
.logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-text .logo-accent { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

/* Dropdown (Businesses) */
.nav-links li.has-dropdown { position: relative; }
.nav-links li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.7;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 280px;
  border-radius: var(--radius);
  padding: 0.6rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
  margin-top: 4px;
}
.nav-links li.has-dropdown:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a {
  color: var(--navy) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-dropdown a:hover { background: var(--orange-light); color: var(--orange-dark) !important; }
.nav-dropdown-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 8px;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-ctas { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-ctas .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
}
.nav-ctas .btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--orange); }
.nav-ctas .btn-primary { padding: 0.7rem 1.5rem; font-size: 0.78rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
  margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--total-nav-h);
  background: var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10, 31, 58, 0.92) 0%,
    rgba(10, 31, 58, 0.78) 40%,
    rgba(10, 31, 58, 0.48) 100%
  );
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--navy) 80%);
  z-index: 1;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 90, 36, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 90, 36, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 20s linear infinite;
  z-index: 1;
}
@keyframes gridPan {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--white);
  width: 100%;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
}
.hero-layout-it {
  margin-top: 1rem;
}
.hero-main {
  min-width: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(238, 90, 36, 0.15);
  border: 1px solid rgba(238, 90, 36, 0.4);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
  animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s 0.1s ease both;
  max-width: 900px;
}
.hero-home .hero-title {
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  max-width: 620px;
}
.hero-highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.05em;
  height: 0.12em;
  background: var(--gold);
  z-index: -1;
  opacity: 0.5;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: fadeInUp 0.7s 0.2s ease both;
}
.hero-home .hero-sub {
  font-size: clamp(0.82rem, 0.95vw, 0.92rem);
  max-width: 500px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeInUp 0.7s 0.3s ease both;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 1.1rem 2.5rem;
  border-radius: 999px;
  transition: var(--transition);
  text-transform: uppercase;
  box-shadow: var(--shadow-orange);
}
.btn-hero-primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(238, 90, 36, 0.5); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 1.1rem 2rem;
  border-radius: 999px;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-hero-outline:hover { border-color: var(--orange); color: var(--orange); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-home .hero-stats {
  margin-top: 0.3rem;
}
.hero-home {
  min-height: 76vh;
}
.hero-app-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 0.8rem;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.8s 0.25s ease both;
  max-width: 305px;
  justify-self: end;
}
.hero-app-card-it {
  max-width: 295px;
}
.hero-app-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.55rem;
}
.hero-app-shot {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,0.92);
  padding: 0.2rem;
  max-height: 290px;
}
.hero-app-caption {
  margin-top: 0.55rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.76rem;
  line-height: 1.4;
}
.hero-app-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.hero-app-links .btn-outline {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  font-size: 0.66rem;
  padding: 0.42rem 0.62rem;
}
.hero-app-links .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-heading); 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.65); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.4rem; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.2); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--orange);
  overflow: hidden;
  padding: 0.85rem 0;
  position: relative;
  z-index: 10;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker span { padding: 0 0.75rem; }

/* ===== BUSINESS CARDS GRID ===== */
.businesses-section { background: var(--off-white); }
.businesses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.biz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.biz-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-100);
}
.biz-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.biz-card:hover .biz-card-img img { transform: scale(1.08); }
.biz-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 58, 0.6));
}
.biz-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  z-index: 2;
}
.biz-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.biz-card-body h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}
.biz-card-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}
.biz-card-link {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--orange);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.biz-card:hover .biz-card-link { gap: 0.8rem; color: var(--orange-dark); }

/* ===== FEATURE CARDS (Why Us / Values) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--orange-light);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--navy); }
.card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.75; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(238, 90, 36, 0.18), transparent 60%);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-band-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  max-width: 680px;
}
.cta-band-text p { color: rgba(255,255,255,0.75); font-size: 0.95rem; max-width: 620px; }
.cta-band-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-band-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-band-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.btn-band-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
  border-radius: 999px;
  transition: var(--transition);
  text-transform: uppercase;
}
.btn-band-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ===== ABOUT OVERVIEW ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::before {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 60%; height: 60%;
  background: var(--orange);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.about-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 0.65rem;
  aspect-ratio: 4 / 5;
  padding: 0.65rem;
  background: var(--white);
}
.about-image-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 0;
}
.about-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.about-image-tile:hover img {
  transform: scale(1.06);
}
.about-image-tile span {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  background: rgba(10,31,58,0.8);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border-radius: 8px;
}
.about-image-tile:last-child {
  grid-column: 1 / -1;
}
.about-text p { color: var(--gray-600); margin-bottom: 1.25rem; line-height: 1.8; }
.about-text ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.about-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
}
.about-text ul li::before {
  content: '✓';
  background: var(--orange);
  color: var(--white);
  min-width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--navy);
  padding: 4rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 18px 18px;
}
.stats-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-block { padding: 1rem; }
.stat-block .stat-num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--orange);
}
.stat-block .stat-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.6rem;
}

/* ===== SERVICE LIST (business detail page) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.service-detail.reverse { grid-template-columns: 1fr 1.2fr; }
.service-detail.reverse .service-detail-text { order: 2; }
.service-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-image.biit-full-image {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  background: var(--white);
}
.service-detail-image.biit-full-image .biit-full-shot {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.service-detail-text h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.service-detail-text p {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.feature-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--off-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-list li:hover { background: var(--orange-light); }
.feature-list li .feat-icon {
  width: 36px; height: 36px;
  background: var(--white);
  color: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.feature-list li strong { color: var(--navy); display: block; margin-bottom: 0.2rem; font-family: var(--font-heading); }
.feature-list li span { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; }

/* ===== LEADERS / TEAM ===== */
.leaders-section { background: var(--off-white); }
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0 0 1.75rem 0;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  overflow: hidden;
}
.leader-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.leader-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--gold-light), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.leader-avatar img { width: 100%; height: 100%; object-fit: cover; }
.leader-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; margin-top: 1.5rem; padding: 0 1rem; margin-bottom: 0.4rem; color: var(--navy); }
.leader-role { color: var(--gray-400); font-size: 0.85rem; padding: 0 1rem; font-weight: 600; }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gray-100);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 31, 58, 0.8));
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .gallery-caption {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}
.gallery-large { grid-column: span 2; grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info .contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item h4 { font-family: var(--font-heading); font-weight: 700; font-size: 0.82rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.35rem; }
.contact-item p { color: var(--navy); font-size: 0.98rem; line-height: 1.55; }

.social-links { display: flex; gap: 0.75rem; margin-top: 2rem; }
.social-link {
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--orange);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--orange); color: var(--white); transform: translateY(-3px); }

.contact-form {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.project-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.project-upload-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.project-upload-row .btn-outline {
  padding: 0.72rem 1rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
}
.project-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.project-actions .btn-form {
  width: auto;
  min-width: 180px;
}

/* ===== PROJECT TABLE ===== */
.projects-table-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow);
}
.projects-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.projects-table th,
.projects-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  color: var(--navy);
  vertical-align: middle;
}
.projects-table th {
  background: var(--off-white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  font-weight: 700;
}
.project-thumb {
  width: 68px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.project-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-status-badge.completed { background: #def7ec; color: #03543f; }
.project-status-badge.in_progress { background: #e1effe; color: #1e429f; }
.project-status-badge.planning { background: #fef3c7; color: #92400e; }
.project-status-badge.on_hold { background: #fee2e2; color: #991b1b; }
.project-row-actions {
  display: flex;
  gap: 0.4rem;
}
.project-row-actions button {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.project-row-actions button:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); background: var(--white); }
.btn-form {
  width: 100%;
  padding: 1rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
}
.btn-form:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-orange); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 320px; }
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo { height: 38px; width: auto; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-logo-text .logo-accent { color: var(--orange); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.92rem; line-height: 1.8; }
.footer-legal { font-size: 0.78rem !important; color: rgba(255,255,255,0.35) !important; margin-top: 1rem; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col ul a:hover { color: var(--orange); gap: 0.8rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); font-size: 0.85rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy);
  padding: calc(var(--total-nav-h) + 4rem) 0 5rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,31,58,0.9) 0%, rgba(10,31,58,0.65) 70%, rgba(10,31,58,0.35) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: var(--white); max-width: 760px; }
.page-hero-content .section-eyebrow { color: var(--orange); }
.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.page-hero-about .page-hero-content h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}
.page-hero-about .page-hero-content p {
  font-size: 0.95rem;
  max-width: 620px;
}
.page-hero-about {
  padding: calc(var(--total-nav-h) + 2.3rem) 0 3.1rem;
}
.page-hero-it .page-hero-content h1 {
  font-size: clamp(1.95rem, 3.8vw, 3rem);
}
.page-hero-it .page-hero-content p {
  font-size: 0.98rem;
  max-width: 620px;
}
.page-hero-content h1 span { color: var(--orange); }
.page-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; line-height: 1.75; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span.current { color: var(--orange); }

/* ===== MISSION / VISION (about page) ===== */
.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.mission-text h2 { font-family: var(--font-heading); font-weight: 900; font-size: 2.25rem; margin-bottom: 1.5rem; line-height: 1.15; }
.mission-text p { color: var(--gray-600); line-height: 1.8; margin-bottom: 1.25rem; }
.mission-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}
.mission-visual .big-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--orange);
  display: block;
  line-height: 1;
}
.mission-visual p { color: rgba(255,255,255,0.7); margin-top: 0.75rem; font-size: 0.9rem; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 780px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--orange), var(--gold));
  border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--orange);
}
.timeline-year { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 0.35rem; }
.timeline-item h3 { font-family: var(--font-heading); font-weight: 800; margin-bottom: 0.5rem; font-size: 1.2rem; }
.timeline-item p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-app-card { max-width: 340px; margin: 0 auto; justify-self: center; }
  .businesses-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .mission-grid, .service-detail, .service-detail.reverse, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-detail.reverse .service-detail-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-large { grid-column: span 2; grid-row: span 1; }
  .gallery-wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .section { padding: 4rem 0; }
  .businesses-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .top-bar-socials { display: none; }
  .nav-links {
    position: fixed;
    top: var(--total-nav-h);
    left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 3px solid var(--orange);
    max-height: calc(100vh - var(--total-nav-h));
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { padding: 0.85rem 1rem !important; font-size: 0.95rem !important; }
  .nav-links li.has-dropdown > a::after { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    margin: 0.25rem 0 0.5rem 1rem;
    padding: 0.5rem;
  }
  .nav-dropdown a { color: rgba(255,255,255,0.8) !important; }
  .nav-dropdown a:hover { background: rgba(238,90,36,0.15); color: var(--orange) !important; }
  .nav-dropdown-icon { background: rgba(238,90,36,0.2); }
  .nav-ctas { display: none; }
  .hamburger { display: flex; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-large, .gallery-wide { grid-column: span 1; grid-row: span 1; }
  .hero-home .hero-title {
    font-size: clamp(1.3rem, 6.6vw, 1.9rem);
  }
  .hero-home .hero-sub {
    font-size: 0.8rem;
  }
  .hero-app-links .btn-outline {
    width: 100%;
    justify-content: center;
  }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas a { width: 100%; justify-content: center; text-align: center; }
  .project-grid-2 { grid-template-columns: 1fr; }
  .project-upload-row { flex-direction: column; align-items: stretch; }
  .project-actions { flex-direction: column; align-items: stretch; }
  .project-actions .btn-form { width: 100%; }
}
