/* ============================================================
   CONSULTORA CRI – MAIN STYLESHEET
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --clr-bg: #ffffff;
  --clr-bg2: #f8fafc;
  --clr-surface: #ffffff;
  --clr-surface2: #f1f5f9;
  --clr-border: #e2e8f0;
  --clr-border2: #cbd5e1;
  --clr-cyan: #10b981;
  --clr-blue: #0ea5e9;
  --clr-purple: #6366f1;
  --clr-text: #0f172a;
  --clr-text-muted: #475569;
  --clr-text-dim: #94a3b8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-glow-cyan: 0 4px 20px rgba(16, 185, 129, 0.15), 0 10px 40px rgba(16, 185, 129, 0.08);
  --shadow-glow-blue: 0 4px 20px rgba(14, 165, 233, 0.15), 0 10px 40px rgba(14, 165, 233, 0.08);
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

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

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-cyan); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-header h2 { margin: 12px 0 18px; }
.section-header p { color: var(--clr-text-muted); font-size: 1.05rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--clr-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--clr-cyan);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-blue) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 212, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}
.btn-ghost:hover {
  background: var(--clr-surface2);
  border-color: var(--clr-cyan);
  color: var(--clr-cyan);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { display: flex; align-items: center; }
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 255, 65, 0.5));
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
.logo-dot { color: var(--clr-cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--clr-cyan); background: var(--clr-surface2); }

.nav-cta-link {
  background: rgba(0, 245, 212, 0.1);
  border: 1px solid rgba(0, 245, 212, 0.25);
  color: var(--clr-cyan) !important;
  padding: 8px 20px;
}
.nav-cta-link:hover {
  background: rgba(0, 245, 212, 0.18) !important;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--nav-height) 24px 60px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 212, 0.07);
  border: 1px solid rgba(0, 245, 212, 0.2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-cyan);
  margin-bottom: 28px;
  animation: fadeSlideUp 0.7s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--clr-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-cyan);
  animation: pulse 2s infinite;
}

.hero-title {
  animation: fadeSlideUp 0.7s 0.1s ease both;
  margin-bottom: 22px;
}

.hero-subtitle {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 38px;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}
.hero-subtitle strong { color: var(--clr-cyan); }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}
.hero-stat {}
.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--clr-text-dim);
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--clr-border);
}

/* Hero visual */
.hero-visual {
  position: absolute;
  right: max(5%, calc(50% - 600px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: fadeIn 1s 0.5s ease both;
}

.shield-container {
  position: relative;
  width: 590px;
  height: 590px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin linear infinite;
}
.ring-1 {
  width: 500px; height: 500px;
  border-color: rgba(16, 185, 129, 0.15);
  animation-duration: 20s;
}
.ring-2 {
  width: 390px; height: 390px;
  border-color: rgba(14, 165, 233, 0.2);
  animation-duration: 15s;
  animation-direction: reverse;
  border-style: dashed;
}
.ring-3 {
  width: 560px; height: 560px;
  border-color: rgba(99, 102, 241, 0.1);
  animation-duration: 30s;
  border-style: dotted;
}

.shield-core {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(16, 185, 129, 0.2)) drop-shadow(0 0 60px rgba(14, 165, 233, 0.1));
}
.shield-svg {
  width: 314px;
  animation: shieldFloat 4s ease-in-out infinite;
}
.hero-logo-img {
  width: 314px;
  height: 314px;
  object-fit: contain;
  animation: shieldFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.08))
          drop-shadow(0 10px 30px rgba(16, 185, 129, 0.15));
}

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.od-1 {
  background: #00FF41;
  box-shadow: 0 0 12px #00FF41, 0 0 24px rgba(0,255,65,0.4);
  top: 10%; left: 50%;
  animation: orbit1 8s linear infinite;
}
.od-2 {
  background: #00cc33;
  box-shadow: 0 0 12px #00cc33;
  top: 50%; left: 5%;
  animation: orbit2 12s linear infinite;
}
.od-3 {
  background: #39ff14;
  box-shadow: 0 0 10px #39ff14;
  bottom: 15%; right: 15%;
  animation: orbit3 10s linear infinite;
}
.od-4 {
  background: #00FF41;
  box-shadow: 0 0 8px #00FF41;
  width: 6px; height: 6px;
  top: 70%; left: 60%;
  animation: orbit1 6s linear infinite reverse;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: fadeIn 1s 1s ease both;
}
.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--clr-cyan));
  animation: scrollLineAnim 2s ease-in-out infinite;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: var(--clr-bg2); }

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

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  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(--clr-cyan), var(--clr-blue));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-cyan);
  background: var(--clr-surface2);
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
  border-color: rgba(0, 245, 212, 0.35);
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.25) 0%, var(--clr-surface) 100%);
  box-shadow: var(--shadow-glow-cyan);
}
.service-card.featured::before { opacity: 0.7; }

.featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.service-icon-wrap {
  width: 56px; height: 56px;
  margin-bottom: 20px;
}
.service-icon { width: 100%; height: 100%; }

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.service-card > p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-list {
  margin-bottom: 24px;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--clr-cyan);
  font-size: 0.8rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-cyan);
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual { position: relative; }

