/* =========================================================
   Plaar Technologies — styles
   Design tokens mirror the reference (dark, Inter 500, red→orange)
   Breakpoints: desktop ≥1200 · tablet 810–1199 · phone ≤809
   ========================================================= */

:root {
  --black: #000;
  --white: #fff;
  --card: #262626;
  --card-2: #1f1f1f;
  --surface: #333;
  --muted: rgba(255, 255, 255, 0.75);
  --soft: rgba(255, 255, 255, 0.9);
  --glass: rgba(255, 255, 255, 0.15);
  --glass-2: rgba(255, 255, 255, 0.1);
  --grad: linear-gradient(225deg, #fe0000 0%, #ff9700 100%);
  --grad-v: linear-gradient(180deg, #fe0000 0%, #ff9700 100%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.44, 0, 0.56, 1);
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 84px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", "Inter Placeholder", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, h4, p { margin: 0; font-weight: 500; text-wrap: balance; }
ul { list-style: none; margin: 0; padding: 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;
}

/* ---------- Typography (desktop) ---------- */
.h1 { font-size: 60px; line-height: 1.2; letter-spacing: -0.065em; }
.h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.065em; }
.h3 { font-size: 34px; line-height: 1.2; letter-spacing: -0.04em; }
.h4 { font-size: 28px; line-height: 1.2; letter-spacing: -0.05em; }
.t24 { font-size: 24px; line-height: 1.2; letter-spacing: -0.04em; }
.t20 { font-size: 20px; line-height: 1.2; letter-spacing: -0.04em; }
.t18 { font-size: 18px; line-height: 1.5; letter-spacing: -0.04em; }
.t16 { font-size: 16px; line-height: 1.5; letter-spacing: -0.04em; }
.t14 { font-size: 14px; line-height: 1.5; letter-spacing: -0.04em; }
.t12 { font-size: 12px; line-height: 1.2; letter-spacing: -0.04em; }
.t10 { font-size: 10px; line-height: 1.2; letter-spacing: -0.04em; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.center { text-align: center; }

/* ---------- Layout ---------- */
.section {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 100px 0;
  overflow: clip;
}
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
}
.container > * { width: 100%; }

/* ---------- Section label & heads ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

.head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  max-width: 550px;
  text-align: center;
}
.head__text { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.head__text p { max-width: 440px; }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.head-row .head { align-items: flex-start; text-align: left; }
.head-row .head__text { align-items: flex-start; }

/* ---------- Buttons (text roll on hover) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 19px;
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  line-height: 24px;
  isolation: isolate;
  transition: transform 0.35s var(--ease);
}
.btn--grad { background: var(--grad); color: var(--white); }
.btn--dark { background: var(--card); color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }
.btn--block { width: 100%; padding-top: 12px; padding-bottom: 12px; }
.btn__roll { position: relative; display: block; height: 24px; overflow: hidden; }
.btn__roll span { display: block; transition: transform 0.45s var(--ease); }
.btn__roll span + span { position: absolute; left: 0; right: 0; top: 100%; text-align: center; }
.btn:hover .btn__roll span { transform: translateY(-100%); }
.btn--grad::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(45deg, #fe0000 0%, #ff9700 100%);
  opacity: 0; z-index: -1;
  transition: opacity 0.45s var(--ease);
}
.btn--grad:hover::after { opacity: 1; }
.btn--dark:hover { background: #303030; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; line-height: 24px; white-space: nowrap;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background: var(--black);
  animation: navIn 0.9s var(--ease) both;
}
@keyframes navIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.nav__inner {
  width: 100%;
  max-width: var(--container);
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: inline-flex; align-items: center; height: 44px; }
.logo img { height: 44px; width: auto; }
.nav__right { display: flex; align-items: center; gap: 40px; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__link { font-size: 16px; line-height: 24px; opacity: 0.75; transition: opacity 0.3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__toggle { display: none; width: 32px; height: 32px; position: relative; }
.nav__toggle span {
  position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--white); border-radius: 2px;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 12px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 16px; transform: rotate(-45deg); }
.nav__menu { display: none; }
main { padding-top: 0; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}
[data-reveal="up"] { transform: translateY(18px); }
[data-reveal="scale"] { transform: scale(0.98); }
[data-reveal="pop"] { transform: translateY(18px) scale(0.95); }
[data-reveal="tilt-l"] { transform: translateY(18px) scale(0.95) rotate(-6deg); }
[data-reveal="tilt-r"] { transform: translateY(18px) scale(0.95) rotate(6deg); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="tilt-l"].is-in { transform: rotate(-6deg); }
[data-reveal="tilt-r"].is-in { transform: rotate(6deg); }

/* Hero entrance */
.enter { animation: enterUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes enterUp { from { opacity: 0; transform: translateY(24px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

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

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 140px 0 32px; }
.hero__intro {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.rating {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 5px 15px 5px 5px;
  border-radius: 999px;
  background: var(--card);
}
.rating__faces { display: flex; }
.rating__faces img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; }
.rating__faces img + img { margin-left: -12px; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__copy p { max-width: 480px; }
.hero__ctas { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 8px; flex-wrap: wrap; }

/* 3D video wall */
.wall {
  position: relative;
  height: 650px;
  border-radius: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16.1%, #000 43.4%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 16.1%, #000 43.4%, transparent 100%);
}
.wall__stage {
  position: absolute; left: 0; right: 0; top: 0;
  height: 800px;
  display: flex; justify-content: center; align-items: center;
  perspective: 1200px;
}
.wall__plane {
  display: flex;
  gap: 20px;
  padding: 100px;
  transform: rotateX(30deg) rotateZ(-2deg);
  transform-style: preserve-3d;
  flex-shrink: 0;
}
.wall__col { width: 250px; padding: 40px 0; transform-style: preserve-3d; flex-shrink: 0; }
.wall__track {
  display: flex; flex-direction: column; gap: 20px;
  animation: wallUp 20.4s linear infinite;
  will-change: transform;
}
.wall__col:nth-child(even) .wall__track { animation-name: wallDown; }
@keyframes wallUp { from { transform: translateY(1020px); } to { transform: translateY(-1020px); } }
@keyframes wallDown { from { transform: translateY(-1020px); } to { transform: translateY(1020px); } }
.wall__card {
  position: relative;
  width: 250px; height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.wall__card video { width: 100%; height: 100%; object-fit: cover; }
.wall__views {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 8px; border-radius: 32px;
  background: var(--white); color: var(--black);
  font-size: 12px; line-height: 1; letter-spacing: -0.02em; white-space: nowrap;
}
.wall__shade {
  position: absolute; left: 0; right: 0; top: 0; height: 180px;
  background: #000; opacity: 0.7;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  pointer-events: none;
}

/* Partner logos */
.partners { display: flex; align-items: center; gap: 48px; }
.partners__label { flex-shrink: 0; white-space: nowrap; }
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13.7%, #000 87.2%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 13.7%, #000 87.2%, transparent 100%);
}
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track img { width: 130px; height: 42px; object-fit: contain; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(calc(-50% - 23px)); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__head { max-width: 610px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.about__cards { display: flex; justify-content: center; align-items: center; gap: 20px; max-width: 900px; }
.stat-card {
  position: relative;
  width: 260px; height: 370px;
  border-radius: 18px;
  overflow: hidden;
  padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  flex-shrink: 0;
}
.stat-card--main { width: 340px; height: 435px; }
.stat-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.stat-card:hover > img { transform: scale(1.04); }
.stat-card__mask {
  position: absolute; left: 0; right: 0; bottom: 0; height: 240px;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0) 0%, #262626 100%);
  pointer-events: none;
}
.stat-bar {
  position: relative; z-index: 1;
  width: 100%; height: 58px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 10px;
  background: var(--glass-2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.stat-bar__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 999px; background: var(--white); color: var(--black);
  display: grid; place-items: center;
}
.stat-bar__icon svg { width: 22px; height: 22px; }
.stat-bar__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.stat-bar__text .t12 { opacity: 0.6; }
.stat-bar__pill {
  padding: 4px 8px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 10px; line-height: 12px; white-space: nowrap;
}
.stat-card--main .stat-bar { background: var(--white); color: var(--black); }
.stat-card--main .stat-bar__icon { background: var(--grad); color: var(--white); }
.stat-card--main .stat-bar__pill { background: var(--grad); color: var(--white); }

/* =========================================================
   BENEFITS
   ========================================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit {
  background: var(--card);
  border-radius: 22px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 10px;
  height: 404px;
}
.benefit__media {
  position: relative;
  height: 290px; flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px;
  isolation: isolate;
}
.benefit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.benefit__ghost {
  position: absolute; top: 165px;
  width: 209px; height: 213px;
  border-radius: 18px;
  background: var(--glass-2);
  z-index: -1;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.benefit__ghost--l { left: calc(50% - 140px); transform: rotate(-5deg); }
.benefit__ghost--r { left: calc(50% - 63px); transform: rotate(5deg); }
.benefit__photo {
  position: absolute; top: 130px; left: 50%;
  width: 193px; height: 197px;
  margin-left: -96.5px;
  border-radius: 18px;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s var(--ease);
}
.benefit:hover .benefit__photo { transform: translateY(-8px); }
.benefit:hover .benefit__ghost { top: 157px; }
.benefit:hover .benefit__ghost--l { transform: rotate(-8deg) translateX(-6px); }
.benefit:hover .benefit__ghost--r { transform: rotate(8deg) translateX(6px); }
.benefit__title { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.num-dot {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 999px; background: var(--glass);
  display: grid; place-items: center;
  font-size: 10px; line-height: 12px;
}
.benefit__body { padding: 20px; display: flex; align-items: center; flex: 1; }
.benefit__body p { max-width: 315px; }

/* =========================================================
   SERVICES (sticky stack)
   ========================================================= */
.services__list { max-width: 900px; display: flex; flex-direction: column; gap: 100px; }
.service-sticky { position: sticky; top: var(--top, 110px); }
.service {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px;
  min-height: 420px;
  border-radius: 20px;
  background: var(--card);
}
.service__num {
  position: absolute; top: -22px; left: -22px; z-index: 2;
  width: 44px; height: 44px; border-radius: 8px;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 20px; line-height: 24px;
}
.service__text { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.service__intro { display: flex; flex-direction: column; gap: 10px; }
.service__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14px; line-height: 21px; color: var(--soft);
  white-space: nowrap;
}
.tag__check { width: 15px; height: 15px; border-radius: 999px; background: var(--white); color: var(--black); display: grid; place-items: center; }
.tag__check svg { width: 11px; height: 11px; }
.service__media { position: relative; border-radius: 16px; overflow: hidden; min-height: 400px; }
.service__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service:hover .service__media img { transform: scale(1.04); }

/* =========================================================
   PROJECTS
   ========================================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project {
  display: block;
  height: 450px;
  padding: 4px;
  border-radius: 20px;
  background: var(--card);
}
.project__media {
  position: relative;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: grid; place-items: center;
}
.project__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.9s var(--ease);
}
.project:hover .project__media video { transform: scale(1); }
.project__brand { position: relative; z-index: 1; width: 170px; height: 24px; object-fit: contain; }
.project__bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  height: 69px;
  padding: 20px; border-radius: 16px;
  background: var(--white); color: var(--black);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: transform 0.6s var(--ease);
}
.project:hover .project__bar { transform: translateY(-4px); }
.project__name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.project__name .t20 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grad-dot {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 999px; background: var(--grad); color: var(--white);
  display: grid; place-items: center; font-size: 10px; line-height: 12px;
}
.project__meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pill { padding: 4px 12px; border-radius: 999px; font-size: 14px; line-height: 21px; white-space: nowrap; }
.pill--grad { background: var(--grad); color: var(--white); padding: 4px 14px; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.step {
  background: var(--card);
  border-radius: 22px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 10px;
  height: 497px;
}
.step__visual {
  position: relative;
  height: 350px; flex-shrink: 0;
  border-radius: 16px;
  background: var(--card-2);
  display: flex; align-items: center; justify-content: center;
  padding: 50px 20px 20px;
  overflow: hidden;
}
.step__tag {
  position: absolute; top: 20px; left: 20px;
  padding: 2px 16px; border-radius: 999px;
  background: var(--grad);
  font-size: 14px; line-height: 21px; white-space: nowrap;
}
.step__body { padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1; }
.step__body p.t16 { max-width: 270px; }

/* Orbit */
.orbit { position: relative; width: 200px; height: 200px; margin-top: 30px; }
.orbit__ring { position: absolute; inset: 0; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.12); }
.orbit__spin { position: absolute; inset: 0; animation: spin 30s linear infinite; }
.orbit__node {
  position: absolute; left: 50%; top: 50%;
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  border-radius: 999px; background: var(--card);
  display: grid; place-items: center;
  transform: rotate(var(--a)) translateY(-118px) rotate(calc(-1 * var(--a)));
}
.orbit__node--lg { width: 57px; height: 57px; margin: -28.5px 0 0 -28.5px; }
.orbit__node svg { width: 22px; height: 22px; animation: spin 30s linear infinite reverse; }
.orbit__core {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 12px; background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 0 40px rgba(255, 80, 0, 0.35);
}
.orbit__core svg { width: 30px; height: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 10px; }
.tile {
  height: 105px; border-radius: 10px; background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.tile svg { width: 36px; height: 36px; margin: 4px; }
.tile:hover { background: #2e2e2e; transform: translateY(-3px); }

/* Bars */
.bars { display: flex; align-items: flex-end; justify-content: center; gap: 7px; height: 221px; margin-top: 20px; }
.bar { width: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bar__track { position: relative; width: 36px; height: 195px; display: flex; align-items: flex-end; }
.bar__track::before { content: ""; position: absolute; inset: 0; border-radius: 10px; background: var(--glass); opacity: 0.3; }
.bar__fill {
  position: relative; width: 100%; height: var(--h);
  border-radius: 10px; background: var(--grad-v);
  display: flex; justify-content: center; padding-top: 6px;
  font-size: 10px; line-height: 12px;
  transform-origin: bottom; transform: scaleY(0);
  transition: transform 1.2s var(--ease); transition-delay: var(--d, 0s);
}
.is-in .bar__fill { transform: scaleY(1); }
.bar__label { font-size: 12px; line-height: 14px; }

/* =========================================================
   PRICING
   ========================================================= */
.plans { max-width: 900px; display: flex; justify-content: center; align-items: center; gap: 16px; }
.plan {
  width: 263px; min-height: 440px; flex-shrink: 0;
  border-radius: 20px; padding: 8px;
  background: var(--card);
  display: flex; flex-direction: column; gap: 10px;
}
.plan--featured { width: 342px; min-height: 515px; background: var(--grad); }
.plan__head { padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.plan__icon { width: 38px; height: 38px; border-radius: 999px; background: var(--white); color: var(--black); display: grid; place-items: center; }
.plan--featured .plan__icon { width: 42px; height: 42px; }
.plan__icon svg { width: 18px; height: 18px; }
.plan__info { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.plan__price { display: flex; align-items: flex-end; gap: 4px; }
.plan__price .t14 { opacity: 0.75; padding-bottom: 2px; }
.plan--featured .plan__price .h3 { font-size: 48px; line-height: 1.2; letter-spacing: -0.065em; }
.plan__sub { opacity: 0.75; }
.plan__features {
  flex: 1;
  padding: 16px; border-radius: 14px;
  background: var(--card-2);
  display: flex; flex-direction: column; gap: 12px;
}
.plan--featured .plan__features { background: rgba(255, 255, 255, 0.2); }
.feature { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 21px; }
.feature__check { width: 19px; height: 19px; flex-shrink: 0; border-radius: 999px; background: var(--white); color: var(--black); display: grid; place-items: center; }
.feature__check svg { width: 13px; height: 13px; }

/* =========================================================
   TEAM
   ========================================================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-grid { padding-top: 60px; row-gap: 80px; }
.member {
  position: relative;
  height: 309px;
  border-radius: 22px;
  padding: 185px 24px 24px;
  background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  text-align: center;
}
.member__photo {
  position: absolute; top: -60px; left: 20px; right: 20px;
  height: 220px; border-radius: 18px; overflow: hidden;
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__id { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.social-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--grad);
  font-size: 14px; line-height: 21px;
  transition: transform 0.4s var(--ease);
}
.social-pill svg { width: 14px; height: 14px; }
.social-pill:hover { transform: translateY(-2px); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.quotes { max-width: 900px; display: flex; flex-direction: column; gap: 22px; }
.quote {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 28px;
  padding: 8px; border-radius: 14px;
  background: var(--card);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}
.quote__photo { height: 258px; border-radius: 14px; overflow: hidden; }
.quote__photo img { width: 100%; height: 100%; object-fit: cover; }
.quote__body { padding: 20px 0; display: flex; flex-direction: column; gap: 32px; }
.quote__logo { width: 114px; height: 37px; object-fit: contain; object-position: left; }
.quote__author { display: flex; flex-direction: column; }
.quote__stat {
  border-radius: 14px; padding: 16px;
  background: var(--grad);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
}
.quote__share { width: 36px; height: 36px; border-radius: 999px; background: var(--white); color: var(--black); display: grid; place-items: center; }
.quote__share svg { width: 20px; height: 20px; }
.quote__num { align-self: stretch; display: flex; flex-direction: column; gap: 8px; }
.quote__num div { display: flex; align-items: center; gap: 10px; }
.quote__num svg { width: 24px; height: 24px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 700px; display: flex; flex-direction: column; gap: 16px; }
.faq__item { border-radius: 14px; background: var(--card); }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px; text-align: left;
  font-size: 18px; line-height: 27px;
  transition: padding 0.5s var(--ease);
}
.faq__item.is-open .faq__q { padding-bottom: 8px; }
.faq__icon {
  width: 23px; height: 23px; flex-shrink: 0;
  padding: 4px; border-radius: 999px; background: var(--grad);
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease);
}
.faq__icon svg { width: 15px; height: 15px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 20px 20px; max-width: 540px; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* =========================================================
   CTA
   ========================================================= */
.cta-section { padding: 24px 0; }
.cta {
  position: relative;
  min-height: 537px;
  padding: 120px 60px;
  border-radius: 20px;
  background: var(--card);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.cta .head { position: relative; z-index: 2; }
.cta .label { background: var(--card); }
.cta__ctas { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 8px; flex-wrap: wrap; }
.cta__video {
  position: absolute; top: 277px;
  width: 293px; height: 355px;
  border-radius: 12px; overflow: hidden;
  padding: 16px;
}
.cta__video--l { left: 46px; }
.cta__video--r { right: 46px; }
.cta__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__views {
  position: relative; z-index: 1;
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: var(--white); color: var(--black);
  font-size: 12px; line-height: 17px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 64px 0 0; display: flex; justify-content: center; overflow: hidden; }
.footer .container { gap: 68px; }
.footer__top { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 8px; }
.footer__brand { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__brand p { max-width: 365px; }
.footer__brand .btn { margin-top: 10px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__links a { opacity: 0.75; transition: opacity 0.3s var(--ease); }
.footer__links a:hover { opacity: 1; }
.footer__mark {
  position: relative;
  height: 265px;
  display: flex; justify-content: center;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 87%);
          mask-image: linear-gradient(0deg, transparent 0%, #000 87%);
  pointer-events: none;
  user-select: none;
}
.footer__mark span {
  font-size: min(500px, calc((100vw - 2 * var(--gutter)) / 2.32));
  line-height: 0.8; letter-spacing: -0.055em;
  white-space: nowrap;
}

/* =========================================================
   INNER PAGES (contact, projects, project detail, 404)
   ========================================================= */
.page-hero { padding-top: 140px; }
.page-hero .head { max-width: 600px; }
.page-hero .head__text p { max-width: 480px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact__form-wrap { padding: 28px; border-radius: 20px; background: var(--card-2); }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 14px; line-height: 21px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--card);
  color: var(--white);
  font: inherit; font-size: 14px; line-height: 21px; letter-spacing: -0.02em;
  outline: none;
  transition: border-color 0.3s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.6); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(255, 151, 0, 0.7); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field select option { background: var(--card); }
.field textarea { height: 150px; resize: vertical; }
.form .btn { font-size: 16px; }
.form__note { font-size: 14px; line-height: 21px; color: var(--muted); min-height: 21px; }
.contact__media { position: relative; border-radius: 20px; overflow: hidden; min-height: 600px; }
.contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Project detail */
.back-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--card); font-size: 16px; line-height: 24px; transition: background 0.3s var(--ease); }
.back-pill:hover { background: #303030; }
.back-pill svg { width: 16px; height: 16px; }
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pd-media { position: relative; height: 600px; border-radius: 20px; overflow: hidden; background: var(--card); }
.pd-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-side { display: flex; flex-direction: column; gap: 20px; }
.pd-info { flex: 1; padding: 28px; border-radius: 20px; background: var(--card); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.pd-rows { display: flex; flex-direction: column; gap: 16px; }
.pd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; line-height: 21px; }
.pd-row span:first-child { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.pd-row svg { width: 16px; height: 16px; }
.pd-next { align-self: flex-start; }
.pd-platforms { padding: 28px; border-radius: 20px; background: var(--card); display: flex; flex-direction: column; gap: 16px; }
.pd-platforms ul { display: flex; gap: 12px; }
.pd-platforms li { width: 40px; height: 40px; border-radius: 999px; background: var(--grad); display: grid; place-items: center; }
.pd-platforms svg { width: 18px; height: 18px; }
.pd-blocks { max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
.pd-block { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px; border-radius: 20px; background: var(--card); }
.pd-block__text { padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.pd-block__media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-block__media img { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.pd-stat { aspect-ratio: 1; border-radius: 12px; padding: 16px; background: var(--grad); display: flex; flex-direction: column; justify-content: space-between; }
.pd-stat__icon { align-self: flex-end; width: 32px; height: 32px; border-radius: 999px; background: var(--white); color: var(--black); display: grid; place-items: center; }
.pd-stat__icon svg { width: 18px; height: 18px; }

.notfound { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 160px 24px 80px; }
.notfound__code { font-size: 160px; line-height: 1; letter-spacing: -0.065em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   TABLET 810–1199
   ========================================================= */
@media (max-width: 1199px) {
  .h1 { font-size: 54px; }
  .h2 { font-size: 44px; }
  .h3 { font-size: 30px; }
  .h4 { font-size: 26px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { row-gap: 80px; }
  .cta__video--l { left: -40px; }
  .cta__video--r { right: -40px; }
  .quote { grid-template-columns: 200px minmax(0, 1fr) 200px; }
  .wall__stage { transform: scale(0.95); }
}

/* =========================================================
   PHONE ≤809
   ========================================================= */
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .h1 { font-size: 44px; letter-spacing: -0.065em; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 26px; }
  .h4 { font-size: 26px; }

  /* Nav */
  .nav { padding: 20px 0; }
  .nav__right { display: none; }
  .nav__toggle { display: block; }
  .nav__menu {
    display: flex; flex-direction: column; align-items: center; gap: 22px;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 24px 20px 40px;
    background: var(--black);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .nav__menu .nav__link { font-size: 16px; }
  .nav__menu .btn { margin-top: 10px; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav.is-open .nav__menu > * { animation: enterUp 0.6s var(--ease) both; }
  .nav.is-open .nav__menu > *:nth-child(2) { animation-delay: 0.04s; }
  .nav.is-open .nav__menu > *:nth-child(3) { animation-delay: 0.08s; }
  .nav.is-open .nav__menu > *:nth-child(4) { animation-delay: 0.12s; }
  .nav.is-open .nav__menu > *:nth-child(5) { animation-delay: 0.16s; }

  /* Hero */
  .wall { height: 520px; }
  .wall__stage { transform: none; }
  .partners { flex-direction: column; gap: 20px; }
  .marquee { width: 100%; }

  /* Heads */
  .head-row { flex-direction: column; align-items: flex-start; gap: 24px; }

  /* About */
  .about__cards { flex-direction: column; }
  .stat-card, .stat-card--main { width: 100%; max-width: 420px; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .benefit__ghost--l { left: calc(50% - 140px); }

  /* Services */
  .services__list { gap: 60px; }
  .service-sticky { position: relative; top: auto; }
  .service { grid-template-columns: 1fr; }
  .service__text { gap: 24px; padding: 20px 14px; }
  .service__media { min-height: 300px; }

  /* Projects */
  .project { height: 400px; }
  .project__bar { padding: 14px 16px; height: auto; flex-wrap: wrap; }
  .project__name .t20 { font-size: 18px; }

  /* Steps */
  .step { height: auto; }

  /* Pricing */
  .plans { flex-direction: column; }
  .plan, .plan--featured { width: 100%; max-width: 420px; }

  /* Team */
  .team-grid { row-gap: 80px; }
  .member { max-width: 420px; width: 100%; justify-self: center; }

  /* Testimonials */
  .quote { grid-template-columns: 1fr; gap: 8px; }
  .quote__photo { height: 300px; }
  .quote__body { padding: 16px 12px; gap: 20px; }
  .quote__stat { min-height: 200px; gap: 24px; }

  /* CTA */
  .cta { padding: 80px 20px 320px; min-height: 0; }
  .cta__video { width: 200px; height: 250px; top: auto; bottom: -40px; }
  .cta__video--l { left: -20px; }
  .cta__video--r { right: -20px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .footer__col--contact { grid-column: span 2; }
  .footer__mark { height: 120px; }

  /* Inner pages */
  .contact, .pd-top, .pd-block { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 20px; }
  .contact__media { min-height: 420px; }
  .pd-media { height: 440px; }
  .notfound__code { font-size: 110px; }
}
