@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --accent: #c53030;
  --accent-light: #e53e3e;
  --dark: #0a0f1a;
  --dark-surface: #111827;
  --dark-card: #1a2332;
  --gold: #d4a853;
  --gold-light: #e8c878;
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(135deg, #0a0f1a 0%, #1a365d 50%, #0a0f1a 100%);
  --gradient-gold: linear-gradient(135deg, #d4a853, #e8c878);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(212, 168, 83, 0.15);
  --glass-bg: rgba(10, 15, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  /* Smooth native scroll on iOS */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* GPU layer for fixed element */
  will-change: transform;
  transform: translateZ(0);
}

.navbar.scrolled {
  padding: 0.6rem 4%;
  background: rgba(10, 15, 26, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  filter: brightness(1.1);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text .brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.nav-logo-text .sub {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.active-link {
  color: var(--gold);
}

.nav-links a.active-link::after {
  width: 100%;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.6rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.4rem 0.7rem;
  background: rgba(184, 156, 92, 0.08);
  border: 1px solid rgba(184, 156, 92, 0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 4px;
  font-family: var(--font-primary);
  margin-left: 0.5rem;
}

.lang-toggle:hover {
  background: rgba(184, 156, 92, 0.15);
  border-color: var(--gold);
}

.lang-toggle .lang-flag {
  font-size: 0.9rem;
  line-height: 1;
}

.lang-toggle .lang-label {
  line-height: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Static gradient on mobile — animated on desktop only */
  background: linear-gradient(135deg, #0a0f1a 0%, #1a365d 30%, #0d1b2a 60%, #1a365d 100%);
}

@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://static.wixstatic.com/media/28ea51_6a92aa066e504ba596e7ebc97b6c94d5~mv2.jpg') center/cover;
  opacity: 0.12;
  filter: grayscale(100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 15, 26, 0.97) 0%, rgba(10, 15, 26, 0.7) 50%, rgba(10, 15, 26, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  gap: 4rem;
  width: 100%;
}

.hero-text {
  padding-top: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  background: rgba(212, 168, 83, 0.05);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero h1 .gold {
  color: var(--gold);
}

.hero h1 .italic {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% {
    left: -60%;
  }

  30% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.3), 0 0 60px rgba(212, 168, 83, 0.1);
}

.btn-outline {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 5rem;
}

.hero-portrait {
  width: 420px;
  height: 520px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(30%) contrast(1.05);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: filter 0.6s ease;
  /* Promote to GPU layer */
  will-change: filter;
  transform: translateZ(0);
}

.hero-portrait:hover {
  filter: grayscale(0%) contrast(1.08);
}

.hero-portrait-frame {
  position: absolute;
  top: calc(5rem + 20px);
  right: -10px;
  width: 420px;
  height: 520px;
  border: 1px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
  animation: framePulse 4s ease-in-out infinite;
}

@keyframes framePulse {

  0%,
  100% {
    opacity: 0.2;
    transform: translate(0, 0);
  }

  50% {
    opacity: 0.45;
    transform: translate(3px, -3px);
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 4%;
}

.stats-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 7rem 4%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-dark {
  background: var(--dark-surface);
  max-width: 100%;
}

.section-dark .section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
  /* GPU layer for hover transforms */
  will-change: transform;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 168, 83, 0.06);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.15);
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== METHODOLOGY ===== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.method-step {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}

.method-step:last-child {
  border-right: none;
}

.method-step:hover {
  background: var(--dark-card);
}

.method-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212, 168, 83, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.method-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.method-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TECH STACK ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: all 0.3s;
}

.tech-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.tech-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.tech-icon svg {
  width: 28px;
  height: 28px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.tech-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PROFILE ===== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.profile-photo-wrapper {
  position: relative;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  filter: contrast(1.05);
  border: 1px solid var(--border);
}

.profile-photo-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60%;
  height: 40%;
  border: 1px solid var(--gold);
  opacity: 0.3;
}

.profile-details h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  font-weight: 500;
}

.profile-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.credential {
  padding: 1.2rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
}

.credential .label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.credential .value {
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===== TESTIMONIALS ===== */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== CTA (main styles at bottom of file) ===== */

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 4% 2rem;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.footer-brand .brand-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== LEGAL TECH ===== */
.legaltech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.legaltech-card {
  background: linear-gradient(145deg, var(--dark-card) 0%, rgba(26, 54, 93, 0.2) 100%);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.legaltech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.legaltech-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.legaltech-card:hover::before {
  transform: scaleX(1);
}

.lt-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.2);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.legaltech-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legaltech-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  /* Explicit properties instead of 'all' — avoids triggering layout on every transition */
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  /* GPU compositing hint */
  will-change: opacity, transform;
  /* Avoid layout recalculation on siblings */
  backface-visibility: hidden;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  /* Release GPU memory once animation is done */
  will-change: auto;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  50% {
    transform: translateX(8px);
  }

  75% {
    transform: translateX(-4px);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    display: none;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid,
  .tech-grid,
  .testimonials-track,
  .legaltech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .methodology-grid {
    grid-template-columns: 1fr 1fr;
  }

  .method-step:nth-child(2) {
    border-right: none;
  }

  .method-step:nth-child(1),
  .method-step:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-surface);
    padding: 2rem 4%;
    border-bottom: 1px solid var(--border);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid,
  .tech-grid,
  .testimonials-track,
  .legaltech-grid {
    grid-template-columns: 1fr;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .method-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .method-step:last-child {
    border-bottom: none;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== MOBILE PERFORMANCE OVERRIDES ===== */
@media (max-width: 768px) and (hover: none) {

  /* Disable expensive backdrop-filter on mobile — use solid bg instead */
  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 15, 26, 0.97);
  }

  /* Disable hover-only animations that cause jank on touch */
  .service-card:hover,
  .legaltech-card:hover,
  .tech-card:hover {
    transform: none;
  }

  /* Touch-action: tell browser scroll direction upfront → eliminates 300ms delay */
  body,
  main,
  section,
  .section,
  .section-dark {
    touch-action: pan-y;
  }

  /* Reduce particle count cost — hide on mobile */
  .hero-particles {
    display: none;
  }

  /* Disable frame pulse animation on mobile */
  .hero-portrait-frame {
    animation: none;
  }

  /* Disable shimmer on CTA button — expensive on mobile */
  .btn-primary::after {
    display: none;
  }
}

/* ===== DESKTOP-ONLY HERO GRADIENT ANIMATION ===== */
@media (min-width: 769px) {
  .hero {
    background-size: 400% 400%;
    animation: heroGradient 15s ease infinite;
  }
}

/* ===== HERO TRUST BADGES ===== */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-trust .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.hero-trust .trust-divider {
  width: 1px;
  height: 14px;
  background: var(--border);
  margin: 0 1rem;
}

/* ===== SOCIAL PROOF BAR ===== */
.social-proof-bar {
  background: rgba(212, 168, 83, 0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 4%;
}

.proof-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.proof-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.proof-logos {
  display: flex;
  align-items: center;
  gap: 0;
}

.proof-logo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  margin: 0 0.8rem;
}

/* ===== RESULTS / CASE VICTORIES ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.result-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
}

.result-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-4px);
}

.result-category {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.result-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1;
}

.result-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.result-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.06);
}

.results-cta {
  text-align: center;
  padding-top: 1rem;
}

.results-cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== SERVICE CARD LINK ===== */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}

.service-link:hover {
  gap: 0.8rem;
  color: var(--gold-light);
}

.service-link svg {
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* ===== STAR RATINGS ===== */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-grid {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
  font-family: inherit;
  line-height: 1.5;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--text-muted);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark-card);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  border: 1px solid var(--border);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ===== CTA IMPROVEMENTS ===== */
.btn-lg {
  padding: 1.2rem 3rem;
  font-size: 0.9rem;
}

.cta-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 2.5rem;
  position: relative;
  flex-wrap: wrap;
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  /* ===== NAVBAR MOBILE ===== */
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-logo-text .brand {
    font-size: 0.95rem;
  }

  .nav-logo-text .sub {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }

  .nav-logo img {
    height: 36px;
  }

  /* ===== HERO MOBILE ===== */
  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text {
    padding-top: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 auto 2rem;
    max-width: 100%;
  }

  .hero-badge {
    font-size: 0.6rem;
    letter-spacing: 2px;
    padding: 0.4rem 0.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 0.9rem 2rem;
  }

  .hero-image {
    display: none;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-trust .trust-divider {
    display: none;
  }

  .hero-trust .trust-item {
    margin: 0.3rem 0.5rem;
    font-size: 0.72rem;
  }

  /* ===== STATS BAR MOBILE ===== */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-item .stat-number {
    font-size: 2.2rem;
  }

  .stat-item .stat-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  /* ===== SECTIONS MOBILE ===== */
  .section {
    padding: 4rem 5%;
  }

  .section-dark {
    padding-left: 5%;
    padding-right: 5%;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .section-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }

  /* ===== SERVICES MOBILE ===== */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 2rem;
  }

  /* ===== RESULTS MOBILE ===== */
  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-amount {
    font-size: 2rem;
  }

  .proof-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .proof-logos {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* ===== CTA TRUST ===== */
  .cta-trust {
    gap: 1rem;
    justify-content: center;
  }

  /* ===== FAQ MOBILE ===== */
  .faq-question {
    font-size: 0.92rem;
    padding: 1.2rem 0;
  }

  /* ===== FOOTER MOBILE ===== */
  .footer-map {
    padding: 0 5% 1.5rem;
  }

  .footer-map iframe {
    height: 250px;
  }

  /* ===== PARTICLES MOBILE ===== */
  .hero-particles span {
    display: none;
  }

  .hero-particles span:nth-child(-n+4) {
    display: block;
  }

  /* ===== OVERFLOW FIX ===== */
  .hero::before,
  .hero::after {
    overflow: hidden;
  }
}

/* ===== EXTRA SMALL MOBILE (iPhone SE, Galaxy S) ===== */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-grid {
    gap: 1rem;
  }

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .navbar {
    padding: 0.6rem 3%;
  }
}

/* ===== HERO PARTICLES ===== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.2;
  }

  100% {
    opacity: 0;
    transform: translateY(-20vh) scale(1);
  }
}

.hero-particles span:nth-child(1) {
  left: 5%;
  width: 2px;
  height: 2px;
  animation-duration: 12s;
  animation-delay: 0s;
}

.hero-particles span:nth-child(2) {
  left: 12%;
  width: 3px;
  height: 3px;
  animation-duration: 14s;
  animation-delay: 1s;
}

.hero-particles span:nth-child(3) {
  left: 20%;
  width: 2px;
  height: 2px;
  animation-duration: 11s;
  animation-delay: 2.5s;
}

.hero-particles span:nth-child(4) {
  left: 30%;
  width: 4px;
  height: 4px;
  animation-duration: 16s;
  animation-delay: 0.5s;
}

.hero-particles span:nth-child(5) {
  left: 38%;
  width: 2px;
  height: 2px;
  animation-duration: 13s;
  animation-delay: 3s;
}

.hero-particles span:nth-child(6) {
  left: 45%;
  width: 3px;
  height: 3px;
  animation-duration: 15s;
  animation-delay: 1.5s;
}

.hero-particles span:nth-child(7) {
  left: 52%;
  width: 2px;
  height: 2px;
  animation-duration: 12s;
  animation-delay: 4s;
}

.hero-particles span:nth-child(8) {
  left: 60%;
  width: 3px;
  height: 3px;
  animation-duration: 14s;
  animation-delay: 2s;
}

.hero-particles span:nth-child(9) {
  left: 68%;
  width: 2px;
  height: 2px;
  animation-duration: 11s;
  animation-delay: 5s;
}

.hero-particles span:nth-child(10) {
  left: 75%;
  width: 4px;
  height: 4px;
  animation-duration: 16s;
  animation-delay: 0.8s;
}

.hero-particles span:nth-child(11) {
  left: 80%;
  width: 2px;
  height: 2px;
  animation-duration: 13s;
  animation-delay: 3.5s;
}

.hero-particles span:nth-child(12) {
  left: 85%;
  width: 3px;
  height: 3px;
  animation-duration: 15s;
  animation-delay: 1.2s;
}

.hero-particles span:nth-child(13) {
  left: 90%;
  width: 2px;
  height: 2px;
  animation-duration: 12s;
  animation-delay: 4.5s;
}

.hero-particles span:nth-child(14) {
  left: 94%;
  width: 3px;
  height: 3px;
  animation-duration: 14s;
  animation-delay: 2.8s;
}

.hero-particles span:nth-child(15) {
  left: 97%;
  width: 2px;
  height: 2px;
  animation-duration: 11s;
  animation-delay: 6s;
}

/* ===== FOOTER SOCIAL ===== */
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.15);
}

/* ===== FOOTER MAP ===== */
.footer-map {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4% 2rem;
}

/* ===== HAMBURGER ANIMATION ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== TECH CARD GLOW ===== */
.tech-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 168, 83, 0.04);
}

