/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

:root {
  /* Colors */
  --bg: #0a0a0f;
  --bg-soft: #0e0e16;
  --surface: #14141c;
  --surface-2: #1b1b26;
  --border: #26262f;
  --text: #f5f5f7;
  --text-muted: #9a9ab0;
  --text-dim: #6b6b80;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4338ca;
  --accent: #22d3ee;
  --accent-2: #a855f7;
  --success: #10b981;
  --danger: #ef4444;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #22d3ee 100%);
  --gradient-text: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #22d3ee 100%);

  /* Spacing scale (4/8pt) */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* Radius */
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-full: 999px;

  /* Shadows */
  --shadow-md: 0 8px 30px -10px rgba(0,0,0,.5);
  --shadow-glow: 0 0 60px -10px rgba(99,102,241,.35);

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: 180ms; --dur-base: 280ms; --dur-slow: 450ms;

  --container: 1180px;
}

html, body { background: var(--bg); color: var(--text); }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
section { padding: var(--space-9) 0; position: relative; }
.section-tight { padding: var(--space-7) 0; }

:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.25);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); margin-bottom: var(--space-4);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section-head { max-width: 640px; margin: 0 auto var(--space-8); text-align: center; }
.section-head p { margin-top: var(--space-3); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 13px 26px; border-radius: var(--radius-full); font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 70px -8px rgba(99,102,241,.5); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: var(--primary-light); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: var(--space-5) 0; transition: padding var(--dur-base) var(--ease-out), background var(--dur-base), border-color var(--dur-base);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: var(--space-3) 0; background: rgba(10,10,15,.78); backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: var(--space-2); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--text-muted); position: relative; padding: 4px 0;
  transition: color var(--dur-fast);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gradient-primary);
  transition: width var(--dur-base) var(--ease-out); border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--space-4); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); padding: var(--space-2); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 340px);
    background: var(--bg-soft); border-left: 1px solid var(--border); flex-direction: column;
    justify-content: center; gap: var(--space-7); transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out); padding: var(--space-7);
  }
  .nav-links.open { transform: translateX(0); box-shadow: -20px 0 60px -20px rgba(0,0,0,.6); }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: inline-flex; z-index: 1100; }
  .nav-cta-desktop { display: none; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none;
    transition: opacity var(--dur-base); z-index: 999; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
}

/* ===== Hero ===== */
.hero { padding: calc(var(--space-9) + 60px) 0 var(--space-9); overflow: hidden; position: relative; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
  animation: float-blob 14s ease-in-out infinite;
}
.blob-1 { width: 460px; height: 460px; background: var(--primary); top: -160px; left: -120px; }
.blob-2 { width: 380px; height: 380px; background: var(--accent-2); top: 60px; right: -140px; animation-delay: -4s; }
.blob-3 { width: 320px; height: 320px; background: var(--accent); bottom: -160px; left: 35%; animation-delay: -8s; }
@keyframes float-blob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,20px) scale(.95); }
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-8); align-items: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero-lead { font-size: 1.15rem; max-width: 520px; margin-bottom: var(--space-6); }
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-7); }
.hero-trust { display: flex; align-items: center; gap: var(--space-5); color: var(--text-dim); font-size: .85rem; flex-wrap: wrap; }
.hero-trust strong { color: var(--text); }

.hero-visual { position: relative; height: 460px; }
.float-card {
  position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-md); animation: float-card 6s ease-in-out infinite;
}
.float-card svg { width: 22px; height: 22px; color: var(--primary-light); }
.fc-1 { top: 0; left: 10%; width: 220px; animation-delay: 0s; }
.fc-2 { top: 38%; right: 0; width: 200px; animation-delay: -2s; }
.fc-3 { bottom: 0; left: 0; width: 240px; animation-delay: -4s; }
.float-card .fc-title { font-weight: 700; font-size: .95rem; margin-top: var(--space-3); }
.float-card .fc-sub { font-size: .8rem; color: var(--text-dim); margin-top: 2px; }
.fc-icon { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(99,102,241,.12); display: flex; align-items: center; justify-content: center; }
@keyframes float-card { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-center-orb {
  position: absolute; inset: 0; margin: auto; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(99,102,241,.5), transparent 70%);
  filter: blur(10px);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; margin-top: var(--space-6); }
}

/* ===== Logo / tech strip ===== */
.strip { padding: var(--space-6) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip-label { text-align: center; font-size: .8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--space-5); }
.strip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-7); align-items: center; }
.strip-item { display: flex; align-items: center; gap: var(--space-2); color: var(--text-dim); font-weight: 600; font-size: .95rem; transition: color var(--dur-base); }
.strip-item:hover { color: var(--text); }
.strip-item svg { width: 22px; height: 22px; }

