/* ========== THEME TOKENS ========== */
:root {
  --bg: #0a0a0a;
  --bg-alt: #101010;
  --surface: #151515;
  --surface-2: #1c1c1c;
  --border: #262626;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --accent: #e5e5e5;
  --accent-2: #a3a3a3;
  --accent-3: #737373;
  --on-accent: #0a0a0a;
  --glow: rgba(255, 255, 255, 0.18);
  --dark: #121212;
  --dark-card: #121212;
  --gradient: linear-gradient(110deg, #ffffff, #bdbdbd 55%, #8a8a8a);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.6);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --radius: 22px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f2f2f2;
  --bg-alt: #e9e9e9;
  --surface: #ffffff;
  --surface-2: #f4f4f4;
  --border: #dcdcdc;
  --text: #111111;
  --muted: #5c5c5c;
  --accent: #1a1a1a;
  --accent-2: #555555;
  --accent-3: #8a8a8a;
  --on-accent: #ffffff;
  --glow: rgba(0, 0, 0, 0.35);
  --dark-card: #111111;
  --gradient: linear-gradient(110deg, #0a0a0a, #3a3a3a 55%, #6b6b6b);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.12);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.3);
  color-scheme: light;
}

/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(55% 45% at 90% 0%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%),
    radial-gradient(45% 40% at 0% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(35% 30% at 55% 30%, color-mix(in srgb, var(--accent-3) 9%, transparent), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
strong { color: var(--text); font-weight: 700; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 100%;
  background: var(--gradient);
  transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--gradient);
  color: var(--on-accent);
  font-weight: 700; font-size: 0.98rem;
  box-shadow: 0 14px 30px -12px var(--glow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { box-shadow: 0 20px 38px -14px var(--glow); }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 11px 22px; font-size: 0.9rem; }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }

.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, transform 0.3s var(--ease);
}
.icon-btn:hover { border-color: var(--accent); transform: rotate(20deg); }

/* ========== HEADER ========== */
.header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease);
}
.header.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border);
}
.header.hidden { transform: translateY(-100%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gradient); color: var(--on-accent);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.5px;
}
.logo-text { font-size: 1.15rem; font-weight: 800; letter-spacing: 1.5px; }
.logo-text b { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 0.94rem; position: relative; transition: color 0.2s; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--gradient); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; gap: 10px; }

.icon-sun { display: block; }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

.menu-btn { display: none; flex-direction: column; gap: 4px; }
.menu-btn span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-btn:hover { transform: none; }

/* ========== HERO ========== */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 40px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--muted); font-size: 0.86rem; font-weight: 500; margin-bottom: 26px;
}
.eyebrow-badge {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, #22c55e 15%, transparent);
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.045em; font-weight: 800;
  margin-bottom: 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  filter: blur(10px);
  transform-origin: left bottom;
  animation: rise 1.1s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.34s; }
@keyframes rise { to { transform: none; filter: blur(0); } }
.blue {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; animation: rise 1s var(--ease) forwards, shimmer 6s linear infinite 1.4s;
}
@keyframes shimmer { 0% { background-position: 0 0; } 50% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.lead { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.88rem; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks li::before { content: "✓"; color: #16a34a; font-weight: 800; }

.load-in { opacity: 0; transform: translateY(18px); animation: loadIn 0.9s var(--ease) forwards; animation-delay: calc(var(--d) * 0.12s + 0.1s); }
@keyframes loadIn { to { opacity: 1; transform: none; } }

/* ----- particle sphere ----- */
.hero-visual { position: relative; height: 520px; }
/* Soft breathing glow behind the particles */
.hero-visual::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--text) 10%, transparent), transparent 68%);
  filter: blur(20px);
  scale: calc(1 + var(--level, 0) * 0.5);
  opacity: calc(0.7 + var(--level, 0) * 0.8);
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.15); opacity: 0.6; } }
#sphere, #wave { position: absolute; inset: 0; width: 100%; height: 100%; }
#wave { pointer-events: none; }
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 0.85rem; font-weight: 700;
  animation: float 6s ease-in-out infinite;
}
.chip img { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--surface-2); }
.chip-1 { top: 14%; left: 4%; }
.chip-2 { top: 8%; right: 6%; animation-delay: -1.5s; }
.chip-3 { bottom: 16%; left: 0; animation-delay: -3s; }
.chip-4 { bottom: 10%; right: 4%; animation-delay: -4.5s; }
@keyframes float { 50% { translate: 0 -14px; } }

