/* ============================================
   Nurvo.space — Design tokens & base
   ============================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #06b6d4;
  --accent: #14b8a6;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 16px 40px rgba(17, 24, 39, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --container: 1120px;
  --font-heading: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  color: var(--text-muted);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-header.center,
.section-header {
  text-align: left;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-desc {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.9rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.9);
}

.btn-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--primary);
  margin-top: 1rem;
  transition: gap 0.25s var(--ease);
}

.text-link:hover {
  gap: 0.55rem;
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.logo-dot {
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-menu a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(79, 70, 229, 0.08), transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(6, 182, 212, 0.07), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.brand-signal {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.hero-desc {
  margin-top: 1.15rem;
  font-size: 1.125rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.why-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.25rem;
  margin: 1.75rem 0 0.25rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Hero dashboard illustration */
.hero-visual {
  position: relative;
  min-height: 420px;
}

.dash {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.dash-screen {
  position: absolute;
  inset: 8% 4% 12% 8%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dash-topbar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.dash-topbar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

.dash-topbar .dot:first-child {
  background: #fca5a5;
}

.dash-topbar .dot:nth-child(2) {
  background: #fcd34d;
}

.dash-topbar .dot:nth-child(3) {
  background: #86efac;
}

.dash-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  height: calc(100% - 33px);
}

.dash-sidebar {
  background: #f1f5f9;
  border-right: 1px solid var(--border);
}

.dash-main-pane {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dash-chart {
  flex: 1;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.04), transparent);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem;
  min-height: 120px;
}

.dash-chart svg {
  width: 100%;
  height: 100%;
}

.dash-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.mini-card {
  height: 48px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.mini-card:nth-child(1) {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(79, 70, 229, 0.04));
}

.mini-card:nth-child(2) {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.14), rgba(6, 182, 212, 0.04));
}

.mini-card:nth-child(3) {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.14), rgba(20, 184, 166, 0.04));
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.float-mobile {
  width: 92px;
  height: 160px;
  right: 0;
  top: 12%;
  padding: 10px 8px;
  border-radius: 16px;
  animation-delay: 0.4s;
}

.phone-notch {
  width: 36px;
  height: 5px;
  border-radius: 4px;
  background: #e5e7eb;
  margin: 0 auto 10px;
}

.phone-lines span {
  display: block;
  height: 6px;
  background: #eef2ff;
  border-radius: 3px;
  margin-bottom: 6px;
}

.phone-lines .short {
  width: 60%;
}

