/* ==========================================================================
   FCPL Media & Entertainment Theme  |  v1.0
   Light base · Blue / Red / Green · Mobile-first · No dependencies
   --------------------------------------------------------------------------
   01 Tokens        02 Base          03 Layout & utilities   04 Buttons
   05 Preloader/UI  06 Header/Nav    07 Hero slider          08 Sections
   09 Cards         10 Pages         11 Forms                12 Footer
   13 Motion        14 Responsive
   ========================================================================== */

/* 01 TOKENS ------------------------------------------------------------- */
:root {
  --bg: #f5f7fc;
  --bg-2: #eaeffb;
  --surface: #ffffff;
  --ink: #0a1030;
  --ink-2: #2b3358;
  --muted: #5d6788;
  --line: rgba(10, 16, 48, 0.1);

  --blue: #2347ff;
  --blue-2: #5b7bff;
  --red: #ff2d4b;
  --green: #10c88a;
  --grad: linear-gradient(115deg, var(--blue) 0%, var(--red) 58%, var(--green) 115%);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --sh-1: 0 6px 24px rgba(20, 32, 90, 0.08);
  --sh-2: 0 28px 70px rgba(20, 32, 90, 0.18);

  --ff-d: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --gutter: clamp(18px, 4vw, 48px);
}

/* 02 BASE --------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--ff-b);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked {
  overflow: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--ff-d);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 3px solid var(--blue-2);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--blue);
  color: #fff;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 12px;
}

/* 03 LAYOUT & UTILITIES ------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(70px, 9vw, 130px);
  position: relative;
}
.section--alt {
  background: var(--bg-2);
}
.section--white {
  background: var(--surface);
}
.section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--center .eyebrow {
  justify-content: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, var(--blue));
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.title-xl {
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  font-weight: 800;
}
.title-lg {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 800;
}
.title-md {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin-top: 18px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.center {
  text-align: center;
}
.mt-lg {
  margin-top: clamp(30px, 4vw, 56px);
}
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--sh-1);
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.ticks .icon {
  color: var(--green);
  background: rgba(16, 200, 138, 0.14);
  border-radius: 50%;
  padding: 4px;
  width: 1.7em;
  height: 1.7em;
  margin-top: 2px;
}

/* 04 BUTTONS ------------------------------------------------------------ */
.btn {
  --b: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: var(--b);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--b) 38%, transparent);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  border-radius: inherit;
}
.btn:hover::before {
  transform: none;
}
.btn:hover {
  box-shadow: 0 16px 34px rgba(10, 16, 48, 0.25);
}
.btn .icon {
  transition: transform 0.4s var(--ease);
}
.btn:hover .icon {
  transform: translateX(5px) rotate(-8deg);
}
.btn--red {
  --b: var(--red);
}
.btn--green {
  --b: var(--green);
}
.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost:hover {
  color: #fff;
}
.btn--sm {
  padding: 11px 22px;
  font-size: 0.86rem;
}
.btn-round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    var(--sh-1),
    inset 0 0 0 1px var(--line);
  transition: 0.4s var(--ease);
}
.btn-round:hover {
  background: var(--ink);
  color: #fff;
  transform: scale(1.08);
}