/* ===== LEGALTECH CARD ENHANCED ===== */
.legaltech-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(212, 168, 83, 0.08);
}

/* ===== RESULT CARD ENHANCED ===== */
.result-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 168, 83, 0.05);
}

/* ===== CAPABILITIES GRID ===== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.capability-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.capability-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(212, 168, 83, 0.08);
}

.capability-card:hover::before {
  transform: scaleX(1);
}

.capability-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.15);
  margin-bottom: 1rem;
  color: var(--gold);
}

.capability-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.capability-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.capability-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--dark-card);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}

.process-step:hover .step-circle {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 0 25px rgba(212, 168, 83, 0.3);
}

.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: linear-gradient(to right, var(--gold), rgba(212, 168, 83, 0.2));
  z-index: 1;
}

.process-step:last-child .step-connector {
  display: none;
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA GRID WITH FORM ===== */
.cta-section {
  text-align: left;
  padding: 6rem 4%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  position: relative;
}

.cta-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cta-info {
  padding-top: 1rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.cta-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s;
}

.cta-method:hover {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.05);
  transform: translateX(4px);
}

.cta-method span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cta-method strong {
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.cta-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0;
  position: relative;
  justify-content: flex-start;
}

/* ===== CONTACT FORM ===== */
.cta-form-wrapper {
  position: relative;
}

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
  background: rgba(212, 168, 83, 0.03);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark-surface);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c53030;
  box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-form-submit {
  width: 100%;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.form-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--dark-card);
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin: 1.5rem 0 0.8rem;
}

