:root {
  --viewport-pad: clamp(12px, 4vw, 60px);
  --floating-right-safe: max(12px, env(safe-area-inset-right));
  --floating-left-safe: max(12px, env(safe-area-inset-left));
  --floating-bottom-safe: max(12px, env(safe-area-inset-bottom));
  --vh-safe: 100svh;
  --vh-dynamic: 100dvh;
}

html {
  scrollbar-gutter: stable;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
section{
  z-index: 3;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Inter', sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  min-height: var(--vh-safe);
  min-height: var(--vh-dynamic);
  height: auto;
  isolation: isolate;
}



.hero {
  width: 98%;
  min-height: 100vh;
  min-height: var(--vh-safe);
  min-height: var(--vh-dynamic);
  background: linear-gradient(to right, #010006 24%, #0100BF 100%);
  border-radius: 16px;
  margin: 0;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}



.home {
  width: 100%;
  max-width: 100%;

  background-color: #000;
  display: flex;
  justify-content: center;
  overflow-x: clip;
}

.mobile-hero {
  display: none;
}

.glasshero {
  width: 100%;
  height: 100%;
  position: relative;

  background: rgba(217, 217, 217, 0.01);
  border: 1px solid rgba(253, 253, 253, 0.26);
  border-radius: 16px;

  backdrop-filter: blur(150px);
  -webkit-backdrop-filter: blur(150px);

  box-shadow:
    inset 75px -75px 75px rgba(165, 165, 165, 0.1),
    inset -75px 75px 75px rgba(255, 255, 255, 0.1);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glasshero,
  .project-lock-overlay,
  .script-modal-card,
  .mobile-hero__nav,
  .mobile-hero__menu {
    background-color: rgba(18, 18, 18, 0.86) !important;
  }
}



.nav {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 0 16px;
  z-index: 5;
}

.navs {
  width: fit-content;
}

.navs ul {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(24px, 5vw, 120px);
  width: fit-content;
  padding: 0;
  margin: 0;
}

.navs li a {
  list-style: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  min-height: 40px;
}
.navs li  {
  list-style: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  min-height: 40px;
}

.navs .pox {
  width: 225px;
  height: 46px;
  background: #000;
  border-radius: 0;
  flex: 0 0 225px;
  align-self: flex-start;
  margin-top: -21px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 18px rgba(255, 255, 255, 0.7);
}

.hero-cta {
  margin-top: 34px;
  margin-left: 120px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 120px;
  margin-top: 16px;
}

.hero-social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.hero-social-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.hero-social-link:hover {
  transform: translateY(-2px);
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (hover: hover) and (pointer: fine) {
  html.has-cinematic-cursor,
  html.has-cinematic-cursor body,
  html.has-cinematic-cursor a,
  html.has-cinematic-cursor button,
  html.has-cinematic-cursor [role="button"],
  html.has-cinematic-cursor input,
  html.has-cinematic-cursor textarea,
  html.has-cinematic-cursor select,
  html.has-cinematic-cursor summary {
    cursor: none !important;
  }

  .cinematic-cursor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2147483647;
    contain: layout style paint;
    opacity: 0;
    transition: opacity 0.24s ease;
  }

  .cinematic-cursor.is-visible {
    opacity: 1;
  }

  .cinematic-cursor__outer,
  .cinematic-cursor__dot {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0);
    backface-visibility: hidden;
    pointer-events: none;
  }

  .cinematic-cursor__outer {
    width: 34px;
    height: 34px;
    border: 1.2px solid rgba(255, 255, 255, 0.78);
    background: transparent;
    mix-blend-mode: difference;
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.24s ease,
      background-color 0.24s ease;
  }

  .cinematic-cursor__dot {
    width: 17px;
    height: 17px;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    mix-blend-mode: difference;
    transition: width 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      height 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.24s ease,
      border-color 0.24s ease;
  }

  .cinematic-cursor.is-hover-interactive .cinematic-cursor__outer {
    width: 54px;
    height: 54px;
    border-color: rgba(255, 255, 255, 0.42);
  }

  .cinematic-cursor.is-hover-interactive .cinematic-cursor__dot {
    width: 41px;
    height: 41px;
    background: rgba(0, 0, 0, 0.466);
    border-color: rgba(0, 0, 0, 0.466);
  }

  .cinematic-cursor.is-hover-text .cinematic-cursor__outer,
  .cinematic-cursor.is-hover-text .cinematic-cursor__dot {
    mix-blend-mode: difference;
  }
}

@media (max-width: 991px) {
  .hero-socials {
    padding-left: 0;
    justify-content: center;
  }
}

.animated-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 16px 52px;
  border: 4px solid transparent;
  font-size: 16px;
  background-color: transparent;
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #ffffff;
  box-shadow:
    0 0 0 2px #008cff,
    0 0 14px rgba(0, 140, 255, 0.35),
    0 0 28px rgba(0, 140, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: #ffffff;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 16px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #008cff;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  background: #008cff;
  border-color: #008cff;
  box-shadow:
    0 0 5px #008cff,
    0 0 20px #008cff,
    0 0 50px #008cff,
    0 0 100px rgba(0, 140, 255, 0.95);
  color: #ffffff;
  border-radius: 100px;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 20px #ffffff;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 16px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #ffffff;
}

.animated-button:active {
  scale: 0.95;
  box-shadow:
    0 0 0 4px #008cff,
    0 0 20px rgba(0, 140, 255, 0.45);
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.hero-reveal {
  --border-right: 4px;
  --text-stroke-color: rgba(255, 255, 255, 0.6);
  --animation-color: #ffffff;
  --fs-size: 1.15rem;
  position: absolute;
  left: 120px;
  top: 190px;
  transform: none;
  margin: 0;
  padding-bottom: 0;
  font-family: Arial, sans-serif;
  font-size: var(--fs-size);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
  z-index: 4;
}

.hero-reveal .actual-text,
.hero-reveal .hover-text {
  display: block;
}

.hero-reveal .hover-text {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  width: 0%;
  color: var(--animation-color);
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--animation-color);
  animation: hero-reveal-loop 3.2s ease-in-out infinite;
}

@keyframes hero-reveal-loop {

  0%,
  12% {
    width: 0%;
    filter: drop-shadow(0 0 0 transparent);
  }

  45%,
  68% {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color));
  }

  100% {
    width: 0%;
    filter: drop-shadow(0 0 0 transparent);
  }
}

.glasshero img {
  width: 60%;
  position: absolute;
  bottom: 0;
  right: 0;
  ;
  filter: drop-shadow(0 0 80px rgb(0, 40, 255, 0.4));
}

.about {
  width: 100%;
  min-height: 100svh;
  padding: clamp(48px, 7vw, 96px) 0;
  background-color: #000000;
  margin-top: 0px;
  opacity: 0;
  transform: translateY(100px);
  transition: 0.8s ease;
  position: relative;
  z-index: 320;

}
.about.show{
  opacity: 1;
  transform: translateY(0);
}
.about-circle {
  position: fixed;
  inset: 0;
  background: #000000;
  -webkit-clip-path: circle(0px at 50% 100%);
  clip-path: circle(0px at 50% 100%);
  pointer-events: none;
  z-index: 300;
}

.about ~ section,
.about ~ footer,
.about ~ .projects-shell {
  position: relative;
  z-index: 340;
}

.about ~ .bg-video {
  z-index: 320;
}

.about-circle.hide{
  z-index: 0;

}
.home.hide{
  z-index: 1;
  position: relative;
}

.group2 {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}

.group3 {
  flex: 1 1 420px;
  min-width: 0;
}

.group3 h1 {
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 800;
  font-family: inter;
  margin-bottom: 24px;
  line-height: 0.95;
}

