/* =========================================================================
   Lê Quốc Bảo — Personal Portfolio (demo by Web1Day)
   Aesthetic: editorial brutalist-luxe · charcoal canvas · electric-lime + coral
   ========================================================================= */

:root {
  /* ---- Industry palette (recolored from the shared scaffold) ---- */
  --primary: #C6F24E;        /* electric lime — the signature accent */
  --primary-dark: #A6D62B;
  --accent: #FF6F5E;         /* warm coral — sharp secondary */
  --accent-dark: #F0533F;
  --ink: #0E0E10;            /* near-black canvas */
  --ink-soft: #16161A;
  --muted: #9A9AA6;          /* dim text on dark */
  --muted-strong: #C7C7D1;
  --bg: #FAF8F3;             /* warm paper for light sections */
  --bg-2: #FFFFFF;
  --surface: #F0EEE6;        /* tinted light surface */
  --line: #E4E0D6;           /* hairlines on light */
  --line-dark: #2A2A31;      /* hairlines on dark */
  --on-light: #18181C;       /* body text on light bg */
  --on-light-muted: #5B5B66;

  /* ---- Structural tokens (kept consistent across demos) ---- */
  --r-sm: 12px; --r: 16px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(14,14,16,.08);
  --shadow: 0 10px 34px rgba(14,14,16,.12);
  --shadow-lg: 0 28px 64px rgba(14,14,16,.22);
  --container: 1180px;
  --pad-x: clamp(16px, 5vw, 28px);
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2,.8,.2,1);
  --font-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box }
* { margin: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x) }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: var(--ink); padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0 }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: var(--r-pill); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(198,242,78,.3) }
.btn:active { transform: translateY(0) }
.btn--primary { --btn-bg: var(--primary); --btn-fg: var(--ink) }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--ink) }
.btn--accent:hover { box-shadow: 0 12px 30px rgba(255,111,94,.36) }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(14,14,16,.24) }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; background: rgba(14,14,16,.04) }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.05rem }
.btn--block { display: flex; width: 100% }

/* ghost on dark surfaces */
.section--dark .btn--ghost,
.hero .btn--ghost { color: var(--ink) }

/* =========================================================================
   Demo ribbon (funnel back to Web1Day)
   ========================================================================= */
.demo-ribbon {
  background: var(--ink); color: #fff;
  border-bottom: 1px solid var(--line-dark);
  font-size: .82rem;
}
.demo-ribbon__inner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  min-height: 40px; padding-block: 7px; justify-content: center;
}
.demo-ribbon__tag {
  font-family: var(--font-display); font-weight: 800; font-size: .68rem; letter-spacing: .18em;
  background: var(--primary); color: var(--ink);
  padding: 3px 9px; border-radius: var(--r-pill);
}
.demo-ribbon__text { color: var(--muted-strong) }
.demo-ribbon__link {
  font-weight: 700; color: var(--primary);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.demo-ribbon__link:hover { border-bottom-color: var(--primary) }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm) }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display) }
.brand__mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--ink); color: var(--primary);
  font-weight: 800; font-size: .82rem; letter-spacing: -.02em;
  border-radius: 11px;
}
.brand__name { font-weight: 800; font-size: 1.06rem; color: var(--ink); letter-spacing: -.02em }
.brand--light .brand__mark { background: var(--primary); color: var(--ink) }
.brand--light .brand__name { color: #fff }

.nav { display: flex; gap: 26px }
.nav a {
  position: relative; font-weight: 600; font-size: .95rem; color: var(--on-light-muted);
  padding-block: 6px; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s var(--ease);
}
.nav a:hover { color: var(--ink) }
.nav a:hover::after { right: 0 }

.site-header__actions { display: flex; align-items: center; gap: 12px }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 42px; padding: 0 14px;
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  background: transparent; color: var(--ink);
  border: 2px solid rgba(14,14,16,.16); border-radius: var(--r-pill); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--ink); background: rgba(14,14,16,.04) }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 11px;
  flex-direction: column; justify-content: space-between;
  background: transparent; border: 2px solid rgba(14,14,16,.16); border-radius: 12px; cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease) }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg) }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0 }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg) }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 99;
  transform: translateY(-120%); transition: transform .38s var(--ease);
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: 88px var(--pad-x) 28px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px;
}
.mobile-nav.is-open { transform: translateY(0) }
.mobile-nav__links { display: flex; flex-direction: column; gap: 4px }
.mobile-nav__links a {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--ink);
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.mobile-nav__links a:hover { color: var(--accent-dark) }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-top: clamp(48px, 8vw, 96px);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5 }
.hero__glow--lime { width: 48vw; height: 48vw; max-width: 560px; max-height: 560px; top: -12%; right: -8%; background: radial-gradient(circle, rgba(198,242,78,.55), transparent 70%) }
.hero__glow--coral { width: 42vw; height: 42vw; max-width: 480px; max-height: 480px; bottom: -16%; left: -10%; background: radial-gradient(circle, rgba(255,111,94,.45), transparent 70%) }
.hero__grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: screen;
  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='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px);
}
.hero__content { min-width: 0 }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark);
  font-size: .84rem; font-weight: 600; color: var(--muted-strong);
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 0 rgba(198,242,78,.6); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(198,242,78,.55)} 70%{box-shadow:0 0 0 10px rgba(198,242,78,0)} 100%{box-shadow:0 0 0 0 rgba(198,242,78,0)} }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.7rem, 8.2vw, 5.6rem);
  font-weight: 800; line-height: .98; letter-spacing: -.035em;
}
.hero__line { display: block }
.hero__line--accent {
  color: var(--primary);
  background: linear-gradient(transparent 62%, rgba(255,111,94,.32) 62%);
  width: fit-content; max-width: 100%;
}
.hero__role {
  margin-top: 22px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.2rem); color: #fff; letter-spacing: -.01em;
}
.hero__pitch {
  margin-top: 14px; max-width: 46ch; color: var(--muted-strong);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.26) }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06) }