/* 05 PRELOADER / PROGRESS / CURSOR / TO-TOP ------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition:
    transform 0.9s var(--ease),
    opacity 0.6s;
}
.preloader.is-done {
  transform: translateY(-100%);
  opacity: 0.98;
  pointer-events: none;
}
.preloader__inner {
  text-align: center;
}
.preloader__logo {
  width: 92px;
  margin: 0 auto 22px;
  animation: pulse 1.4s ease-in-out infinite;
}
.preloader__bar {
  width: 200px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--grad);
  border-radius: 4px;
  animation: load 1.1s var(--ease) infinite;
}
@keyframes load {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(250%);
  }
}
@keyframes pulse {
  50% {
    transform: scale(1.1);
  }
}

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  z-index: 120;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
}

.cursor,
.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 900;
  border-radius: 50%;
  opacity: 0;
}
.cursor {
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  transition:
    width 0.3s var(--ease),
    height 0.3s var(--ease),
    background 0.3s,
    opacity 0.3s,
    border-color 0.3s;
}
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
}
.cursor.is-on,
.cursor-dot.is-on {
  opacity: 1;
}
.cursor.is-hover {
  width: 74px;
  height: 74px;
  background: rgba(35, 71, 255, 0.1);
  border-color: var(--red);
}
@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-dot {
    display: none;
  }
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--sh-2);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: 0.5s var(--ease);
}
.to-top.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--red);
  transform: translateY(-4px);
}

/* 06 HEADER / NAV ------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    height 0.4s var(--ease),
    backdrop-filter 0.4s;
}
.site-header.is-solid {
  height: 70px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 8px 30px rgba(20, 32, 90, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand img {
  width: 46px;
  height: 46px;
}
.brand small {
  display: block;
  font-family: var(--ff-b);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav__link {
  position: relative;
  padding: 10px 18px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-2);
  transition:
    color 0.3s,
    background 0.3s;
}
.nav__link:hover {
  color: var(--blue);
  background: rgba(35, 71, 255, 0.08);
}
.nav__link.is-active {
  color: #fff;
  background: var(--ink);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.burger {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  place-items: center;
  background: var(--ink);
  color: #fff;
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: calc(var(--header-h) + 20px) var(--gutter) 30px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #fff 0%, #eaf0ff 60%, #ffe9ee 100%);
  clip-path: circle(0% at calc(100% - 46px) 42px);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
.drawer.is-open {
  clip-path: circle(150% at calc(100% - 46px) 42px);
  visibility: visible;
}
.drawer a.drawer__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--ff-d);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer a.drawer__link.is-active {
  color: var(--red);
}
.drawer__foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.4s var(--ease);
}
.socials a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-5px) rotate(-8deg);
}
.socials a:nth-child(2):hover {
  background: var(--red);
}
.socials a:nth-child(3):hover {
  background: var(--green);
}

/* 07 HERO SLIDER -------------------------------------------------------- */
.hero {
  position: relative;
  height: max(680px, 100svh);
  min-height: 680px;
  overflow: hidden;
  background: var(--bg);
  --dur: 7000ms;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s var(--ease),
    visibility 0s 0.9s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  z-index: 2;
}
.slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 8s linear;
}
.slide.is-active .slide__bg {
  transform: scale(1);
}
.slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(245, 247, 252, 0.97) 0%,
    rgba(245, 247, 252, 0.88) 38%,
    rgba(245, 247, 252, 0.25) 70%,
    rgba(245, 247, 252, 0) 100%
  );
}
.slide__shade::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(0deg, var(--bg), transparent);
}
.slide__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
  padding-top: var(--header-h);
  padding-bottom: 90px;
}
.slide__title {
  font-size: clamp(2.6rem, 6.4vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.line > span {
  display: inline-block;
  transform: translateY(115%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease);
}
.slide.is-active .line > span {
  transform: none;
}
.slide.is-active .line:nth-child(1) > span {
  transition-delay: 0.25s;
}
.slide.is-active .line:nth-child(2) > span {
  transition-delay: 0.4s;
}
.slide.is-active .line:nth-child(3) > span {
  transition-delay: 0.55s;
}
.slide__copy .eyebrow,
.slide__text,
.slide__cta {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.slide.is-active .eyebrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}
.slide.is-active .slide__text {
  opacity: 1;
  transform: none;
  transition-delay: 0.7s;
}
.slide.is-active .slide__cta {
  opacity: 1;
  transform: none;
  transition-delay: 0.85s;
}
.slide__text {
  max-width: 520px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--ink-2);
}
.slide__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.slide__art {
  position: relative;
  height: 100%;
  min-height: 420px;
}
.art {
  position: absolute;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-2);
  background: #fff;
  opacity: 0;
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
  translate: calc(var(--mx, 0) * var(--d, 10) * 1px) calc(var(--my, 0) * var(--d, 10) * 1px);
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art--a {
  width: 46%;
  aspect-ratio: 3/4;
  right: 36%;
  top: 14%;
  transform: translateY(80px) rotate(-12deg);
  --d: 14;
}
.art--b {
  width: 40%;
  aspect-ratio: 3/4;
  right: 2%;
  top: 30%;
  transform: translateY(80px) rotate(9deg);
  --d: -18;
  border: 6px solid #fff;
}
.art--c {
  width: 26%;
  aspect-ratio: 1;
  right: 40%;
  bottom: 8%;
  transform: scale(0.6);
  --d: 26;
  border-radius: 50%;
  border: 6px solid #fff;
}
.slide.is-active .art {
  opacity: 1;
  transition-delay: 0.5s;
}
.slide.is-active .art--a {
  transform: rotate(-7deg);
}
.slide.is-active .art--b {
  transform: rotate(6deg);
  transition-delay: 0.65s;
}
.slide.is-active .art--c {
  transform: none;
  transition-delay: 0.8s;
}
.art-tag {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--sh-1);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  animation: float 5s ease-in-out infinite;
}
.art-tag .icon {
  width: 2.2em;
  height: 2.2em;
  padding: 8px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
}
.art-tag--1 {
  left: 2%;
  bottom: 24%;
}
.art-tag--2 {
  right: 4%;
  top: 8%;
  animation-delay: -2s;
}
@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