.group3 h2 {
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 600;
  font-family: inter;
  background: linear-gradient(90deg, #ffffff 24%, #0028f2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  margin-bottom: 16px;
}

.group3 p {
  --animation-color: #ffffff;
  --border-right: 4px;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  font-family: inter;
  width: min(100%, 560px);
  letter-spacing: 3%;
  line-height: 1.55;
}

.about-p-line {
  position: relative;
  display: inline-block;
  max-width: 100%;
  clip-path: inset(0 100% 0 0);
}

.about-p-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--border-right);
  background: var(--animation-color);
  filter: drop-shadow(0 0 23px var(--animation-color));
  opacity: 0;
}

.about-p.is-revealing .about-p-line {
  animation: about-copy-reveal 0.9s ease-in-out forwards;
}

.about-p.is-revealing .about-p-line::after {
  animation: about-copy-bar 0.9s ease-in-out forwards;
}

.about-p.is-revealing .about-p-line:nth-of-type(1),
.about-p.is-revealing .about-p-line:nth-of-type(1)::after {
  animation-delay: 0s;
}

.about-p.is-revealing .about-p-line:nth-of-type(2),
.about-p.is-revealing .about-p-line:nth-of-type(2)::after {
  animation-delay: 0.28s;
}

.about-p.is-revealing .about-p-line:nth-of-type(3),
.about-p.is-revealing .about-p-line:nth-of-type(3)::after {
  animation-delay: 0.56s;
}

.about-p.is-revealing .about-p-line:nth-of-type(4),
.about-p.is-revealing .about-p-line:nth-of-type(4)::after {
  animation-delay: 0.84s;
}

@keyframes about-copy-reveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }

  100% {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes about-copy-bar {
  0% {
    opacity: 1;
    left: 0;
  }

  78% {
    opacity: 1;
    left: calc(100% - var(--border-right));
  }

  100% {
    opacity: 0;
    left: calc(100% - var(--border-right));
  }
}

.group4 {
  flex: 0 1 560px;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(150px, 0.75fr);
  align-items: stretch;
  gap: 22px;
}

.group4-main,
.group4-stack img {
  overflow: hidden;
  border-top-right-radius: 96px;
}

.group4-main {
  align-self: center;
}

.group4-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.group4 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.group4-main img {
  min-height: 430px;
  max-height: 520px;
}

.group4-stack img {
  min-height: 220px;
}

@media (max-width: 980px) {
  .about {
    height: auto;
    min-height: auto;
    padding: 56px 0;
  }

  .group2 {
    width: min(100%, calc(100% - 32px));
    flex-direction: column;
    gap: 32px;
  }

  .group3 p {
    width: 100%;
  }

  .group4 {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .group4-main img,
  .group4-stack img {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .group4-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .about {
    padding: 42px 0 54px;
  }

  .group2 {
    width: min(100%, calc(100% - 24px));
    gap: 22px;
  }

  .group3 h1 {
    margin-bottom: 14px;
    font-size: 40px;
  }

  .group3 h2 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .group3 p {
    font-size: 16px;
    line-height: 1.65;
  }

  .group4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: -120px;
  }

  .group4-stack {
    display: none;
  }

  .group4-main img {
    display: block;
    margin: 0 auto;
    border-top-right-radius: 52px;
    width: 75%;
    height: auto;
    margin-top: 50px;
    

  }
}

@media (max-width: 768px) {
  .mobile-hero__page {
    min-height: auto;
  }

  .mobile-hero__visual {
    padding-bottom: min(108%, 480px);
  }

  .mobile-hero__content {
    padding: 18px 16px 24px;
    gap: 12px;
  }

  .mobile-hero__taglines p {
    line-height: 1.45;
  }

  .mobile-hero__actions {
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .mobile-hero {
    width: 100%;
  }

  .mobile-hero__nav,
  .mobile-hero__menu {
    width: 100%;
  }

  .mobile-hero__visual {
    padding-bottom: 112%;
  }

  .mobile-hero__title {
    left: 2px;
    top: 88px;
    font-size: clamp(72px, 28vw, 102px);
  }

  .mobile-hero__subtitle {
    left: 66px;
    top: 90px;
    font-size: clamp(24px, 9.8vw, 42px);
  }

  .mobile-hero__role-main {
    font-size: clamp(22px, 6.7vw, 28px);
  }

  .mobile-hero__role-accent {
    font-size: clamp(18px, 5.6vw, 24px);
  }

  .mobile-hero__taglines p {
    font-size: clamp(17px, 4.8vw, 21px);
  }

  .mobile-hero__cta.hero-cta,
  .mobile-hero__showreel {
    min-height: 52px;
  }
}

@media (max-width: 430px) and (max-height: 780px) {
  .mobile-hero__visual {
    padding-bottom: 98%;
  }

  .mobile-hero__title {
    top: 72px;
    font-size: clamp(64px, 24vw, 90px);
  }

  .mobile-hero__subtitle {
    top: 74px;
    left: 58px;
    padding-top: 62px;
  }

  .mobile-hero__content {
    padding-top: 14px;
  }
}

@media (max-width: 430px) and (min-height: 860px) {
  .mobile-hero__visual {
    padding-bottom: 118%;
  }

  .mobile-hero__content {
    padding-bottom: 32px;
  }
}

.photo1 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.photo1 img {
  display: block;
  transform: translateY(var(--float-offset, 0px));
}

.photo1 img:nth-child(odd) {
  transform: translateY(-40px);
}

.photo1 img:nth-child(even) {
  transform: translateY(40px);
}

@media (max-width: 768px) {
  .photo1 {
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .photo1 img {
    width: calc((100% - 20px) / 3);
    max-width: 104px;
    border-radius: 14px;
    margin-bottom: 50px;
  }

  .photo1 img:nth-child(odd),
  .photo1 img:nth-child(even),
  .photo2 img:nth-child(odd),
  .photo2 img:nth-child(even) {
    transform: translateY(0);
  }



  .photo2 {
    position: relative;
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    margin-top: 44px;
    margin-bottom: 30px;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  }

  .photo2-track {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: max-content;
    animation: mobile-client-marquee 18s linear infinite;
  }

  .photo2 img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    transition: none;
  }

  .photo2:hover img,
  .photo2 img:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.photo2 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 200px;
  margin-bottom: 50px;
}

.photo2 img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  will-change: transform, opacity;
  transition: filter 0.4s ease, transform 0.4s ease;
}

/* الشكل المتعرج الأساسي */
/* hover */
.photo2:hover img {
  filter: blur(2px);
  opacity: 0.6;
}

.photo2 img:hover {
  filter: blur(0px) !important;
  opacity: 1 !important;
  transform: scale(1.12) translateY(0px) !important;
  z-index: 10;
}

.photo2-track {
  display: contents;
}

.topclint h1 {
  font-size: 88px;
  font-weight: 800;
  font-family: inter;
  text-align: center;
  margin-bottom: 175px;
  z-index: 3;
  position: relative;
}
@media (max-width: 768px) {
  .topclint h1{
    font-size: 48px;
    margin-bottom: 42px;
  }
}


.g {
  position: relative;
  font-size: 88px;
  font-weight: 800;
  font-family: inter;
  text-align: center;
  z-index: 999999;
  margin-bottom: -50px;
}
@media (max-width: 768px) {
  .g{
    font-size: 40px;
    margin-bottom: 120px;
  }
}

img,
svg,
video {
  max-width: 100%;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

@keyframes mobile-client-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 12px));
  }
}

.shadow {
  position: relative;
  top: -100px;
  z-index: 10;
  width: 100Vw;
  height: 300px;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 1) 50%,
      rgba(0, 0, 0, 0.21) 89%);
  filter: blur(105px);
}

.about-sign1 {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.about-sign1 p {
  color: #154ab8;
  font-family: "Caveat", "cursive";
  margin: 0;
  font-size: clamp(20px, 2.5vw, 32px);
}

.pro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  margin-bottom: 0;
  column-gap: clamp(36px, 5vw, 72px);
  row-gap: 24px;
  min-height: 200px;
}

.pro p {
  grid-column: 1;
  font-size: 40px;
  line-height: 1.7;
  letter-spacing: 1px;
  font-family: "Inter", sans-serif;
  min-width: 0;
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 0;
}