.form-success p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== RESPONSIVE: CAPABILITIES, TIMELINE, FORM ===== */
@media (max-width: 1024px) {
  .capabilities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cta-info {
    text-align: center;
  }

  .cta-info .section-title {
    text-align: center !important;
  }

  .cta-trust {
    justify-content: center;
  }

  .process-timeline {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .process-step {
    flex: 0 0 45%;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    padding: 2rem;
  }

  .process-timeline {
    flex-direction: column;
    align-items: center;
  }

  .process-step {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .step-connector {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .cta-contact-methods {
    align-items: stretch;
  }

  .cta-section {
    padding: 4rem 5%;
  }

  .cta-desc {
    font-size: 0.95rem;
  }

  /* ===== FOOTER GRID MOBILE ===== */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer {
    padding: 3rem 5% 1.5rem;
  }

  /* ===== PROFILE MOBILE ===== */
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-photo-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }

  /* ===== TECH GRID MOBILE ===== */
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tech-card {
    padding: 1.5rem;
  }

  /* ===== METHOD GRID MOBILE ===== */
  .method-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .method-step {
    padding: 1.5rem;
  }

  /* ===== TESTIMONIALS MOBILE ===== */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  /* ===== FOOTER BOTTOM MOBILE ===== */
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .form-success h3 {
    font-size: 1.4rem;
  }

  .form-success p {
    font-size: 0.9rem;
  }
}