.hero__tags {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; list-style: none; padding: 0;
}
.hero__tags li {
  font-size: .82rem; font-weight: 600; color: var(--muted-strong);
  padding: 6px 13px; border: 1px solid var(--line-dark); border-radius: var(--r-pill);
}

/* portrait */
.hero__portrait { display: grid; place-items: center; min-width: 0 }
.portrait { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)) }
.portrait__aura { transform-origin: 180px 200px; animation: auraSpin 26s linear infinite }
@keyframes auraSpin { to { transform: rotate(360deg) } }
.portrait__chip { transform-box: fill-box; transform-origin: center }
.portrait__chip--1 { animation: floatY 5s var(--ease) infinite }
.portrait__chip--2 { animation: floatY 6.4s var(--ease) infinite .8s }
@keyframes floatY { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-8px) } }

/* hero marquee */
.marquee {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  overflow: hidden; padding-block: 16px;
  background: rgba(0,0,0,.2);
}
.marquee__track { text-align: center; animation: none }
.marquee__item {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.5rem);
  letter-spacing: -.01em; color: var(--primary); padding-inline: 14px; white-space: normal;
}
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* =========================================================================
   Sections — generic scaffold
   ========================================================================= */
.section { padding-block: var(--section-y) }
.section--tint { background: var(--surface) }
.section--dark { background: var(--ink); color: #fff }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent) }
.eyebrow--light { color: var(--primary) }
.eyebrow--light::before { background: var(--primary) }

.section__head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px) }
.section__head h2 {
  margin-top: 14px; font-size: clamp(1.9rem, 4.6vw, 3rem); color: inherit;
}
.section--dark .section__head h2,
.about__intro h2 { color: inherit }
.section:not(.section--dark) .section__head h2 { color: var(--on-light) }
.section__intro {
  margin-top: 14px; font-size: clamp(1rem, 1.7vw, 1.12rem);
  color: var(--on-light-muted); max-width: 60ch;
}
.section--dark .section__intro { color: var(--muted-strong) }

.grid { display: grid; gap: clamp(16px, 2.4vw, 24px) }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)) }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)) }

/* =========================================================================
   About
   ========================================================================= */
.about__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about__intro h2 { color: var(--on-light); font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: 14px }
.about__bio { margin-top: 16px; color: var(--on-light-muted); font-size: 1.05rem }
.about__list { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 11px }
.about__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--on-light); font-weight: 500 }
.about__tick {
  flex: none; font-family: var(--font-display); font-weight: 800; color: var(--accent-dark);
  line-height: 1.55;
}

.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.stat {
  padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary) }
.stat__value {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.1rem, 5vw, 3rem); color: var(--on-light); letter-spacing: -.03em;
}
.stat__label { margin-top: 8px; font-size: .9rem; color: var(--on-light-muted); font-weight: 500 }

/* =========================================================================
   Services
   ========================================================================= */
.service-card {
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink) }
.service-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 15px; background: var(--ink); color: var(--primary);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.service-card:hover .service-card__icon { background: var(--primary); color: var(--ink); transform: rotate(-6deg) }
.service-card h3 { margin-top: 18px; font-size: 1.22rem; color: var(--on-light) }
.service-card p { margin-top: 9px; color: var(--on-light-muted); font-size: .98rem }

/* =========================================================================
   Work
   ========================================================================= */
.work-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}
.work-card:hover, .work-card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg) }
.work-card__cover { position: relative; aspect-ratio: 4 / 2.6; overflow: hidden }
.work-card__cover svg { width: 100%; height: 100%; transition: transform .5s var(--ease) }
.work-card:hover .work-card__cover svg, .work-card:focus-visible .work-card__cover svg { transform: scale(1.06) }
.work-card__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,14,16,.55), transparent 55%);
}
.work-card__body { padding: clamp(18px, 2.6vw, 24px) }
.work-card__cat {
  font-family: var(--font-display); font-weight: 700; font-size: .76rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--primary);
}
.work-card__title { margin-top: 8px; font-size: 1.3rem; color: #fff }
.work-card__result { margin-top: 8px; color: var(--muted-strong); font-size: .95rem }
.work-card__view {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: #fff;
}
.work-card__view i { transition: transform .25s var(--ease); color: var(--primary); font-style: normal }
.work-card:hover .work-card__view i, .work-card:focus-visible .work-card__view i { transform: translateX(5px) }

/* =========================================================================
   Process
   ========================================================================= */
.process__flow {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(16px, 2.4vw, 24px);
}
.process__step { position: relative; padding-top: 22px; border-top: 2px solid var(--line) }
.process__step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--accent);
}
.process__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  color: var(--primary-dark); letter-spacing: -.04em;
  -webkit-text-stroke: 1px var(--on-light);
}
.process__step h3 { margin-top: 6px; font-size: 1.28rem; color: var(--on-light) }
.process__step p { margin-top: 9px; color: var(--on-light-muted); font-size: .98rem }