.pro .hero-cta {
  grid-column: 1;
  justify-self: start;
  align-self: start;
  margin-top: 0;
  margin-left: 0 !important;
  margin-bottom: 0;
}

.pro video {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
  width: min(100%, 400px);
  max-width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0;
  transform: none;
  border-radius: 12px;
  box-shadow: 0 0 26px rgba(21, 74, 184, 0.75), 0 0 36px rgba(21, 74, 184, 0.45);
}

.projects {
  width: 100%;
  min-height: 100vh;
  min-height: var(--vh-safe);
  min-height: var(--vh-dynamic);
  padding: 0;
  /* مهم */
  overflow: hidden;
}

.projects-track {
  display: flex;
  height: 100%;
  will-change: transform;
  gap: var(--slide-gap);
}

.project {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100vh;
  min-height: var(--vh-safe);
  min-height: var(--vh-dynamic);
  padding: clamp(26px, 4vw, 60px);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  z-index: 3600;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
  z-index: 0;

}

.project > * {
  position: relative;
  z-index: 1;
}

.project-title {
  margin: 50px 0 40px;
  font-size: 88px;
  letter-spacing: 2px;
}

.project-subtitle {
  color: #154ab8;
  font-family: "Caveat", "cursive";
  transform: rotate(3deg);
  margin-left: clamp(0px, 4vw, 80px);
  margin-bottom: 30px;
  font-size: 25px;
}

.projects-shell {
  background: transparent;
  padding: 0;
  overflow-x: hidden;
  margin-top: -120px;
}

.project-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.09) 20%, rgba(255, 255, 255, 0.02) 36%, rgba(0, 0, 0, 0.50) 66%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.16));
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: green;
  font-family: "Anton", sans-serif;
  font-size: clamp(34px, 6vw, 92px);
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  pointer-events: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -18px 30px rgba(255, 255, 255, 0.08);
}

.project-lock-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 26%, rgba(0, 0, 0, 0.16) 66%);
  pointer-events: none;
}

.stats-section {
  position: relative;
  padding: 120px 60px;
  background:
    radial-gradient(circle at 50% 58%, rgba(21, 74, 184, 0.68), rgba(21, 74, 184, 0.20) 38%, rgba(0, 0, 0, 0.96) 72%),
    #000;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
}

.stats-title {
  margin: 0 0 34px;
  text-align: center;
  font-family: "Anton", sans-serif;
  font-size: clamp(52px, 7.2vw, 112px);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.stats-title-small {
  font-size: clamp(52px, 7.2vw, 112px);
  margin-top: 0;
  opacity: 0.96;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 430px));
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
}

.stat-card {
  min-height: 195px;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
  text-align: center;
  background:
    linear-gradient(150deg,
      rgba(32, 36, 46, 0.38) 0%,
      rgba(20, 23, 31, 0.26) 45%,
      rgba(12, 14, 20, 0.20) 100%),
    rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(1px) saturate(125%);
  -webkit-backdrop-filter: blur(1px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -14px 24px rgba(0, 0, 0, 0.20),
    0 12px 30px rgba(0, 0, 0, 0.24);
  will-change: transform, opacity;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  background: linear-gradient(110deg,
      transparent 20%,
      rgba(255, 255, 255, 0.03) 38%,
      rgba(255, 255, 255, 0.10) 50%,
      rgba(255, 255, 255, 0.03) 62%,
      transparent 80%);
  transform: translateX(-140%);
  animation: cardGlassShine 4.2s ease-in-out infinite;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.00) 30%,
      rgba(0, 0, 0, 0.12) 100%);
}

@keyframes cardGlassShine {
  0% {
    transform: translateX(-140%);
  }

  62% {
    transform: translateX(-140%);
  }

  82% {
    transform: translateX(140%);
  }

  100% {
    transform: translateX(140%);
  }
}

.stat-number {
  position: relative;
  z-index: 1;
  font-family: "Anton", sans-serif;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 1;
  color: #ffffff;
  text-shadow: none;
  pointer-events: none;
  margin-bottom: 12px;
}

.stat-label {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  color: #e3ecff;
  letter-spacing: 1px;
}

.service-card {
  min-height: 145px;
  justify-content: center;
  padding-bottom: 0;
}

.service-name {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(20px, 2.1vw, 34px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #ffffff;
}

@media (max-width: 980px) {
  .stats-section {
    padding: 90px 22px;
  }

  .stats-grid {
    grid-template-columns: minmax(240px, 360px);
    justify-content: center;
  }

  .stat-card {
    min-height: 145px;
    padding-bottom: 0;
  }

  .stats-grid {
    margin-bottom: 30px;
  }

  .service-name {
    font-size: clamp(16px, 4.4vw, 24px);
  }
}

.script-cta {
  position: absolute;
  left: 5%;
  top: 26%;
  z-index: 40;
  will-change: transform, opacity;
}

.script-cta .button {
  --stone-50: #fafaf9;
  --stone-800: #292524;
  --yellow-300: #fde047;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --black-25: rgba(0, 0, 0, 0.25);
  position: relative;
  display: block;
  width: 4rem;
  height: 4rem;
  cursor: pointer;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.script-cta .button>button {
  cursor: pointer;
  display: inline-block;
  height: 100%;
  width: 100%;
  appearance: none;
  border: 2px solid var(--stone-800);
  border-radius: 0.25rem;
  background-color: var(--yellow-400);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: background-color 0.2s;
}

.script-cta .button>button:hover {
  background-color: var(--yellow-300);
}

.script-cta .button>button:active {
  outline-color: var(--stone-800);
}

.script-cta .button>button:focus-visible {
  outline-color: var(--stone-800);
  outline-style: dashed;
}

.script-cta .button>span:nth-child(2) {
  position: absolute;
  inset: 3px;
  pointer-events: none;
  background-color: var(--yellow-400);
  border-bottom: 2px solid var(--black-25);
}

.script-cta .button>span:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / 80%) 20%, transparent 20%),
    radial-gradient(rgb(255 255 255 / 100%) 20%, transparent 20%);
  background-position: 0 0, 4px 4px;
  background-size: 8px 8px;
  mix-blend-mode: hard-light;
  opacity: 0.5;
  animation: dots 0.5s infinite linear;
}

.script-cta .button>span:nth-child(3) {
  position: absolute;
  pointer-events: none;
  inset: 0;
}

.script-cta .button>span:nth-child(3)::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  background-color: var(--stone-800);
  border-radius: 0.125rem;
  box-shadow: 3.125em 0 var(--stone-800), 0 3.125em var(--stone-800), 3.125em 3.125em var(--stone-800);
}

.script-cta .button>span:nth-child(4) {
  position: absolute;
  pointer-events: none;
  inset: 0;
  filter: drop-shadow(0.25em 0.25em 0 rgba(0, 0, 0, 0.2));
  transition: all 75ms;
}

.script-cta .button>span:nth-child(4)::after {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  position: absolute;
  top: 0.875rem;
  left: 1rem;
  background-color: var(--stone-800);
  box-shadow:
    0.75em 2em var(--stone-800),
    1em 2em var(--stone-800),
    0.75em 1.75em var(--stone-800),
    1em 1.75em var(--stone-800),
    0.75em 1.25em var(--stone-800),
    1em 1.25em var(--stone-800),
    0.75em 1em var(--stone-800),
    1em 1em var(--stone-800),
    1em 0.75em var(--stone-800),
    1.5em 0.75em var(--stone-800),
    1.25em 0.75em var(--stone-800),
    1.25em -0.25em var(--stone-800),
    1.5em 0em var(--stone-800),
    1.25em 0.5em var(--stone-800),
    1.5em 0.5em var(--stone-800),
    1.25em 0.25em var(--stone-800),
    1.5em 0.25em var(--stone-800),
    1.25em 0 var(--stone-800),
    1em -0.25em var(--stone-800),
    0.75em -0.25em var(--stone-800),
    0.5em -0.25em var(--stone-800),
    0.25em -0.25em var(--stone-800),
    0.25em 0 var(--stone-800),
    0 0.25em var(--stone-800),
    0 0.5em var(--stone-800),
    0.25em 0.25em var(--stone-800),
    0.25em 0.5em var(--stone-800);
}

