/* ============================================
   X-Innotation — Shaip-Inspired Corporate Theme
   Deep blue dominant. High contrast. Zero purple.
   ============================================ */

:root {
  --brand: #003087;
  --brand-hover: #00236B;
  --brand-bright: #0066CC;
  --brand-light: #E8F0FE;
  --brand-pale: #F0F5FF;

  --orange: #FF6B00;
  --orange-hover: #E55D00;
  --orange-light: #FFF4EB;

  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-blue: #003087;
  --bg-dark: #001845;
  --bg-card: #FFFFFF;

  --text-heading: #0A1629;
  --text-body: #3D4F6F;
  --text-muted: #6B7C99;
  --text-caption: #94A3B8;

  --border: #DFE3EB;
  --border-input: #C5CCD8;
  --divider: #E8ECF2;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.08);

  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Sora', 'Inter', sans-serif;

  --nav-height: 84px;
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0B1120;
  --bg-alt: #111827;
  --bg-card: #1E293B;
  --bg-dark: #060A14;
  --text-heading: #F8FAFC;
  --text-body: #CBD5E1;
  --text-muted: #94A3B8;
  --text-caption: #64748B;
  --border: #1E293B;
  --border-input: #334155;
  --divider: #1E293B;
  --brand-light: rgba(0,48,135,0.2);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body); color: var(--text-body); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color var(--ease), color var(--ease);
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; color: var(--text-heading); }
a { color: var(--brand-bright); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.required { color: #DC2626; }

/* --- Animations --- */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--delay, 0s);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .particle, .gradient-orb { animation: none !important; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: var(--radius); font-weight: 700;
  font-size: 0.9375rem; transition: all var(--ease); white-space: nowrap;
  border: 2px solid transparent; letter-spacing: 0.01em;
}
.btn-sm { padding: 9px 20px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 40px; font-size: 1.0625rem; }

.btn-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-hover); border-color: var(--brand-hover);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,48,135,0.25);
}

.btn-orange {
  background: var(--orange); color: #fff; border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-hover); border-color: var(--orange-hover);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,0,0.3);
}

.btn-white {
  background: #fff; color: var(--brand); border-color: #fff;
}
.btn-white:hover {
  background: var(--brand-light); transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: #fff; color: var(--brand); border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--border); color: var(--text-body);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

.btn-nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 12px 28px; border-color: var(--orange); font-weight: 700;
}
.btn-nav-cta:hover {
  background: var(--orange-hover); border-color: var(--orange-hover);
  transform: translateY(-1px);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: var(--bg-card); border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06); padding: 16px 24px;
  transform: translateY(100%); transition: transform 0.4s ease-out;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cookie-content p { font-size: 0.875rem; color: var(--text-body); flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 10px; }

/* --- Navigation (Shaip-style tall + white) --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); background: #FFFFFF;
  border-bottom: 1px solid var(--divider);
  transition: all var(--ease);
}
[data-theme="dark"] .navbar { background: #0B1120; border-bottom-color: var(--border); }

.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px; z-index: 1001;
}
.nav-logo img {
  height: 52px; width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading); font-size: 1.5rem;
  font-weight: 800; color: var(--brand); letter-spacing: -0.02em;
}
[data-theme="dark"] .nav-logo-text { color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 0; }

.nav-link {
  padding: 8px 18px; font-size: 0.9375rem; font-weight: 600;
  color: var(--text-heading); transition: all var(--ease);
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -1px; left: 18px; right: 18px;
  height: 3px; background: var(--brand); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transition: transform var(--ease);
}
.nav-link:hover { color: var(--brand); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand); }
.nav-link.active::after { transform: scaleX(1); }

.theme-toggle {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--text-muted); transition: all var(--ease); margin-left: 8px;
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--brand); }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center; z-index: 1001;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 24px; height: 2.5px;
  background: var(--text-heading); transition: all var(--ease); border-radius: 2px;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* --- Hero (Shaip-style dark blue banner) --- */
.hero {
  min-height: 560px; display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #003087 0%, #001845 100%);
  overflow: hidden; padding-top: var(--nav-height);
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.particle {
  position: absolute; left: var(--x); top: var(--y);
  width: 3px; height: 3px; background: rgba(255,255,255,0.15);
  border-radius: 50%; opacity: 0.4;
  animation: float var(--duration) ease-in-out var(--delay) infinite alternate;
}
@keyframes float {
  0% { transform: translate(0, 0); opacity: 0.2; }
  100% { transform: translate(12px, -18px); opacity: 0.5; }
}

.gradient-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.08; }
.gradient-orb-1 { width: 500px; height: 500px; background: #0066CC; top: -20%; right: -10%; animation: orb-drift 20s ease-in-out infinite alternate; }
.gradient-orb-2 { width: 400px; height: 400px; background: #0044AA; bottom: -20%; left: -10%; animation: orb-drift 25s ease-in-out 3s infinite alternate; }
@keyframes orb-drift { 0% { transform: translate(0,0); } 100% { transform: translate(20px,-15px); } }

.hero-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 820px; padding: 80px 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.5rem); color: #FFFFFF;
  margin-bottom: 20px; letter-spacing: -0.02em; line-height: 1.15;
}
.hero-title-line { display: block; }
.hero-title-line.accent { color: #FFD700; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem); color: #D6E4F0;
  max-width: 620px; margin: 0 auto 36px; line-height: 1.7; font-weight: 400;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-indicator { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); }