.about-hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.hex-item { display: flex; align-items: center; justify-content: center; }
.hex-large { grid-column: 1 / 3; grid-row: 1 / 3; }
.hex-large svg { width: 180px; filter: drop-shadow(0 0 20px rgba(0, 245, 212, 0.25)); }
.hex-sm svg { width: 90px; }
.hex-xs svg { width: 60px; }
.hex-pulse svg { animation: pulseShadow 3s ease-in-out infinite; }

.about-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.metric-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}
.metric-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.metric-dot.cyan { background: var(--clr-cyan); box-shadow: 0 0 8px var(--clr-cyan); }
.metric-dot.blue { background: var(--clr-blue); box-shadow: 0 0 8px var(--clr-blue); }

.about-content .section-tag { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 20px; }
.about-lead {
  font-size: 1.05rem;
  color: var(--clr-text);
  margin-bottom: 16px;
  font-weight: 500;
}
.about-content > p { color: var(--clr-text-muted); margin-bottom: 32px; }

.about-values { display: flex; flex-direction: column; gap: 20px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-icon {
  width: 40px; height: 40px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-item strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.value-item p { color: var(--clr-text-muted); font-size: 0.88rem; }

/* ============================================================
   METHODOLOGY
   ============================================================ */
.methodology-section { background: var(--clr-bg2); }

.methodology-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.method-step {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 2px;
  transition: var(--transition);
  position: relative;
}
.method-step:hover {
  border-color: rgba(0, 245, 212, 0.3);
  background: var(--clr-surface2);
}
.method-step:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; margin-bottom: 2px; }
.method-step:last-child { border-radius: 0 0 var(--radius-md) var(--radius-md); }

.step-number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.step-content h3 { margin-bottom: 6px; font-size: 1rem; }
.step-content p { color: var(--clr-text-muted); font-size: 0.88rem; }
.step-connector {
  width: 24px; height: 24px;
  border: 2px solid var(--clr-border);
  border-radius: 50%;
  position: relative;
}
.step-connector::after {
  content: '→';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.7rem;
  color: var(--clr-cyan);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { padding: 80px 0; overflow: hidden; }
.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(14, 165, 233, 0.05) 50%, rgba(99, 102, 241, 0.05) 100%);
}
.stats-section .section-header { position: relative; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}

.stat-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: rgba(0, 245, 212, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-cyan);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: rgba(0, 245, 212, 0.07);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-size: 2rem;
  font-weight: 900;
  color: var(--clr-blue);
  display: inline;
  margin-left: 2px;
}
.stat-desc {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {}

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

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(0, 245, 212, 0.25);
  transform: translateY(-4px);
}
.testimonial-card.featured-test {
  border-color: rgba(0, 245, 212, 0.3);
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.2) 0%, var(--clr-surface) 100%);
}

.stars {
  color: var(--clr-cyan);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--clr-text-muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--clr-bg2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--clr-text-muted); margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-dim);
  margin-bottom: 3px;
}
.contact-value {
  font-size: 0.92rem;
  color: var(--clr-text);
  transition: var(--transition);
}
a.contact-value:hover { color: var(--clr-cyan); }

.contact-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border2);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-blue);
  font-family: var(--font-mono);
}

/* Form */
.contact-form-wrap {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--clr-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--clr-text);
  font-family: var(--font-main);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  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='%2394a3b8' 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: 36px;
}
.form-group select option { background: var(--clr-surface); color: var(--clr-text); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}

input::placeholder, textarea::placeholder { color: var(--clr-text-dim); }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--clr-cyan);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success.show { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.1));
}
.footer-brand > p { color: var(--clr-text-muted); font-size: 0.88rem; line-height: 1.6; }

.footer-links h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-dim);
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--clr-cyan); }

.footer-newsletter h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-dim);
  margin-bottom: 12px;
}
.footer-newsletter p { font-size: 0.85rem; color: var(--clr-text-muted); margin-bottom: 14px; }

.newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 14px;
  color: var(--clr-text);
  font-size: 0.85rem;
  font-family: var(--font-main);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--clr-text-dim); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--clr-cyan), var(--clr-blue));
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { opacity: 0.9; }

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.82rem; color: var(--clr-text-dim); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--clr-cyan); }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--clr-cyan); }
  50%       { opacity: 0.5; box-shadow: 0 0 14px var(--clr-cyan), 0 0 30px rgba(16, 185, 129, 0.3); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes orbit1 {
  0%   { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}
@keyframes orbit2 {
  0%   { transform: rotate(0deg) translateX(100px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}
@keyframes orbit3 {
  0%   { transform: rotate(0deg) translateX(140px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}

@keyframes scrollLineAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes pulseShadow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4)); }
  50%       { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.7)); }
}

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { right: 2%; }
  .shield-container { width: 280px; height: 280px; }
  .ring-1 { width: 230px; height: 230px; }
  .ring-2 { width: 180px; height: 180px; }
  .ring-3 { width: 260px; height: 260px; }
  .shield-svg { width: 130px; }
}

@media (max-width: 900px) {
  .hero-content { max-width: 100%; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(6, 12, 26, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .hero-stats { gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .method-step { grid-template-columns: 60px 1fr; }
  .step-connector { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; }
}
