/* ==========================================================================
   GW PORTFOLIO — Design System
   Y Gunawan Wicaksono | Python Flask & MySQL Business Application Developer
   Author: GW Studio Build
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand Colors */
  --c-blue: #2563EB;
  --c-sky: #0EA5E9;
  --c-cyan: #38BDF8;
  --c-white: #FFFFFF;
  --c-navy: #0F172A;
  --c-charcoal: #111827;
  --c-slate: #1E293B;
  --c-purple: #6D5BD0;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--c-blue) 0%, var(--c-sky) 55%, var(--c-cyan) 100%);
  --grad-mesh: radial-gradient(at 15% 20%, rgba(37,99,235,.35) 0px, transparent 55%),
               radial-gradient(at 85% 15%, rgba(109,91,208,.28) 0px, transparent 50%),
               radial-gradient(at 50% 85%, rgba(14,165,233,.30) 0px, transparent 55%);
  --grad-border: linear-gradient(135deg, rgba(255,255,255,.55), rgba(56,189,248,.15) 40%, rgba(37,99,235,.35));

  /* Surfaces (Dark default) */
  --bg-base: #070B14;
  --bg-elevated: #0F172A;
  --text-primary: #F4F7FB;
  --text-secondary: #A9B6CC;
  --text-muted: #718096;

  --glass-bg: rgba(255,255,255,0.045);
  --glass-bg-strong: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.14);
  --glass-blur: 22px;

  --shadow-soft: 0 8px 30px rgba(2,8,23,.35);
  --shadow-lift: 0 25px 60px -15px rgba(37,99,235,.35);
  --shadow-glow: 0 0 40px rgba(56,189,248,.25);

  /* Radius */
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --r-pill: 999px;

  /* Type */
  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --max-w: 1400px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --dur-fast: .25s;
  --dur-med: .5s;
  --dur-slow: .9s;
}

[data-theme="light"] {
  --bg-base: #F3F6FC;
  --bg-elevated: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #3F4C63;
  --text-muted: #6B7A94;
  --glass-bg: rgba(255,255,255,0.55);
  --glass-bg-strong: rgba(255,255,255,0.75);
  --glass-border: rgba(15,23,42,0.08);
  --shadow-soft: 0 8px 30px rgba(15,23,42,.08);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--dur-med) var(--ease-soft), color var(--dur-med) var(--ease-soft);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: 6px; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; padding: clamp(72px, 9vw, 140px) 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; }
}

/* ---------- 3. AMBIENT BACKGROUND ---------- */
.ambient-bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: var(--bg-base);
}
.ambient-bg::before {
  content: ''; position: absolute; inset: -20%;
  background: var(--grad-mesh);
  filter: blur(60px);
  animation: meshDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-3%,2%,0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(3%,-2%,0) rotate(-6deg) scale(1.04); }
}
.grain-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.floating-shapes { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
  animation: floatY 12s ease-in-out infinite;
  will-change: transform;
}
.shape.s1 { width: 8px; height: 8px; background: var(--c-cyan); top: 15%; left: 10%; animation-duration: 14s; }
.shape.s2 { width: 5px; height: 5px; background: var(--c-blue); top: 65%; left: 22%; animation-duration: 10s; animation-delay: -3s; }
.shape.s3 { width: 10px; height: 10px; background: var(--c-purple); top: 30%; left: 80%; animation-duration: 16s; animation-delay: -6s; }
.shape.s4 { width: 6px; height: 6px; background: var(--c-sky); top: 80%; left: 70%; animation-duration: 11s; animation-delay: -2s; }
.shape.s5 { width: 4px; height: 4px; background: var(--c-cyan); top: 45%; left: 50%; animation-duration: 13s; animation-delay: -8s; }
@keyframes floatY {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-30px,0); }
}

