/* ═══════════════════════════════════════════
   StaxMinds — style.css
   Instrument Serif + Geist · Warm dark/light system
═══════════════════════════════════════════ */

/* ─── DARK THEME ─── */
:root,
[data-theme="dark"] {
  --page:      #111112;
  --surf:      #18181A;
  --lift:      #222226;
  --border:    rgba(255,255,255,0.08);
  --border-md: rgba(255,255,255,0.13);
  --h1:        #F2F0EB;
  --h2:        #E8E6E0;
  --body:      #9A9890;
  --muted:     #5C5B58;
  --teal:      #2EC4A5;
  --teal-hi:   #3DDAB9;
  --teal-bg:   rgba(46,196,165,0.08);
  --teal-ring: rgba(46,196,165,0.2);
  --stat-bg:   #151517;
  --nav-blur:  rgba(17,17,18,0.82);
}

/* ─── LIGHT THEME ─── */
[data-theme="light"] {
  --page:      #FAF7F2;
  --surf:      #F3EFE8;
  --lift:      #EAE4DB;
  --border:    rgba(0,0,0,0.08);
  --border-md: rgba(0,0,0,0.14);
  --h1:        #0F0F11;
  --h2:        #1E1E22;
  --body:      #52525C;
  --muted:     #A0A0AB;
  --teal:      #1FA88D;
  --teal-hi:   #2EC4A5;
  --teal-bg:   rgba(31,168,141,0.07);
  --teal-ring: rgba(31,168,141,0.18);
  --stat-bg:   #EAE4DB;
  --nav-blur:  rgba(250,247,242,0.90);
}

/* ─── RESET ─── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  font-family:'Geist',-apple-system,sans-serif;
  background:var(--page);
  color:var(--body);
  font-size:17px;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  cursor:none;
  transition:background .35s ease, color .35s ease;
}
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font:inherit; }

/* ─── PROGRESS BAR ─── */
#progress-bar {
  position:fixed; top:0; left:0;
  height:2px; width:0%;
  background:var(--teal);
  z-index:9999; pointer-events:none;
  transition:width .08s linear;
}

/* ─── CURSOR ─── */
#dot  { position:fixed; width:8px; height:8px; background:var(--teal); border-radius:50%; pointer-events:none; z-index:9998; transform:translate(-50%,-50%); transition:width .2s,height .2s; }
#ring { position:fixed; width:32px; height:32px; border:1px solid var(--teal-ring); border-radius:50%; pointer-events:none; z-index:9997; transform:translate(-50%,-50%); }

@media (pointer:coarse) {
  body { cursor:auto; }
  #dot,#ring { display:none; }
}

/* ─── UTILITIES ─── */
.container { width:100%; max-width:1320px; margin:0 auto; padding:0 clamp(20px,3vw,32px); }
.teal { color:var(--teal); }

.section-label {
  display:flex; align-items:center; gap:10px;
  font-size:.68rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--teal); margin-bottom:18px;
}
.section-label::before { content:''; width:16px; height:1px; background:var(--teal); }

.section-title {
  font-family:'Instrument Serif',Georgia,serif;
  font-size:clamp(1.9rem,3.8vw,3.2rem);
  font-weight:400; line-height:1.1; letter-spacing:-.028em;
  color:var(--h1); margin-bottom:18px; transition:color .35s;
}
.section-title em { color:var(--teal); font-style:italic; }