.phone-block {
  height: 42px;
  margin-top: 10px;
  border-radius: 8px;
  background: linear-gradient(160deg, #4f46e5, #06b6d4);
  opacity: 0.85;
}

.phone-block.thin {
  height: 24px;
  margin-top: 8px;
  background: #f1f5f9;
  opacity: 1;
}

.float-wireframe {
  width: 130px;
  padding: 12px;
  left: 0;
  bottom: 8%;
  animation-delay: 1.2s;
}

.wf-title {
  height: 8px;
  width: 55%;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 10px;
}

.wf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.wf-grid span {
  height: 28px;
  border-radius: 6px;
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
}

.float-palette {
  display: flex;
  gap: 6px;
  padding: 10px;
  top: 0;
  left: 18%;
  animation-delay: 0.8s;
}

.swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.swatch.s1 { background: #4f46e5; }
.swatch.s2 { background: #06b6d4; }
.swatch.s3 { background: #14b8a6; }
.swatch.s4 { background: #111827; }

.float-component {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  right: 12%;
  bottom: 0;
  animation-delay: 1.6s;
}

.comp-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #4f46e5);
}

.comp-lines span {
  display: block;
  height: 6px;
  width: 70px;
  background: #e5e7eb;
  border-radius: 3px;
  margin-bottom: 5px;
}

.comp-lines .short {
  width: 44px;
}

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

@media (prefers-reduced-motion: reduce) {
  .float-card {
    animation: none;
  }
}

/* ============================================
   Trusted By
   ============================================ */
.trusted {
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.75rem;
}

.client-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #9ca3af;
  letter-spacing: -0.02em;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.client-logo:hover {
  opacity: 1;
  color: var(--text-muted);
}

/* ============================================
   Services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #dbeafe;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #eef2ff;
  color: var(--primary);
  margin-bottom: 1.1rem;
}

.service-card h3 {
  margin-bottom: 0.45rem;
}

.service-card p {
  font-size: 0.95rem;
}

/* ============================================
   Why Choose Nurvo
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.why-illustration {
  position: relative;
  min-height: 380px;
}

.why-panel {
  position: absolute;
  inset: 8% 10% 12% 6%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

.why-header-bar {
  height: 12px;
  width: 40%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.why-content-rows {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-row {
  height: 44px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.why-row.active {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.why-row.short {
  width: 70%;
}

.why-badge {
  position: absolute;
  right: 0;
  top: 18%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.why-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
}

.why-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px dashed #c7d2fe;
  bottom: 0;
  left: 0;
  opacity: 0.7;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
  margin-top: 1.75rem;
}

.why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.why-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #ecfeff;
  color: var(--secondary);
}

.why-list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.why-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================
   Process
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  opacity: 0.25;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.process-step h3 {
  margin-bottom: 0.4rem;
}

.process-step p {
  font-size: 0.925rem;
}

/* ============================================
   Projects
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-media {
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.project-img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-img-1 {
  background:
    linear-gradient(145deg, rgba(79, 70, 229, 0.15), transparent 50%),
    linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
  position: relative;
}

.project-img-1::after {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-md);
  background-image:
    linear-gradient(#eef2ff 12px, transparent 12px),
    linear-gradient(90deg, #4f46e5 40%, #e5e7eb 40%);
  background-size: 100% 28px, 100% 8px;
  background-position: 16px 20px, 16px 56px;
  background-repeat: no-repeat;
}

.project-img-2 {
  background:
    linear-gradient(160deg, rgba(20, 184, 166, 0.2), transparent 55%),
    linear-gradient(180deg, #ccfbf1 0%, #99f6e4 100%);
  position: relative;
}

.project-img-2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: 42%;
  height: 76%;
  border-radius: 18px;
  background: #fff;
  border: 3px solid #5eead4;
  box-shadow: var(--shadow-md);
}

.project-img-3 {
  background:
    linear-gradient(200deg, rgba(6, 182, 212, 0.18), transparent 50%),
    linear-gradient(180deg, #cffafe 0%, #a5f3fc 100%);
  position: relative;
}

.project-img-3::after {
  content: "";
  position: absolute;
  inset: 20% 10%;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #0891b2 0 8px, transparent 8px),
    repeating-linear-gradient(
      180deg,
      #fff 0 18px,
      #ecfeff 18px 36px
    );
  box-shadow: var(--shadow-md);
}

.project-body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.project-industry {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.project-body h3 {
  margin-bottom: 0.45rem;
}

.project-body p {
  font-size: 0.925rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.testimonial-card > p {
  font-size: 0.975rem;
  color: var(--text);
  margin-bottom: 1.35rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avatar-1 {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

.avatar-2 {
  background: linear-gradient(135deg, #22d3ee, #0891b2);
}

.avatar-3 {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
}

.testimonial-author cite {
  display: block;
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ============================================
   Insights
   ============================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight-card {
  transition: transform 0.3s var(--ease);
}

.insight-card:hover {
  transform: translateY(-4px);
}

.insight-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
  border: 1px solid var(--border);
}

.insight-thumb-1 {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.insight-thumb-2 {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
}

.insight-thumb-3 {
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
}

.insight-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.insight-card h3 {
  margin-bottom: 0.45rem;
}

.insight-card h3 a:hover {
  color: var(--primary);
}

.insight-card > p {
  font-size: 0.925rem;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding-top: 2rem;
}

.cta-panel {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 20% 20%, rgba(79, 70, 229, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 70%, rgba(6, 182, 212, 0.12), transparent 50%),
    linear-gradient(135deg, #eef2ff 0%, #ecfeff 50%, #f0fdfa 100%);
  border: 1px solid #e0e7ff;
}

.cta-panel h2 {
  max-width: 28rem;
  margin: 0 auto;
}

.cta-panel > p {
  max-width: 32rem;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.925rem;
  max-width: 16rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--primary);
  border-color: #c7d2fe;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-newsletter p {
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.925rem;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-status {
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8125rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--text);
}

/* ============================================
   Loader & Reveal
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.85; }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .loader-mark,
  .btn .ripple {
    animation: none;
  }

  .project-card:hover .project-img,
  .service-card:hover,
  .project-card:hover,
  .testimonial-card:hover,
  .insight-card:hover {
    transform: none;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    min-height: 360px;
    max-width: 520px;
    margin-inline: auto;
  }

  .why-illustration {
    min-height: 320px;
    max-width: 420px;
    margin-inline: auto;
  }

  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-steps::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s ease, visibility 0.35s ease;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
  }

  .nav-menu a:not(.btn) {
    display: block;
    padding: 0.9rem 0.25rem;
  }

  .nav-menu .btn {
    width: 100%;
  }

  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .insights-grid,
  .why-list,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.75rem, var(--container));
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .float-palette,
  .float-component {
    display: none;
  }
}