.script-cta .button>span:nth-child(5) {
  position: absolute;
  background-color: var(--yellow-400);
  border: 2px solid var(--stone-800);
  border-radius: 0.75rem;
  pointer-events: none;
  z-index: -1;
  inset: 0.5rem 1.5rem;
  box-shadow: 7px 0 0 0 var(--stone-800), inset 0 2px 0 0 var(--yellow-300), inset 0 -2px 0 0 var(--yellow-500);
  transition: all 0ms cubic-bezier(0, 0.5, 0.4, 1);
}

.script-cta .button>button:active~span:nth-child(5) {
  transform: translateY(-200%);
  transition-duration: 200ms;
  opacity: 0;
}

.script-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.script-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.script-modal-card {
  width: min(92vw, 460px);
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
  position: relative;
}

.script-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.script-step {
  display: none;
}

.script-step.is-active {
  display: block;
}

.script-step h3 {
  margin: 4px 0 10px;
  font-family: "Anton", sans-serif;
  font-size: 38px;
  letter-spacing: 1px;
}

.script-step p {
  margin: 0 0 16px;
  color: #dbe3f7;
  line-height: 1.6;
}

.script-next,
#scriptBookingForm button {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: #154ab8;
  color: #fff;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
}

#scriptBookingForm {
  display: grid;
  gap: 10px;
}

#scriptBookingForm input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 10px 12px;
}

@keyframes ctaPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.11);
  }
}

@media (max-width: 980px) {
  .script-cta {
    left: 8%;
    top: 18%;
  }
}

.services-guide {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translate(-125%, -50%);
  opacity: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100% - 24px);
  will-change: transform, opacity;
}

.services-guide img {
  width: clamp(90px, 10vw, 150px);
  height: auto;
  display: block;
}

.services-guide-bubble {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  max-width: min(220px, calc(100% - 110px));
  white-space: normal;
}

@media (max-width: 980px) {
  .services-guide {
    top: 56%;
  }

  .services-guide-bubble {
    font-size: 12px;
    padding: 8px 11px;
  }
}

.testimonials-section {
  position: relative;
  padding: 120px 60px 140px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.94) 22%, #000 55%, #000 100%),
    radial-gradient(circle at 50% -10%, rgba(21, 74, 184, 0.34) 0%, rgba(21, 74, 184, 0.14) 36%, rgba(0, 0, 0, 0) 66%),
    radial-gradient(circle at 78% 76%, rgba(21, 74, 184, 0.18), rgba(21, 74, 184, 0) 52%),
    #000;
}

.testimonials-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.testimonials-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: "Anton", sans-serif;
  font-size: clamp(44px, 6vw, 90px);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.testimonial-spotlight {
  position: relative;
  border-radius: 28px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.06)),
    rgba(10, 13, 20, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -24px 40px rgba(0, 0, 0, 0.22),
    0 22px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(7px) saturate(135%);
  -webkit-backdrop-filter: blur(7px) saturate(135%);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(145deg, #1877f2, #0f58bd);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.35);
}

.testimonial-author-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 3px;
}

.testimonial-author-name {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 700;
  color: #f4f8ff;
}

.testimonial-author-platform {
  font-family: "Inter", sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  color: #154ab8;
}

.testimonial-quote {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.45;
  letter-spacing: 0.5px;
  color: #eef4ff;
}

.testimonial-meta {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.testimonial-name {
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 1.3vw, 20px);
  color: #d5e3ff;
  font-weight: 700;
}

.testimonial-result {
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(21, 74, 184, 0.22);
  border: 1px solid rgba(21, 74, 184, 0.55);
  color: #a9c4ff;
  font-weight: 700;
  font-size: clamp(13px, 1.05vw, 16px);
}

.testimonial-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.testimonial-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #dce7ff;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.testimonial-control-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 74, 184, 0.7);
  background: rgba(21, 74, 184, 0.22);
  color: #ffffff;
}

.testimonial-index {
  min-width: 62px;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.8px;
  color: #b8caef;
}

@media (max-width: 980px) {
  .testimonials-section {
    padding: 90px 22px 110px;
  }

  .testimonial-controls {
    justify-content: center;
  }
}

.social-clock {
  --count-buttons: 4;
  --size-button: 4rem;
  --size-clock: 16rem;
  --size-padding: 0.5rem;
}

.social-clock {
  --size: var(--size-clock);

  position: fixed;
  border-radius: var(--size);
  cursor: default;
  height: var(--size);
  pointer-events: none;
  width: var(--size);
  right: var(--floating-right-safe);
  bottom: var(--floating-bottom-safe);
  z-index: 90;
  transition: all 0.5s linear;
  will-change: transform, opacity;
}

.social-clock,
.social-clock__trigger {
  align-items: center;
  display: flex;
  justify-content: center;
}

.social-clock__trigger {
  --size: var(--size-button);

  background: #000;
  border: none;
  border-radius: var(--size);
  width: var(--size);
  height: var(--size);
  pointer-events: all;
  z-index: 3;
}

.social-clock__trigger svg {
  --size: calc(0.65 * var(--size-button));

  fill: #fff;
  height: var(--size);
  width: var(--size);
  padding-right: calc(0.05 * var(--size-button));
}

.social-clock__list {
  --size: calc(var(--size-button) + var(--size-padding));

  border-radius: inherit;
  height: var(--size);
  position: absolute;
  left: calc(50% - var(--size) / 2);
  top: calc(50% - var(--size) / 2);
  width: var(--size);
  pointer-events: all;
  transition:
    all 0.3s ease-in-out,
    transform 0.3s linear;
}

.social-clock:hover .social-clock__list {
  --size: 100%;

  transform: rotate(360deg);
}

.social-clock__button {
  --angle: calc(var(--index, 0) * 360deg / var(--count-buttons));
  --height: calc(100% - var(--size-padding) * 2);
  --size: var(--size-button);

  background: none;
  border: none;
  border-radius: var(--size);
  box-sizing: content-box;
  cursor: pointer;
  height: var(--height);
  position: absolute;
  left: calc(50% - var(--size) / 2);
  top: calc(50% - var(--height) / 2);
  pointer-events: none;
  width: var(--size);
  transform: rotate(var(--angle));
}

.social-clock__button::before,
.social-clock__button::after {
  --size: var(--size-button);

  border-radius: inherit;
  box-sizing: border-box;
  content: "";
  position: absolute;
  left: calc(50% - var(--size) / 2);
  width: var(--size);
}

.social-clock__button::before {
  --fill-opacity: 0.5;

  background: rgba(var(--color), var(--fill-opacity));
  height: var(--size);
  pointer-events: all;
  top: 0;
  transition: background 0.3s linear;
}

.social-clock:hover .social-clock__button::before {
  background: rgba(0, 0, 0, var(--fill-opacity));
}

.social-clock__button::after {
  --fill-opacity: 0.7;
  --fill-size: 0;
  --height: calc(50% + var(--size) / 2);

  bottom: calc(100% - var(--height));
  box-shadow: inset 0 var(--fill-size) 0 rgba(var(--color), var(--fill-opacity));
  height: var(--height);
  pointer-events: none;
  transition: box-shadow 0.3s ease-in-out;
}

.social-clock__button:hover::after {
  --fill-size: calc(-0.5 * (var(--size-clock) + var(--size)));
  pointer-events: all;
}

.social-clock__button:active::after {
  --fill-opacity: 1;
}

.social-clock__button svg {
  --padding: calc((var(--size-button) - var(--size)) / 2);
  --size: calc(0.65 * var(--size-button));

  position: absolute;
  left: var(--padding);
  top: var(--padding);
  fill: #fff;
  height: var(--size);
  transform: rotate(calc(-1 * var(--angle)));
  width: var(--size);
  z-index: 2;
}

.social-clock__button.whatsapp {
  --color: 37, 211, 102;
}