/* ---------- 4. GLASS SYSTEM ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.glass::before {
  /* gradient border glow */
  content: '';
  position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .55; pointer-events: none;
}
.glass::after {
  /* reflection sheen */
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  pointer-events: none;
}
.glass-card {
  padding: 34px;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.glass-card:hover {
  transform: translate3d(0,-6px,0);
  box-shadow: var(--shadow-lift);
  border-color: rgba(56,189,248,.4);
}
/* mouse hover glow tracker */
.glow-track { position: relative; overflow: hidden; }
.glow-track::before {
  content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.25), transparent 70%);
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate3d(-50%,-50%,0);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.glow-track:hover::before { opacity: 1; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37,99,235,.6);
}
.btn-primary:hover { transform: translate3d(0,-3px,0); box-shadow: 0 16px 40px -8px rgba(56,189,248,.65); }
.btn-glass {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}
.btn-glass:hover { transform: translate3d(0,-3px,0); background: rgba(255,255,255,.12); border-color: rgba(56,189,248,.5); }
.btn .ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,.55); animation: rippleAnim .6s var(--ease-out);
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(3.2); opacity: 0; } }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- 6. NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding var(--dur-fast) var(--ease-soft), background var(--dur-fast), backdrop-filter var(--dur-fast), box-shadow var(--dur-fast);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7,11,20,.65);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 30px rgba(2,8,23,.35);
}
[data-theme="light"] .navbar.scrolled { background: rgba(255,255,255,.7); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem;
  box-shadow: 0 8px 24px -6px rgba(37,99,235,.7);
  position: relative;
}
.logo-mark::after {
  content: ''; position: absolute; inset: -1px; border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.6), transparent 60%);
  opacity: .5; mix-blend-mode: overlay;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 18px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 500;
  color: var(--text-secondary); transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); background: var(--glass-bg-strong); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-border);
  transition: transform var(--dur-fast);
}
.theme-toggle:hover { transform: rotate(20deg); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. HERO ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c-cyan); margin-bottom: 24px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 12px var(--c-cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); margin-bottom: 22px; }
.hero h1 .grad-text { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 200%; animation: gradShift 6s ease infinite; }
@keyframes gradShift { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }
.hero p.sub { font-size: 1.15rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 38px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-trust .item { }
.hero-trust .num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text-primary); }
.hero-trust .label { font-size: .82rem; color: var(--text-muted); }