.hero__ui {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 30px;
}
.hero__ui .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero__dots {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 460px;
}
.dot {
  flex: 1;
  text-align: left;
  padding-top: 14px;
}
.dot span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(10, 16, 48, 0.14);
  overflow: hidden;
}
.dot span i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
}
.dot b {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.dot.is-active b {
  color: var(--ink);
}
.dot.is-active span i {
  animation: fill var(--dur) linear forwards;
}
.dot.is-done span i {
  width: 100%;
}
.hero.is-paused .dot.is-active span i {
  animation-play-state: paused;
}
@keyframes fill {
  to {
    width: 100%;
  }
}
.hero__count {
  margin-left: auto;
  font-family: var(--ff-d);
  font-weight: 800;
  color: var(--ink);
  font-size: 1.1rem;
}
.hero__count small {
  color: var(--muted);
  font-weight: 600;
}
.hero__arrows {
  display: flex;
  gap: 10px;
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 100px;
  z-index: 5;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-cue::after {
  content: "";
  width: 2px;
  height: 56px;
  background: linear-gradient(var(--ink), transparent);
  animation: cue 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0% {
    transform: scaleY(0);
  }
  60% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* 08 SECTIONS ----------------------------------------------------------- */
/* marquee */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding-block: 22px;
  transform: rotate(-1.2deg);
  margin-block: -14px;
  position: relative;
  z-index: 3;
  box-shadow: var(--sh-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--ff-d);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  white-space: nowrap;
}
.marquee__item .icon {
  color: var(--red);
}
.marquee__item:nth-child(3n + 2) .icon {
  color: var(--green);
}
.marquee__item:nth-child(3n) .icon {
  color: var(--blue-2);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* about collage */
.collage {
  position: relative;
  padding: 0 0 60px 40px;
}
.collage__main {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 4/5;
}
.collage__main img,
.collage__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage__sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  border: 8px solid var(--bg);
  box-shadow: var(--sh-2);
}
.section--white .collage__sub {
  border-color: #fff;
}
.badge-float {
  position: absolute;
  right: -14px;
  top: 12%;
  z-index: 2;
  padding: 20px 24px;
  border-radius: var(--r);
  background: var(--red);
  color: #fff;
  box-shadow: 0 20px 40px rgba(255, 45, 75, 0.35);
  animation: float 6s ease-in-out infinite;
  text-align: center;
}
.badge-float strong {
  display: block;
  font-family: var(--ff-d);
  font-size: 2.4rem;
  line-height: 1;
}
.badge-float span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* stats */
.stats {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(34px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.stats::before,
.stats::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.stats::before {
  background: var(--blue);
  left: -100px;
  top: -140px;
}
.stats::after {
  background: var(--red);
  right: -100px;
  bottom: -160px;
}
.stats .grid {
  position: relative;
  z-index: 1;
}
.stat {
  text-align: center;
  padding: 10px;
}
.stat strong {
  display: block;
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, #b9c6ff 60%, #8dffd3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 0.95rem;
}

/* process */
.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}
.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-2);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* testimonials */
.testi-wrap {
  position: relative;
}
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 10px 4px 30px;
}
.testi-track::-webkit-scrollbar {
  display: none;
}
.testi {
  flex: 0 0 min(520px, 86%);
  scroll-snap-align: start;
  padding: 38px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
  position: relative;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}
.testi:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-2);
}
.testi > .icon {
  width: 2.6em;
  height: 2.6em;
  color: var(--c, var(--blue));
  opacity: 0.9;
  margin-bottom: 16px;
}
.testi p {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}
.testi footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.testi footer img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--c, var(--blue));
}
.testi footer strong {
  display: block;
  color: var(--ink);
  font-family: var(--ff-d);
}
.testi footer span {
  font-size: 0.85rem;
  color: var(--muted);
}
.testi-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

