/* =====================================================
   NAVRIVON — Premium Agency CSS
   Fonts: Syne (headings) + DM Sans (body)
   Theme: Deep space dark, warm gold accent (#F5A832)
   matching the Navrivon logo mark
   ===================================================== */

/* === VARIABLES === */
:root {
  --bg: #080808;
  --bg2: #0d0d0d;
  --bg3: #111111;
  --surface: #141414;
  --surface2: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);

  --accent: #F5A832;
  --accent2: #f7bc60;
  --accent-glow: rgba(245,168,50,0.15);
  --accent-dim: rgba(245,168,50,0.08);

  --text: #e8e8e0;
  --text-muted: #888877;
  --text-dim: #505044;
  --white: #ffffff;

  --gold: #F5A832;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 72px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 80px); }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* === SECTION SHARED === */
section { padding: clamp(80px, 10vw, 140px) 0; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- SECTION IN-VIEW ---- */
section { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
section.in-view { opacity: 1; transform: none; }
#hero { opacity: 1; transform: none; } /* hero always visible */

/* =====================================================
   PAGE LOADER
   ===================================================== */
#page-loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease-out);
}
#page-loader.out { opacity: 0; pointer-events: none; }

.loader-inner {
  position: relative;
  width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.loader-ring {
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================
   NAVBAR
   ===================================================== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
/* === LOGO WRAP — crops the black padding in the PNG === */
/* The PNG is 500x500 but the mark sits in the center ~40% */
.brand-logo-wrap {
  width: 32px;
  height: 32px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.brand-logo-wrap .brand-logo-img {
  /* Scale up so the mark fills the wrapper, offsetting the padding */
  width: 90px;
  height: 90px;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: none;
}
.footer-logo-wrap {
  width: 40px;
  height: 40px;
}
.footer-logo-wrap .brand-logo-img {
  width: 112px;
  height: 112px;
}
.loader-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: absolute;
}
.brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--white);
  /* Kill any inherited highlight color */
  background: none !important;
  -webkit-text-fill-color: var(--white) !important;
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
  flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  background: #F5A832 !important;
  color: #0a0a0a !important;
  border-radius: 100px;
  font-size: 13px; font-weight: 700;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #f7bc60 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245,168,50,0.35);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px; padding: 4px 0;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-7.5px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 840px;
  padding: 0 clamp(20px, 5vw, 60px);
  margin: 0 auto;
  width: 100%;
  animation: heroIn 1s var(--ease-out) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  color: var(--accent2);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  font-family: 'Syne', sans-serif;
  animation: heroIn 1s var(--ease-out) 0.1s both;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px var(--accent); }
  50% { box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow); }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 28px;
  min-height: 1em;
  animation: heroIn 1s var(--ease-out) 0.15s both;
}

.hero-body {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
  animation: heroIn 1s var(--ease-out) 0.25s both;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: heroIn 1s var(--ease-out) 0.35s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  background: var(--accent);
  color: #0a0a0a;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.25s var(--spring), box-shadow 0.2s;
}
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(245,168,50,0.35); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 15px 30px;
  border: 1px solid var(--border2);
  color: var(--text);
  border-radius: 100px;
  font-size: 15px; font-weight: 500;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: clamp(24px, 5vw, 60px); flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: heroIn 1s var(--ease-out) 0.45s both;
}
.hstat { display: flex; flex-direction: column; gap: 4px; }
.hstat-val {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hstat-label {
  font-size: 12px; font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-hint {
  position: absolute;
  right: clamp(20px, 5vw, 60px);
  bottom: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.4;
  animation: heroIn 1s var(--ease-out) 0.8s both;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-hint span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; writing-mode: vertical-rl; }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* =====================================================
   MARQUEE STRIP
   ===================================================== */
.marquee-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.marquee-track .sep { color: var(--accent); font-size: 8px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   SERVICES
   ===================================================== */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border);
}

.service-card {
  background: var(--bg2);
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.3s var(--spring);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--accent-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover { background: var(--bg3); }
.service-card:hover::before { opacity: 1; }

.sc-icon {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1;
  transition: transform 0.3s var(--spring);
}
.service-card:hover .sc-icon { transform: scale(1.15) rotate(-5deg); }

.sc-num {
  position: absolute; top: 24px; right: 28px;
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.sc-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.sc-tagline {
  font-size: 13px; font-weight: 500;
  color: var(--accent2);
  margin-bottom: 18px;
  font-style: italic;
}
.sc-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}
.sc-points {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.sc-points li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.sc-points li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 12px;
}

.sc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--accent2);
  cursor: pointer;
  transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}