.section-sub {
  color:var(--body); font-size:1rem;
  max-width:580px; line-height:1.82; font-weight:300;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-up { opacity:0; transform:translateY(28px); transition:opacity .55s ease,transform .55s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }
.stagger > * { transition-delay:calc(var(--i,0) * 80ms); }

/* ─── NAV ─── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  height:72px; display:grid; grid-template-columns:1fr auto 1fr;
  align-items:center;
  padding:0 clamp(20px,3.5vw,48px);
  background:var(--nav-blur);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  border-bottom:1px solid var(--border);
  transition:background .35s;
}
.nav > div:last-child { display:flex; align-items:center; gap:12px; justify-content:flex-end; }

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

/* Logo image with reactive hover effects */
.nav-mark-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo:hover .nav-mark-img {
  transform: translateY(-2px);
  opacity: 0.9;
}

.nav-wordmark {
  font-family:'Instrument Serif',serif;
  font-size:1.1rem; font-weight:400; letter-spacing:-.01em;
  color:var(--h1); transition:color .35s;
}
.nav-wordmark em { font-style:normal; color:var(--teal); }

.nav-links { display:flex; align-items:center; gap:32px; }
.nav-links a { font-size:.8rem; color:var(--body); letter-spacing:.02em; transition:color .2s; }
.nav-links a:hover { color:var(--h1); }

/* Theme toggle button */
.toggle {
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px;
  background:var(--lift); border:1px solid var(--border);
  border-radius:50%; cursor:pointer;
  transition:background .2s,border-color .2s;
}
.toggle:hover { border-color:var(--border-md); }
.toggle-icon { font-size:13px; line-height:1; display:flex; align-items:center; justify-content:center; }
.toggle-icon svg { position:absolute; transition:opacity .25s ease,transform .25s ease; }
.toggle-icon .icon-moon { opacity:0; transform:rotate(-90deg) scale(.8); }
[data-theme="dark"] .toggle-icon .icon-moon { opacity:1; transform:rotate(0) scale(1); }
[data-theme="dark"] .toggle-icon .icon-sun { opacity:0; transform:rotate(90deg) scale(.8); }
[data-theme="light"] .toggle-icon .icon-sun { opacity:1; transform:rotate(0) scale(1); }
[data-theme="light"] .toggle-icon .icon-moon { opacity:0; transform:rotate(-90deg) scale(.8); }

.nav-cta {
  font-size:.8rem; font-weight:500;
  padding:8px 20px; border-radius:8px;
  background:var(--teal); color:#000;
  transition:filter .2s,transform .2s;
  letter-spacing:.01em;
}
.nav-cta:hover { filter:brightness(1.1); transform:translateY(-1px); }

.nav-burger { display:none; flex-direction:column; gap:5px; padding:4px; }
.nav-burger span { display:block; width:22px; height:2px; background:var(--h1); border-radius:2px; transition:transform .25s,opacity .25s; }

.nav-mobile {
  display:none; position:fixed; top:72px; left:0; right:0;
  background:var(--nav-blur);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
  border-bottom:1px solid var(--border);
  padding:28px; flex-direction:column; gap:22px; z-index:199;
}
.nav-mobile.open { display:flex; }
.nav-mobile a { font-size:.9rem; color:var(--body); transition:color .2s; }
.nav-mobile a:hover { color:var(--h1); }
.nav-mobile .nav-cta {
  align-self:flex-start;
  display:inline-flex;
  color:#000;
  background:var(--teal);
  padding:10px 20px;
  border-radius:8px;
  font-size:.85rem;
  font-weight:500;
}
.nav-mobile .nav-cta:hover {
  filter:brightness(1.1);
  transform:translateY(-1px);
}

/* ─── HERO ─── */
.hero {
  padding:clamp(110px,14vw,180px) 0 clamp(56px,8vw,100px);
  text-align:center;
  position:relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(circle, var(--border-md) 1px, transparent 1px);
  background-size:32px 32px;
  mask-image:radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 100%);
}
.hero > * { position:relative; z-index:1; }

.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); background:var(--surf);
  border:1px solid var(--border-md); border-radius:99px;
  padding:6px 14px; margin-bottom:36px;
}
.hero-badge::before {
  content:''; width:6px; height:6px;
  background:var(--teal); border-radius:50%;
  animation:pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

.hero-headline {
  font-family:'Instrument Serif',Georgia,serif;
  font-size:clamp(3rem,7.5vw,6.2rem);
  font-weight:400; line-height:1.05; letter-spacing:-.035em;
  color:var(--h1); margin-bottom:28px; transition:color .35s;
}

.hero-sub {
  font-size:clamp(1rem,1.4vw,1.15rem);
  color:var(--body); line-height:1.85;
  max-width:540px; margin:0 auto 44px; font-weight:300;
}

.hero-actions {
  display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
  margin-bottom:56px;
}

.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.87rem; font-weight:500;
  padding:13px 24px; border-radius:9px; border:none;
  background:var(--teal); color:#000;
  cursor:pointer; text-decoration:none;
  transition:filter .2s,transform .2s;
  letter-spacing:.01em;
}
.btn-primary:hover { filter:brightness(1.1); transform:translateY(-2px); }
.btn-primary:disabled { opacity:.6; cursor:not-allowed; transform:none; }