/* ========== MARQUEE ========== */
.marquee-wrap { padding: 40px 0 50px; transform: rotate(-2deg); margin-inline: -20px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll-x var(--dur, 45s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(calc(-50% - 9px)); } }

.shot {
  position: relative; flex: none;
  width: 340px; aspect-ratio: 16 / 10;
  border-radius: 18px; overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease); }
.shot span {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; flex-direction: column; line-height: 1.25;
  padding: 8px 12px; border-radius: 12px;
  background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(8px);
  color: #bdbdbd; font-size: 0.75rem;
  transform: translateY(8px); opacity: 0; transition: 0.35s var(--ease);
}
.shot span b { color: #fff; font-size: 0.9rem; }
.shot:hover { transform: translateY(-6px) rotate(-0.6deg); }
.shot:hover img { transform: scale(1.05); }
.shot:hover span { transform: none; opacity: 1; }

/* ========== SECTIONS ========== */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.section-head h2, .contact-info h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800;
}
.sub { color: var(--muted); font-size: 1.06rem; margin-top: 18px; max-width: 600px; }
.section-head:not(.left) .sub { margin-inline: auto; }

/* Highlighted word with an animated underline */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.06em; height: 0.32em; z-index: -1;
  background: var(--gradient); opacity: 0.3;
  border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease) 0.35s;
}
.visible .hl::after, .hl.visible::after { transform: scaleX(1); }

/* ========== APPROACH ========== */
.deal-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.dark-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark-card); color: #bdbdbd; border: 1px solid #262626;
  border-radius: 28px; padding: 44px;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px;
}
.dark-glow {
  position: absolute; z-index: -1; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 65%);
  top: -160px; left: -140px; filter: blur(10px);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(120px, 80px) scale(1.15); } }
