/* ==========================================================================
   Nexora Digital — styles
   Palette: Deep Navy #0B1020 · Royal Purple #7C3AED · Soft White #F8FAFC · Gold #D4AF37
   Type: Poppins (headings) + Inter (body)
   ========================================================================== */

:root {
  --navy: #0B1020;
  --navy-2: #0F1630;
  --navy-3: #151D3F;
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --white: #F8FAFC;
  --muted: #AEB8D0;
  --gold: #D4AF37;
  --gold-light: #EDD27A;
  --line: rgba(248, 250, 252, 0.1);
  --wa: #25D366;

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.ico { width: 20px; height: 20px; flex: none; }
.ico-lg { width: 32px; height: 32px; }
.gold { color: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--white); }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; }
.h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: 18px; background: linear-gradient(90deg, var(--gold), transparent); }
h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
p { color: var(--muted); max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #C9D2E6; max-width: 54ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: linear-gradient(135deg, #7C3AED, #9A63F5); color: #fff; box-shadow: 0 10px 30px -8px rgba(124, 58, 237, 0.65); }
.btn-primary:hover { box-shadow: 0 16px 42px -8px rgba(124, 58, 237, 0.85); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.6); }
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(212, 175, 55, 0.8); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(248, 250, 252, 0.24); color: var(--white); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 16, 32, 0.78); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.28), 0 8px 24px -6px rgba(212, 175, 55, 0.5);
}
.brand-name { white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-name span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 8px 12px; font-size: 0.92rem; white-space: nowrap; font-weight: 500; color: #CBD3E6;
  transition: color 0.25s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-list a:hover, .nav-list a.active { color: var(--white); }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); cursor: pointer; padding: 0; position: relative;
}
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-2), var(--navy)); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 90px)) 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; pointer-events: none; }
.glow-a { width: 560px; height: 560px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 68%); animation: breathe 9s ease-in-out infinite; }
.glow-b { width: 420px; height: 420px; left: -140px; bottom: -120px; background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 68%); animation: breathe 11s ease-in-out infinite reverse; }
.glow-c { width: 520px; height: 320px; left: 50%; top: 50%; translate: -50% -50%; background: radial-gradient(ellipse, rgba(124, 58, 237, 0.5), transparent 70%); }
.grid-lines {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy > * + * { margin-top: 24px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4); background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light); font-size: 0.88rem; font-weight: 500;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px !important; }
.hero-actions.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px !important; color: var(--muted); font-size: 0.92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ico { color: var(--gold); width: 18px; height: 18px; }

/* The one orchestrated page-load moment: hero copy rises in sequence */
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.18s; }
.hero-copy > :nth-child(4) { animation-delay: 0.28s; }
.hero-copy > :nth-child(5) { animation-delay: 0.38s; }
.hero-visual { animation: rise 1.1s var(--ease) 0.2s both; }

/* ---------- Mockups (pure CSS, no images) ---------- */
.hero-visual { position: relative; min-height: 520px; }
.float { position: absolute; animation: floaty 7s ease-in-out infinite; }
.float-main { left: 0; top: 36px; width: 88%; }
.float-phone { right: 0; bottom: 6px; width: 31%; min-width: 130px; animation-duration: 8.5s; animation-delay: -2s; z-index: 2; }
.float-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; z-index: 3;
  background: rgba(15, 22, 48, 0.72); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px);
  font-size: 0.85rem; font-weight: 500; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
}
.float-chip .ico { width: 17px; height: 17px; color: var(--gold); }
.chip-seo { left: -2%; top: 0; animation-duration: 6s; animation-delay: -1s; }
.chip-mobile { left: 4%; bottom: 52px; animation-duration: 7.5s; animation-delay: -3s; }
.chip-wa { right: 6%; top: 10px; animation-duration: 6.5s; animation-delay: -4s; }
.chip-wa .ico { color: var(--wa); }