.btn-ghost {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.87rem; font-weight:400;
  padding:13px 24px; border-radius:9px;
  border:1px solid var(--border-md);
  background:transparent; color:var(--body);
  cursor:pointer; text-decoration:none;
  transition:border-color .2s,color .2s,transform .2s;
}
.btn-ghost:hover { border-color:var(--teal); color:var(--h1); transform:translateY(-2px); }

/* Ticker */
.hero-ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.hero-ticker::before,
.hero-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.hero-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--page), transparent);
}

.hero-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--page), transparent);
}

.hero-ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}

.hero-ticker:hover .hero-ticker-track {
  animation-play-state: paused;
}

.hero-ticker-item {
  display: inline-block;
  white-space: nowrap;
}

.hero-ticker-item span {
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
  margin-right: 24px;
}

.hero-ticker-item .dot {
  color: var(--teal);
  margin-right: 24px;
}

@keyframes ticker-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Hero stats */
.hero-stats {
  display:grid; grid-template-columns:repeat(4,1fr);
  background:var(--stat-bg);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  margin-top:clamp(32px,4.5vw,56px);
  transition:background .35s;
}
.stat-item {
  padding:clamp(28px,4vw,48px) clamp(20px,3.5vw,44px);
  border-right:1px solid var(--border);
}
.stat-item:last-child { border-right:none; }
.stat-num {
  font-family:'Instrument Serif',serif;
  font-size:clamp(2rem,3.5vw,3rem);
  font-weight:400; color:var(--h1); line-height:1; margin-bottom:7px;
  transition:color .35s;
}
.stat-num b { color:var(--teal); font-weight:400; }
.stat-label {
  font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}

/* ─── SERVICES ─── */
.services { padding:clamp(56px,8vw,100px) 0; }

.services-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:14px;
  overflow:hidden; margin-top:clamp(28px,4vw,48px);
}
.service-card {
  background:var(--surf); padding:clamp(24px,3vw,40px) clamp(20px,3vw,36px);
  position:relative;
  transition:background .2s,padding-left .25s;
  border-left:3px solid transparent;
}
.service-card:hover { background:var(--lift); border-left-color:var(--teal); padding-left:34px; }

.service-icon {
  width:36px; height:36px;
  background:var(--teal-bg); border:1px solid var(--teal-ring);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  color:var(--teal); margin-bottom:16px;
}
.service-name {
  font-family:'Instrument Serif',serif;
  font-size:1.15rem; font-weight:400; letter-spacing:-.01em;
  color:var(--h1); margin-bottom:10px; transition:color .35s;
}
.service-desc { font-size:.88rem; color:var(--body); line-height:1.7; font-weight:300; }

/* ─── BUILD AUTOMATE SCALE TABS ─── */
.bas-tabs { padding:clamp(56px,8vw,100px) 0; background:var(--surf); transition:background .35s; }

.bas-tabs-nav { display:flex; gap:12px; justify-content:center; margin:clamp(28px,4vw,48px) 0; }

.bas-tab-btn {
  font-family:'Instrument Serif',serif;
  font-size:1.1rem; font-weight:400;
  padding:12px 28px;
  background:transparent;
  border:1px solid var(--border);
  border-radius:99px;
  color:var(--body);
  cursor:pointer;
  transition:all .25s ease;
  letter-spacing:-.01em;
  display:flex;
  align-items:center;
  justify-content:center;
}

.bas-tab-btn:hover {
  border-color:var(--teal);
  color:var(--h1);
}

.bas-tab-btn.active {
  background:var(--teal);
  border-color:var(--teal);
  color:#000;
}

.bas-tab-content {
  display:none;
  opacity:0;
  transform:translateY(10px);
  transition:opacity .35s ease, transform .35s ease;
}

.bas-tab-content.active {
  display:block;
  opacity:1;
  transform:translateY(0);
}

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

.bas-card {
  background:var(--page);
  border:1px solid var(--border);
  border-radius:14px;
  padding:clamp(24px,3vw,32px);
  transition:background .35s, border-color .2s, transform .2s;
}

.bas-card:hover {
  border-color:var(--teal-ring);
  transform:translateY(-2px);
}

.bas-icon {
  width:44px; height:44px;
  background:var(--teal-bg);
  border:1px solid var(--teal-ring);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:var(--teal);
  margin-bottom:18px;
}

