/* ==========================================================================
   T&HR Business Consulting — Production Stylesheet (v2 Brand Identity)
   Brand Colors: Deep Navy (#0e2d48) & Slate Steel (#5b8392)
   ========================================================================== */

:root {
  --brand-navy: #0e2d48;
  --brand-navy-deep: #06111D;
  --brand-navy-mid: #0B1D30;
  --brand-slate: #5b8392;
  --brand-slate-light: #89B2C4;
  --brand-slate-glow: rgba(92, 130, 147, 0.38);
  
  --bg-primary: #06111D;
  --bg-secondary: #0A1929;
  --bg-card: rgba(14, 41, 66, 0.58);
  --bg-card-hover: rgba(20, 54, 86, 0.78);
  --border-subtle: rgba(137, 178, 196, 0.16);
  --border-glow: rgba(137, 178, 196, 0.45);
  
  --text-primary: #F8FAFC;
  --text-secondary: #B0C4D4;
  --text-muted: #7893A8;
  
  --accent-emerald: #10B981;
  
  --gradient-brand: linear-gradient(135deg, #5b8392 0%, #7BA4B7 50%, #A3C6D6 100%);
  --gradient-navy-card: linear-gradient(145deg, rgba(14, 41, 66, 0.85), rgba(8, 22, 37, 0.92));
  
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  
  --transition-fast: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Cursor Spotlight */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 130, 147, 0.12) 0%, rgba(14, 41, 66, 0.06) 45%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-brand);
  z-index: 1000;
  box-shadow: 0 0 12px var(--brand-slate-glow);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 0;
  transition: all 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 17, 29, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-brand);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #0e2d48 0%, #5b8392 100%);
  color: #ffffff;
  border: 1px solid rgba(137, 178, 196, 0.35);
  box-shadow: 0 6px 22px rgba(14, 41, 66, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #163C60 0%, #6D95A7 100%);
  box-shadow: 0 10px 28px rgba(92, 130, 147, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--brand-slate-light);
  background: rgba(92, 130, 147, 0.14);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section & Animated Canvas
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 135px 0 90px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  z-index: 0;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 460px;
  height: 460px;
  background: rgba(92, 130, 147, 0.22);
  top: -70px;
  right: 6%;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(14, 41, 66, 0.48);
  bottom: 4%;
  left: -60px;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, -25px) scale(1.1); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(92, 130, 147, 0.14);
  border: 1px solid rgba(137, 178, 196, 0.32);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-slate-light);
  margin-bottom: 24px;
  letter-spacing: 0.6px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-slate-light);
  box-shadow: 0 0 0 0 rgba(137, 178, 196, 0.75);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(137, 178, 196, 0.75); }
  70% { box-shadow: 0 0 0 10px rgba(137, 178, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(137, 178, 196, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 34px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 46px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item h4 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-item h4 span.accent {
  color: var(--brand-slate-light);
}

.metric-item p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Hero Visual Showcase Card with Brand Compass Emblem */
.hero-visual {
  position: relative;
}

.visual-card-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6);
  background: var(--brand-navy-mid);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.visual-card-main img.hero-bg-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.08) saturate(0.85);
}

.visual-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 29, 0.25) 0%, rgba(14, 41, 66, 0.88) 70%, rgba(6, 17, 29, 0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.emblem-showcase {
  align-self: center;
  margin-top: 32px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.97);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(92, 130, 147, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseEmblem 4s ease-in-out infinite alternate;
}

@keyframes pulseEmblem {
  0% { transform: scale(1); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(92, 130, 147, 0.2); }
  100% { transform: scale(1.04); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 0 14px rgba(137, 178, 196, 0.28); }
}

.emblem-showcase img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floating-widget {
  position: absolute;
  background: rgba(10, 25, 41, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatWidget 5s ease-in-out infinite alternate;
  z-index: 4;
}

.widget-top-left {
  top: 24px;
  left: -26px;
}

.widget-bottom-right {
  bottom: 92px;
  right: -22px;
  animation-delay: -2.5s;
}

@keyframes floatWidget {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.widget-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(92, 130, 147, 0.2);
  color: var(--brand-slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.widget-icon.emerald {
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-emerald);
}

.widget-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.widget-info span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section Headers & Shared Layout
   ========================================================================== */
.section {
  position: relative;
  padding: 105px 0;
  z-index: 2;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-slate-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  background: rgba(92, 130, 147, 0.22);
  border-color: var(--brand-slate-light);
  color: var(--text-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--gradient-navy-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(92, 130, 147, 0.16);
  border: 1px solid rgba(137, 178, 196, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--brand-slate-light);
  margin-bottom: 22px;
  transition: transform 0.35s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.08) rotate(-3deg);
  color: #fff;
  background: linear-gradient(135deg, #0e2d48, #5b8392);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.service-features {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 22px;
}

.service-features li {
  font-size: 0.86rem;
  color: #D2E0EB;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--brand-slate-light);
  font-size: 0.8rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-slate-light);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-link {
  gap: 13px;
}

/* ==========================================================================
   About & Methodology
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-img-primary {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.5);
}

.about-img-primary img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -24px;
  right: 24px;
  background: linear-gradient(135deg, #0e2d48, #143656);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-symbol-mini {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.exp-text span {
  font-size: 0.82rem;
  color: var(--brand-slate-light);
}

.pillars-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.pillar-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 41, 66, 0.35);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  border-color: var(--border-glow);
  background: rgba(92, 130, 147, 0.12);
  transform: translateX(6px);
}

.pillar-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-slate-light);
  background: rgba(92, 130, 147, 0.18);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Tech Stack Marquee
   ========================================================================== */
.tech-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 25, 41, 0.65);
  overflow: hidden;
}

.tech-strip-label {
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 40px;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 44px;
  min-width: 100%;
  animation: scrollMarquee 28s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 40px)); }
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(14, 41, 66, 0.45);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #D2E0EB;
  white-space: nowrap;
}

.tech-pill i {
  color: var(--brand-slate-light);
  font-size: 1.15rem;
}

/* ==========================================================================
   Featured Solutions
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-navy-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
}

.solution-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.solution-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.solution-card:hover .solution-img img {
  transform: scale(1.06);
}

.solution-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(6, 17, 29, 0.88);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-slate-light);
  border: 1px solid var(--border-glow);
}

.solution-body {
  padding: 28px;
}

.solution-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.solution-body p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  background: var(--gradient-navy-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-details {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(92, 130, 147, 0.18);
  color: var(--brand-slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.contact-item span, .contact-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--brand-slate-light);
}

.regulatory-note {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(92, 130, 147, 0.12);
  border: 1px solid rgba(137, 178, 196, 0.28);
  font-size: 0.82rem;
  color: #D2E0EB;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #D2E0EB;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(6, 17, 29, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-slate-light);
  box-shadow: 0 0 0 3px rgba(92, 130, 147, 0.22);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.checkbox-group input {
  margin-top: 4px;
  accent-color: var(--brand-slate);
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6EE7B7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #040B13;
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 52px;
}

.footer-logo-box {
  display: inline-block;
  background: rgba(255, 255, 255, 0.97);
  padding: 8px 14px;
  border-radius: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 18px 0 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  color: #fff;
  background: var(--brand-slate);
  border-color: var(--brand-slate-light);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--brand-slate-light);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-wrapper { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .widget-top-left { left: 16px; }
  .widget-bottom-right { right: 16px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(6, 17, 29, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 18px;
  }
  .services-grid, .solutions-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .contact-wrapper { padding: 28px 20px; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