.social-clock__button.facebook {
  --color: 24, 119, 242;
}

.social-clock__button.instagram {
  --color: 225, 48, 108;
}

.social-clock__button.tiktok {
  --color: 255, 255, 255;
}

.social-clock__button.whatsapp svg {
  width: calc(0.58 * var(--size-button));
  height: calc(0.58 * var(--size-button));
  top: calc((var(--size-button) - (0.58 * var(--size-button))) / 2);
  left: calc((var(--size-button) - (0.58 * var(--size-button))) / 2);
}

.social-clock__button:nth-child(1) {
  --index: 0;
}

.social-clock__button:nth-child(2) {
  --index: 1;
}

.social-clock__button:nth-child(3) {
  --index: 2;
}

.social-clock__button:nth-child(4) {
  --index: 3;
}

@media (max-width: 980px) {
  .social-clock {
    --size-button: 2.95rem;
    --size-clock: auto;
    width: auto;
    height: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    pointer-events: auto;
  }

  .social-clock__trigger {
    display: none;
  }

  .social-clock__list {
    position: static;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    left: auto;
    top: auto;
    transform: none;
  }

  .social-clock:hover .social-clock__list {
    transform: none;
  }

  .social-clock__button {
    position: relative;
    left: auto;
    top: auto;
    height: var(--size-button);
    width: var(--size-button);
    transform: none;
    pointer-events: all;
  }

  .social-clock__button::before {
    inset: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(var(--color), 0.86);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  }

  .social-clock__button::after {
    display: none;
  }

  .social-clock__button svg {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .social-clock__button.whatsapp svg {
    left: 50%;
    top: 50%;
  }

  .social-clock__button:not(.whatsapp) {
    display: none;
  }
}

.backtop-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(180, 160, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  left: var(--floating-left-safe);
  bottom: calc(var(--floating-bottom-safe) + 4px);
  z-index: 88;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  will-change: transform, opacity;
}

.backtop-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.backtop-icon {
  width: 12px;
  transition-duration: 0.3s;
}

.backtop-icon path {
  fill: white;
}

.backtop-btn:hover {
  width: 140px;
  border-radius: 50px;
  background-color: rgb(181, 160, 255);
  align-items: center;
}

.backtop-btn:hover .backtop-icon {
  transform: translateY(-200%);
}

.backtop-btn::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: white;
  font-size: 0;
}

.backtop-btn:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

.site-footer {
  position: relative;
  padding: 70px 60px 26px;
  background:
    radial-gradient(circle at 20% 0%, rgba(21, 74, 184, 0.22), rgba(21, 74, 184, 0) 44%),
    radial-gradient(circle at 80% 100%, rgba(21, 74, 184, 0.15), rgba(21, 74, 184, 0) 52%),
    #000;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 30px;
}

.site-footer__brand h3 {
  margin: 0 0 10px;
  font-family: "Anton", sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: 1px;
}

.site-footer__brand p {
  margin: 0;
  max-width: 500px;
  color: #d8e2f6;
  line-height: 1.7;
  font-size: 15px;
}

.site-footer__links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__links a {
  color: #ecf2ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer__links a:hover {
  color: #8eb4ff;
}

.site-footer__contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__contact a {
  color: #e8efff;
  text-decoration: none;
  font-weight: 700;
}

.site-footer__contact a:hover {
  color: #8eb4ff;
}