.bas-card h3 {
  font-family:'Instrument Serif',serif;
  font-size:1.15rem; font-weight:400; letter-spacing:-.01em;
  color:var(--h1); margin-bottom:10px; transition:color .35s;
}

.bas-card p {
  font-size:.88rem; color:var(--body); line-height:1.7; font-weight:300;
  margin:0;
}

/* Three-card grid layout */
.bas-grid.three-cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

/* Card numbers */
.card-number {
  position:absolute;
  top:20px;
  right:24px;
  font-family:'Instrument Serif',serif;
  font-size:0.85rem;
  color:var(--muted);
  opacity:0.6;
  letter-spacing:0.05em;
}

/* Featured cards */
.bas-card.featured {
  border:2px solid var(--teal);
  background:linear-gradient(135deg, var(--page) 0%, var(--surf) 100%);
  position:relative;
  transform:translateY(-4px);
}

.bas-card.featured:hover {
  transform:translateY(-6px);
  border-color:var(--teal-hi);
  box-shadow:0 0 30px rgba(46,196,165,0.4), 0 0 60px rgba(46,196,165,0.2), 0 8px 32px rgba(0,0,0,0.3);
}

.featured-tag {
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:var(--teal);
  color:#000;
  font-size:0.65rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:5px 14px;
  border-radius:99px;
}

/* Quality card styling */
.quality-card {
  position:relative;
  padding-top:28px;
}

.quality-icon {
  background:linear-gradient(135deg, var(--teal-bg) 0%, rgba(46,196,165,0.15) 100%);
}

.quality-badge {
  margin-top:auto;
  padding-top:20px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:0.75rem;
  color:var(--body);
  font-weight:500;
}

.badge-dot {
  width:6px;
  height:6px;
  background:var(--teal);
  border-radius:50%;
  display:inline-block;
  animation:pulse 2s ease-in-out infinite;
}

/* Communication card styling */
.comm-card {
  display:flex;
  flex-direction:column;
}

.comm-icon {
  background:linear-gradient(135deg, rgba(46,196,165,0.1) 0%, rgba(46,196,165,0.05) 100%);
}

.comm-stat {
  margin-top:auto;
  padding-top:20px;
  display:flex;
  align-items:baseline;
  gap:10px;
}

.comm-stat .stat-num {
  font-family:'Instrument Serif',serif;
  font-size:2rem;
  color:var(--teal);
  font-weight:400;
  line-height:1;
}

.comm-stat .stat-label {
  font-size:0.75rem;
  color:var(--muted);
  letter-spacing:0.03em;
}

/* Cost card styling */
.cost-card {
  display:flex;
  flex-direction:column;
  position:relative;
}

.cost-icon {
  background:linear-gradient(135deg, rgba(46,196,165,0.12) 0%, rgba(46,196,165,0.04) 100%);
}

.price-tag {
  position:absolute;
  top:20px;
  right:24px;
  text-align:right;
}

.price-tag .currency {
  font-family:'Instrument Serif',serif;
  font-size:1.2rem;
  color:var(--teal);
  vertical-align:top;
}

.price-tag .amount {
  font-family:'Instrument Serif',serif;
  font-size:2.2rem;
  color:var(--teal);
  font-weight:400;
  line-height:1;
}

.price-tag .period {
  display:block;
  font-size:0.7rem;
  color:var(--muted);
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin-top:2px;
}

.global-tag {
  position:absolute;
  top:20px;
  right:24px;
  font-size:0.8rem;
  color:var(--teal);
  letter-spacing:0.05em;
  font-weight:500;
}

.cost-promise {
  margin-top:auto;
  padding-top:20px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.8rem;
  color:var(--h1);
  font-weight:500;
}

.promise-icon {
  width:20px;
  height:20px;
  background:var(--teal-bg);
  border:1px solid var(--teal-ring);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:0.7rem;
  color:var(--teal);
  flex-shrink:0;
}

@media (max-width:900px) {
  .bas-grid { grid-template-columns:repeat(2,1fr); }
  .bas-grid.three-cards { grid-template-columns:repeat(2,1fr); }
  .bas-tab-btn { padding:10px 24px; font-size:1rem; }
}

