/* ============================================
   Product Rocket — Apple meets Pentagram
   Light mode, modern, clean
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --accent: #0a0a0a;
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1320px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Anchor targets: leave room for fixed nav when scrolling from hash links */
#articles,
#articole {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* Person page: articles list — full-row link, padding, hover */
.person-articles-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.person-articles-list li {
  margin: 0;
}
.person-article-link {
  display: block;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.person-article-link:hover {
  background-color: var(--gray-50);
  color: var(--black);
}
.person-article-link span {
  color: var(--gray-500);
  font-size: 0.875rem;
}
.person-article-link:hover span {
  color: var(--gray-600);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 500; }

.text-large {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.6;
  color: var(--gray-600);
}

.text-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.text-small {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-400);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-fast);
  background: rgba(255, 255, 255, 0);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}

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

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

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width var(--transition-fast);
}

.nav-links a:hover { color: var(--black); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--black); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 24px;
  background: var(--black);
  color: var(--white) !important;
  border-radius: 100px;
  transition: var(--transition-fast);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gray-800); transform: scale(1.02); }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-toggle.active { position: relative; z-index: 1002; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 100px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  border: 1.5px solid var(--gray-300);
  color: var(--gray-900);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  color: var(--black);
  font-weight: 500;
}

.btn-text .arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn-text:hover .arrow { transform: translateX(4px); }

/* --- Sections --- */
section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Top lamp light — radiates down from top-center, color shifts */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 75%;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, var(--lamp-color) 0%, transparent 65%);
  pointer-events: none;
  animation: lamp-shift 14s ease-in-out infinite;
}

.hero-orb { display: none; }

@keyframes lamp-shift {
  0%, 100% { --lamp-color: rgba(255, 200, 150, 0.5); }
  33%      { --lamp-color: rgba(200, 180, 240, 0.45); }
  66%      { --lamp-color: rgba(180, 210, 240, 0.45); }
}

@property --lamp-color {
  syntax: '<color>';
  inherits: false;
  initial-value: rgba(255, 200, 150, 0.5);
}

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

.hero h1 {
  margin-bottom: 32px;
}

.hero h1 .rotating-word {
  color: #ff4d00;
  transition: var(--transition);
}

.hero-description {
  max-width: 640px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}

.hero-social {
  display: flex;
  gap: 20px;
  margin-top: 80px;
}

.hero-social a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.hero-social a:hover { color: var(--black); }

/* --- Services Grid --- */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 40px;
}

.services-header .text-large { max-width: 480px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: clamp(32px, 4vw, 48px);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  background: var(--gray-50);
}