.sc-cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.sc-cta:hover { color: var(--white); gap: 12px; }
.sc-cta:hover svg { transform: translateX(3px); }

/* =====================================================
   PROCESS
   ===================================================== */
#process { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), var(--accent-glow), transparent);
}

.process-step {
  padding: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 28px);
  text-align: center;
  position: relative;
}
.ps-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  background: var(--bg3);
  border: 1px solid var(--border2);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  position: relative; z-index: 1;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.process-step:hover .ps-number {
  background: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(245,168,50,0.4);
}

.ps-line { display: none; }

.ps-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.ps-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
#testimonials { background: var(--bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  transition: border-color 0.3s, transform 0.3s var(--spring), box-shadow 0.3s;
  display: flex; flex-direction: column; gap: 20px;
}
.tcard:hover {
  border-color: var(--border2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.tcard-stars {
  color: var(--gold);
  font-size: 14px; letter-spacing: 2px;
}
.tcard-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.tcard-author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.tcard-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, #a06010 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.tcard-name {
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--white);
}
.tcard-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* =====================================================
   TEAM
   ===================================================== */
#team { background: var(--bg2); border-top: 1px solid var(--border); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--spring), box-shadow 0.3s;
}
.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(245,168,50,0.10);
}

.tm-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--accent) 0%, #a06010 100%);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  transition: transform 0.3s var(--spring);
}
.team-card:hover .tm-avatar { transform: scale(1.08) rotate(3deg); }

.tm-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.tm-role {
  font-size: 13px; font-weight: 500;
  color: var(--accent2);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tm-bio {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   FAQ
   ===================================================== */
#faq { background: var(--bg); }

.faq-container { max-width: 760px; }

.faq-list { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border2); }

.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  text-align: left;
  transition: background 0.2s;
  cursor: pointer;
}
.faq-q:hover { background: var(--surface2); }
.faq-q span {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--white);
}
.faq-icon {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--surface2);
}

/* =====================================================
   CONTACT
   ===================================================== */
#contact { background: var(--bg2); border-top: 1px solid var(--border); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.contact-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 380px;
}

.contact-details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.cd-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s;
}
.cd-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.cd-item:hover { color: var(--accent); }

.contact-social { display: flex; gap: 12px; }
.contact-social a {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--spring);
}
.contact-social a svg { width: 18px; height: 18px; color: var(--text-muted); transition: color 0.2s; }
.contact-social a:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
}
.contact-social a:hover svg { color: var(--accent2); }

/* FORM */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 48px);
  display: flex; flex-direction: column; gap: 20px;
}

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

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Syne', sans-serif;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%238888aa' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px;
  background: var(--accent);
  color: #0a0a0a;
  border-radius: var(--radius-md);
  font-family: 'Syne', sans-serif;
  font-size: 15px; font-weight: 700;
  transition: background 0.2s, transform 0.25s var(--spring), box-shadow 0.2s;
  cursor: pointer;
  width: 100%;
}
.form-submit svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-submit:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245,168,50,0.35);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-copy { font-size: 12px; color: var(--text-dim); margin-top: 20px; }

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent2); }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  z-index: 9000;
  opacity: 0;
  transition: transform 0.4s var(--spring), opacity 0.4s;
  white-space: nowrap;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(8,8,16,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    z-index: 190;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 24px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links-group { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .hero-content { padding: 0 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .scroll-hint { display: none; }
}

/* =====================================================
   UTILITY ANIMATIONS
   ===================================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Subtle background grid on services section */
#services {
  background-image:
    linear-gradient(rgba(245,168,50,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,168,50,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Glow line accent on process */
#process::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  margin-top: 0;
}

/* Selection */
::selection { background: var(--accent); color: var(--white); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }