/* ═══════════════════════════════════════════════════════
   TENSTRAL TECHNOLOGIES — LIGHT MODE DESIGN SYSTEM
   Palette: Crispy White, Slate grays, Emerald #10B981
   Typography: Space Grotesk (display) + Inter (body)
   ═══════════════════════════════════════════════════════ */

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

:root {
  /* Colors — Light Mode */
  --bg-primary:    #FFFFFF;
  --bg-secondary:  #F8FAFB;
  --bg-tertiary:   #F1F5F9;
  --bg-card:       #FFFFFF;
  --border:        #E2E8F0;
  --border-light:  #F1F5F9;

  --text-primary:  #0F172A;
  --text-secondary:#334155;
  --text-muted:    #64748B;
  --text-faint:    #94A3B8;

  --obsidian:      #09090B;
  --white:         #FFFFFF;

  --emerald:       #10B981;
  --emerald-50:    #ECFDF5;
  --emerald-100:   #D1FAE5;
  --emerald-400:   #34D399;
  --emerald-600:   #059669;
  --emerald-700:   #047857;
  --emerald-glow:  rgba(16, 185, 129, 0.08);
  --emerald-glow-md: rgba(16, 185, 129, 0.12);
  --emerald-glow-strong: rgba(16, 185, 129, 0.18);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 140px);
  --container-max: 1200px;
  --gap: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Dot pattern — subtle tech grid */
  --dot-color: rgba(16, 185, 129, 0.10);
  --dot-size: 1.2px;
  --dot-gap: 28px;
  --dot-pattern: radial-gradient(circle, var(--dot-color) var(--dot-size), transparent var(--dot-size));
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Utility ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.accent {
  color: var(--emerald);
}

.required {
  color: var(--emerald);
}

/* ── Tech dot backgrounds ───────────────────────────── */
.dotted-bg {
  background-image: var(--dot-pattern);
  background-size: var(--dot-gap) var(--dot-gap);
}

/* ── Section Headers ────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-700);
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-600);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald-700);
  background: var(--emerald-50);
}

/* ══════════════════════════════════════════════════════
   A. NAVIGATION
   ══════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-primary);
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

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

.nav-cta {
  background: var(--emerald) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--emerald-600) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(7px) translateX(2px);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px) translateX(2px);
}

/* ══════════════════════════════════════════════════════
   B. HERO
   ══════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Subtle tech dot grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: var(--dot-pattern);
  background-size: var(--dot-gap) var(--dot-gap);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 70%);
}

/* Soft emerald gradient orb */
.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -25%;
  right: -15%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease) both;
}

.tag-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s var(--ease) both;
}

.hero-accent {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s var(--ease) both;
}

/* Stats row */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
  animation: fadeInUp 0.8s 0.45s var(--ease) both;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--emerald);
}

.stat-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════
   C. ABOUT
   ══════════════════════════════════════════════════════ */
.about-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.about-text strong {
  color: var(--text-primary);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.value-card:hover {
  border-color: var(--emerald);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  border-radius: var(--radius-sm);
  color: var(--emerald);
  font-size: 18px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════
   D. SERVICES — with dot pattern bg
   ══════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  padding: var(--section-py) 0;
  background-color: var(--bg-secondary);
  background-image: var(--dot-pattern);
  background-size: var(--dot-gap) var(--dot-gap);
  border-top: 1px solid var(--border);
}

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.service-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -12px rgba(16, 185, 129, 0.1), 0 4px 20px rgba(0,0,0,0.04);
}

.service-card--featured {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, var(--emerald-50) 0%, var(--bg-card) 40%);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--emerald);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-md);
  color: var(--emerald);
  font-size: 24px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.service-list {
  flex: 1;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

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

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

.service-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--duration) var(--ease);
}

.service-link:hover {
  gap: 14px;
}

/* ══════════════════════════════════════════════════════
   E. CASE STUDIES
   ══════════════════════════════════════════════════════ */
.cases-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.case-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.filter-btn.active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  font-weight: 600;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.case-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.case-card.hidden {
  display: none;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald-700);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-industry {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  margin-left: 8px;
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.case-detail {
  margin-bottom: 14px;
}

.detail-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.case-detail p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.case-impact {
  background: var(--emerald-50);
  border-left: 3px solid var(--emerald);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 16px;
  margin-bottom: 0;
}

.case-impact strong {
  color: var(--emerald-700);
}

/* ══════════════════════════════════════════════════════
   F. TESTIMONIALS — with dot pattern bg
   ══════════════════════════════════════════════════════ */
.testimonials-section {
  position: relative;
  padding: var(--section-py) 0;
  background-color: var(--bg-secondary);
  background-image: var(--dot-pattern);
  background-size: var(--dot-gap) var(--dot-gap);
  border-top: 1px solid var(--border);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-rating {
  margin-bottom: 20px;
  color: #F59E0B;
  font-size: 14px;
  display: flex;
  gap: 3px;
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 18px;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  display: block;
}

.author-title {
  font-size: 13px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   G. CONTACT
   ══════════════════════════════════════════════════════ */
.contact-section {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact-info .section-header {
  text-align: left;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 440px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-item i {
  color: var(--emerald);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* StaticForms container */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--duration) var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-glow-md);
  outline: none;
}

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

.btn-submit {
  align-self: flex-start;
  padding: 14px 28px;
  font-size: 15px;
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: none;
  line-height: 1.5;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ══════════════════════════════════════════════════════
   H. FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-secondary);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-primary);
}

.footer-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-size: 16px;
  transition: all var(--duration) var(--ease);
}

.footer-socials a:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid,
  .cases-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 32px;
    gap: 4px;
    transition: right var(--duration) var(--ease);
    box-shadow: -8px 0 30px rgba(0,0,0,0.06);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
  }

  /* Hero */
  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }

  /* Grids → single col */
  .services-grid,
  .cases-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info .section-header {
    text-align: center;
  }

  .contact-desc {
    text-align: center;
    max-width: 100%;
  }

  .contact-details-list {
    align-items: center;
    margin-bottom: 32px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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