/* ===== Cards: services ===== */
.grid { display: grid; gap: var(--space-5); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--space-6); transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), box-shadow var(--dur-base);
}
.card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,.4); box-shadow: var(--shadow-md); }
.service-card .icon-box {
  width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5);
}
.icon-box svg { width: 26px; height: 26px; color: #fff; }
.service-card h3 { margin-bottom: var(--space-3); }
.service-card ul { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.service-card li { display: flex; gap: var(--space-2); font-size: .88rem; color: var(--text-muted); align-items: flex-start; }
.service-card li svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-5); font-weight: 600; font-size: .9rem; color: var(--primary-light); }
.card-link svg { width: 16px; height: 16px; transition: transform var(--dur-fast); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ===== Stats ===== */
.stats-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-7); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6); text-align: center; }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-dim); font-size: .9rem; margin-top: var(--space-2); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stats-grid-compact { grid-template-columns: repeat(2,1fr) !important; }

/* ===== Process / timeline ===== */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); position: relative; }
.process-step { text-align: center; position: relative; padding: var(--space-4); }
.process-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4); font-weight: 800; font-size: 1.1rem;
  color: var(--primary-light); position: relative; z-index: 1;
}
.process-step h4 { font-size: 1rem; margin-bottom: var(--space-2); }
.process-step p { font-size: .85rem; }
.process-line { position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: var(--border); z-index: 0; }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2,1fr); } .process-line { display: none; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== Testimonials ===== */
.testimonial-card { display: flex; flex-direction: column; height: 100%; }
.stars { display: flex; gap: 3px; margin-bottom: var(--space-4); }
.stars svg { width: 16px; height: 16px; color: #facc15; }
.testimonial-text { color: var(--text); font-size: .98rem; flex: 1; margin-bottom: var(--space-5); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: .9rem; }
.author-name { font-weight: 700; font-size: .9rem; }
.author-role { font-size: .8rem; color: var(--text-dim); }

/* ===== CTA banner ===== */
.cta-banner {
  background: var(--gradient-primary); border-radius: var(--radius-lg); padding: var(--space-8);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 520px; margin: 0 auto var(--space-6); }
.cta-banner .btn-ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-white { background: #fff; color: var(--primary-dark); box-shadow: 0 8px 30px -10px rgba(0,0,0,.4); }
.btn-white:hover { transform: translateY(-2px) scale(1.02); }
.cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--border); padding: var(--space-8) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-7); margin-bottom: var(--space-7); }
.footer-brand p { margin-top: var(--space-4); font-size: .9rem; max-width: 300px; }
.footer-col h5 { font-size: .9rem; margin-bottom: var(--space-4); color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a { font-size: .9rem; color: var(--text-muted); transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--primary-light); }
.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.social-icon {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); display: flex;
  align-items: center; justify-content: center; transition: all var(--dur-base);
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { background: var(--gradient-primary); border-color: transparent; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: var(--space-5); font-size: .82rem; color: var(--text-dim); flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Page header (sub pages) ===== */
.page-header { padding: calc(var(--space-9) + 50px) 0 var(--space-8); text-align: center; position: relative; overflow: hidden; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: .85rem; color: var(--text-dim); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb svg { width: 14px; height: 14px; }
.page-header p { max-width: 600px; margin: var(--space-4) auto 0; font-size: 1.05rem; }

/* ===== Service detail rows ===== */
.service-detail { display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: flex-start; padding: var(--space-7) 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail .icon-box { width: 64px; height: 64px; margin-bottom: 0; }
.service-detail .icon-box svg { width: 30px; height: 30px; }
.service-detail h3 { margin-bottom: var(--space-3); font-size: 1.5rem; }
.detail-features { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--space-3) var(--space-6); margin-top: var(--space-5); }
.detail-features li { display: flex; gap: var(--space-2); font-size: .92rem; color: var(--text-muted); align-items: flex-start; }
.detail-features li svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.detail-tech { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-5); }
.detail-tech span { font-size: .78rem; padding: 5px 12px; border-radius: var(--radius-full); background: var(--surface-2); border: 1px solid var(--border); color: var(--text-dim); }
@media (max-width: 760px) { .service-detail { grid-template-columns: 1fr; } .detail-features { grid-template-columns: 1fr; } }

/* ===== Pricing ===== */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-glow); transform: scale(1.03); }
.price-badge { position: absolute; top: -14px; right: var(--space-5); background: var(--gradient-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 14px; border-radius: var(--radius-full); }
.price-tier { font-weight: 700; font-size: 1.1rem; margin-bottom: var(--space-2); }
.price-amount { font-size: 2.2rem; font-weight: 800; margin-bottom: var(--space-1); }
.price-amount span { font-size: .95rem; color: var(--text-dim); font-weight: 500; }
.price-desc { font-size: .88rem; margin-bottom: var(--space-5); }
.price-card ul { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); flex: 1; }
.price-card li { display: flex; gap: var(--space-2); font-size: .9rem; align-items: flex-start; }
.price-card li svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 980px) { .price-card.featured { transform: none; } }

