@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:ital,wght@0,500;0,600;0,700;0,800;1,600;1,700&display=swap');

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

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --card: #13131e;
  --text: #f1f1f5;
  --muted: #a0a3b8;
  --border: rgba(255,255,255,0.05);
  --blue: #3b82f6;
  --blue-dim: rgba(59,130,246,0.08);
  --blue-border: rgba(59,130,246,0.2);
  --font-display: 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-serif: 'Inter', sans-serif;
}

.light {
  --bg: #f8f9fc;
  --bg2: #f0f1f8;
  --card: #ffffff;
  --text: #0d0d14;
  --muted: #4f556c;
  --border: rgba(0,0,0,0.06);
  --blue: #2563eb;
  --blue-dim: rgba(37,99,235,0.06);
  --blue-border: rgba(37,99,235,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* GRAIN */
body::after {
  content: '';
  position: fixed;
  inset: -200%;
  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='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
  animation: grain 2.4s steps(2) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)}
  10%{transform:translate(-2%,-3%)}
  30%{transform:translate(3%,2%)}
  50%{transform:translate(-1%,4%)}
  70%{transform:translate(4%,-1%)}
  90%{transform:translate(-3%,1%)}
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* LOADER — adapts to theme */
#loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: transform 0.45s cubic-bezier(0.76,0,0.24,1);
}
#loader.hide { transform: translateY(-100%); }
#loader-name {
  display: flex; gap: 2px; margin-bottom: 20px;
}
#loader-name span {
  font-family: var(--font-display);
  font-size: clamp(3rem,10vw,7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  animation: letterIn 0.4s ease forwards;
}
@keyframes letterIn { to { opacity:1; transform:translateY(0); } }
#loader-sub {
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 32px;
}
#loader-bar-wrap {
  width: 140px; height: 1px; background: var(--border); border-radius: 999px; overflow: hidden;
}
#loader-bar {
  height: 100%; width: 0%; background: var(--blue); border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.light nav.scrolled { background: rgba(248,249,252,0.9); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 4px;
  font-weight: 800;
  color: var(--text); text-decoration: none;
  transition: color 0.3s;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  color: var(--muted); text-decoration: none;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--blue);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* THEME BUTTON — text label style */
.theme-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.theme-btn:hover { border-color: var(--blue); color: var(--blue); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 999px;
  border: 1px solid var(--blue-border);
  color: var(--text); text-decoration: none;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 700;
  transition: background 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: var(--blue-dim); border-color: var(--blue); }
.hamburger {
  display: none; background: none; border: none;
  color: var(--muted); padding: 4px; cursor: pointer;
}
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(10,10,15,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; gap: 20px; padding: 24px;
}
.light .mobile-menu { background: rgba(248,249,252,0.97); }
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--blue); }

/* SECTIONS */
section { padding: 120px 48px; position: relative; }
.container { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700;
  color: var(--blue); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(3rem,7vw,6rem);
  line-height: 1.02; letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--text); margin-bottom: 48px;
  text-align: center;
}
.section-title em {
  font-family: var(--font-serif);
  color: var(--blue); font-style: italic;
  font-weight: 700;
}
.divider { height: 1px; background: var(--border); margin: 0 48px; }