/* partners */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
.partners img {
  width: 100%;
  max-width: 150px;
  margin-inline: auto;
  filter: grayscale(1);
  opacity: 0.6;
  transition: 0.4s var(--ease);
}
.partners img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

/* CTA band */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: clamp(40px, 7vw, 90px);
  color: #fff;
  text-align: center;
  background: linear-gradient(120deg, var(--blue) 0%, #6a38ff 45%, var(--red) 100%);
  box-shadow: var(--sh-2);
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.cta::before {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -160px;
  animation: spin 30s linear infinite;
  border-style: dashed;
}
.cta::after {
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -140px;
  background: rgba(16, 200, 138, 0.35);
  border: 0;
  filter: blur(10px);
}
.cta > * {
  position: relative;
  z-index: 1;
}
.cta h2 {
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
}
.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 18px auto 34px;
}
.cta .btn {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}
.cta .btn::before {
  background: var(--green);
}
.cta .btn:hover {
  color: #fff;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 09 CARDS -------------------------------------------------------------- */
.card-service {
  --c: var(--blue);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    box-shadow 0.5s var(--ease),
    transform 0.2s;
}
.card-service::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% -40%;
  height: 70%;
  border-radius: 50%;
  background: var(--c);
  opacity: 0;
  filter: blur(40px);
  transition:
    opacity 0.6s,
    transform 0.6s var(--ease);
  transform: translateY(40%);
}
.card-service:hover::before {
  opacity: 0.22;
  transform: none;
}
.card-service:hover {
  box-shadow: var(--sh-2);
}
.card-service > * {
  position: relative;
}
.card-service__icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
  transition: 0.5s var(--ease);
  font-size: 1.9rem;
}
.card-service:hover .card-service__icon {
  background: var(--c);
  color: #fff;
  transform: rotate(-10deg) scale(1.1);
  border-radius: 50%;
}
.card-service h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.card-service p {
  color: var(--muted);
  font-size: 0.96rem;
}
.card-service .more {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--c);
  font-size: 0.9rem;
}
.card-service .more .icon {
  transition: transform 0.4s var(--ease);
}
.card-service:hover .more .icon {
  transform: translate(4px, -4px);
}

.work {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--sh-1);
  aspect-ratio: 4/5;
  cursor: pointer;
  isolation: isolate;
}
.work--wide {
  aspect-ratio: 16/10;
}
.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1s var(--ease),
    filter 0.6s;
}
.work:hover img {
  transform: scale(1.1) rotate(1deg);
  filter: saturate(1.2);
}
.work__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  color: #fff;
  background: linear-gradient(0deg, rgba(8, 12, 38, 0.92), transparent);
  transform: translateY(26%);
  transition: transform 0.6s var(--ease);
}
.work:hover .work__info {
  transform: none;
}
.work__info h3 {
  color: #fff;
  font-size: 1.3rem;
}
.work__info p {
  opacity: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
  transition: opacity 0.5s 0.1s;
}
.work:hover .work__info p {
  opacity: 1;
}
.work .chip {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
}
.work__go {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.5s var(--ease);
}
.work:hover .work__go {
  transform: none;
}
.masonry {
  columns: 3;
  column-gap: 26px;
}
.masonry .work {
  break-inside: avoid;
  margin-bottom: 26px;
}
.work.is-hidden {
  display: none;
}
.work.is-pop {
  animation: pop 0.6s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(24px);
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter {
  padding: 11px 22px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: 0.4s var(--ease);
}
.filter:hover {
  transform: translateY(-3px);
  color: var(--blue);
}
.filter.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--sh-1);
}