/* ===== Portfolio ===== */
.filter-row { display: flex; justify-content: center; gap: var(--space-3); margin-bottom: var(--space-7); flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px; border-radius: var(--radius-full); border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); font-weight: 600; font-size: .88rem; transition: all var(--dur-base);
}
.filter-btn:hover { color: var(--text); border-color: var(--primary-light); }
.filter-btn.active { background: var(--gradient-primary); color: #fff; border-color: transparent; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 980px) { .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-item { transition: opacity var(--dur-base), transform var(--dur-base); }
.portfolio-item.hidden { display: none; }
.case-card { overflow: hidden; padding: 0; }
.case-thumb {
  height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.case-thumb::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.18), transparent 60%); }
.case-thumb svg { width: 64px; height: 64px; color: rgba(255,255,255,.85); position: relative; z-index: 1; }
.case-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.case-card:hover .case-thumb img { transform: scale(1.05); }
.thumb-1 { background: linear-gradient(135deg,#6366f1,#312e81); }
.thumb-2 { background: linear-gradient(135deg,#22d3ee,#0e7490); }
.thumb-3 { background: linear-gradient(135deg,#a855f7,#581c87); }
.thumb-4 { background: linear-gradient(135deg,#10b981,#065f46); }
.thumb-5 { background: linear-gradient(135deg,#f472b6,#831843); }
.thumb-6 { background: linear-gradient(135deg,#f59e0b,#92400e); }
.case-body { padding: var(--space-5); }
.case-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-bottom: var(--space-2); display: block; }
.case-body h3 { margin-bottom: var(--space-2); font-size: 1.1rem; }
.case-body p { font-size: .88rem; }
.case-tags { display: flex; gap: var(--space-2); margin-top: var(--space-4); flex-wrap: wrap; }
.case-tags span { font-size: .75rem; padding: 3px 10px; border-radius: var(--radius-full); background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }

/* ===== Team ===== */
.team-card { text-align: center; }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto var(--space-4); background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.6rem; color: #fff; }
.team-card h4 { margin-bottom: 2px; }
.team-role { color: var(--primary-light); font-size: .85rem; font-weight: 600; margin-bottom: var(--space-3); }

/* ===== Values / about ===== */
.value-row { display: flex; gap: var(--space-5); }
.value-row .icon-box { flex-shrink: 0; width: 48px; height: 48px; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: var(--space-4); background: var(--surface); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; padding: var(--space-5); background: none; border: none; color: var(--text); font-weight: 600; text-align: left; font-size: 1rem; }
.faq-q svg { width: 20px; height: 20px; color: var(--text-dim); flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--primary-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-a-inner { padding: 0 var(--space-5) var(--space-5); font-size: .92rem; }

/* ===== Forms ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-7); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: var(--space-2); }
.field .required { color: var(--accent-2); }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--text); font-size: .95rem; transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(99,102,241,.18); outline: none; }
.field-hint { font-size: .78rem; color: var(--text-dim); margin-top: var(--space-2); }
.field-error { font-size: .8rem; color: var(--danger); margin-top: var(--space-2); display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.form-status { margin-top: var(--space-4); font-size: .9rem; padding: var(--space-4); border-radius: var(--radius-sm); display: none; align-items: center; gap: var(--space-2); }
.form-status.success { display: flex; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; }
.field-checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: .85rem; color: var(--text-muted); }
.field-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }

.contact-info-card { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5) 0; border-bottom: 1px solid var(--border); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon-box { width: 46px; height: 46px; flex-shrink: 0; margin-bottom: 0; }
.contact-info-card h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-card p, .contact-info-card a { font-size: .9rem; }
.contact-info-card a:hover { color: var(--primary-light); }

/* ===== AOS-like reveal fallback ===== */
[data-aos] { will-change: transform, opacity; }

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-primary); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all var(--dur-base) var(--ease-out); z-index: 900; border: none;
}
.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top svg { width: 20px; height: 20px; color: #fff; }

/* ===== Counter ===== */
.fade-in-up { animation: fadeInUp .6s var(--ease-out) both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