.site-footer__contact p {
  margin: 4px 0 0;
  color: #bccce9;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__bottom {
  max-width: 1240px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #93a5c8;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-footer {
    padding: 52px 22px 22px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .glasshero {
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
  }

  .mobile-hero__nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(8, 8, 8, 0.96);
  }

  .mobile-hero__menu {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(8, 8, 8, 0.98);
  }

  .home {
    height: auto;
    min-height: 100svh;
    display: block;
  }

  .hero {
    display: none;
  }

  .mobile-hero {
    display: block;
    position: relative;
    width: min(100%, 430px);
    margin: 0 auto;
    color: #fff;
    font-family: "Inter", sans-serif;
  }

  .mobile-hero__nav {
    position: fixed;
    top: 0;

    transform: translateX(-50%);
    width: min(100%, 430px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-hero__logo {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-hero__logo-santa,
  .mobile-hero__logo-production,
  .mobile-hero__title,
  .mobile-hero__subtitle,
  .mobile-hero__menu-list a {
    font-family: "Anton", sans-serif;
  }

  .mobile-hero__logo-santa {
    font-size: 22px;
    letter-spacing: 0.1em;
    line-height: 1;
  }

  .mobile-hero__logo-production {
    font-size: 10px;
    color: #2b5bff;
    letter-spacing: 0.45em;
    line-height: 1.2;
  }

  .mobile-hero__hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 210;
  }

  .mobile-hero__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition:
      transform 0.35s cubic-bezier(0.77, 0, 0.18, 1),
      opacity 0.25s,
      width 0.3s;
  }

  .mobile-hero__hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-hero__hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .mobile-hero__hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-hero__menu {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    width: min(100%, 430px);
    z-index: 190;
    padding: 80px 24px 36px;
    background: rgba(8, 8, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(43, 91, 255, 0.2);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.45s cubic-bezier(0.77, 0, 0.18, 1),
      opacity 0.3s;
  }

  .mobile-hero__menu.is-open {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-hero__menu-list {
    list-style: none;
  }

  .mobile-hero__menu-list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .mobile-hero__menu-list a {
    display: block;
    padding: 10px 0;
    font-size: 46px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition:
      color 0.2s,
      transform 0.2s;
  }

  .mobile-hero__menu-list a:hover {
    color: #2b5bff;
    transform: translateX(8px);
  }

  .mobile-hero__page {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 52px;
  }

  .mobile-hero__visual {
    position: relative;
    width: 100%;
    padding-bottom: 108%;
    overflow: hidden;
    flex-shrink: 0;
  }

  .mobile-hero__photo,
  .mobile-hero__placeholder,
  .mobile-hero__overlay {
    position: absolute;
    inset: 0;
  }

  .mobile-hero__photo {
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center 55%;
    z-index: 1;
    padding-left: 50px;
  }

  .mobile-hero__placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: linear-gradient(145deg, #0c0c20 0%, #080830 50%, #0a1045 100%);
  }

  .mobile-hero__placeholder svg {
    opacity: 0.12;
  }

  .mobile-hero__overlay {
    z-index: 2;
    background:
      linear-gradient(
        to right,
        rgba(8, 8, 8, 0.62) 0%,
        rgba(29, 28, 28, 0.1) 5%,
        transparent 100%
      ),
      linear-gradient(to top, rgba(8, 8, 8, 0.75) 0%, transparent 45%);
  }

  .mobile-hero__camera {
    position: absolute;
    top: 13px;
    left: 14px;
    right: 14px;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-hero__rec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .mobile-hero__rec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2020;
  }

  .mobile-hero__battery {
    display: flex;
    align-items: center;
  }

  .mobile-hero__battery-body {
    width: 30px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 2px;
    display: flex;
    align-items: center;
    padding: 2px 3px;
    gap: 2px;
  }

  .mobile-hero__battery-seg {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
  }

  .mobile-hero__battery-seg.is-off {
    background: transparent;
  }

  .mobile-hero__battery-tip {
    width: 3px;
    height: 7px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 0 1px 1px 0;
  }

  .mobile-hero__frame {
    position: absolute;
    inset: 10px;
    z-index: 10;
    pointer-events: none;
  }

  .mobile-hero__corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
  }

  .mobile-hero__corner--tl {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 2px 0 0 0;
  }

  .mobile-hero__corner--tr {
    top: 0;
    right: 0;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 2px 0 0;
  }

  .mobile-hero__corner--bl {
    left: 0;
    bottom: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0 0 0 2px;
  }

  .mobile-hero__corner--br {
    right: 0;
    bottom: 0;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 2px 0;
  }

  .mobile-hero__title {
    position: absolute;
    left: 5px;
    top: 90px;
    z-index: 20;
    writing-mode: vertical-lr;
    rotate: -180deg;
    font-size: clamp(80px, 30vw, 120px);
    line-height: 0.85;
    letter-spacing: 0.05em;
    max-height: 65%;
    text-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  }

  .mobile-hero__subtitle {
    position: absolute;
    left: 82px;
    top: 92px;
    z-index: 20;
    writing-mode: vertical-lr;
    rotate: -180deg;
    padding-top: clamp(80px, 22vw, 110px);
    font-size: clamp(28px, 11vw, 49px);
    line-height: 1;
    letter-spacing: 0.1em;
    color: rgb(0 58 255 / 89%);
  }

  .mobile-hero__content {
    padding: 22px 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-hero__role {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
  }

  .mobile-hero__role-main {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .mobile-hero__role-accent {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2b5bff;
  }

  .mobile-hero__taglines p {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
  }

  .mobile-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
  }

  .mobile-hero__cta.hero-cta {
    width: 100%;
    justify-content: center;
    margin: 10px 0 0;
    padding: 15px 54px;
    background: #2b5bff;
    box-shadow: 0 4px 28px rgba(43, 91, 255, 0.42);
  }

  .mobile-hero__cta:hover {
    box-shadow: 0 8px 36px rgba(43, 91, 255, 0.58);
  }

  .mobile-hero__showreel {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
      border-color 0.2s,
      background 0.2s,
      transform 0.2s;
  }

  .mobile-hero__showreel:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
  }

  .mobile-hero__play-ring {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    padding-left: 2px;
    flex-shrink: 0;
  }

  .mobile-hero__scroll {
    display: flex;
    justify-content: center;
    padding-top: 4px;
    opacity: 0.4;
  }

  .mobile-hero__scroll svg {
    animation: bob 2s ease-in-out infinite;
  }

  .nav {
    top: 14px;
    max-width: calc(100% - 20px);
    padding: 0 10px;
  }

  .navs ul {
    gap: clamp(10px, 3.2vw, 18px);
  }

  .navs li {
    font-size: clamp(14px, 2.8vw, 18px);
    min-height: 34px;
  }

  .navs .pox {
    width: clamp(96px, 22vw, 128px);
    height: 36px;
    flex-basis: clamp(96px, 22vw, 128px);
    margin-top: -10px;
  }

  .logo-signature svg {
    width: clamp(150px, 54vw, 230px);
    height: auto;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: inline-flex;
  }

  .hero {
    height: auto;
    min-height: 86svh;
    padding: 44px 12px 0;
    border-radius: 14px;
    --slide-gap: 12px;
  }

  .title {
    font-size: clamp(76px, 25vw, 148px);
    letter-spacing: 2px;
    line-height: 0.95;
  }

  .creativity {
    top: 18%;
    font-size: clamp(30px, 8vw, 46px);
    white-space: normal;
  }

  .portrait img {
    width: min(80vw, 420px);
    height: auto;
    object-fit: contain;
  }

  .projects {
    height: auto;
    min-height: auto;
    overflow-y: h;
    overflow-x: hidden;
  }

  .projects-track {
    display: block;
    height: auto;
    transform: none !important;
  }

  .project {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100svh;
    padding: 26px 14px 42px;
    margin-bottom: 48px;
    width: min(90% , 420px);
    margin: auto;
  }

  .project .g {
    order: 0;
    font-size: 40px;
    margin-bottom: 48px;
  }

  .about-sign1 p {
    font-size: 24px;
  }

  .project-title {
    order: 1;
    margin: 26px 0 18px;
    font-size: clamp(48px, 13vw, 80px);
    line-height: 0.95;
  }

  .project-subtitle {
    order: 2;
    margin-left: 0;
    margin-bottom: 16px;
    font-size: 19px;
  }

  .pro {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .pro p {
    align-self: stretch;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
    font-size: clamp(20px, 5.8vw, 30px);
    line-height: 1.55;
    letter-spacing: 1px;
  }

  .pro video {
    width: 100%;
    max-width: 340px;
    align-self: center;
    display: block;
    margin-top: 0;
    margin-inline: auto;
    transform: none;
    border-radius: 14px;
  }

  .project-lock-overlay {
    font-size: clamp(24px, 8vw, 42px);
    letter-spacing: 2px;
    padding: 12px;
  }

  .bg-video {
    display: none;
  }

  .stats-section {
    padding: 86px 14px;
  }

  .stats-title {
    margin-bottom: 24px;
    font-size: 40px;
  }

  .stats-grid {
    display: flex;
    align-items: center;
    
    gap: 14px;
  }

  .stat-card {
    min-height: 132px;

  }

  .script-cta {
    left: auto;
    right: 14px;
    top: 10px;
  }

  .script-cta .button {
    width: 3.25rem;
    height: 3.25rem;
  }

  .services-guide {
    display: flex;
    left: 0;
    top: 62%;
    transform: translate(-125%, -50%);
  }

  .services-guide img {
    width: clamp(76px, 20vw, 104px);
  }

  .services-guide-bubble {
    font-size: 11px;
    padding: 7px 10px;
  }

  .testimonials-section {
    padding: 78px 14px 94px;
  }

  .testimonials-title {
    font-size: clamp(40px, 11vw, 62px);
    margin-bottom: 20px;
  }

  .testimonial-spotlight {
    border-radius: 20px;
    padding: 18px;
  }

  .testimonial-quote {
    font-size: clamp(28px, 8.2vw, 36px);
    line-height: 1.5;
  }

  .testimonial-name {
    font-size: 22px;
  }

  .testimonial-controls {
    justify-content: space-between;
  }

  .social-clock {
    --size-button: 2.8rem;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
  }

  .backtop-btn {
    left: max(10px, env(safe-area-inset-left));
    bottom: max(10px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .backtop-btn:hover {
    width: 44px;
    border-radius: 50%;
  }

  .site-footer {
    padding: 48px 14px 20px;
  }

  .site-footer__brand h3 {
    font-size: clamp(30px, 10vw, 48px);
  }

  .site-footer__brand p,
  .site-footer__contact p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .project {
    padding: 22px 12px 34px;
  }

  .project .hero-cta {
    width: 60%;
    justify-content: center;
  }

  .pro video {
    max-width: 100%;
  }

  .mobile-hero__content {
    padding-inline: 16px;
  }

  .mobile-hero__role-main {
    font-size: 24px;
  }

  .mobile-hero__role-accent {
    font-size: 20px;
  }

  .mobile-hero__taglines p {
    font-size: 19px;
  }

  .mobile-hero__menu-list a {
    font-size: 38px;
  }

  .hero {
    min-height: 82svh;
    padding-top: 36px;
  }

  .title {
    font-size: clamp(64px, 23vw, 112px);
  }

  .creativity {
    top: 38%;
    font-size: 28px;
    max-width: calc(100% - 24px);
  }

  .project-title {
    font-size: 40px;
  }

  .pro p {
    font-size: 20px;
    line-height: 1.5;
  }

  .service-name {
    font-size: 20px;
  }

  .testimonial-quote {
    font-size: clamp(24px, 7.5vw, 31px);
  }

  .testimonial-controls {
    margin-top: 14px;
    gap: 8px;
  }

  .testimonial-control-btn {
    width: 36px;
    height: 36px;
  }

  .social-clock {
    --size-button: 2.55rem;
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
  }

  .social-clock__list {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .photo2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 0;
    margin-top: 44px;
    margin-bottom: 30px;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }

  .photo2-track {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 12px;
    animation: mobile-client-marquee 18s linear infinite;
    margin-bottom: 128px;
  }

  .photo2 img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    transform: none !important;
    transition: none;
  }

  .photo2:hover img,
  .photo2 img:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .project-subtitle,
  .pro p,
  .pro video,
  .project .hero-cta {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .pro .hero-cta {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 6px;
    margin-bottom: 18px;
    padding: 10px 18px !important;
    font-size: 12px !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 1.5px #008cff, 0 0 10px rgba(0, 140, 255, 0.28) !important;
    width: 100%;
  }

  .pro video {
    display: block !important;
    width: min(100%, 250px);
    max-width: 300px;
    align-self: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0;
    opacity: 1 !important;
    align-items: center;
    margin-bottom: 120px;
  }

  .bg-video {
    display: none !important;
    opacity: 0 !important;
  }
}

@keyframes desktop-client-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 15px));
  }
}