.scroll-line { width: 2px; height: 36px; background: rgba(255,255,255,0.15); border-radius: 2px; position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 50%; background: rgba(255,255,255,0.6); animation: scroll-indicator 2s ease-in-out infinite; }
@keyframes scroll-indicator { 0% { top: -50%; } 100% { top: 100%; } }

/* --- Trusted By --- */
.trusted-by { padding: 40px 0; background: var(--bg); border-bottom: 1px solid var(--divider); }
.trusted-label { text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-caption); margin-bottom: 24px; font-weight: 700; }
.trusted-logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trusted-logo-item { width: 120px; height: 30px; color: var(--text-muted); opacity: 0.35; transition: opacity var(--ease); }
.trusted-logo-item:hover { opacity: 0.7; }

/* --- Section Headers --- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }

.section-tag {
  display: inline-block; padding: 0; background: none;
  color: var(--brand-bright); font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px;
}
[data-theme="dark"] .section-tag { color: #60A5FA; }

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem); margin-bottom: 20px;
  letter-spacing: -0.02em; position: relative; display: inline-block;
}
.section-title::after {
  content: ''; display: block; width: 48px; height: 3px;
  background: var(--brand); margin: 16px auto 0; border-radius: 2px;
}

.section-subtitle { font-size: 1.0625rem; color: var(--text-body); line-height: 1.7; }

/* --- About --- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-content p { margin-bottom: 16px; color: var(--text-body); line-height: 1.8; font-size: 1rem; }
.about-content p:first-child { color: var(--text-heading); font-weight: 500; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  padding: 28px 24px; border-radius: var(--radius-md); text-align: center;
  transition: all var(--ease); border: 1px solid var(--border); background: var(--bg-card);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number { font-family: var(--font-heading); font-size: 2.75rem; font-weight: 800; color: var(--brand); display: inline; }
.stat-plus, .stat-percent { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: var(--orange); }
.stat-label { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--text-body); font-weight: 600; }

/* --- Services --- */
.services { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  padding: 28px 24px; border-radius: var(--radius-md); transition: all var(--ease);
  cursor: default; border: 1px solid var(--border); background: var(--bg-card);
  border-top: 3px solid transparent;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-top-color: var(--brand); }
.service-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--brand-light); color: var(--brand); margin-bottom: 18px;
}
.service-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 700; }
.service-card p { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; }

/* --- Why Us (blue accent section) --- */
.why-us { background: var(--bg-blue); }
.why-us .section-tag { color: rgba(255,255,255,0.7); }
.why-us .section-title { color: #FFFFFF; }
.why-us .section-title::after { background: var(--orange); }
.why-us .section-subtitle { color: #D6E4F0; }

.moat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.moat-card {
  padding: 28px; border-radius: var(--radius-md); border: none;
  background: #FFFFFF; transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.moat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.moat-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--brand-light); color: var(--brand); margin-bottom: 16px;
}
.moat-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 700; color: var(--text-heading); }
.moat-card p { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; }

/* --- Process --- */
.process { background: var(--bg); }
.process-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step {
  padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--bg-card); transition: all var(--ease);
}
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-heading); font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.step-content h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 700; }
.step-content p { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; }

/* --- Testimonials --- */
.testimonials { background: var(--bg-alt); }
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial-card {
  min-width: 100%; padding: 36px 40px; border-radius: var(--radius-lg);
  max-width: 720px; margin: 0 auto; border: 1px solid var(--border);
  background: var(--bg-card); border-left: 4px solid var(--brand);
}
.testimonial-stars { display: flex; gap: 4px; color: #F59E0B; margin-bottom: 16px; }
.testimonial-card blockquote { font-size: 1.0625rem; line-height: 1.8; color: var(--text-heading); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9375rem; color: var(--text-heading); }
.testimonial-author span { font-size: 0.8125rem; color: var(--text-muted); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.carousel-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text-muted); background: var(--bg-card); transition: all var(--ease); }
.carousel-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-light); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); transition: all var(--ease); cursor: pointer; border: none; }
.carousel-dot.active { background: var(--brand); width: 28px; border-radius: 5px; }

/* --- FAQ --- */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; background: var(--bg-card); overflow: hidden; transition: all var(--ease); }
.faq-item:hover { border-color: var(--brand-bright); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 1rem; font-weight: 700; color: var(--text-heading); text-align: left; }
.faq-question svg { flex-shrink: 0; transition: transform var(--ease); color: var(--text-muted); }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--brand); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-out; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-body); line-height: 1.7; font-size: 0.9375rem; }