/* HERO */
#hero {
  min-height: 70vh;
  padding-bottom: 1000px;
  display: flex; align-items: center; justify-content: center;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.6s ease;
}
#hero-canvas.faded {
  opacity: 0;
  pointer-events: none;
}
.hero-inner { width: 100%; position: relative; z-index: 1; }
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 40px;
}
.hero-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(56px);
}
.hero-blob-1 {
  top: 25%; left: 25%; width: 384px; height: 384px;
  background: rgba(59,130,246,0.06);
}
.hero-blob-2 {
  bottom: 25%; right: 25%; width: 288px; height: 288px;
  background: rgba(59,130,246,0.04);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--blue-border);
  background: var(--blue-dim);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  color: var(--blue); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.6s ease 0.3s forwards;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.6s ease 0.5s forwards;
  justify-content: center;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 13px; letter-spacing: 0.02em; font-weight: 700; text-decoration: none;
  box-shadow: 0 0 18px rgba(59,130,246,0.5), 0 0 50px rgba(59,130,246,0.18);
  transition: background 0.3s, transform 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.1),transparent);
  transform: translateX(-100%); transition: transform 0.6s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { background: #2563eb; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
  font-size: 13px; letter-spacing: 0.02em; font-weight: 600; text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.about-photo-wrap { position: relative; }
.about-photo-glow {
  position: absolute; inset: 0; border-radius: 16px;
  background: rgba(59,130,246,0.15); filter: blur(28px);
  transform: scale(1.05); pointer-events: none;
}
.about-photo {
  position: relative; width: 100%; aspect-ratio: 3/4;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--border);
}
.about-badge-label {
  display: flex; align-items: center; justify-content: center;   color: red;
}
.location-icon {
  animation: subtleBounce 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes subtleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-2px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.about-badge-val { font-size: 13px; font-weight: 500; color: var(--text); margin-top: 2px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 24px 0; }
.about-stat-card {
  padding: 20px; border-radius: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.light .about-stat-card { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.about-stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem; letter-spacing: -0.05em; color: var(--blue); line-height: 1; font-weight: 800;
}
.about-stat-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.about-text { font-size: 16px; line-height: 1.8; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--blue);
  text-decoration: none; transition: gap 0.3s;
}
.link-arrow:hover { gap: 10px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card {
  padding: 28px; border-radius: 20px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s;
}
.light .service-card { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.service-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,0.4); }
.service-num { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.service-name {
  font-family: var(--font-display); font-size: 1.3rem;
  letter-spacing: -0.02em; font-weight: 700; color: var(--text); margin-bottom: 10px;
  transition: color 0.3s;
}
.service-card:hover .service-name { color: var(--blue); }
.service-desc { font-size: 14px; line-height: 1.75; color: var(--muted); font-weight: 400; }

/* PROCESS */
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.process-step { padding: 32px 24px; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-display); font-size: 3rem;
  letter-spacing: -0.05em; color: rgba(59,130,246,0.25); margin-bottom: 16px; font-weight: 800;
}
.process-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-desc { font-size: 14px; line-height: 1.75; color: var(--muted); }
.process-note {
  margin-top: 16px; padding: 28px; border-radius: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300;
}
.light .process-note { background: #fff; }
.process-note strong { color: var(--blue); font-weight: 500; }

/* CASE PREVIEWS */
.case-cards { display: flex; flex-direction: column; gap: 20px; }
.case-card {
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  transition: border-color 0.3s, transform 0.3s;
}
.light .case-card { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.case-card:hover { border-color: rgba(59,130,246,0.3); transform: scale(1.005); }
.case-left { padding: 40px; border-right: 1px solid var(--border); }
.case-right { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.case-tag { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.case-stat {
  font-family: var(--font-display);
  font-size: clamp(3rem,6vw,5rem); letter-spacing: -0.05em;
  color: var(--blue); line-height: 1; margin-bottom: 12px; font-weight: 800;
}
.case-title {
  font-family: var(--font-display); font-size: 1.8rem;
  letter-spacing: -0.04em; font-weight: 700; color: var(--text); margin-bottom: 12px;
}
.case-desc { font-size: 14px; line-height: 1.75; color: var(--muted); font-weight: 400; }
.results-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 700; }
.results-list { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.results-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
.results-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.view-all-wrap { text-align: center; margin-top: 24px; }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.testi-card {
  padding: 28px; border-radius: 20px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s;
}
.light .testi-card { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.testi-card:hover { transform: translateY(-4px); }
.testi-quote { font-size: 14px; line-height: 1.8; color: var(--muted); font-style: italic; font-weight: 400; margin-bottom: 20px; }
.testi-author { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-loc { font-size: 11px; letter-spacing: 1px; color: var(--muted); margin-top: 2px; }

/* CTA SECTION */
.cta-section { text-align: center; border-top: 1px solid var(--border); }
.cta-big {
  font-family: var(--font-display);
  font-size: clamp(3rem,8vw,7rem); letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--text); line-height: 1; margin-bottom: 16px;
}
.cta-big em { font-family: var(--font-serif); color: var(--blue); font-style: italic; font-weight: 700; }
.cta-sub { font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto 32px; font-weight: 400; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; letter-spacing: 1px; color: var(--muted); }
.footer-copy span { color: var(--blue); }
.footer-right { font-size: 12px; letter-spacing: 1px; color: var(--muted); }

/* PAGE HEADER */
.page-header { padding: 144px 48px 64px; border-bottom: 1px solid var(--border); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem,9vw,8rem); letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--text); line-height: 1; margin-bottom: 16px;
}
.page-title em { font-family: var(--font-serif); color: var(--blue); font-style: italic; font-weight: 700; }
.page-sub { font-size: 15px; color: var(--muted); max-width: 560px; line-height: 1.8; font-weight: 400; }

/* CASE STUDIES PAGE */
.full-cases { display: flex; flex-direction: column; gap: 24px; }
.full-case {
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.light .full-case { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.full-case-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 32px 40px; border-bottom: 1px solid var(--border);
}
.full-case-num { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.full-case-title { font-family: var(--font-display); font-size: 2rem; letter-spacing: -0.04em; font-weight: 700; color: var(--text); }
.full-case-loc { font-size: 12px; color: var(--muted); margin-top: 4px; }
.full-case-stat { text-align: right; }
.full-case-stat-val { font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4rem); letter-spacing: -0.05em; color: var(--blue); line-height: 1; font-weight: 800; }
.full-case-stat-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 700; }
.full-case-body { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.full-case-col { padding: 32px 40px; border-right: 1px solid var(--border); }
.full-case-col:last-child { border-right: none; }
.full-case-col-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.full-case-col p { font-size: 14px; line-height: 1.8; color: var(--muted); font-weight: 400; }
.full-case-results { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.full-case-results li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.full-case-results li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; margin-top: 6px; }
.cs-cta {
  margin-top: 16px; border-radius: 20px; padding: 48px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); text-align: center;
}
.light .cs-cta { background: #fff; }
.cs-cta h3 { font-family: var(--font-display); font-size: clamp(2rem,5vw,4rem); letter-spacing: -0.05em; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.cs-cta h3 em { font-family: var(--font-serif); color: var(--blue); font-style: italic; font-weight: 700; }
.cs-cta p { font-size: 15px; color: var(--muted); max-width: 400px; margin: 0 auto 24px; font-weight: 400; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  text-decoration: none; transition: border-color 0.3s, transform 0.3s;
}
.light .contact-link { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.contact-link:hover { border-color: rgba(59,130,246,0.4); transform: translateX(6px); }
.contact-link-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--blue); flex-shrink: 0;
  transition: background 0.3s;
}
.contact-link:hover .contact-link-icon { background: var(--blue-dim); }
.contact-link-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-link-val { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 2px; transition: color 0.3s; }
.contact-link:hover .contact-link-val { color: var(--blue); }
.contact-note { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 400; margin-bottom: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  outline: none; transition: border-color 0.3s, background 0.3s; width: 100%;
}
.light .form-input, .light .form-select, .light .form-textarea {
  background: #f8f9fc; border-color: #e0e0ec; color: #0d0d14;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); background: rgba(59,130,246,0.05);
}
.form-select option { background: var(--bg); color: var(--text); }
.form-textarea { resize: none; }

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; }
  #hero-canvas { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: repeat(2,1fr); }
  .full-case-body { grid-template-columns: 1fr; }
  .full-case-col { border-right: none; border-bottom: 1px solid var(--border); }
  .full-case-col:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 80px 20px; }
  .divider { margin: 0 20px; }
  .container { padding: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .case-card { grid-template-columns: 1fr; }
  .case-left { border-right: none; border-bottom: 1px solid var(--border); }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .full-case-header { flex-direction: column; gap: 16px; }
  .full-case-stat { text-align: left; }
  .page-header { padding: 120px 20px 48px; }
  .hero-tagline { font-size: clamp(2rem, 8vw, 3.5rem); }
  .theme-btn { font-size: 10px; padding: 0 10px; }
}

/* ================================================
   PAGES.CSS — Enhanced styles for case-studies & contact
   ================================================ */

/* ── CASE STUDIES PAGE HEADER ── */
.cs-page-header {
  padding: 144px 48px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cs-page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cs-header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.cs-header-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 12px;
}
.cs-header-stats {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.light .cs-header-stats {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cs-header-stat {
  text-align: center;
}
.cs-header-stat-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--blue);
  line-height: 1;
}
.cs-header-stat-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ── CASE STUDIES SECTION ── */
.cs-section {
  padding: 80px 48px 120px;
}

/* ── FULL CASE CARDS ── */
.full-case {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.light .full-case {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.full-case:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.08);
}
.light .full-case:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.1);
}

/* Colored left accent bar per case */
.full-case:nth-child(1) { border-left: 3px solid var(--blue); }
.full-case:nth-child(2) { border-left: 3px solid #8b5cf6; }
.full-case:nth-child(3) { border-left: 3px solid #10b981; }
.full-case:nth-child(4) { border-left: 3px solid #f59e0b; }
.full-case:nth-child(5) { border-left: 3px solid #ef4444; }

.full-case-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.fc-header-left { flex: 1; }
.full-case-num {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}
.full-case-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.full-case-loc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 400;
}
.full-case-loc strong { color: var(--text); font-weight: 600; }

/* Tags */
.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fc-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--blue-border);
  background: var(--blue-dim);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
}

/* Stat box */
.full-case-stat {
  text-align: right;
  flex-shrink: 0;
}
.full-case-stat-val {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3.5rem);
  letter-spacing: -0.05em;
  color: var(--blue);
  line-height: 1;
  font-weight: 800;
}
.full-case-stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 700;
}
.fc-stat-growth {
  font-size: 11px;
  color: #22c55e;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* Body columns */
.full-case-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.full-case-col {
  padding: 32px 36px;
  border-right: 1px solid var(--border);
}
.full-case-col:last-child { border-right: none; }
.full-case-col-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 700;
}
.full-case-col p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 400;
}

/* What we did — styled list */
.fc-what-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.fc-what-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  font-weight: 400;
}
.fc-what-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
  top: 1px;
  font-weight: 700;
}

/* Results list */
.full-case-results {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.full-case-results li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.full-case-results li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Highlight stat pills at bottom of results col */
.fc-highlight-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.fc-hl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  flex: 1;
  min-width: 70px;
}
.fc-hl-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}
.fc-hl-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
  text-align: center;
}

/* Reveal animation for case cards */
.fc-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── CONTACT PAGE ── */
.contact-page-header {
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.contact-page-header::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Header badges */
.contact-header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.light .contact-badge {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.contact-badge svg { color: var(--blue); flex-shrink: 0; }

/* Contact section layout */
.contact-section { padding: 80px 48px 120px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-note {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 28px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(59,130,246,0.04);
  border-left: 3px solid var(--blue);
}
.light .contact-note {
  background: rgba(37,99,235,0.04);
}

/* Contact links */
.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
}
.light .contact-link {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.contact-link:hover {
  border-color: var(--blue-border);
  transform: translateX(6px);
  background: var(--blue-dim);
}
.contact-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: background 0.3s;
}
.contact-link-icon--wa {
  background: rgba(37,211,102,0.1);
  color: #25d366;
}
.contact-link:hover .contact-link-icon { background: rgba(59,130,246,0.15); }
.contact-link:hover .contact-link-icon--wa { background: rgba(37,211,102,0.18); }
.contact-link-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-link-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 1px;
  transition: color 0.3s;
}
.contact-link:hover .contact-link-val { color: var(--blue); }
.contact-link-arrow {
  margin-left: auto;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.contact-link:hover .contact-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Contact form card */
.contact-form-card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}
.light .contact-form-card {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-form-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 4px;
}
.contact-form-sub {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.contact-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cs-header-inner { flex-direction: column; align-items: flex-start; }
  .cs-header-stats { width: 100%; justify-content: space-around; }
  .full-case-body { grid-template-columns: 1fr; }
  .full-case-col { border-right: none; border-bottom: 1px solid var(--border); }
  .full-case-col:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .cs-page-header { padding: 120px 20px 60px; }
  .cs-section { padding: 60px 20px 80px; }
  .contact-page-header { padding: 120px 20px 56px; }
  .contact-section { padding: 60px 20px 80px; }
  .full-case-header { flex-direction: column; gap: 16px; }
  .full-case-stat { text-align: left; }
  .full-case-header { padding: 24px 20px; }
  .full-case-col { padding: 24px 20px; }
  .contact-form-card { padding: 24px 20px; }
  .fc-highlight-stats { gap: 6px; }
  .cs-header-stats { gap: 20px; padding: 20px; }
}

/* NAV — glass blur on pages with hero image */
.cs-page-header ~ nav,
.contact-page-header ~ nav {
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* WA FLOAT — mobile fix */
@media (max-width: 768px) {
  
  
}
.reveal, .fc-reveal { will-change: transform, opacity; }
.service-card, .testi-card, .contact-link, .full-case { will-change: transform; }