/* Hero Illustration */
.hero-illustration { position: relative; height: 520px; }
.hi-layer { position: absolute; border-radius: var(--r-md); animation: floatY 8s ease-in-out infinite; }
.hi-server {
  width: 230px; height: 300px; top: 30px; left: 40px; z-index: 2;
  padding: 22px; animation-duration: 9s;
}
.hi-server .bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.08); margin-bottom: 12px; overflow: hidden; }
.hi-server .bar span { display: block; height: 100%; background: var(--grad-primary); border-radius: 6px; animation: barGrow 3.5s ease-in-out infinite alternate; }
.hi-server .led { width: 9px; height: 9px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 10px var(--c-cyan); margin-bottom: 20px; animation: pulse 1.8s infinite; }
@keyframes barGrow { from { width: 30%; } to { width: 85%; } }
.hi-dashboard { width: 260px; height: 160px; top: 60px; right: 0; z-index: 3; padding: 18px; animation-duration: 11s; animation-delay: -2s; }
.hi-dashboard .mini-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 12px; }
.hi-dashboard .mini-chart i { flex: 1; background: var(--grad-primary); border-radius: 4px 4px 0 0; opacity: .85; }
.hi-code { width: 250px; height: 190px; bottom: 40px; left: 0; z-index: 4; padding: 20px; animation-duration: 10s; animation-delay: -4s; font-family: monospace; font-size: .72rem; color: var(--c-cyan); line-height: 1.9; }
.hi-code .dots { display: flex; gap: 6px; margin-bottom: 14px; }
.hi-code .dots span { width: 9px; height: 9px; border-radius: 50%; }
.hi-code .dots span:nth-child(1){ background:#ff5f57; } .hi-code .dots span:nth-child(2){ background:#febc2e; } .hi-code .dots span:nth-child(3){ background:#28c840; }
.hi-network { width: 190px; height: 190px; bottom: 0; right: 20px; z-index: 1; animation-duration: 13s; animation-delay: -1s; display: flex; align-items: center; justify-content: center; }
.hi-network svg circle { fill: none; stroke: url(#netgrad); stroke-width: 1.4; opacity: .8; }
.hi-network svg .node { fill: var(--c-cyan); }

/* ---------- 8. SECTION HEAD ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--text-secondary); font-size: 1.05rem; }
.section-head .eyebrow { display: inline-flex; }

/* ---------- 9. ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.about-visual { padding: 40px; text-align: center; }
.about-visual .initials {
  width: 160px; height: 160px; margin: 0 auto 24px; border-radius: 40px;
  background: var(--grad-primary); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: #fff;
  box-shadow: var(--shadow-glow);
}
.mvv-grid { display: grid; gap: 20px; margin-top: 30px; }
.mvv-item { padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.mvv-item .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; }
.timeline-h { margin-top: 50px; }
.timeline-h .t-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-left: 2px solid var(--glass-border); padding-left: 24px; position: relative; }
.timeline-h .t-item::before { content:''; position: absolute; left: -7px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 12px var(--c-cyan); }
.timeline-h .yr { font-weight: 700; color: var(--c-cyan); font-family: var(--font-display); }

/* Why us cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.feature-card .ic {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(56,189,248,.10));
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  animation: iconFloat 4s ease-in-out infinite;
}
@keyframes iconFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: .95rem; }

/* ---------- 10. SERVICES ---------- */
.service-card { padding: 34px; height: 100%; display: flex; flex-direction: column; }
.service-card .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-primary); display:flex; align-items:center; justify-content:center; margin-bottom: 22px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: .93rem; flex: 1; margin-bottom: 18px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .72rem; padding: 5px 12px; border-radius: var(--r-pill); background: var(--glass-bg-strong); border: 1px solid var(--glass-border); color: var(--text-secondary); }

/* ---------- 11. TECH ---------- */
.tech-strip { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.tech-chip {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 22px; width: 140px; text-align: center;
}
.tech-chip .ic { width: 48px; height: 48px; animation: iconFloat 5s ease-in-out infinite; }
.tech-chip span { font-size: .85rem; font-weight: 600; color: var(--text-secondary); }

/* ---------- 12. PORTFOLIO ---------- */
.filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 46px; }
.filter-btn { padding: 10px 22px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--text-secondary); background: var(--glass-bg-strong); border: 1px solid var(--glass-border); transition: all var(--dur-fast); }
.filter-btn.active, .filter-btn:hover { color: #fff; background: var(--grad-primary); border-color: transparent; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-card { overflow: hidden; }
.pf-media { position: relative; aspect-ratio: 4/3; border-radius: var(--r-md); overflow: hidden; margin-bottom: 20px; background: linear-gradient(135deg, rgba(37,99,235,.25), rgba(109,91,208,.2)); }
.pf-media svg { width: 100%; height: 100%; }
.pf-media .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,11,20,.85)); display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: opacity var(--dur-fast); }
.portfolio-card:hover .overlay { opacity: 1; }
.pf-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-cyan); font-weight: 700; margin-bottom: 8px; display: block; }
.portfolio-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.portfolio-card p { color: var(--text-secondary); font-size: .9rem; margin-bottom: 16px; }

/* ---------- 13. PROCESS TIMELINE ---------- */
.process-track { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; position: relative; }
.process-track::before { content:''; position: absolute; top: 27px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, transparent, var(--glass-border) 10%, var(--glass-border) 90%, transparent); }
.process-step { text-align: center; padding: 22px 14px; }
.process-step .pnum { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #fff; position: relative; z-index: 2; box-shadow: 0 0 0 6px var(--bg-base); }
.process-step h4 { font-size: .92rem; margin-bottom: 8px; }
.process-step p { font-size: .78rem; color: var(--text-muted); }

/* ---------- 14. STATS ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 50px 20px; }
.stat-item { text-align: center; }
.stat-item .val { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item .lbl { color: var(--text-secondary); margin-top: 8px; font-size: .92rem; }

/* ---------- 15. TESTIMONIALS ---------- */
.testi-track { position: relative; overflow: hidden; }
.testi-slides { display: flex; transition: transform .6s var(--ease-out); }
.testi-slide { min-width: 100%; padding: 6px; }
.testi-card { max-width: 720px; margin: 0 auto; padding: 44px; text-align: center; }
.testi-card .stars { color: #FBBF24; letter-spacing: 3px; margin-bottom: 18px; font-size: 1.1rem; }
.testi-card p.quote { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 26px; }
.testi-avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-weight: 700; color: #fff; font-family: var(--font-display); }
.testi-name { font-weight: 700; }
.testi-role { font-size: .82rem; color: var(--text-muted); }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--glass-border); transition: all var(--dur-fast); }
.testi-dots button.active { background: var(--c-cyan); width: 26px; border-radius: 6px; }