.media-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
}
.media-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-2);
}
.media-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.media-card:hover .media-card__img img {
  transform: scale(1.08);
}
.media-card__img .chip {
  position: absolute;
  left: 16px;
  top: 16px;
}
.media-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.media-card h3 {
  font-size: 1.2rem;
  transition: color 0.3s;
}
.media-card:hover h3 {
  color: var(--blue);
}
.media-card .more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.value {
  padding: 32px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
  border-top: 5px solid var(--c, var(--blue));
  transition: transform 0.5s var(--ease);
}
.value:hover {
  transform: translateY(-8px);
}
.value .icon {
  width: 2.4em;
  height: 2.4em;
  padding: 11px;
  border-radius: 16px;
  margin-bottom: 18px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
}
.value h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.timeline {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad);
  border-radius: 3px;
}
.tl {
  position: relative;
  padding: 0 0 44px 72px;
}
.tl::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 4px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--surface);
  border: 6px solid var(--c, var(--blue));
}
.tl strong {
  font-family: var(--ff-d);
  font-size: 1.5rem;
  color: var(--c, var(--blue));
}
.tl h3 {
  font-size: 1.2rem;
  margin: 4px 0 6px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(30px, 4vw, 56px);
}
.service-row:nth-child(even) .service-row__img {
  order: 2;
}
.service-row__img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 4/3;
}
.service-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.service-row:hover .service-row__img img {
  transform: scale(1.07);
}
.service-row .card-service__icon {
  font-size: 1.7rem;
}

/* 10 PAGES -------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 8vw, 120px)) 0 clamp(60px, 7vw, 100px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--bg));
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  z-index: 0;
}
.page-hero::before {
  width: 420px;
  height: 420px;
  background: var(--blue-2);
  right: -100px;
  top: -100px;
}
.page-hero::after {
  width: 320px;
  height: 320px;
  background: var(--green);
  left: -80px;
  bottom: -120px;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a:hover {
  color: var(--blue);
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: 0.5;
}
.breadcrumb {
  padding: 0;
}
.breadcrumb li {
  display: inline-flex;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 800;
  max-width: 900px;
}
.page-hero .lead {
  max-width: 640px;
}

.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
  transition: transform 0.5s var(--ease);
}
.info-card:hover {
  transform: translateX(8px);
}
.info-card .icon {
  width: 3.2em;
  height: 3.2em;
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: var(--c, var(--blue));
}
.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.info-card a:hover {
  color: var(--blue);
}
.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-2);
  aspect-ratio: 21/9;
  position: relative;
}
.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.faq details {
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--sh-1);
  padding: 4px 26px;
  transition: box-shadow 0.4s;
}
.faq details[open] {
  box-shadow: var(--sh-2);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--ff-d);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.08rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  transition: transform 0.5s var(--ease);
  background: var(--bg-2);
  border-radius: 50%;
  padding: 6px;
  width: 2em;
  height: 2em;
}
.faq details[open] summary .icon {
  transform: rotate(135deg);
  background: var(--red);
  color: #fff;
}
.faq details p {
  padding-bottom: 22px;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 12, 38, 0.86);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox figure {
  margin: 0;
  max-width: 960px;
  width: 100%;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.6s var(--ease);
}
.lightbox.is-open figure {
  transform: none;
}
.lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--r);
  background: #fff;
}
.lightbox figcaption {
  color: #fff;
  text-align: center;
  margin-top: 18px;
  font-family: var(--ff-d);
  font-weight: 700;
  font-size: 1.2rem;
}
.lightbox figcaption small {
  display: block;
  font-family: var(--ff-b);
  font-weight: 500;
  opacity: 0.75;
  margin-top: 4px;
}
.lightbox__close {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: 0.4s var(--ease);
}
.lightbox__close:hover {
  background: var(--red);
  color: #fff;
  transform: rotate(90deg);
}

.err {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px var(--gutter) 60px;
}
.err h1 {
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 800;
  line-height: 0.9;
}

/* 11 FORMS -------------------------------------------------------------- */
.form {
  display: grid;
  gap: 20px;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-2);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  position: relative;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 22px 18px 10px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: var(--bg);
  outline: none;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field label {
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--muted);
  font-weight: 500;
  pointer-events: none;
  transition: 0.3s var(--ease);
  transform-origin: 0 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(35, 71, 255, 0.1);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:valid + label {
  transform: translateY(-11px) scale(0.76);
  color: var(--blue);
  font-weight: 700;
}
.field.is-error input,
.field.is-error textarea {
  border-color: var(--red);
}
.field .msg {
  display: none;
  font-size: 0.8rem;
  color: var(--red);
  margin: 6px 4px 0;
  font-weight: 600;
}
.field.is-error .msg {
  display: block;
}
.form__ok {
  display: none;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(16, 200, 138, 0.14);
  color: #057a53;
  font-weight: 600;
}
.form__ok.is-on {
  display: flex;
  gap: 10px;
  align-items: center;
  animation: pop 0.6s var(--ease);
}
.subscribe {
  display: flex;
  gap: 10px;
  padding: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
}
.subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.subscribe .btn {
  background: var(--red);
}