.service-card-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-card .card-arrow {
  position: absolute;
  top: clamp(32px, 4vw, 48px);
  right: clamp(32px, 4vw, 48px);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: var(--transition-fast);
  color: var(--gray-400);
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- Metrics --- */
.metrics {
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.metrics-inner {
  padding: clamp(60px, 8vw, 100px) clamp(40px, 6vw, 80px);
}

.metrics-label {
  color: var(--gray-400);
  margin-bottom: 16px;
}

.metrics h2 {
  margin-bottom: 64px;
  max-width: 600px;
}

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

.metric-item {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.metric-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  color: var(--gray-400);
  font-size: 0.9375rem;
}

/* --- Client Logos --- */
.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
  padding: 40px 0;
}

.clients-row img {
  height: 28px;
  width: auto;
  opacity: 0.15;
  filter: brightness(0);
  transition: opacity var(--transition-fast);
}

.clients-row img:hover { opacity: 0.4; }

/* --- Testimonials --- */
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.testimonials-rating .stars {
  color: #f59e0b;
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 clamp(20px, 10vw, 200px);
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.testimonial-author {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.testimonial-author strong {
  color: var(--gray-900);
  font-weight: 600;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.testimonials-nav button {
  width: 40px;
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.testimonials-nav button.active {
  background: var(--black);
  width: 64px;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.team-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content .label { margin-bottom: 16px; }
.team-content h2 { margin-bottom: 24px; }
.team-content p { margin-bottom: 32px; }

/* --- Work / Portfolio --- */
.work-header {
  margin-bottom: 80px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
  transition: var(--transition);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.work-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.work-card:hover .work-card-image img {
  transform: scale(1.03);
}

.work-card-content {
  padding: 28px 32px;
}

.work-card-content h3 {
  margin-bottom: 8px;
}

.work-card-content p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.work-card-tags span {
  font-size: 0.75rem;
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: 100px;
  color: var(--gray-500);
}

.work-card:hover .work-card-tags span {
  background: var(--gray-200);
}

/* --- About Page --- */
.about-hero {
  padding-top: 160px;
  padding-bottom: 80px;
}

.about-hero h1 { max-width: 800px; margin-bottom: 32px; }
.about-hero .text-large { max-width: 640px; }

.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
}

.about-mission h3 { margin-bottom: 16px; }
.about-mission p { color: var(--gray-600); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.pillar {
  padding: 40px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.pillar:hover {
  border-color: var(--gray-400);
  transform: translateY(-4px);
}

.pillar-number {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.pillar h4 { margin-bottom: 12px; }
.pillar p { color: var(--gray-500); font-size: 0.9375rem; }

/* Team members */
.team-members {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}

.team-member h4 { margin-bottom: 4px; font-size: 1.125rem; }
.team-member .role { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 12px; }

.team-member-links {
  display: flex;
  gap: 16px;
}

.team-member-links a {
  font-size: 0.8125rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.team-member-links a:hover { color: var(--black); }

/* --- Services Page --- */
.services-hero {
  padding-top: 160px;
  padding-bottom: 80px;
}

.services-hero h1 { max-width: 900px; margin-bottom: 32px; }
.services-hero .text-large { max-width: 700px; }

.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--gray-200);
}

.service-section .label { margin-bottom: 12px; }
.service-section h3 { margin-bottom: 16px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.service-section p { color: var(--gray-600); margin-bottom: 16px; }

.service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.service-list li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.process-step {
  padding: 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--black);
  transform: translateY(-4px);
}

.process-step-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--gray-500); }

/* --- Contact Page --- */
.contact-hero {
  padding-top: 160px;
  padding-bottom: 80px;
}

.contact-hero h1 { margin-bottom: 24px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--black);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  padding-top: 8px;
}

.contact-info-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-info-item .label { margin-bottom: 8px; }

.contact-info-item a {
  font-size: 1.125rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-info-item a:hover { color: var(--gray-600); }

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
}

.cta-section h2 { margin-bottom: 24px; }
.cta-section .text-large { max-width: 520px; margin: 0 auto 40px; }

/* --- Footer --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--gray-200);
}

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

.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: var(--gray-500); font-size: 0.875rem; max-width: 280px; }

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.footer-lang {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.footer-lang h5 { margin-bottom: 12px; }

.footer-lang-switch {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-lang-option {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-400);
}

.footer-lang-option.active {
  font-weight: 600;
  color: var(--gray-900);
}

.footer-lang-option a {
  display: inline;
  padding: 0;
  color: inherit;
}

.footer-lang-option a:hover { color: var(--black); }

.footer-lang-sep {
  font-size: 0.75rem;
  color: var(--gray-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover { color: var(--black); }

/* --- Animations / Reveal --- */
/* Default: visible without JS (above-the-fold / critical content shows immediately) */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 1;
  transform: translateY(0);
}

/* Enhancement: when JS runs, hide unobserved elements and reveal on intersect */
.js-reveal .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-reveal .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; }

.js-reveal .stagger-children:not(.visible) > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-reveal .stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.js-reveal .stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.js-reveal .stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.js-reveal .stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.js-reveal .stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.js-reveal .stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.js-reveal .stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Page transition */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition.active { opacity: 1; pointer-events: all; }

/* Smooth image load */
.img-lazy {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.img-lazy.loaded { opacity: 1; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 72px 24px 40px;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open a {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
  }

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

  .nav-links.open a::after {
    display: none;
  }

  .nav-links.open .nav-cta {
    margin-top: 8px;
    font-size: 0.9375rem;
    padding: 14px 36px;
  }

  .hero { min-height: auto; padding-top: 140px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .services-header { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; gap: 32px; }

  .team-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }

  .about-mission { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .service-section { grid-template-columns: 1fr; }

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

  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--black);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Cursor follow (desktop) --- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s ease, opacity 0.15s ease;
  mix-blend-mode: difference;
  display: none;
}

@media (hover: hover) {
  .cursor-dot { display: block; }
}