/* =========================================================================
   Testimonials / voices
   ========================================================================= */
.voice-card {
  position: relative; padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 30px) clamp(22px, 3vw, 28px);
  border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.voice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow) }
.voice-card::before { content: ""; position: absolute; left: 0; top: clamp(24px,3vw,34px); bottom: clamp(22px,3vw,28px); width: 4px; border-radius: 4px }
.voice-card--lime::before { background: var(--primary) }
.voice-card--coral::before { background: var(--accent) }
.voice-card__quotemark {
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: .6;
  color: var(--accent); margin-bottom: 6px;
}
.voice-card__quote { color: var(--on-light); font-size: 1.05rem; font-style: italic }
.voice-card__person { display: flex; align-items: center; gap: 13px; margin-top: 20px }
.voice-card__avatar {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--ink); color: var(--primary);
  font-family: var(--font-display); font-weight: 800; font-size: .92rem;
}
.voice-card--coral .voice-card__avatar { background: var(--accent); color: var(--ink) }
.voice-card__meta { display: flex; flex-direction: column; min-width: 0 }
.voice-card__meta b { font-family: var(--font-display); font-weight: 700; color: var(--on-light); font-size: 1rem }
.voice-card__meta span { font-size: .86rem; color: var(--on-light-muted) }

/* =========================================================================
   Contact
   ========================================================================= */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.contact__lead h2 { color: #fff; font-size: clamp(2rem, 4.8vw, 3.1rem); margin-top: 14px }
.contact__sub { margin-top: 14px; color: var(--muted-strong); font-size: 1.08rem; max-width: 42ch }
.contact__socials { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px }
.social {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px;
  border: 1px solid var(--line-dark); border-radius: var(--r-pill);
  color: #fff; font-weight: 600; font-size: .92rem;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.social:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); background: rgba(198,242,78,.06) }

.contact-form { display: grid; gap: 16px }
.field { display: grid; gap: 7px }
.field label { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: #fff }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: #fff;
  background: var(--ink-soft); border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px }
.field input::placeholder, .field textarea::placeholder { color: #6A6A76 }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(198,242,78,.18);
}
.field--invalid input, .field--invalid textarea { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,111,94,.18) }
.field__error { color: var(--accent); font-size: .84rem; font-weight: 600 }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0 }

.form-success {
  margin-top: 4px; padding: 15px 18px; border-radius: var(--r-sm);
  background: rgba(198,242,78,.12); border: 1px solid var(--primary);
  color: var(--primary); font-weight: 600;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: #08080A; color: #fff; padding-top: clamp(48px, 7vw, 80px) }
.site-footer__inner {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 48px);
  align-items: center; padding-bottom: clamp(32px, 5vw, 52px);
  border-bottom: 1px solid var(--line-dark);
}
.site-footer__brand .brand { display: inline-flex }
.site-footer__tagline { margin-top: 14px; color: var(--muted); max-width: 38ch }
.site-footer__cta { text-align: right }
.site-footer__demo { color: var(--muted-strong); margin-bottom: 14px; font-size: .95rem }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  padding-block: 24px; color: var(--muted); font-size: .86rem;
}
.site-footer__back { color: var(--primary); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s var(--ease) }
.site-footer__back:hover { border-bottom-color: var(--primary) }

/* =========================================================================
   Reveal-on-scroll (gated so no-JS still shows content)
   ========================================================================= */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease) }
.js .reveal.is-visible { opacity: 1; transform: none }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px }
  .hero__portrait { order: -1; max-width: 320px; margin-inline: auto }
  .about__grid { grid-template-columns: 1fr; gap: 36px }
  .contact__grid { grid-template-columns: 1fr; gap: 36px }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)) }
  .process__flow { grid-template-columns: repeat(2, minmax(0,1fr)) }
}

@media (max-width: 860px) {
  .nav { display: none }
  .header-cta { display: none }
  .nav-toggle { display: flex }
  .site-footer__inner { grid-template-columns: 1fr; text-align: left }
  .site-footer__cta { text-align: left }
}

@media (max-width: 600px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr }
  .process__flow { grid-template-columns: 1fr }
  .about__stats { grid-template-columns: 1fr 1fr }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem) }
  .btn--lg { width: 100%; min-width: 0 }
  .hero__cta { gap: 11px }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important }
  .js .reveal { opacity: 1; transform: none }
  .marquee__track, .portrait__aura, .portrait__chip, .badge__dot { animation: none !important }
}
