/* ==========================================================
   BinaryDrop.ca — Main Stylesheet (Maroon/White Theme)
   Design System: Canadian Maple · Light-first · Maroon accent
   Fonts: Syne (headings) + Plus Jakarta Sans (body)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --dark:       #FFFFFF;
  --dark-2:     #F8FAFC;
  --dark-3:     #F1F5F9;
  --dark-card:  #FFFFFF;
  --primary:    #BE123C;
  --primary-2:  #9F1239;
  --accent:     #E11D48;
  --accent-2:   #BE123C;
  --maple:      #E11D48;
  --gold:       #B45309;
  --light:      #F8FAFC;
  --light-2:    #F1F5F9;
  --white:      #FFFFFF;
  --text:       #1E293B;
  --text-muted: #64748B;
  --text-dark:  #0F172A;
  --text-muted-dark: #475569;
  --border:     #E2E8F0;
  --border-blue:rgba(190,18,60,0.18);
  --glow-blue:  rgba(190,18,60,0.2);
  --glow-teal:  rgba(225,29,72,0.15);

  --font-heading: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  /* Aliases */
  --bg:        #FFFFFF;
  --card-bg:   #FFFFFF;
  --font-head: 'Syne', sans-serif;
  --gradient:  linear-gradient(135deg, #BE123C, #9F1239);
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow:    0 4px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,0.12);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p { line-height: 1.75; color: var(--text-muted); }