.browser {
  --h: 265; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #151d3f, #0d1330);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 70px -20px rgba(124, 58, 237, 0.5);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.browser-bar i:first-child { background: var(--gold); }
.browser-bar .url { margin-left: 10px; flex: 0 1 62%; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 0.7rem; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 16px; display: grid; gap: 14px; }

.mk-nav { display: flex; align-items: center; gap: 8px; }
.mk-nav b { width: 30px; height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.mk-nav span { width: 24px; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.mk-nav b + span { margin-left: auto; }
.mk-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: center; }
.mk-lines { display: grid; gap: 8px; align-content: center; }
.mk-lines em { display: block; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.6); }
.mk-lines em.w90 { width: 90%; } .mk-lines em.w70 { width: 70%; } .mk-lines em.w50 { width: 50%; background: rgba(255, 255, 255, 0.25); }
.mk-lines u { display: block; width: 44%; height: 16px; margin-top: 4px; border-radius: 9px; background: linear-gradient(135deg, var(--purple), #9A63F5); box-shadow: 0 6px 16px -4px rgba(124, 58, 237, 0.8); }
.mk-art {
  aspect-ratio: 4 / 3; border-radius: 12px;
  background: radial-gradient(circle at 28% 28%, hsl(var(--h) 95% 74% / 0.95), transparent 58%), radial-gradient(circle at 78% 82%, rgba(212, 175, 55, 0.5), transparent 50%), linear-gradient(140deg, hsl(var(--h) 72% 46%), #1a1f4a);
}
.mk-art.tall { aspect-ratio: 16 / 10; }
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mk-cards div { height: 46px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.mk-cards div:first-child { background: linear-gradient(135deg, hsl(var(--h) 70% 45% / 0.6), rgba(255, 255, 255, 0.05)); }

.mk-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mk-tiles div { aspect-ratio: 1 / 0.8; border-radius: 9px; background: linear-gradient(150deg, hsl(var(--h) 60% 40% / 0.55), rgba(255, 255, 255, 0.05)); border: 1px solid rgba(255, 255, 255, 0.08); }
.mk-tiles div:nth-child(2) { background: linear-gradient(150deg, rgba(212, 175, 55, 0.4), rgba(255, 255, 255, 0.05)); }
.mk-store { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.mk-store div { display: grid; gap: 6px; }
.mk-store div::before { content: ""; aspect-ratio: 1; border-radius: 9px; background: linear-gradient(150deg, hsl(var(--h) 70% 48% / 0.75), #1a1f4a); }
.mk-store div:nth-child(3n+2)::before { background: linear-gradient(150deg, rgba(212, 175, 55, 0.55), #1a1f4a); }
.mk-store div::after { content: ""; height: 6px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }

.mk-form { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.mk-form i { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); }
.mk-form u { height: 16px; border-radius: 8px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); }

.mk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-split > div { display: grid; gap: 8px; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); align-content: start; }
.mk-split > div:first-child { opacity: 0.55; filter: grayscale(0.7); }
.mk-split .mk-art { aspect-ratio: 16 / 10; }

.mk-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mk-posts div { aspect-ratio: 4 / 5; border-radius: 12px; padding: 10px; display: grid; align-content: end; gap: 6px; background: linear-gradient(160deg, hsl(var(--h) 75% 48%), #1a1f4a); border: 1px solid rgba(255, 255, 255, 0.1); }
.mk-posts div:nth-child(2) { background: linear-gradient(160deg, var(--gold), #7a5f10); transform: translateY(-8px); }
.mk-posts div::before, .mk-posts div::after { content: ""; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.7); width: 80%; }
.mk-posts div::after { width: 50%; background: rgba(255, 255, 255, 0.35); }

.mk-serp { display: grid; gap: 12px; }
.mk-serp div { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); }
.mk-serp div:first-child { border-color: rgba(212, 175, 55, 0.6); background: rgba(212, 175, 55, 0.08); }
.mk-serp b { height: 8px; width: 55%; border-radius: 4px; background: hsl(var(--h) 90% 76%); }
.mk-serp em { height: 6px; width: 90%; border-radius: 4px; background: rgba(255, 255, 255, 0.3); }
.mk-serp em + em { width: 65%; }

.phone {
  --h: 275; padding: 14px 11px 12px; border-radius: 28px; display: grid; gap: 10px;
  background: linear-gradient(180deg, #17204a, #0c1230); border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 34px 60px -24px rgba(0, 0, 0, 0.85), 0 0 50px -18px rgba(124, 58, 237, 0.6);
}
.phone-notch { width: 34%; height: 6px; margin: 0 auto 2px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); }
.phone .mk-nav.small b { width: 22px; }
.phone .mk-lines em { height: 7px; }

/* ---------- Glass cards ---------- */
.glass {
  --mx: 50%; --my: 0%;
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s var(--ease);
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124, 58, 237, 0.28), transparent 60%);
}
.glass:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, 0.5); box-shadow: 0 34px 60px -28px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.glass:hover::before { opacity: 1; }
.card-pad { padding: 28px; }
.card-pad h3 { margin: 16px 0 8px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy > * + * { margin-top: 20px; }
.about-copy .h2 { margin-bottom: 8px; }
.about-copy .btn { margin-top: 28px; }
.about-cards { display: grid; gap: 16px; }
.about-cards .glass:nth-child(2) { margin-left: clamp(0px, 4vw, 48px); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.service-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: var(--gold-light);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.5), rgba(124, 58, 237, 0.12));
  border: 1px solid rgba(167, 139, 250, 0.4); margin-bottom: 4px;
  transition: transform 0.5s var(--ease), box-shadow 0.4s;
}
.service-icon .ico { width: 24px; height: 24px; }
.service:hover .service-icon { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 28px -4px rgba(124, 58, 237, 0.9); }
.service p { font-size: 0.95rem; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--gold-light); font-size: 0.9rem; font-weight: 500; }
.service-link .ico { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.service-link:hover .ico { transform: translateX(5px); }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.2); background: rgba(255, 255, 255, 0.03);
  color: #CBD3E6; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--white); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--purple), #9A63F5); border-color: transparent; color: #fff; box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.8); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { display: block; }
.project-card { display: flex; flex-direction: column; height: 100%; }
.project-thumb { position: relative; padding: 52px 22px 0; overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.35), transparent 70%); aspect-ratio: 16 / 12; }
.project-thumb .browser { transform: translateY(0); transition: transform 0.7s var(--ease); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.project-thumb .browser-body { gap: 10px; padding: 12px; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px 12px 0 0; transition: transform 0.7s var(--ease); }
.project:hover .project-thumb .browser, .project:hover .project-thumb img { transform: translateY(-10px) scale(1.03); }
.project-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 4px 12px; border-radius: 999px; background: rgba(11, 16, 32, 0.8); border: 1px solid rgba(212, 175, 55, 0.6); color: var(--gold-light); font-size: 0.75rem; font-weight: 500; backdrop-filter: blur(8px); }
.project-overlay {
  position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 16px 18px; background: linear-gradient(0deg, rgba(11, 16, 32, 0.95), transparent);
  font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; color: var(--gold-light);
  transform: translateY(100%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s;
}
.project:hover .project-overlay, .project:focus-visible .project-overlay { transform: translateY(0); opacity: 1; }
.project-info { padding: 20px 24px 26px; display: grid; gap: 6px; }
.project-info .cat { color: var(--purple-light); font-size: 0.85rem; font-weight: 500; }
.project-info p { font-size: 0.93rem; }
.project.is-hidden { display: none; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.why { padding-left: 22px; border-left: 1px solid rgba(212, 175, 55, 0.45); transition: border-color 0.3s; }
.why:hover { border-left-color: var(--gold); }
.why h3 { margin: 14px 0 8px; }
.why p { font-size: 0.95rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; counter-reset: none; }
.process li { position: relative; padding-top: 4px; }
.step-no {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.6); background: rgba(212, 175, 55, 0.08);
}
.process li:not(:nth-child(3n))::after {
  content: ""; position: absolute; top: 27px; left: 62px; right: -18px; height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0.05));
}
.process h3 { margin-bottom: 8px; }
.process p { font-size: 0.95rem; }

/* ---------- Stats (only shown when verified stats exist) ---------- */
.stats { padding-block: 56px; background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), rgba(212, 175, 55, 0.08)); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; text-align: center; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1.1; color: var(--gold-light); }
.stat-label { margin: 6px auto 0; font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.testi blockquote { margin: 0; color: #DCE3F2; font-size: 1.02rem; line-height: 1.7; flex: 1; }
.testi figcaption { display: grid; gap: 2px; font-size: 0.9rem; color: var(--muted); }
.testi figcaption b { color: var(--white); font-family: var(--font-head); font-weight: 600; }
.testi.placeholder { border-style: dashed; border-color: rgba(212, 175, 55, 0.45); }
.testi.placeholder blockquote { color: var(--muted); font-style: italic; }
.ph-tag { align-self: flex-start; padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, 0.55); color: var(--gold-light); font-size: 0.78rem; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
details { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, background 0.3s; }
details[open] { border-color: rgba(212, 175, 55, 0.45); background: rgba(255, 255, 255, 0.05); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(var(--gold), var(--gold)) center / 10px 1.6px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.6px 10px no-repeat;
  border: 1px solid rgba(212, 175, 55, 0.6); transition: transform 0.4s var(--ease);
}
details[open] summary::after { transform: rotate(135deg); }
details p { padding: 0 24px 22px; animation: fade 0.5s var(--ease); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(70px, 9vw, 110px); text-align: center; background: linear-gradient(135deg, #1a1146, var(--navy-2) 60%); border-block: 1px solid rgba(124, 58, 237, 0.4); }
.cta-inner .h2::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.cta-inner p { margin: 18px auto 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.contact-info > p { margin-top: 18px; }
.contact-list { margin-top: 32px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 24px; height: 24px; margin-top: 3px; }
.contact-list span { display: grid; gap: 1px; }
.contact-list b { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.contact-list a, .contact-list em { color: var(--muted); font-style: normal; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-light); }

.contact-form {
  background: var(--white); color: var(--navy); border-radius: 24px; padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 80px -30px rgba(124, 58, 237, 0.7);
}
.form-title { color: var(--navy); font-size: 1.35rem; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { font-size: 0.9rem; font-weight: 600; color: #1B2440; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #CBD5E1; background: #fff; color: var(--navy);
  font-size: 1rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #7B879D; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18); }
.field .invalid { border-color: #C0362C; }
.err { color: #B42318; font-size: 0.85rem; max-width: none; min-height: 0; }
.err:empty { display: none; }
.form-note { color: #4A566F; font-size: 0.85rem; margin-top: 14px; max-width: none; }
.form-status { margin-top: 10px; font-size: 0.92rem; color: #1B2440; max-width: none; }
.form-status:empty { display: none; }
.form-status a { color: var(--purple); font-weight: 600; text-decoration: underline; }
.form-status.warn { color: #B42318; }

/* ---------- Footer ---------- */
.site-footer { background: #080C19; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: #CBD3E6; transition: all 0.3s var(--ease); }
.social a:hover { color: var(--navy); background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-col h3 { font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 0.93rem; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .btn { color: var(--navy); margin-top: 6px; }
.footer-bottom { padding-block: 22px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.footer-bottom p { max-width: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 90; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0; height: 58px; min-width: 58px; padding: 0 16px; border-radius: 999px; justify-content: center;
  background: var(--wa); color: #06361A; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; transition: max-width 0.5s var(--ease), margin 0.5s var(--ease); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -8px rgba(37, 211, 102, 0.9); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 170px; margin-left: 10px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulse 2.6s ease-out infinite; }

/* ---------- Scroll reveal (subtle) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Project detail page ---------- */
.project-page { padding: calc(var(--header-h) + 40px) 0 clamp(70px, 9vw, 110px); position: relative; overflow: hidden; isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--gold-light); }
.crumbs a:hover { text-decoration: underline; }
.pp-head { display: grid; gap: 18px; margin-bottom: 40px; }
.pp-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.pp-head .lead { max-width: 60ch; }
.sample-note { display: inline-flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(212, 175, 55, 0.55); background: rgba(212, 175, 55, 0.06); color: var(--gold-light); font-size: 0.92rem; max-width: 62ch; }
.pp-stage { padding: clamp(22px, 5vw, 56px) clamp(22px, 5vw, 56px) 0; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.45), transparent 70%), var(--navy-2); border: 1px solid var(--line); margin-bottom: 48px; }
.pp-stage .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; max-width: 860px; margin-inline: auto; }
.pp-stage img { max-width: 860px; margin-inline: auto; border-radius: 14px 14px 0 0; }
.pp-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.pp-main > section + section { margin-top: 36px; }
.pp-main h2 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.pp-main ul { display: grid; gap: 10px; color: var(--muted); }
.pp-main li { position: relative; padding-left: 26px; }
.pp-main li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 1.6px; background: var(--gold); }
.pp-side { padding: 28px; display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.pp-side dt { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--white); }
.pp-side dd { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.pp-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.pp-nav a { display: grid; gap: 2px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s var(--ease); }
.pp-nav a:hover { border-color: var(--gold); transform: translateY(-3px); }
.pp-nav small { color: var(--muted); font-size: 0.82rem; }
.pp-nav b { font-family: var(--font-head); font-weight: 600; }
.pp-nav .next { text-align: right; margin-left: auto; }
.pp-missing { text-align: center; padding: 60px 0; display: grid; gap: 16px; justify-items: center; }

/* ---------- Keyframes ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 20px 26px;
    background: rgba(11, 16, 32, 0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.4s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 14px 6px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav-list a::after { display: none; }
  .nav-list a.active { color: var(--gold-light); }
  .nav-cta { margin-top: 10px; padding: 14px; }
  .site-header.menu-open { background: rgba(11, 16, 32, 0.97); }
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:not(:nth-child(3n))::after { display: none; }
  .process li:nth-child(odd)::after { content: ""; display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .hero-grid, .about-grid, .contact-grid, .pp-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; max-width: 560px; margin-inline: auto; width: 100%; }
  .about-cards .glass:nth-child(2) { margin-left: 0; }
  .pp-side { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(1180px, 100% - 32px); }
  .services-grid, .portfolio-grid, .testi-grid, .why-grid, .process { grid-template-columns: 1fr; }
  .process li::after { display: none !important; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 370px; }
  .float-main { width: 92%; top: 40px; }
  .float-phone { width: 34%; min-width: 108px; }
  .chip-mobile { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { height: 54px; min-width: 54px; }
  .pp-nav a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Polish pass ---------- */
.shot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shot-m { display: block; width: 100%; height: auto; aspect-ratio: 390 / 760; object-fit: cover; border-radius: 18px; }
.phone { padding: 12px 8px 8px; gap: 8px; }
.browser { --h: 265; }
.feat { display: grid; gap: 7px; margin: 4px 0 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.feat li { position: relative; padding-left: 22px; font-size: 0.88rem; color: #C3CCE0; line-height: 1.45; }
.feat li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 10px; height: 6px; border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold); transform: rotate(-45deg); }
.progress { position: fixed; z-index: 120; inset: 0 0 auto 0; height: 3px; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--purple), var(--gold)); }
.testi-empty { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 44px); }
.testi-empty h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: 8px; }
.testi-empty p { max-width: 56ch; }
@media (max-width: 760px) { .testi-empty { grid-template-columns: 1fr; } }