.big-num {
  font-size: clamp(5rem, 11vw, 8.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff, #8a8a8a); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.dark-text { font-size: 1.05rem; max-width: 380px; }
.dark-card strong { color: #fff; }
.mini-stats { display: flex; gap: 34px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.86rem; }
.mini-stats li { display: flex; flex-direction: column; }
.mini-stats strong { color: #fff; font-size: 1.7rem; line-height: 1.1; }

.option-list { display: flex; flex-direction: column; gap: 16px; }
.option {
  flex: 1;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.option:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.opt-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent);
}
.opt-icon svg { width: 22px; height: 22px; }
.option h3 { font-size: 1.08rem; margin-bottom: 2px; }
.option p { color: var(--muted); font-size: 0.92rem; }
.opt-meta { text-align: right; color: var(--muted); font-size: 0.78rem; line-height: 1.2; }
.opt-meta b { display: block; color: var(--text); font-size: 1.3rem; }

/* ========== SERVICES ========== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.service-card::before {
  content: ""; position: absolute; z-index: -1; inset: auto -30% -60% auto; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.4s, transform 0.6s var(--ease); transform: scale(0.6);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { opacity: 1; transform: scale(1); }
.svc-num { position: absolute; top: 26px; right: 28px; font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: var(--muted); }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent);
  margin-bottom: 24px; transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.service-card:hover .service-icon { background: var(--gradient); color: var(--on-accent); transform: rotate(-8deg) scale(1.05); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

.logo-marquee {
  margin-top: 60px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track { display: flex; gap: 14px; width: max-content; animation: scroll-x 40s linear infinite; }
.logo-track span {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  padding: 12px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 600; font-size: 0.92rem; color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.logo-track span:hover { color: var(--text); border-color: var(--accent); }
.logo-track img { width: 24px; height: 24px; }

/* ========== AFTER LAUNCH ========== */
.after-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.stay-list { display: flex; flex-direction: column; gap: 26px; }
.stay-list li { display: flex; gap: 20px; }
.stay-list li > span {
  flex: none; font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 0.9rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--accent);
}
.stay-list h3 { font-size: 1.12rem; margin-bottom: 2px; }
.stay-list p { color: var(--muted); }

.phone {
  background: var(--dark-card); border-radius: 34px; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  max-width: 400px; width: 100%; margin-inline: auto;
  border: 1px solid rgba(255,255,255,0.08);
}
.phone-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff;
}
.phone-head small { display: flex; align-items: center; gap: 6px; color: #8a8a8a; font-size: 0.75rem; }
.phone-head .dot { width: 6px; height: 6px; }
.avatar-sm {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gradient); color: var(--on-accent); font-weight: 800; font-size: 0.8rem;
}
.phone-body {
  background: #181818; border-radius: 26px; padding: 20px 14px; min-height: 380px;
  display: flex; flex-direction: column; gap: 10px;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}
.msg {
  max-width: 82%; padding: 10px 14px 20px; border-radius: 16px; font-size: 0.9rem; line-height: 1.45;
  position: relative; color: #e5e5e5;
  opacity: 0; transform: translateY(12px) scale(0.96);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.msg::after { content: attr(data-time); position: absolute; right: 12px; bottom: 4px; font-size: 0.66rem; opacity: 0.6; }
.msg.in { background: #262626; align-self: flex-start; border-bottom-left-radius: 4px; transform-origin: left bottom; }
.msg.out { background: linear-gradient(135deg, #f5f5f5, #c7c7c7); align-self: flex-end; border-bottom-right-radius: 4px; transform-origin: right bottom; color: #0a0a0a; }
.msg.idea { background: linear-gradient(135deg, #d4d4d4, #8a8a8a); }
.msg.show { opacity: 1; transform: none; }
.typing {
  align-self: flex-start; display: none; gap: 4px; padding: 12px 14px;
  background: #262626; border-radius: 16px; border-bottom-left-radius: 4px;
}
.typing.show { display: inline-flex; }
.typing.out i { background: #555; }
.typing.out { align-self: flex-end; background: linear-gradient(135deg, #f5f5f5, #c7c7c7); border-radius: 16px; border-bottom-right-radius: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a9a; animation: bounce 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ========== PROJECTS ========== */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-weight: 600; font-size: 0.9rem; transition: all 0.25s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.active { background: var(--gradient); color: var(--on-accent); border-color: transparent; box-shadow: 0 10px 24px -12px var(--glow); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, opacity 0.4s;
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.project-card.hide { display: none; }
.project-card.pop { animation: pop 0.5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(16px); } }
.project-thumb {
  aspect-ratio: 16 / 11; margin: 10px 10px 0; border-radius: 16px;
  position: relative; overflow: hidden; background: var(--surface-2);
}
.project-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: object-position 4s ease-in-out, transform 0.6s var(--ease);
}
.project-card:hover .project-thumb img { object-position: bottom; }
.badge {
  position: absolute; top: 10px; right: 10px;
  padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  background: rgba(10, 10, 10, 0.75); color: #fff; backdrop-filter: blur(6px);
  transition: opacity 0.3s;
}
.project-card:hover .badge { opacity: 0; }
.project-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tags li { font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.visit { margin-top: auto; font-weight: 700; font-size: 0.92rem; color: var(--accent); align-self: flex-start; position: relative; }
.visit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.visit:hover::after { transform: scaleX(1); }

/* ========== PROCESS ========== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.process-grid::before {
  content: ""; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: var(--gradient); transform: scaleX(var(--line, 0)); transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative; z-index: 1;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-family: "JetBrains Mono", monospace; font-weight: 500;
  background: var(--gradient); color: var(--on-accent); margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--surface), 0 10px 24px -10px var(--glow);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ========== FAQ ========== */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--accent); font-size: 1.3rem; font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.faq[open] summary::after { transform: rotate(135deg); background: var(--accent); color: var(--on-accent); }
.faq p { padding: 0 24px 22px; color: var(--muted); animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ========== CTA ========== */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark-card); color: #bdbdbd; border: 1px solid #262626;
  border-radius: 32px; padding: 80px 32px; text-align: center;
  margin-top: 120px;
}
.cta-banner .dark-glow { left: 50%; top: -260px; margin-left: -240px; }
.cta-banner .kicker { color: #8a8a8a; }
.cta-banner h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 14px; }
.cta-banner p:not(.kicker) { margin: 0 auto 32px; max-width: 520px; font-size: 1.06rem; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p:not(.kicker) { color: var(--muted); font-size: 1.04rem; margin-bottom: 30px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: 12px;
  overflow-wrap: anywhere; transition: border-color 0.2s, transform 0.3s var(--ease);
}
a.contact-item:hover { border-color: var(--accent); transform: translateX(6px); }
.contact-item small { display: block; color: var(--muted); font-size: 0.78rem; }
.contact-item > span:last-child { font-weight: 600; min-width: 0; }
.ci-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.ci-icon svg { width: 22px; height: 22px; }

.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: all 0.3s var(--ease);
}
.socials a:hover { color: var(--on-accent); background: var(--gradient); border-color: transparent; transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: 26px; padding: 34px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.88rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}
.contact-form .invalid { border-color: #ef4444; }
.form-status { text-align: center; font-size: 0.9rem; min-height: 1.4em; }
.form-status.ok { color: #16a34a; }
.form-status.err { color: #ef4444; }

/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--border); padding: 30px 0; margin-top: 20px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: 0.88rem; }
.to-top { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); font-weight: 700; transition: transform 0.3s var(--ease); }
.to-top:hover { transform: translateY(-4px); }


/* ========== REVEAL ANIMATION ========== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--stagger, 0s); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .load-in, .msg, .hero-title .line > span { opacity: 1; transform: none; }
  .hl::after { transform: scaleX(1); }
  html { scroll-behavior: auto; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .after-grid { gap: 40px; }
}

@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 20px 16px 28px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a:not(.btn) { display: block; padding: 12px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 10px; width: 100%; }

  .hero { grid-template-columns: 1fr; gap: 10px; min-height: auto; }
  .hero-visual { height: 400px; order: -1; margin-bottom: -20px; }
  .deal-grid, .after-grid, .contact-grid { grid-template-columns: 1fr; }
  .dark-card { min-height: 340px; }
}

@media (max-width: 600px) {
  .section { padding: 84px 0; }
  .hero-visual { height: 320px; }
  .chip { font-size: 0.75rem; padding: 6px 12px 6px 6px; }
  .chip img { width: 20px; height: 20px; }
  .services-grid, .projects-grid, .process-grid { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .shot { width: 260px; }
  .option { grid-template-columns: auto 1fr; padding: 20px; }
  .opt-meta { grid-column: 2; text-align: left; }
  .opt-meta b { display: inline; font-size: 1rem; margin-right: 4px; }
  .dark-card, .contact-form { padding: 28px; }
  .cta-banner { padding: 60px 22px; margin-top: 84px; }
  .footer-inner { justify-content: center; text-align: center; }
}

/* Each card picks its own accent from the palette */
.option:nth-child(2) .opt-icon, .service-card:nth-child(3n+2) .service-icon { background: color-mix(in srgb, var(--accent-2) 12%, transparent); color: var(--accent-2); }
.option:nth-child(3) .opt-icon, .service-card:nth-child(3n) .service-icon { background: color-mix(in srgb, var(--accent-3) 14%, transparent); color: var(--accent-3); }
.chip-2 img, .chip-4 img { background: color-mix(in srgb, var(--accent-2) 12%, var(--surface)); }

/* ========== SEO H1 KICKER ========== */
.h1-kicker {
  display: block; margin-bottom: 14px;
  font-size: clamp(0.82rem, 1.2vw, 0.95rem); font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); line-height: 1.4;
}

/* ========== CONTACT FORM ACTIONS ========== */
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-wa { background: linear-gradient(110deg, #16a34a, #25d366); box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.7); }
.btn-wa:hover { box-shadow: 0 20px 38px -14px rgba(37, 211, 102, 0.8); }
.wa-item .ci-icon { background: rgba(37, 211, 102, 0.14); color: #16a34a; }
a.wa-item:hover { border-color: #25d366; }
.footer p a { color: var(--accent); font-weight: 600; }

/* ========== WHATSAPP POPUP ========== */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn {
  position: relative;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, 0.8);
  transition: transform 0.35s var(--ease);
  animation: waIn 0.6s var(--ease) 1s backwards;
}
.wa-btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
.wa-btn svg { width: 30px; height: 30px; }
@keyframes waIn { from { transform: scale(0) rotate(-90deg); } }
@keyframes ring { from { opacity: 0.7; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }

.wa-teaser {
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: 16px 16px 4px 16px; font-size: 0.88rem; font-weight: 600;
  box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; transform: translateY(10px) scale(0.95); pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.wa-teaser.show { opacity: 1; transform: none; pointer-events: auto; }

.wa-card {
  width: min(340px, calc(100vw - 44px));
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
  transform-origin: bottom right;
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.wa.open .wa-card { opacity: 1; transform: none; pointer-events: auto; }
.wa.open .wa-teaser { display: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(110deg, #128c7e, #25d366); color: #fff; }
.wa-head .avatar-sm { background: rgba(255,255,255,0.2); color: #fff; }
.wa-head small { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; opacity: 0.9; }
.wa-head .dot { width: 6px; height: 6px; background: #fff; box-shadow: none; animation: none; }
.wa-close { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: #fff; background: rgba(255,255,255,0.15); }
.wa-close:hover { background: rgba(255,255,255,0.3); }
.wa-body {
  padding: 18px 16px; min-height: 120px;
  background: color-mix(in srgb, #25d366 6%, var(--bg));
  background-image: radial-gradient(color-mix(in srgb, var(--text) 6%, transparent) 1px, transparent 1px);
  background-size: 16px 16px;
}
.wa-bubble {
  background: var(--surface); padding: 12px 14px; border-radius: 4px 16px 16px 16px;
  font-size: 0.9rem; line-height: 1.5; box-shadow: var(--shadow-sm); max-width: 90%;
}
.wa.open .wa-bubble { animation: pop 0.5s var(--ease) 0.15s backwards; }
.wa-start {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 14px 16px 16px; padding: 13px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s;
}
.wa-start:hover { background: #1ebe5b; }
.wa-start .arrow { transition: transform 0.25s var(--ease); }
.wa-start:hover .arrow { transform: translateX(4px); }

@media (max-width: 600px) {
  .wa { right: 14px; bottom: 14px; }
  .form-actions { grid-template-columns: 1fr; }
}

/* ========== VOICE INTRO ========== */
.voice-btn {
  position: absolute; z-index: 3; left: 50%; bottom: 0;
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-weight: 700; font-size: 0.9rem; color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, bottom 0.6s var(--ease);
  animation: voiceHint 2.6s ease-in-out infinite 3s;
}
.voice-btn:hover { transform: scale(1.05); border-color: var(--accent); }
@keyframes voiceHint { 0%, 100% { box-shadow: var(--shadow), 0 0 0 0 var(--glow); } 50% { box-shadow: var(--shadow), 0 0 0 12px transparent; } }
.voice-btn.speaking { bottom: calc(100% - 46px); animation: none; background: var(--gradient); color: var(--on-accent); border-color: transparent; }
.voice-btn.speaking .voice-label::after { content: " · tap to stop"; font-weight: 500; opacity: 0.7; }

.voice-bars { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.voice-bars i { width: 3px; height: 6px; border-radius: 3px; background: currentColor; transition: height 0.2s; }
.voice-btn:not(.speaking) .voice-bars i:nth-child(odd) { height: 10px; }
.voice-btn.speaking .voice-bars i { animation: bar 0.9s ease-in-out infinite; }
.voice-btn.speaking .voice-bars i:nth-child(2) { animation-delay: -0.2s; }
.voice-btn.speaking .voice-bars i:nth-child(3) { animation-delay: -0.45s; }
.voice-btn.speaking .voice-bars i:nth-child(4) { animation-delay: -0.1s; }
.voice-btn.speaking .voice-bars i:nth-child(5) { animation-delay: -0.6s; }
@keyframes bar { 50% { height: 18px; } }

.voice-caption {
  position: absolute; z-index: 3; left: 50%; bottom: 0; translate: -50% 0;
  width: min(92%, 460px); text-align: center;
  padding: 12px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 1.02rem; font-weight: 600; line-height: 1.5; color: var(--muted);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease);
  pointer-events: none; text-shadow: 0 2px 12px var(--bg);
}
.voice-caption.show { opacity: 1; transform: none; }
.voice-caption b { color: var(--text); font-weight: 700; }

@media (max-width: 600px) {
  .voice-caption { font-size: 0.86rem; }
  .voice-btn { font-size: 0.82rem; }
}
.chip { transition: opacity 0.4s; }
.hero-visual:has(.voice-btn.speaking) .chip { opacity: 0.25; }

/* Spam-trap field: kept off screen, not display:none so simple bots still fill it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form-status a { color: inherit; text-decoration: underline; font-weight: 600; }