@media (max-width:600px) {
  .bas-grid { grid-template-columns:1fr; }
  .bas-grid.three-cards { grid-template-columns:1fr; }
  .bas-tabs-nav { flex-wrap:wrap; }
  .bas-tab-btn { flex:1; min-width:100px; }
  .featured-tag { font-size:0.6rem; padding:4px 10px; }
}

/* ─── WHY ─── */
.why { padding:clamp(56px,8vw,100px) 0; background:var(--surf); transition:background .35s; }

.why-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(36px,6vw,80px); align-items:center;
}

.why-points { margin-top:32px; display:flex; flex-direction:column; gap:20px; }

.why-point { display:flex; gap:14px; align-items:flex-start; }

.why-point-icon {
  width:24px; height:24px; flex-shrink:0; margin-top:2px;
  background:var(--teal-bg); border:1px solid var(--teal-ring);
  border-radius:6px; display:flex; align-items:center; justify-content:center;
  color:var(--teal);
}

.why-point-text strong {
  display:block; font-size:.96rem; font-weight:500;
  color:var(--h1); margin-bottom:5px; transition:color .35s;
}
.why-point-text p { font-size:.88rem; color:var(--body); line-height:1.7; font-weight:300; }

.why-right { display:flex; flex-direction:column; }

/* ─── METRIC CARD ─── */
.mcard {
  border:1px solid var(--border); border-radius:18px;
  overflow:hidden; background:var(--page);
  transition:background .35s, border-color .35s;
}
.mch {
  padding:clamp(14px,1.8vw,22px) clamp(16px,2.2vw,28px);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; gap:8px;
}
.dots { display:flex; gap:5px; }
.dots i { width:10px; height:10px; border-radius:50%; font-style:normal; }
.d1c { background:#FF5F57; }
.d2c { background:#FEBC2E; }
.d3c { background:#28C840; }
.mtit { font-size:.72rem; color:var(--muted); margin-left:auto; font-family:monospace; }
.mcb { padding:clamp(24px,3vw,36px) clamp(16px,2.2vw,28px); }
.mcbig {
  font-family:'Instrument Serif',serif;
  font-size:clamp(2.6rem,5vw,3.6rem); font-weight:400; line-height:1;
  color:var(--h1); margin-bottom:4px; transition:color .35s;
}
.mcbig b { color:var(--teal); font-weight:400; }
.mcsub { font-size:.7rem; color:var(--muted); margin-bottom:clamp(20px,2.5vw,32px); letter-spacing:.06em; text-transform:uppercase; }
.bars { display:flex; flex-direction:column; gap:14px; }
.blrow { display:flex; justify-content:space-between; margin-bottom:5px; }
.blbl { font-size:.72rem; color:var(--body); }
.bval { font-size:.72rem; color:var(--teal); }
.btrack { height:2px; background:var(--border-md); border-radius:2px; overflow:hidden; }
.bfill { height:100%; background:var(--teal); border-radius:2px; transform-origin:left; }
.bfill.animated { animation:grow 1.8s ease forwards; }
@keyframes grow { from { transform:scaleX(0); } to { transform:scaleX(1); } }

/* ─── TECH STACK ─── */
.tech { padding:clamp(56px,8vw,100px) 0; }

.techgrid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:14px;
  overflow:hidden; margin-top:clamp(28px,4vw,48px);
}
.tc {
  background:var(--surf); padding:clamp(14px,2vw,24px) clamp(10px,1.8vw,20px);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  transition:background .2s;
}
.tc:hover { background:var(--lift); }
.tci { width:28px; height:28px; display:flex; align-items:center; justify-content:center; color:var(--teal); }
.tci svg { width:24px; height:24px; fill:currentColor; }
.tci img { width:24px; height:24px; display:block; }
.tcn { font-size:.72rem; color:var(--body); letter-spacing:.02em; text-align:center; }

/* ─── PROCESS ─── */
.process { padding:clamp(56px,8vw,100px) 0; background:var(--surf); transition:background .35s; }

.process-steps {
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border); border-radius:14px;
  overflow:hidden; margin-top:clamp(32px,4.5vw,56px);
  counter-reset:step;
}
.process-step {
  background:var(--page); padding:clamp(20px,3vw,36px) clamp(16px,2.5vw,28px);
  border-right:1px solid var(--border);
  transition:background .35s, border-color .35s;
}
.process-step:last-child { border-right:none; }
.process-step:hover { background:var(--surf); }
.process-step::before {
  counter-increment:step;
  content:counter(step,decimal-leading-zero);
  display:block; font-size:.68rem;
  letter-spacing:.08em; color:var(--teal);
  margin-bottom:20px;
}
.process-step-title {
  font-family:'Instrument Serif',serif;
  font-size:1.15rem; font-weight:400; letter-spacing:-.01em;
  color:var(--h1); margin-bottom:12px; transition:color .35s;
}
.process-step-desc { font-size:.88rem; color:var(--body); line-height:1.7; font-weight:300; }

/* ─── TESTIMONIALS ─── */
.testimonials { padding:clamp(56px,8vw,100px) 0; }

.testimonials-slider { overflow:hidden; margin-top:clamp(28px,4vw,48px); }

.testimonials-track {
  display:flex; gap:20px;
  transition:transform .4s cubic-bezier(.25,.46,.45,.94);
}

.testimonial-card {
  background:var(--surf); border:1px solid var(--border);
  border-radius:14px; padding:clamp(20px,2.5vw,32px);
  flex-shrink:0;
}
.testimonial-stars {
  color:var(--teal); font-size:.9rem; letter-spacing:2px; margin-bottom:16px;
}
.testimonial-quote {
  font-family:'Instrument Serif',serif;
  font-size:1.02rem; font-weight:400; font-style:italic;
  color:var(--h1); line-height:1.65; margin-bottom:24px;
  letter-spacing:-.01em; transition:color .35s;
}
.testimonial-author { display:flex; align-items:center; gap:12px; }
.testimonial-avatar {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  background:var(--teal-bg); border:1px solid var(--teal-ring);
  display:flex; align-items:center; justify-content:center;
  font-size:.68rem; font-weight:500; color:var(--teal); letter-spacing:.03em;
}
.testimonial-name { font-size:.85rem; font-weight:500; color:var(--h1); transition:color .35s; }
.testimonial-role { font-size:.72rem; color:var(--muted); margin-top:2px; }

.testimonials-nav { display:flex; gap:8px; margin-top:24px; }
.testimonials-btn {
  width:38px; height:38px;
  background:var(--surf); border:1px solid var(--border-md); border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--body);
  transition:background .2s,color .2s,opacity .2s;
}
.testimonials-btn:hover { background:var(--lift); color:var(--h1); }