/* ── Layout Utilities ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.section { padding: clamp(4rem,8vw,7rem) 0; }
.section-light {
  background-color: var(--light);
  color: var(--text-dark);
}
.section-light p { color: var(--text-muted-dark); }
.section-light h2, .section-light h3, .section-light h4 { color: var(--text-dark); }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Section Labels ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(190,18,60,0.08);
  border: 1px solid rgba(190,18,60,0.2);
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.section-tag.accent {
  background: rgba(225,29,72,0.08);
  border-color: rgba(225,29,72,0.25);
  color: var(--accent);
}
.section-tag svg { width: 14px; height: 14px; }
.section-light .section-tag { background: rgba(190,18,60,0.06); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(190,18,60,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(190,18,60,0.45);
  color: #fff;
}
.btn-outline {
  border: 1.5px solid rgba(190,18,60,0.3);
  color: var(--primary);
  background: rgba(190,18,60,0.04);
}
.btn-outline:hover {
  background: rgba(190,18,60,0.1);
  border-color: var(--primary);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--primary-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(225,29,72,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(225,29,72,0.45);
  color: #fff;
}
.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
  border: 1px solid rgba(190,18,60,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  padding: 0.7rem 0;
  box-shadow: 0 2px 20px rgba(15,23,42,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-logo-ca { color: var(--primary) !important; font-size: 0.95em; }

/* Image logo sizing */
.nav-logo img, .logo img, .site-logo {
  height: 40px;
  display: block;
  object-fit: contain;
}
@media (max-width: 600px) {
  .nav-logo img, .site-logo { height: 34px; }
  .logo img { height: 30px; }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links > a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links > a:hover,
.nav-links > a.active { color: var(--primary); background: rgba(190,18,60,0.06); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.nav-dropdown-toggle:hover { color: var(--primary); background: rgba(190,18,60,0.06); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-dropdown-menu a:hover { color: var(--primary); background: rgba(190,18,60,0.06); }
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--border);
  padding: 5rem 2rem 2rem;
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
}
.mobile-overlay.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .close-btn {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: none; border: none; cursor: pointer;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(190,18,60,0.07) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 20% 80%, rgba(225,29,72,0.05) 0%, transparent 50%),
              #fff;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(190,18,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190,18,60,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.hero .container { position: relative; z-index: 1; }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(190,18,60,0.07);
  border: 1px solid rgba(190,18,60,0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.hero-badge .flag { font-size: 1rem; }
.hero h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
  color: var(--text-muted);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-trust-item svg { color: var(--primary); width: 16px; height: 16px; }
.hero-visual {
  position: relative;
  height: 480px;
}
.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.hero-card-main {
  width: 300px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(190,18,60,0.2);
  box-shadow: 0 0 40px rgba(190,18,60,0.1);
}
.hero-card-ai {
  width: 200px;
  top: 5%; right: 0;
  animation: float 6s ease-in-out infinite;
}
.hero-card-saas {
  width: 180px;
  bottom: 10%; left: 0;
  animation: float 8s ease-in-out infinite reverse;
}
.hero-card-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.hero-card-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}
.hero-card-value span { color: var(--primary); }
.hero-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.hero-status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 0.4rem;
  animation: pulse 2s infinite;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: rgba(190,18,60,0.07);
  border: 1px solid rgba(190,18,60,0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.25rem;
}
.tech-pills { margin-top: 1rem; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
  line-height: 1;
}
.stat-number .accent { color: var(--primary); }
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ── Service Cards ── */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(190,18,60,0.2); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card-icon {
  width: 52px; height: 52px;
  background: rgba(190,18,60,0.07);
  border: 1px solid rgba(190,18,60,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
  font-size: 1.5rem;
}
.service-card:hover .service-card-icon {
  background: rgba(190,18,60,0.12);
  box-shadow: 0 0 20px rgba(190,18,60,0.15);
}
.service-card-icon svg { width: 24px; height: 24px; color: var(--primary); }
.service-card-icon.accent { background: rgba(225,29,72,0.07); border-color: rgba(225,29,72,0.15); }
.service-card-icon.accent svg { color: var(--accent); }
.service-card-icon.orange { background: rgba(190,18,60,0.07); border-color: rgba(190,18,60,0.15); }
.service-card-icon.orange svg { color: var(--primary-2); }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; color: var(--text-dark); }
.service-card p { font-size: 0.9rem; }
.service-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .link-arrow { gap: 0.7rem; }
.service-card .link-arrow svg { width: 16px; height: 16px; }

/* Section on Light Background — cards */
.section-light .service-card {
  background: #fff;
  border-color: var(--light-2);
  color: var(--text-dark);
}
.section-light .service-card:hover { border-color: rgba(190,18,60,0.18); box-shadow: 0 8px 32px rgba(190,18,60,0.08); }
.section-light .service-card h3 { color: var(--text-dark); }

/* ── Feature Grid ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-content h2 { margin-bottom: 1rem; }
.feature-content p { margin-bottom: 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.feature-item-icon {
  width: 22px; height: 22px;
  background: rgba(190,18,60,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item-icon svg { width: 12px; height: 12px; color: var(--primary); }
.feature-item-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.feature-item-text strong { color: var(--text-dark); display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.section-light .feature-item-text { color: var(--text-muted-dark); }
.section-light .feature-item-text strong { color: var(--text-dark); }

.feature-visual {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.feature-visual::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(190,18,60,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.fv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.fv-dots { display: flex; gap: 6px; }
.fv-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.fv-dots .d1 { background: #ff5f57; }
.fv-dots .d2 { background: #ffbd2e; }
.fv-dots .d3 { background: #28ca42; }
.fv-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(190,18,60,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid rgba(190,18,60,0.18);
}
.code-block {
  background: #1E293B;
  border-radius: var(--radius);
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  line-height: 1.8;
  color: #8ab4f8;
  flex: 1;
  overflow: hidden;
}
.code-block .kw { color: #ff79c6; }
.code-block .fn { color: #50fa7b; }
.code-block .str { color: #f1fa8c; }
.code-block .cm { color: #6272a4; }
.code-block .hl { color: #ff9580; }

/* ── Tech Stack ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}
.tech-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.tech-item:hover { border-color: rgba(190,18,60,0.2); transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-item-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}
.tech-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Process Steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190,18,60,0.2), transparent);
}
.process-step { text-align: center; padding: 1.5rem 1rem; }
.process-number {
  width: 56px; height: 56px;
  background: rgba(190,18,60,0.07);
  border: 1px solid rgba(190,18,60,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.process-step h4 { margin-bottom: 0.5rem; color: var(--text-dark); }
.process-step p { font-size: 0.85rem; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-top: none;
  border-bottom: none;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.85); }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section .container { position: relative; z-index: 1; }

/* ── CTA Buttons on Maroon BG ── */
.cta-section .btn-accent {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-section .btn-accent:hover {
  background: #fff;
  color: var(--primary-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.8);
}
.cta-section .section-tag {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

/* ── Footer ── */
footer {
  background: var(--text-dark);
  border-top: 4px solid var(--primary);
  padding: 4rem 0 0;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 1rem; display: block; color: #fff; }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 280px; }
.footer-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-address a:hover { color: rgba(255,255,255,0.9); }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: #fff; }

/* ── Social Links ── */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.social-link svg { width: 16px; height: 16px; }

/* ── Logo in footer override ── */
footer .nav-logo { color: #fff !important; }
footer .nav-logo span { color: var(--accent) !important; }
footer .nav-logo-ca { color: rgba(255,255,255,0.7) !important; }
footer .logo .accent { color: var(--accent); }
footer .logo .dot { color: rgba(255,255,255,0.6); }

/* ── Page Hero (interior pages) ── */
.page-hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(180deg, var(--dark-2) 0%, #fff 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(190,18,60,0.07) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { opacity: 0.4; }
.page-hero h1 { margin-bottom: 1rem; color: var(--text-dark); }
.page-hero p { max-width: 620px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ── Testimonial Cards ── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-stars { color: #B45309; font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 3px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.8; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.author-title { font-size: 0.8rem; color: var(--text-muted); }

/* ── Badge / Highlight Cards ── */
.highlight-card {
  background: linear-gradient(135deg, var(--dark-2), #fff);
  border: 1px solid rgba(190,18,60,0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.highlight-card h3 { color: var(--text-dark); }
.highlight-card p { color: var(--text-muted); }
.highlight-card ul li { color: var(--text-muted); }
.highlight-card ul li strong { color: var(--text-dark); }

/* ── Pricing Cards ── */
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.pricing-card h3 { color: var(--text-dark) !important; }
.pricing-card p { color: var(--text-muted) !important; }
.pricing-card ul li { color: var(--text-muted) !important; }
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(190,18,60,0.12);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ── Contact Form ── */
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(190,18,60,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Map placeholder ── */
.map-placeholder {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ── Accordion ── */
.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.accordion-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  gap: 1rem;
}
.accordion-toggle svg {
  width: 20px; height: 20px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.accordion-toggle.open svg { transform: rotate(45deg); color: var(--primary); }
.accordion-body { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; padding-top: 0.75rem; display: none; }
.accordion-body.open { display: block; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse { direction: ltr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 1.8rem; }
  .hero h1 { font-size: 2rem; }
}

/* ── Services Full Grid ── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-full-card {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(190,18,60,0.08);
  border-color: rgba(190,18,60,0.18);
}
.sfc-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sfc-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.sfc-body p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.sfc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sfc-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.sfc-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.sfc-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.sfc-link:hover { color: var(--primary-2); }

/* ── Engage Grid ── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.engage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.engage-card:hover { transform: translateY(-4px); border-color: rgba(190,18,60,0.2); }
.engage-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(190,18,60,0.04), rgba(225,29,72,0.02));
}
.engage-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.engage-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.engage-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.engage-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.engage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.engage-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.engage-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ── Tech Categories ── */
.tech-categories {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tech-cat h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tech-tags span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.tech-tags span:hover { border-color: var(--primary); color: var(--primary); }

/* ── Contact Layout ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}
.contact-form-wrap h2 { font-size: 1.75rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.contact-form-sub { color: var(--text-muted); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(190,18,60,0.1);
}
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-check input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}
.form-check label { font-size: 0.82rem; color: var(--text-muted); }
.form-check a { color: var(--primary); text-decoration: underline; }
.btn-full { width: 100%; justify-content: center; }
.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(190,18,60,0.05);
  border: 1px solid rgba(190,18,60,0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.form-success p { color: var(--text); font-size: 0.9rem; margin: 0; }

/* ── Contact Info Sidebar ── */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 1.25rem; color: var(--text-dark); }
.contact-info-card h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-dark); }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(190,18,60,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg path, .contact-icon svg circle { fill: var(--primary); stroke: var(--primary); }
.contact-detail strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; color: var(--text-dark); }
.contact-detail p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }
.contact-detail a { color: var(--primary); }
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trust-list li svg path { stroke: var(--primary); }

/* ── Section header ── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-header h2 { margin: 0.5rem 0 1rem; color: var(--text-dark); }
.section-header p { font-size: 1.05rem; }
.section-light .section-header p { color: var(--text-muted-dark); }

/* ── Gradient headline text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Page hero subtitle ── */
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ── CTA box layout ── */
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 280px; }
.cta-content h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-content p { max-width: 520px; margin-bottom: 0; color: rgba(255,255,255,0.85); }
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.cta-badge { flex-shrink: 0; }
.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.9);
}
.badge-flag { font-size: 2rem; }
.badge-loc { font-size: 0.78rem; color: rgba(255,255,255,0.7); font-weight: 600; letter-spacing: 0.05em; }

/* ── Outline white button ── */
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ── Footer class alias ── */
.footer {
  background: var(--text-dark);
  border-top: 4px solid var(--primary);
  padding: 4rem 0 0;
}
.footer .nav-logo { font-size: 1.3rem; display: inline-block; margin-bottom: 1rem; color: #fff !important; }
.footer .nav-logo span { color: var(--accent) !important; }
.footer .nav-logo-ca { color: rgba(255,255,255,0.6) !important; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 280px; margin-bottom: 1.25rem; }
.footer-brand address { font-style: normal; font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.9; }
.footer-brand address a { color: rgba(255,255,255,0.6); }
.footer-brand address a:hover { color: #fff; }

/* Dark sections override */
section[style*="background:var(--dark-2)"],
section[style*="background: var(--dark-2)"] {
  background: var(--dark-2) !important;
}

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .services-full-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .service-full-card { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-badge { width: 100%; display: flex; justify-content: center; }
  .services-full-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-full-card { flex-direction: column; }
}
