/* ==========================================================
   AUTOTECH.MD — MINIMALIST DESIGN SYSTEM
   Color: White + Cyan #3BB8E0 + Dark #0A0A0A
   Font: Inter
   ========================================================== */

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

/* --- TOKENS --- */
:root {
  --brand: #3BB8E0;
  --brand-dark: #2A9BC4;
  --brand-glow: rgba(59, 184, 224, 0.15);
  --brand-glow2: rgba(59, 184, 224, 0.08);
  --dark: #0A0A0A;
  --dark-2: #111111;
  --dark-3: #181818;
  --dark-card: #141414;
  --gray-1: #1A1A1A;
  --gray-2: #2A2A2A;
  --gray-3: #888;
  --white: #FFFFFF;
  --white-dim: rgba(255,255,255,0.5);
  --white-dim2: rgba(255,255,255,0.3);
  --green: #34D399;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --radius-pill: 100px;
  --font: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

*, *::before, *::after { max-width: 100vw; }

::selection { background: var(--brand); color: var(--dark); }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }


/* ======================== NAV ======================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all 0.4s var(--ease);
}
nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--brand);
  color: var(--dark) !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  font-size: 12px !important;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav-phone { display: flex; align-items: center; gap: 8px; }
.nav-phone-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.nav-phone-text { font-size: 14px; font-weight: 600; color: var(--white); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: #fff; margin: 4px 0; transition: 0.3s; }


/* ======================== HERO ======================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  max-width: 100vw;
  background: radial-gradient(ellipse, var(--brand-glow2) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 32px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero-title .brand-text { color: var(--brand); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--white-dim);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}


/* ======================== CAR SELECTOR ======================== */
.selector-box{
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}
.selector-box::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,184,224,0.15), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.selector-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 16px;
  text-align: left;
}
.selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.selector-grid select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gray-2);
  background: var(--gray-1);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.3s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23888' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.selector-grid select:focus { outline: none; border-color: var(--brand); }
.selector-grid select:disabled { opacity: 0.35; cursor: not-allowed; }
.selector-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: var(--radius-xs);
  background: var(--brand);
  color: var(--dark);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.selector-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }


/* ======================== RESULTS PANEL ======================== */
.results-panel {
  display: none;
  margin-top: 24px;
  animation: fadeUp 0.5s var(--ease);
}
.results-panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Info bar */
.result-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.result-info-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.result-car-name { font-size: 0.95rem; font-weight: 700; }
.result-car-engine, .result-car-gen { font-size: 0.85rem; color: var(--gray-3); }
.result-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gray-3);
  flex-shrink: 0;
}
.result-fuel-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green);
  color: var(--green);
  white-space: nowrap;
}
.result-fuel-badge.diesel { color: #60A5FA; border-color: #60A5FA; }

.result-ecu {
  font-size: 12px;
  color: var(--gray-3);
  padding: 8px 20px;
  font-family: monospace;
  letter-spacing: 0.3px;
}

/* Table */
.result-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 8px;
}
.result-table-header {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  background: var(--gray-1);
}
.result-table-header .rt-col {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-3);
  text-align: center;
}
.result-table-header .rt-label { padding: 12px 16px; }
.result-table-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
}
.result-table-row .rt-label {
  padding: 20px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  display: flex;
  align-items: center;
  background: var(--gray-1);
}
.rt-cell {
  padding: 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.rt-val {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.rt-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-3);
  align-self: flex-end;
  padding-bottom: 2px;
}
.rt-tuned .rt-val { color: var(--brand); }
.rt-gain .rt-val { color: #ef4444; font-weight: 800; }

.result-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.result-extra-tag {
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--white-dim);
}
.result-cta { margin-top: 20px; display: flex; gap: 10px; }
.result-cta .btn-primary {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-xs);
  background: var(--brand);
  color: var(--dark);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}
.result-cta .btn-primary:hover { background: var(--brand-dark); }
.result-cta .btn-outline {
  flex: 1;
  padding: 14px 24px;
  border: 1px solid var(--gray-2);
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s;
}
.result-cta .btn-outline:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 767px) {
  .result-table-header,
  .result-table-row { grid-template-columns: 60px 1fr 1fr 1fr; }
  .rt-val { font-size: 1.1rem; }
  .rt-unit { font-size: 0.65rem; }
  .rt-cell { padding: 10px 6px; }
  .result-table-header .rt-col { font-size: 9px; padding: 8px 6px; }
  .result-table-row .rt-label { font-size: 10px; padding: 10px 8px; }
  .result-info-bar { flex-direction: column; align-items: flex-start; padding: 12px 14px; }
  .result-car-name { font-size: 0.85rem; }
  .result-ecu { font-size: 11px; padding: 6px 14px; word-break: break-all; }
  .selector-box{ padding: 20px 16px; }
}


/* ======================== STATS ======================== */
.stats {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-3);
}


/* ======================== SECTIONS ======================== */
.section { padding: 100px 0; overflow: hidden; }
.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--gray-3);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 56px;
}
.centered .section-tag,
.centered .section-title,
.centered .section-sub { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }


/* ======================== STEPS ======================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.4s var(--ease);
}
.step-card:hover {
  border-color: rgba(59,184,224,0.2);
  transform: translateY(-4px);
}
.step-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--gray-2);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.3s;
}
.step-card:hover .step-num { color: var(--brand); }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-text { font-size: 0.85rem; color: var(--gray-3); line-height: 1.6; }


/* ======================== SERVICES ======================== */
.services { background: var(--dark-2); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.srv-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
}
.srv-card:hover {
  border-color: rgba(59,184,224,0.15);
  transform: translateY(-2px);
}
.srv-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.srv-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.srv-text { font-size: 0.85rem; color: var(--gray-3); line-height: 1.6; margin-bottom: 16px; }
.srv-link {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand);
  transition: opacity 0.3s;
}
.srv-link:hover { opacity: 0.7; }


/* ======================== BRANDS ======================== */
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.brand-chip {
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-3);
  transition: all 0.3s var(--ease);
  cursor: default;
}
.brand-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(59,184,224,0.05);
}


/* ======================== CLIENTS ======================== */
.clients-section { overflow: hidden; }
.clients-marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.clients-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  gap: 32px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients-track > .client-logo {
  flex: 0 0 auto;
  background: var(--gray-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  min-width: 180px;
  transition: border-color 0.3s;
}
.client-logo:hover {
  border-color: rgba(59,184,224,0.25);
}
.client-logo img {
  max-width: 140px;
  max-height: 45px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.7;
  transition: all 0.3s;
}
.client-logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}
.client-text span {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  transition: color 0.3s;
}
.client-text:hover span { color: var(--brand); }


/* ======================== TESTIMONIALS ======================== */
.testimonials { background: var(--dark-2); }
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.test-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s var(--ease);
}
.test-card:hover { border-color: rgba(59,184,224,0.15); }
.test-stars { color: #FFB800; font-size: 14px; letter-spacing: 2px; margin-bottom: 16px; }
.test-quote {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.test-name { font-weight: 600; font-size: 0.9rem; }
.test-vehicle { font-size: 0.8rem; color: var(--gray-3); }


/* ======================== CTA ======================== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.cta-section {
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p { color: var(--gray-3); margin-bottom: 36px; font-size: 1.05rem; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: var(--dark);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14px;
  transition: all 0.3s var(--ease);
}
.btn-main:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gray-2); color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px;
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }


/* ======================== FOOTER ======================== */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { font-size: 0.85rem; color: var(--gray-3); line-height: 1.7; margin-top: 16px; }
footer h5 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--white-dim); margin-bottom: 20px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { font-size: 0.85rem; color: var(--gray-3); transition: color 0.3s; }
footer ul a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--gray-3);
}


/* ======================== FLOATING ======================== */
.floating {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 99;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s;
  position: relative;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: #25D366; }
.float-viber { background: #7360F2; }
.float-phone { background: var(--brand); }
.float-tip {
  position: absolute; right: 62px;
  background: var(--dark-3); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-xs);
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  opacity: 0; transform: translateX(8px);
  transition: all 0.3s; pointer-events: none;
}
.float-btn:hover .float-tip { opacity: 1; transform: translateX(0); }


/* ======================== MAP ======================== */
.map-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.map-wrapper iframe {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  filter: grayscale(0.3) brightness(0.8);
  transition: filter 0.3s;
}
.map-wrapper iframe:hover {
  filter: grayscale(0) brightness(1);
}


/* ======================== ORDER MODAL ======================== */
.order-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.order-modal.active { display: flex; }
.order-modal-content {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: fadeUp 0.3s var(--ease);
}
.order-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--gray-3);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.order-modal-close:hover { color: var(--white); }
.order-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.order-field {
  margin-bottom: 16px;
}
.order-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-3);
  margin-bottom: 6px;
}
.order-field input,
.order-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gray-2);
  background: var(--gray-1);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.3s;
  resize: vertical;
}
.order-field input:focus,
.order-field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.order-field input[readonly] {
  opacity: 0.7;
  cursor: default;
}
.modal-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-xs);
  background: var(--brand);
  color: var(--dark);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 8px;
}
.modal-submit-btn:hover { background: var(--brand-dark); }
.modal-submit-btn:disabled { opacity: 0.6; cursor: wait; }
.order-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  text-align: center;
}
.order-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}
.order-success h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.order-success p {
  color: var(--gray-3);
  font-size: 0.9rem;
}


/* ======================== SCROLL REVEAL ======================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }


/* ======================== RESPONSIVE ======================== */
@media (max-width: 991px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .hamburger { display: block; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
}

@media (max-width: 767px) {
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-title { font-size: 2rem; letter-spacing: -1px; }
  .selector-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .services-grid, .test-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .result-cta { flex-direction: column; }
  .cta-section h2 { font-size: 1.8rem; }
  .floating { bottom: 16px; right: 16px; }
}