@media (min-width: 769px) {
  .photo2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 0;
    margin-top: 200px;
    margin-bottom: 50px;
  }

  .photo2-track {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 30px;
    animation: desktop-client-marquee 26s linear infinite;
  }

  .photo2 img {
    width: 90px;
    height: 90px;
    flex: 0 0 auto;
  }

  .pro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: start;
    column-gap: clamp(36px, 5vw, 72px);
    row-gap: 24px;
    min-height: 200px;
  }

  .pro p {
    grid-column: 1;
    grid-row: 1;
  }

  .pro .hero-cta {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    margin-top: 0;
    margin-left: 0 !important;
    margin-bottom: 0;
  }

  .pro video {
    grid-column: 2;
    grid-row: 1 / span 2;
    justify-self: center;
    align-self: start;
    width: min(100%, 400px);
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: clamp(-200px, -12vw, -120px);
    margin-right: 100px;
    margin-left: 0;
  }
}

  to {
    transform: translateX(-50%);
  }

/* ===== Responsive Hardening Layer (Non-visual) ===== */
:root {
  --safe-vh: 100svh;
  --dyn-vh: 100dvh;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  min-height: var(--safe-vh);
  min-height: var(--dyn-vh);
}

.home,
.hero,
.projects,
.project,
.mobile-hero__page {
  min-height: 100vh;
  min-height: var(--safe-vh);
  min-height: var(--dyn-vh);
}

.group2,
.stats-inner,
.testimonials-inner,
.site-footer__inner,
.projects-track,
.pro {
  min-width: 0;
}

.group3,
.group4,
.pro p,
.project-title,
.project-subtitle {
  min-width: 0;
  overflow-wrap: anywhere;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.mobile-hero__nav,
.mobile-hero__menu,
.social-clock,
.backtop-btn,
.script-cta {
  backface-visibility: hidden;
  transform: translateZ(0);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glasshero,
  .mobile-hero__nav,
  .mobile-hero__menu,
  .project-lock-overlay,
  .script-modal-card {
    background-color: rgba(10, 10, 10, 0.88) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .hero {
    width: min(98%, 1400px);
    margin-left: auto;
    margin-right: auto;
  }

  .nav {
    max-width: min(100%, calc(100% - 24px));
  }
}

@media (min-width: 1280px) and (max-height: 800px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }
}

@media (max-width: 768px) {
  .hero-reveal {
    max-width: calc(100% - 24px);
  }
}

/* ===== Fluid Stabilization Pass (No redesign) ===== */
:root {
  --space-1: clamp(8px, 1vw, 14px);
  --space-2: clamp(12px, 1.4vw, 20px);
  --space-3: clamp(16px, 2vw, 28px);
  --space-4: clamp(22px, 3vw, 42px);
  --space-5: clamp(28px, 4vw, 64px);
}

.navs ul {
  gap: clamp(14px, 2.6vw, 64px);
}

.navs li,
.navs li a {
  font-size: clamp(16px, 1.75vw, 28px);
}

.hero-reveal {
  left: clamp(20px, 7vw, 120px);
  top: clamp(128px, 18vh, 190px);
  font-size: clamp(0.82rem, 1.05vw, 1.15rem);
}

.hero h1 {
  font-size: clamp(58px, 6.6vw, 96px);
  padding-left: clamp(20px, 7vw, 120px) !important;
  padding-top: clamp(140px, 25vh, 245px) !important;
}

.hero h1 + p {
  font-size: clamp(20px, 2.8vw, 40px) !important;
  padding-left: clamp(20px, 7vw, 120px) !important;
  padding-top: clamp(16px, 3vh, 34px) !important;
}

.hero h1 + p + p {
  font-size: clamp(16px, 2.2vw, 32px) !important;
  line-height: 1.4;
  padding-left: clamp(20px, 7vw, 120px) !important;
  padding-top: clamp(14px, 2.5vh, 34px) !important;
}

.hero-cta {
  margin-left: clamp(20px, 7vw, 120px);
  margin-top: clamp(16px, 3vh, 34px);
}

.glasshero img {
  width: min(100%, 1000px);

  object-fit: contain;
}

.group2 {
  width: min(1180px, calc(100% - clamp(20px, 4vw, 48px)));
  gap: clamp(24px, 4vw, 64px);
}

.group3 h1 {
  font-size: clamp(44px, 6vw, 104px);
}

.group3 h2 {
  font-size: clamp(22px, 3.1vw, 48px);
}

.group3 p {
  font-size: clamp(16px, 1.6vw, 24px);
}

.project-title {
  margin: clamp(24px, 5vh, 50px) 0 clamp(20px, 4vh, 40px);
  font-size: clamp(48px, 6vw, 88px);
}

.pro {
  column-gap: clamp(20px, 4vw, 72px);
  row-gap: clamp(14px, 2.6vh, 24px);
}

.pro p {
  font-size: clamp(20px, 2.4vw, 40px);
  line-height: clamp(1.42, 1.55, 1.7);
}

.stats-title,
.testimonials-title,
.topclint h1,
.g {
  font-size: clamp(40px, 6.2vw, 88px);
}

@media (min-width: 1024px) and (max-width: 1440px) and (max-height: 840px) {
  .hero {
    min-height: 100dvh;
    min-height: 100svh;
  }

  .nav {
    top: clamp(10px, 1.8vh, 20px);
  }

  .navs .pox {
    width: clamp(150px, 15vw, 225px);
    height: clamp(36px, 4.5vh, 46px);
    flex-basis: clamp(150px, 15vw, 225px);
    margin-top: clamp(-14px, -1.8vh, -21px);
  }

  .hero h1 {
    padding-top: clamp(110px, 20vh, 210px) !important;
  }

  .projects-shell {
    margin-top: clamp(-120px, -8vh, -60px);
  }

  .project {
    padding: clamp(20px, 3vh, 44px) clamp(18px, 3vw, 44px);
  }
}

@media (max-height: 760px) and (min-width: 980px) {
  .hero-reveal {
    top: clamp(96px, 14vh, 140px);
  }

  .hero h1 {
    padding-top: clamp(100px, 16vh, 170px) !important;
  }

  .hero h1 + p + p br {
    display: none;
  }
}

/* ===== Height-Aware Adaptive Scaling (Laptop stability) ===== */
:root {
  --vh-scale-tight: clamp(0.88, 100vh / 900, 1);
}

@media (max-height: 850px) and (min-width: 980px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    margin-top: clamp(10px, 1.6vh, 18px);
  }

  .glasshero {
    border-radius: clamp(10px, 1.8vh, 16px);
  }

  .nav {
    top: clamp(8px, 1.2vh, 16px);
  }

  .hero-reveal {
    top: clamp(112px, 15vh, 172px);
    letter-spacing: clamp(1px, 0.22vw, 3px);
  }

  .hero h1 {
    font-size: clamp(60px, 6.2vw, 92px) !important;
    line-height: 0.95;
    padding-top: clamp(132px, 21vh, 224px) !important;
  }

  .hero h1 + p {
    font-size: clamp(22px, 2.7vw, 38px) !important;
    padding-top: clamp(14px, 2.2vh, 28px) !important;
  }

  .hero h1 + p + p {
    font-size: clamp(18px, 2.1vw, 30px) !important;
    line-height: 1.4;
    padding-top: clamp(12px, 1.8vh, 24px) !important;
  }

  .hero-cta {
    margin-top: clamp(14px, 2.2vh, 28px);
  }

  .glasshero img {
    width: min(63%, 860px);
    max-height: clamp(430px, 78vh, 900px);
  }

  .about {
    padding: clamp(34px, 5vh, 72px) 0;
  }

  .group2 {
    gap: clamp(18px, 2.8vh, 42px);
  }

  .group3 h1 {
    font-size: clamp(40px, 4.9vw, 82px);
    margin-bottom: clamp(10px, 1.8vh, 20px);
  }

  .group3 h2 {
    font-size: clamp(20px, 2.6vw, 38px);
    margin-bottom: clamp(8px, 1.3vh, 14px);
  }

  .group3 p {
    font-size: clamp(15px, 1.35vw, 20px);
    line-height: 1.45;
  }

  .group4-main img {
    max-height: clamp(320px, 55vh, 480px);
    object-fit: cover;
  }

  .group4-stack img {
    max-height: clamp(140px, 23vh, 240px);
    object-fit: cover;
  }

  .topclint h1,
  .g,
  .stats-title,
  .testimonials-title {
    font-size: clamp(36px, 4.8vw, 72px);
  }

  .topclint h1 {
    margin-bottom: clamp(44px, 8vh, 110px);
  }

  .projects-shell {
    margin-top: clamp(-100px, -7vh, -42px);
  }

  .project {
    padding: clamp(18px, 2.6vh, 42px);
  }

  .project-title {
    font-size: clamp(42px, 4.8vw, 72px);
    margin: clamp(18px, 2.8vh, 34px) 0 clamp(12px, 2vh, 24px);
  }

  .project-subtitle {
    font-size: clamp(18px, 1.8vw, 24px);
    margin-bottom: clamp(12px, 2vh, 22px);
  }

  .pro {
    row-gap: clamp(10px, 1.8vh, 18px);
    column-gap: clamp(18px, 2.8vw, 48px);
  }

  .pro p {
    font-size: clamp(18px, 1.9vw, 30px);
    line-height: 1.45;
  }

  .pro video {
    width: min(100%, clamp(250px, 28vw, 360px));
    margin-top: clamp(-110px, -9vh, -40px);
  }

  .photo1 {
    margin-top: clamp(16px, 2.2vh, 28px);
    gap: clamp(12px, 1.8vw, 24px);
  }

  .photo2 {
    margin-top: clamp(52px, 8vh, 130px);
    margin-bottom: clamp(18px, 2.8vh, 42px);
  }

  .photo2 img {
    width: clamp(58px, 5.8vw, 82px);
    height: clamp(58px, 5.8vw, 82px);
  }

  .stats-section {
    padding: clamp(48px, 7vh, 96px) clamp(16px, 2.6vw, 28px);
  }

  .stat-card {
    min-height: clamp(120px, 18vh, 190px);
  }

  .testimonials-section {
    padding: clamp(50px, 7vh, 100px) clamp(14px, 2.4vw, 22px) clamp(70px, 10vh, 130px);
  }

  .testimonial-quote {
    font-size: clamp(20px, 2.35vw, 40px);
    line-height: 1.45;
  }

  .site-footer {
    padding: clamp(40px, 6vh, 70px) clamp(20px, 3vw, 48px) clamp(20px, 3vh, 28px);
  }
}