/* ─── FAQ ─── */
.faq { padding:clamp(56px,8vw,100px) 0; background:var(--surf); transition:background .35s; }

.faq-list { margin-top:clamp(28px,4vw,48px); }
.faq-item { border-bottom:1px solid var(--border); }
.faq-item:first-child { border-top:1px solid var(--border); }

.faq-question {
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding:28px 0; font-size:1rem; font-weight:400;
  color:var(--h1); text-align:left; background:none; border:none; cursor:pointer;
  gap:16px; transition:color .2s;
}
.faq-question:hover { color:var(--teal); }
.faq-question.open { color:var(--teal); }

.faq-icon {
  font-size:1.2rem; color:var(--teal); flex-shrink:0; line-height:1;
  transition:transform .25s ease;
}
.faq-question.open .faq-icon { transform:rotate(45deg); }

.faq-answer { overflow:hidden; max-height:0; transition:max-height .35s ease; }
.faq-answer-inner {
  padding:0 0 28px;
  font-size:.92rem; color:var(--body); line-height:1.8; font-weight:300;
  max-width:680px;
}

/* ─── CONTACT ─── */
.contact { padding:clamp(56px,8vw,100px) 0; }

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

.contact-meta { margin-top:40px; display:flex; flex-direction:column; gap:18px; }
.contact-meta-item {
  display:flex; align-items:center; gap:12px;
  font-size:.92rem; color:var(--body);
}
.contact-meta-item svg { color:var(--teal); flex-shrink:0; }

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

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

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