/* --- Contact (Blue Section) --- */
.contact { background: var(--bg-blue); position: relative; }
.contact .section-tag { color: rgba(255,255,255,0.65); }
.contact .section-title { color: #FFFFFF; }
.contact .section-title::after { background: var(--orange); }
.contact .section-subtitle { color: #D6E4F0; }

.contact-wrapper { max-width: 800px; margin: 0 auto; }
.lead-form { padding: 40px; border-radius: var(--radius-lg); background: #FFFFFF; border: none; box-shadow: var(--shadow-lg); }
[data-theme="dark"] .lead-form { background: var(--bg-card); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { margin-bottom: 20px; }
.form-group label { font-size: 0.8125rem; font-weight: 700; color: #0A1629; margin-bottom: 6px; }
[data-theme="dark"] .form-group label { color: var(--text-heading); }

.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border: 1px solid var(--border-input); border-radius: var(--radius);
  background: #F8FAFC; color: #0A1629; transition: all var(--ease); outline: none; font-size: 0.9375rem;
}
[data-theme="dark"] .form-group input, [data-theme="dark"] .form-group select, [data-theme="dark"] .form-group textarea { background: var(--bg); color: var(--text-heading); border-color: var(--border-input); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,48,135,0.12); background: #FFFFFF; }
[data-theme="dark"] .form-group input:focus, [data-theme="dark"] .form-group select:focus, [data-theme="dark"] .form-group textarea:focus { background: var(--bg-alt); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #94A3B8; }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #EF4444; }
.form-error { font-size: 0.75rem; color: #EF4444; margin-top: 4px; min-height: 16px; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7C99' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 0.875rem; color: #3D4F6F; line-height: 1.5; }
[data-theme="dark"] .checkbox-label { color: var(--text-body); }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }

.btn-submit { width: 100%; margin-top: 8px; position: relative; padding: 16px; font-size: 1.0625rem; height: 54px; }
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .btn-loader { display: block; }
.btn-loader { display: none; position: absolute; width: 24px; height: 24px; border: 3px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Footer (deep navy) --- */
.footer { background: #001845; color: #D6E4F0; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 48px; width: auto; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: #fff; }
.footer-tagline { font-size: 0.9375rem; color: #94A3B8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); transition: all var(--ease); }
.footer-social a:hover { background: var(--brand-bright); color: #fff; transform: translateY(-2px); }
.footer-links h4 { font-size: 0.8125rem; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.875rem; color: #94A3B8; transition: all var(--ease); }
.footer-links a:hover { color: #BFDBFE; }
.footer-newsletter h4 { font-size: 0.8125rem; color: #fff; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.footer-newsletter p { font-size: 0.875rem; color: #94A3B8; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 11px 14px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); background: rgba(255,255,255,0.05); color: #fff; font-size: 0.875rem; outline: none; transition: all var(--ease); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--brand-bright); background: rgba(255,255,255,0.08); }
.newsletter-form .btn { padding: 11px 24px; font-size: 0.8125rem; }
.footer-contact { margin-top: 16px; }
.footer-contact p { margin-bottom: 4px; }
.footer-contact a { font-size: 0.875rem; color: #94A3B8; transition: all var(--ease); }
.footer-contact a:hover { color: #BFDBFE; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; font-size: 0.8125rem; color: #6B7C99; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: #6B7C99; }
.footer-legal a:hover { color: #94A3B8; }

/* --- Floating CTA --- */
.floating-cta { position: fixed; bottom: 24px; right: 24px; display: flex; align-items: center; gap: 10px; padding: 14px 28px; background: var(--orange); color: #fff; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 700; box-shadow: 0 6px 24px rgba(255,107,0,0.3); z-index: 900; transition: all var(--ease); }
.floating-cta:hover { background: var(--orange-hover); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,107,0,0.4); }

/* --- Back to Top --- */
.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--brand); border: none; border-radius: 50%; color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--ease); z-index: 900; box-shadow: var(--shadow-md); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-hover); }

/* --- Toast --- */
.toast-container { position: fixed; top: 100px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 12px; }
.toast { padding: 16px 24px; border-radius: var(--radius); color: #fff; font-size: 0.9375rem; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: toast-in 0.4s ease-out; max-width: 400px; }
.toast.success { background: #059669; }
.toast.error { background: #DC2626; }
.toast.toast-out { animation: toast-out 0.3s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .moat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-height: 72px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-logo img { height: 40px; }
  .nav-logo-text { font-size: 1.25rem; }
  .nav-menu { position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; }
  .nav-menu.open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 8px; }
  .nav-link { font-size: 1.125rem; padding: 14px 24px; }
  .nav-link::after { display: none; }
  .theme-toggle { margin-left: 0; margin-top: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .moat-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .lead-form { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-content { padding: 60px 20px; }
  .hero { min-height: 440px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; border-radius: 50%; }
  .testimonial-card { padding: 28px 20px; }
  .toast-container { left: 16px; right: 16px; top: 80px; }
  .toast { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.625rem; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 16px; }
  .stat-number { font-size: 2rem; }
  .newsletter-form { flex-direction: column; }
  .nav-logo-text { font-size: 1.1rem; }
}