/* ---------- 16. FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; text-align: left; font-weight: 600; font-size: 1rem; }
.faq-q .plus { transition: transform var(--dur-fast); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-soft); }
.faq-a p { padding: 0 28px 24px; color: var(--text-secondary); font-size: .92rem; }

/* ---------- 17. BLOG ---------- */
.blog-card { overflow: hidden; padding: 0; }
.blog-media { aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(37,99,235,.2), rgba(14,165,233,.15)); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.blog-body { padding: 26px; }
.blog-date { font-size: .78rem; color: var(--c-cyan); font-weight: 600; margin-bottom: 10px; display: block; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-body p { font-size: .88rem; color: var(--text-secondary); margin-bottom: 16px; }
.read-more { font-size: .85rem; font-weight: 700; color: var(--c-cyan); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 18. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.contact-info-card { padding: 36px; }
.contact-info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--glass-border); }
.contact-info-item:last-child { border: 0; }
.contact-info-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: .88rem; color: var(--text-secondary); }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-row a { width: 42px; height: 42px; border-radius: 12px; background: var(--glass-bg-strong); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast); }
.social-row a:hover { background: var(--grad-primary); transform: translateY(-3px); }
.form-card { padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-secondary); }
.field input, .field textarea {
  padding: 14px 18px; border-radius: 14px; background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border); color: var(--text-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field textarea:focus { border-color: var(--c-cyan); box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.field.full { grid-column: 1 / -1; }
.map-embed { border-radius: var(--r-md); overflow: hidden; margin-top: 26px; height: 260px; filter: grayscale(.3) contrast(1.05); border: 1px solid var(--glass-border); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1DA851);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.55);
  animation: floatY 4s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.back-to-top {
  position: fixed; bottom: 28px; right: 100px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--dur-fast);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- 19. FOOTER ---------- */
.footer { border-top: 1px solid var(--glass-border); padding: 80px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); font-size: .9rem; margin: 18px 0 20px; max-width: 320px; }
.footer h5 { font-size: .9rem; margin-bottom: 20px; letter-spacing: .03em; text-transform: uppercase; color: var(--text-primary); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: .9rem; color: var(--text-secondary); transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--c-cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 30px; border-top: 1px solid var(--glass-border); font-size: .84rem; color: var(--text-muted); }
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- 20. MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; padding: 100px 32px 32px;
  background: rgba(7,11,20,.92); backdrop-filter: blur(24px);
  display: flex; flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
}
[data-theme="light"] .mobile-menu { background: rgba(255,255,255,.94); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 18px 4px; font-size: 1.3rem; font-weight: 600; border-bottom: 1px solid var(--glass-border); }

/* ---------- 21. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translate3d(0,32px,0); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: transform, opacity; }
.reveal.in { opacity: 1; transform: translate3d(0,0,0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- 22. SKELETON / LAZY ---------- */
img.lazy { opacity: 0; transition: opacity .5s; }
img.lazy.loaded { opacity: 1; }

/* ---------- 23. UTILITIES ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.badge-page-hero { padding-top: 160px; padding-bottom: 60px; text-align: center; }
.badge-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.badge-page-hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.3rem; }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 14px; font-size: .95rem; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.sitemap-grid a { display: block; padding: 18px 22px; }

/* ---------- 24. RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { height: 420px; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .process-track { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-glass.hide-mobile { display: none; }
  .nav-burger { display: flex; }
  .grid-4, .grid-3, .grid-2, .portfolio-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: repeat(2,1fr); }
  .process-track::before { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .back-to-top { right: 82px; bottom: 20px; }
}