/* 12 FOOTER ------------------------------------------------------------- */
.footer {
  position: relative;
  background: #070c26;
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(70px, 8vw, 110px);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.25;
  filter: blur(110px);
  right: -160px;
  top: -200px;
}
.footer .container {
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 60px;
}
.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 22px;
}
.footer .brand {
  color: #fff;
  margin-bottom: 18px;
}
.footer .brand small {
  color: rgba(255, 255, 255, 0.6);
}
.footer ul li {
  margin-bottom: 12px;
}
.footer ul a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: 0.3s var(--ease);
}
.footer ul a:hover {
  color: #fff;
  transform: translateX(6px);
}
.footer .socials a {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}
.footer__big {
  font-family: var(--ff-d);
  font-weight: 800;
  font-size: clamp(3rem, 15vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin-top: 10px;
}
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.footer__bar a:hover {
  color: #fff;
}

/* 13 MOTION (scroll reveal) --------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal="left"] {
  transform: translateX(-60px);
}
[data-reveal="right"] {
  transform: translateX(60px);
}
[data-reveal="zoom"] {
  transform: scale(0.88);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

/* 14 RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav,
  .header__actions .btn {
    display: none;
  }
  .burger {
    display: grid;
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .masonry {
    columns: 2;
  }
}
@media (max-width: 900px) {
  .split,
  .service-row {
    grid-template-columns: 1fr;
  }
  .service-row:nth-child(even) .service-row__img {
    order: 0;
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide__inner {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .slide__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
    min-height: 0;
  }
  .slide__shade {
    background: linear-gradient(
      180deg,
      rgba(245, 247, 252, 0.9),
      rgba(245, 247, 252, 0.75) 60%,
      rgba(245, 247, 252, 0.95)
    );
  }
  .art--a {
    right: 8%;
  }
  .art--b {
    right: -6%;
  }
  .art-tag,
  .scroll-cue {
    display: none;
  }
  .hero__dots b {
    display: none;
  }
}
@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .form__row {
    grid-template-columns: 1fr;
  }
  .masonry {
    columns: 1;
  }
  .hero {
    min-height: 640px;
  }
  .slide__inner {
    padding-bottom: 120px;
  }
  .hero__ui .container {
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero__dots {
    order: 1;
    flex-basis: 100%;
    max-width: none;
  }
  .hero__arrows .btn-round {
    width: 46px;
    height: 46px;
  }
  .collage {
    padding-left: 16px;
  }
  .badge-float {
    right: 0;
    padding: 14px 16px;
  }
  .partners {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 14px 4px;
  }
  .stats .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi {
    padding: 28px;
  }
  .brand small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 15 GALLERY ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 20px;
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-2);
  box-shadow: var(--sh-1);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  color: #fff;
  font-family: var(--ff-d);
  font-weight: 700;
  background: linear-gradient(0deg, rgba(8, 12, 38, 0.85), transparent);
  transform: translateY(100%);
  transition: transform 0.6s var(--ease);
}

.gallery__item figcaption small {
  font-family: var(--ff-b);
  font-weight: 500;
  opacity: 0.8;
}

.gallery__item:hover figcaption {
  transform: none;
}

@media (hover: none) {
  .gallery__item figcaption {
    transform: none;
  }
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-auto-rows: 150px;
    gap: 12px;
  }

  .gallery__item figcaption {
    padding: 12px;
    font-size: 0.8rem;
  }
}