@media (max-height: 780px) and (min-width: 980px) {
  .hero-reveal {
    top: clamp(96px, 13vh, 146px);
  }

  .hero h1 {
    font-size: clamp(54px, 5.7vw, 84px) !important;
    padding-top: clamp(110px, 18vh, 186px) !important;
  }

  .hero h1 + p {
    font-size: clamp(19px, 2.4vw, 32px) !important;
  }

  .hero h1 + p + p {
    font-size: clamp(16px, 1.9vw, 26px) !important;
    line-height: 1.36;
  }

  .glasshero img {
    width: min(60%, 760px);
    max-height: clamp(390px, 90vh, 760px);
  }

  .project-title {
    font-size: clamp(38px, 4.4vw, 64px);
  }

  .pro p {
    font-size: clamp(16px, 1.7vw, 24px);
  }

  .pro video {
    width: min(100%, clamp(230px, 24vw, 320px));
    margin-top: clamp(-82px, -7vh, -24px);
  }

  .stats-title,
  .testimonials-title,
  .topclint h1,
  .g {
    font-size: clamp(32px, 4.4vw, 62px);
  }
}

/* ===== DPR-aware hardening for Windows 125%-150% scaling ===== */
@media (min-width: 980px) and (min-resolution: 1.2dppx) and (max-resolution: 1.6dppx) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    margin-top: clamp(10px, 1.4vh, 20px);
  }

  .nav {
    top: clamp(8px, 1.2vh, 18px);
    max-width: calc(100% - clamp(16px, 2.4vw, 32px));
  }

  .navs ul {
    gap: clamp(12px, 2vw, 42px);
  }

  .navs li,
  .navs li a {
    font-size: clamp(15px, 1.45vw, 24px);
  }

  .hero-reveal {
    top: clamp(102px, 13.8vh, 170px);
    left: clamp(20px, 6.4vw, 110px);
  }

  .hero h1 {
    font-size: clamp(58px, 6vw, 90px) !important;
    padding-left: clamp(20px, 6.4vw, 110px) !important;
    padding-top: clamp(122px, 19.5vh, 220px) !important;
  }

  .hero h1 + p {
    font-size: clamp(20px, 2.3vw, 36px) !important;
    padding-left: clamp(20px, 6.4vw, 110px) !important;
    padding-top: clamp(12px, 1.8vh, 26px) !important;
  }

  .hero h1 + p + p {
    font-size: clamp(16px, 1.85vw, 29px) !important;
    line-height: 1.38;
    padding-left: clamp(20px, 6.4vw, 110px) !important;
    padding-top: clamp(10px, 1.5vh, 20px) !important;
  }

  .hero-cta {
    margin-left: clamp(20px, 6.4vw, 110px);
    margin-top: clamp(12px, 1.9vh, 28px);
  }

  .glasshero img {
    width: min(62%, 820px);
    max-height: clamp(420px, 76vh, 860px);
  }

  .about,
  .stats-section,
  .testimonials-section,
  .site-footer {
    padding-top: clamp(42px, 6vh, 88px);
    padding-bottom: clamp(42px, 6vh, 88px);
  }

  .group2 {
    gap: clamp(20px, 2.8vh, 48px);
  }

  .project {
    padding: clamp(20px, 2.7vh, 48px);
  }

  .project-title {
    font-size: clamp(44px, 4.9vw, 78px);
    margin: clamp(18px, 2.6vh, 36px) 0 clamp(12px, 1.8vh, 24px);
  }

  .pro {
    column-gap: clamp(16px, 2.3vw, 44px);
    row-gap: clamp(10px, 1.6vh, 18px);
  }

  .pro p {
    font-size: clamp(17px, 1.8vw, 30px);
    line-height: 1.42;
  }

  .pro video {
    width: min(100%, clamp(250px, 27vw, 390px));
    margin-top: clamp(-110px, -8.5vh, -36px);
    margin-right: clamp(0px, 4vw, 80px);
  }
}

@media (min-width: 980px) and (max-height: 800px) and (min-resolution: 1.2dppx) and (max-resolution: 1.6dppx) {
  .hero h1 {
    font-size: clamp(54px, 5.5vw, 84px) !important;
    padding-top: clamp(106px, 17vh, 186px) !important;
  }

  .hero h1 + p {
    font-size: clamp(19px, 2.2vw, 32px) !important;
  }

  .hero h1 + p + p {
    font-size: clamp(15px, 1.7vw, 26px) !important;
  }

  .glasshero img {
    width: min(59%, 760px);
    max-height: clamp(380px, 70vh, 760px);
  }
}

/* Keep the Services cards as three compact columns on desktop only. */
.stats-grid:has(.service-card) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.stats-grid:has(.service-card) .stat-card {
  min-height: clamp(110px, 14vh, 170px);
  padding: clamp(16px, 2.2vw, 28px);
  align-items: center;
}

.stats-grid:has(.service-card) .service-name {
  font-size: clamp(18px, 2vw, 30px);
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid:has(.service-card) {
    grid-template-columns: 1fr;
  }
}