.form-group label {
  font-size:.66rem; letter-spacing:.09em; text-transform:uppercase; color:var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; background:var(--page);
  border:1px solid var(--border-md); border-radius:9px;
  padding:15px 17px; color:var(--h1);
  font-family:'Geist',sans-serif; font-size:.92rem; font-weight:300;
  outline:none; -webkit-appearance:none;
  transition:border-color .2s,box-shadow .2s,background .35s,color .35s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color:var(--teal); box-shadow:0 0 0 3px var(--teal-ring);
}
.form-group textarea { resize:vertical; min-height:120px; }
.form-group input.error,
.form-group textarea.error,
.form-group select.error { border-color:#ff5c5c; }

.form-submit { margin-top:4px; }

.form-success {
  display:none; align-items:center; gap:10px;
  background:var(--teal-bg); border:1px solid var(--teal-ring);
  border-radius:9px; padding:14px 18px;
  color:var(--teal); font-size:.82rem;
}
.form-success.visible { display:flex; }

/* ─── GDPR CONSENT CHECKBOX ─── */
.gdpr-consent { margin-top: -8px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkmark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--page);
  border: 1px solid var(--border-md);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 1px;
}

.checkbox-label:hover .checkmark {
  border-color: var(--teal);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background: var(--teal);
  border-color: var(--teal);
}

.checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
  margin-bottom: 2px;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-text a {
  color: var(--teal);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.checkbox-text a:hover {
  opacity: 0.8;
}

.checkbox-label input[type="checkbox"].error ~ .checkmark {
  border-color: #ff5c5c;
  box-shadow: 0 0 0 2px rgba(255, 92, 92, 0.2);
}

/* ─── FOOTER ─── */
.footer { border-top:1px solid var(--border); transition:border-color .35s; }

.footer-top {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:clamp(24px,4vw,48px); padding:clamp(28px,4vw,52px) clamp(16px,3.5vw,40px);
}

.footer-brand p {
  font-size:.8rem; color:var(--body); line-height:1.72;
  margin-top:14px; max-width:240px; font-weight:300;
}

.footer-social { display:flex; gap:10px; margin-top:20px; }
.footer-social a {
  width:32px; height:32px;
  background:var(--surf); border:1px solid var(--border-md);
  border-radius:6px; display:flex; align-items:center; justify-content:center;
  font-size:.75rem; font-weight:600; color:var(--muted);
  transition:background .2s,color .2s,border-color .2s;
}
.footer-social a:hover { background:var(--lift); color:var(--h1); border-color:var(--border-md); }

.footer-col h4 {
  font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--body); font-weight:500; margin-bottom:16px;
}
.footer-col ul { display:flex; flex-direction:column; gap:10px; }
.footer-col a { font-size:.8rem; color:var(--muted); transition:color .2s; }
.footer-col a:hover { color:var(--teal); }

.footer-bottom {
  padding:clamp(16px,2vw,22px) clamp(16px,3.5vw,40px);
  border-top:1px solid var(--border);
  display:flex; justify-content:space-between;
  font-size:.72rem; color:var(--muted);
  transition:border-color .35s;
}
.mono { font-size:.68rem; letter-spacing:.06em; }

/* ─── VIEW TRANSITION ─── */
.no-transition *,
.no-transition *::before,
.no-transition *::after {
  transition-duration:0s !important;
  transition-delay:0s !important;
}
::view-transition-old(root),
::view-transition-new(root) { animation:none; mix-blend-mode:normal; }
::view-transition-new(root) { z-index:1; }
::view-transition-old(root) { z-index:-1; }

/* ─── RESPONSIVE ─── */
@media (max-width:900px) {
  .nav-links { display:none; }
  .nav .nav-cta { display:none; }
  .nav-burger { display:flex; }
  .nav { grid-template-columns: 1fr auto; }
  .nav > div:last-child { justify-self: end; }

  .hero-stats { grid-template-columns:1fr 1fr; }
  .stat-item:nth-child(2) { border-right:none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top:1px solid var(--border); }

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

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

  .techgrid { grid-template-columns:repeat(2,1fr); }

  .process-steps { grid-template-columns:1fr 1fr; }
  .process-step:nth-child(2) { border-right:none; }
  .process-step:nth-child(3),
  .process-step:nth-child(4) { border-top:1px solid var(--border); }

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

  .footer-top { grid-template-columns:1fr 1fr; }
  .footer-bottom { flex-direction:column; gap:6px; }
}

@media (max-width:600px) {
  .hero-stats { grid-template-columns:1fr 1fr; }
  .services-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .process-steps { grid-template-columns:1fr; }
  .process-step { border-right:none; }
  .process-step + .process-step { border-top:1px solid var(--border); }
}
