:root {
  --white: #f7f4ef;
  --line: rgba(255, 255, 255, 0.82);
  --muted: rgba(255, 255, 255, 0.66);
  --glass: rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #00060d;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: #00060d;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

button,
a,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.055), transparent 34%),
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.018), transparent 46%),
    linear-gradient(180deg, #050507 0%, #000103 46%, #030305 100%);
  isolation: isolate;
}

.page::before {
  position: fixed;
  inset: -14%;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.28) 0 1px, transparent 1.7px),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 44%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.7px),
    radial-gradient(circle at 23% 72%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.8px),
    radial-gradient(circle at 88% 86%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1.7px),
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.14) 0 0.8px, transparent 1.7px),
    radial-gradient(circle at 58% 78%, rgba(255, 255, 255, 0.12) 0 0.8px, transparent 1.7px);
  content: "";
  opacity: 0.82;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: star-drift 38s linear infinite;
}

.page::after {
  position: fixed;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.18) 0 0.8px, transparent 1.6px),
    radial-gradient(circle at 64% 66%, rgba(255, 255, 255, 0.14) 0 0.8px, transparent 1.6px),
    radial-gradient(circle at 76% 38%, rgba(255, 255, 255, 0.16) 0 0.8px, transparent 1.6px),
    radial-gradient(circle at 12% 58%, rgba(255, 255, 255, 0.15) 0 0.8px, transparent 1.6px),
    radial-gradient(circle at 92% 61%, rgba(255, 255, 255, 0.17) 0 0.8px, transparent 1.6px);
  content: "";
  opacity: 0.46;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: star-drift 28s linear infinite reverse;
}

.space-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.space-dot {
  position: absolute;
  display: block;
  pointer-events: none;
  will-change: transform, opacity;
}

.space-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.56),
    0 0 18px rgba(255, 255, 255, 0.18);
  opacity: 0;
  animation: dot-float 16s linear infinite;
}

.dot-a {
  top: 12%;
  left: 8%;
  animation-delay: -2s;
  animation-duration: 13.5s;
}

.dot-b {
  top: 24%;
  left: 82%;
  animation-delay: -9s;
  animation-duration: 16s;
}

.dot-c {
  top: 45%;
  left: 18%;
  animation-delay: -5s;
  animation-duration: 18s;
}

.dot-d {
  top: 62%;
  left: 76%;
  animation-delay: -12s;
  animation-duration: 15.5s;
}

.dot-e {
  top: 78%;
  left: 34%;
  animation-delay: -7s;
  animation-duration: 17s;
}

.dot-f {
  top: 88%;
  left: 90%;
  animation-delay: -14s;
  animation-duration: 18.5s;
}

.dot-g {
  top: 36%;
  left: 54%;
  animation-delay: -16s;
  animation-duration: 19.5s;
}

.dot-h {
  top: 16%;
  left: 48%;
  width: 2px;
  height: 2px;
  animation-delay: -4s;
  animation-duration: 14s;
}

.dot-i {
  top: 52%;
  left: 6%;
  width: 2px;
  height: 2px;
  animation-delay: -10s;
  animation-duration: 16.5s;
}

.dot-j {
  top: 69%;
  left: 58%;
  animation-delay: -6s;
  animation-duration: 15s;
}

.dot-k {
  top: 7%;
  left: 66%;
  width: 2px;
  height: 2px;
  animation-delay: -12s;
  animation-duration: 18s;
}

.dot-l {
  top: 91%;
  left: 12%;
  animation-delay: -3s;
  animation-duration: 17.5s;
}

@keyframes dot-float {
  0% {
    opacity: 0;
    transform: translate3d(-24px, 28px, 0) scale(0.74);
  }

  12%,
  78% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate3d(58px, -86px, 0) scale(1);
  }
}

@keyframes star-drift {
  0% {
    opacity: 0.7;
    transform: translate3d(-1.5%, -1%, 0);
  }

  45% {
    opacity: 0.92;
  }

  100% {
    opacity: 0.7;
    transform: translate3d(1.5%, 1%, 0);
  }
}

.top-strip {
  position: absolute;
  z-index: 20;
  top: clamp(18px, 2.98vw, 28px);
  left: 0;
  width: 100%;
  height: clamp(38px, 5.31vw, 50px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(1px);
}

.ticker {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(7px, 0.66vw, 10px);
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee-left var(--ticker-duration, 54s) linear infinite;
  will-change: transform;
}

.ticker span {
  display: inline-block;
  padding-left: clamp(24px, 3.4vw, 36px);
}

.ticker b {
  margin: 0 clamp(16px, 1.9vw, 26px);
  font-weight: 500;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(86px, 10vw, 132px) 0 0;
}

.portfolio-headline {
  width: min(590px, calc(100vw - 36px));
  margin: 0 auto 18px;
  text-align: center;
}

.portfolio-headline p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(7px, 0.9vw, 12px);
  font-weight: 700;
  letter-spacing: clamp(2px, 0.35vw, 3.4px);
  text-transform: uppercase;
}

.portfolio-headline h1 {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(20px, 2.85vw, 39px);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
}

.reels-area {
  position: relative;
  display: grid;
  width: min(520px, 100vw);
  margin: 0 auto;
  --card-width: clamp(310px, 78vw, 418px);
  --card-height: clamp(533px, 134vw, 718px);
  --peek-gap: 0px;
}

.reels-shell {
  position: relative;
  width: 100%;
}

.reels-viewport {
  position: relative;
  width: 100%;
  height: var(--card-height);
  overflow: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}

.reels-viewport:active {
  cursor: grabbing;
}

.reels-track {
  position: relative;
  width: 100%;
  height: 100%;
  --drag-offset: 0px;
}

.reels-track.is-dragging .video-card {
  transition: none;
}

.video-card {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: var(--card-width);
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #010811;
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.88);
  transition:
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.36s ease,
    filter 0.36s ease;
  will-change: transform;
}

.video-card.is-current {
  z-index: 5;
  opacity: 1;
  filter: none;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--drag-offset))) scale(1);
  cursor: pointer;
}

.video-card.is-prev,
.video-card.is-next {
  z-index: 3;
  opacity: 0.72;
  filter: blur(1.6px) brightness(0.86) saturate(0.96);
}

.video-card.is-prev {
  transform: translateX(calc(-50% - var(--card-width) - var(--peek-gap) + var(--drag-offset))) scale(0.92);
}

.video-card.is-next {
  transform: translateX(calc(-50% + var(--card-width) + var(--peek-gap) + var(--drag-offset))) scale(0.92);
}

.video-card.is-hidden {
  opacity: 0;
  filter: blur(5px) brightness(0.38);
  transform: translateX(-50%) scale(0.86);
}

.video-card:not(.is-current)::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 34%, rgba(0, 0, 0, 0.14) 54%, rgba(0, 0, 0, 0.66) 100%),
    radial-gradient(ellipse at 50% 44%, transparent 0 30%, rgba(0, 0, 0, 0.2) 68%, rgba(0, 0, 0, 0.58) 100%);
  content: "";
  pointer-events: none;
}

.poster-layer,
.showreel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.poster-layer {
  z-index: 0;
  background:
    var(--poster) center / cover no-repeat,
    radial-gradient(ellipse at 55% 27%, rgba(137, 174, 207, 0.56) 0 8%, transparent 25%),
    linear-gradient(166deg, transparent 0 31%, rgba(31, 78, 116, 0.36) 33%, rgba(1, 7, 14, 0.9) 49%, transparent 63%),
    linear-gradient(171deg, transparent 42%, rgba(72, 127, 170, 0.34) 45%, rgba(1, 5, 11, 0.98) 57%, transparent 69%),
    linear-gradient(180deg, #071827 0%, #081320 39%, #010407 100%);
}

.poster-layer::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 26%, transparent 60%, rgba(0, 0, 0, 0.54) 100%),
    radial-gradient(ellipse at 52% 39%, transparent 0 29%, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.62) 100%);
  content: "";
}

.showreel {
  z-index: 1;
  object-fit: cover;
  opacity: 0;
  /* Keep decoded frames on their own layer while the carousel is transformed. */
  transform: translateZ(0);
  transition: opacity 0.2s ease;
}

.video-card.is-playing .showreel,
.video-card.is-ready .showreel {
  opacity: 1;
}

.video-copy {
  position: absolute;
  z-index: 4;
  top: 39.4%;
  left: 50%;
  display: grid;
  width: 100%;
  transform: translateX(-50%);
  gap: 7px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(10px, 3.2vw, 16px);
  font-weight: 500;
  letter-spacing: clamp(3.2px, 1.3vw, 7px);
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.86);
  pointer-events: none;
}

.video-copy--with-play {
  top: auto;
  bottom: calc(50% + var(--center-play-size, 72px) / 2 + 16px);
}

.center-play {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  display: grid;
  width: var(--center-play-size, 72px);
  height: var(--center-play-size, 72px);
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease, background 0.18s ease;
}

.center-play svg {
  width: 42%;
  height: 42%;
  fill: currentColor;
}

.video-card.is-current:not(.is-playing) .center-play {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.center-play:hover {
  background: rgba(0, 0, 0, 0.36);
}

.center-play:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

.corner-button,
.small-play,
.sound,
.progress {
  padding: 0;
  border: 0;
  background: transparent;
}

.video-controls {
  position: absolute;
  z-index: 6;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  color: var(--white);
  font-size: 10.5px;
  font-weight: 600;
  text-shadow: 0 2px 9px rgba(0, 0, 0, 0.82);
}

.small-play,
.small-play svg,
.sound,
.bottom-fullscreen {
  width: 20px;
  height: 20px;
}

.small-play svg {
  fill: var(--white);
}

.time {
  flex: 0 0 auto;
  white-space: nowrap;
}

.progress {
  position: relative;
  flex: 1 1 52px;
  min-width: 52px;
  height: 18px;
}

.progress::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  content: "";
}

.progress-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.36);
}

.sound svg,
.bottom-fullscreen svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-fullscreen svg {
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.carousel-guide {
  position: relative;
  z-index: 8;
  display: grid;
  width: min(360px, calc(100vw - 56px));
  grid-template-columns: 38px minmax(0, auto) 38px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.72);
}

.carousel-guide span {
  min-width: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  animation: carousel-hint 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.carousel-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.24);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.carousel-arrow:hover {
  border-color: rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-1px);
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-arrow:first-child svg {
  animation: arrow-left-guide 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.carousel-arrow:last-child svg {
  animation: arrow-right-guide 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes carousel-hint {
  0%,
  100% {
    opacity: 0.62;
    transform: translateX(-5px);
  }

  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

@keyframes arrow-left-guide {
  0%,
  100% {
    transform: translateX(1px);
  }

  50% {
    transform: translateX(-2px);
  }
}

@keyframes arrow-right-guide {
  0%,
  100% {
    transform: translateX(-1px);
  }

  50% {
    transform: translateX(2px);
  }
}

.estimate-panel,
.pricing-panel {
  position: relative;
  z-index: 1;
  width: min(861px, calc(100vw - 28px));
  margin: clamp(38px, 8vw, 76px) auto 0;
}

.estimate-panel {
  padding: clamp(20px, 4.8vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.28);
}

.estimate-heading,
.pricing-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  text-align: center;
}

.estimate-heading span,
.pricing-heading span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.estimate-heading h2,
.pricing-heading h2 {
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: clamp(17px, 2.1vw, 28px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.copy-field {
  display: grid;
  gap: 10px;
}

.copy-field span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.copy-field textarea {
  width: 100%;
  min-height: 168px;
  resize: vertical;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  outline: none;
  color: var(--white);
  background: rgba(1, 7, 14, 0.76);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.copy-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.copy-field textarea:focus {
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}

.estimate-output {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.estimate-output div {
  display: grid;
  gap: 7px;
  min-height: 82px;
  align-content: center;
  padding: 15px 14px;
  background: rgba(0, 7, 15, 0.9);
}

.estimate-output span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.estimate-output strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.price-card {
  min-height: 118px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.price-card.is-featured {
  border-color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.055);
}

.price-card .plan {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: 0;
}

.price-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(861px, calc(100vw - 28px));
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(10px, 1.92vw, 18px);
  margin: clamp(34px, 7vw, 66px) auto clamp(54px, 9vw, 104px);
}

.cta {
  position: relative;
  display: grid;
  height: 74px;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  padding: 0 24px 0 29px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.006)),
    var(--glass);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 14px rgba(255, 255, 255, 0.035),
    0 16px 36px rgba(0, 0, 0, 0.24);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  isolation: isolate;
  animation: cta-breathe 7.6s ease-in-out infinite;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.cta::before {
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.14), transparent 23%),
    linear-gradient(112deg, transparent 0 36%, rgba(255, 255, 255, 0.12) 44%, transparent 52%);
  content: "";
  opacity: 0.42;
  transform: translateX(-46%);
  animation: cta-sheen 6.8s ease-in-out infinite;
}

.cta::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.035);
  opacity: 0;
  content: "";
  transition: opacity 0.22s ease;
}

.cta:nth-child(2) {
  animation-delay: 0.65s;
}

.cta:nth-child(2)::before {
  animation-delay: 0.9s;
}

.cta:nth-child(3) {
  animation-delay: 1.1s;
}

.cta:nth-child(3)::before {
  animation-delay: 1.45s;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cta.budget {
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  gap: 9px;
  padding-right: 22px;
  padding-left: 26px;
}

.cta:hover {
  animation-play-state: paused;
  border-color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 18px rgba(255, 255, 255, 0.07),
    0 20px 44px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px) scale(1.006);
}

.cta:hover::after {
  opacity: 1;
}

.cta:hover .cta-icon,
.cta:hover .arrow {
  transform: translateY(-1px);
}

.cta:hover .cta-icon {
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.18));
}

.cta:hover .arrow {
  transform: translate(2px, -1px);
}

.cta-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.1));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.cta-icon.whatsapp {
  fill: none;
  stroke-width: 1.35;
}

.cta-icon .brand-shell,
.cta-icon .brand-mark {
  fill: none;
  stroke: currentColor;
}

.cta-icon.whatsapp .brand-shell {
  stroke-width: 1.35;
}

.cta-icon.whatsapp .brand-mark,
.cta-icon.instagram .brand-dot {
  fill: currentColor;
  stroke: none;
}

.cta-icon.instagram .brand-shell {
  stroke-width: 1.55;
}

.cta-icon.instagram .brand-mark {
  stroke-width: 1.65;
}

.cta-icon.document {
  width: 32px;
  height: 36px;
  stroke-width: 1.5;
}

.arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}

@keyframes cta-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.04),
      inset 0 1px 14px rgba(255, 255, 255, 0.035),
      0 16px 36px rgba(0, 0, 0, 0.24);
  }

  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.07),
      inset 0 1px 18px rgba(255, 255, 255, 0.055),
      0 18px 40px rgba(0, 0, 0, 0.28);
  }
}

@keyframes cta-sheen {
  0%,
  55% {
    opacity: 0;
    transform: translateX(-48%);
  }

  72% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform: translateX(48%);
  }
}

@media (max-width: 860px) {
  .page {
    background-attachment: scroll;
  }

  .portfolio-headline {
    margin-bottom: 18px;
  }

  .estimate-output {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-row {
    width: min(640px, calc(100vw - 28px));
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
  }

  .cta {
    height: 56px;
    grid-template-columns: 27px minmax(0, 1fr) 18px;
    gap: 7px;
    padding: 0 14px;
    font-size: 11px;
  }

  .cta.budget {
    grid-template-columns: 25px minmax(0, 1fr) 18px;
    gap: 6px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 10px;
  }

  .cta-icon,
  .cta-icon.whatsapp {
    width: 25px;
    height: 25px;
  }

  .cta-icon.document {
    width: 23px;
    height: 27px;
  }

  .arrow {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 430px) {
  .top-strip {
    top: 18px;
    height: 38px;
  }

  .ticker {
    font-size: 7px;
    letter-spacing: 0.35px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.22);
  }

  .stage {
    padding-top: 78px;
  }

  .portfolio-headline {
    width: min(354px, calc(100vw - 36px));
    margin-bottom: 17px;
  }

  .portfolio-headline h1 {
    font-size: 18px;
    line-height: 1.08;
  }

  .reels-area {
    width: 100vw;
    --card-width: min(318px, calc(100vw - 58px));
    --card-height: clamp(450px, 144vw, 546px);
    --peek-gap: 0px;
  }

  .video-card {
    border-radius: 16px;
  }

  .carousel-guide {
    width: min(334px, calc(100vw - 44px));
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 9px;
    margin-top: 14px;
  }

  .carousel-guide span {
    font-size: 7.5px;
    letter-spacing: 1.25px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .video-controls {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 6px;
    height: 27px;
    font-size: 9.8px;
  }

  .small-play,
  .small-play svg,
  .sound,
  .bottom-fullscreen {
    width: 18px;
    height: 18px;
  }

  .estimate-panel,
  .pricing-panel {
    width: min(370px, calc(100vw - 20px));
    margin-top: 38px;
  }

  .estimate-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .estimate-heading,
  .pricing-heading {
    margin-bottom: 14px;
  }

  .estimate-heading span,
  .pricing-heading span {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .estimate-heading h2,
  .pricing-heading h2 {
    font-size: 16px;
  }

  .copy-field span {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .copy-field textarea {
    min-height: 152px;
    padding: 14px;
    border-radius: 14px;
    font-size: 13px;
  }

  .estimate-output {
    margin-top: 14px;
    border-radius: 14px;
  }

  .estimate-output div {
    min-height: 70px;
    padding: 12px;
  }

  .estimate-output span {
    font-size: 7px;
    letter-spacing: 1.2px;
  }

  .estimate-output strong {
    font-size: 17px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .price-card {
    display: grid;
    min-height: 72px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px 12px;
    padding: 14px 18px;
    border-radius: 18px;
  }

  .price-card .plan {
    margin: 0;
    font-size: 9px;
  }

  .price-card strong {
    grid-row: span 2;
    margin: 0;
    font-size: 22px;
  }

  .price-card span {
    font-size: 11px;
  }

  .cta-row {
    width: min(370px, calc(100vw - 20px));
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 6px;
    margin-top: 34px;
    margin-bottom: 56px;
  }

  .cta {
    height: 50px;
    grid-template-columns: 22px minmax(0, 1fr) 15px;
    gap: 5px;
    padding: 0 9px;
    font-size: 8.5px;
  }

  .cta.budget {
    grid-template-columns: 20px minmax(0, 1fr) 14px;
    gap: 4px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 7.4px;
  }

  .cta-icon,
  .cta-icon.whatsapp {
    width: 21px;
    height: 21px;
  }

  .cta-icon.document {
    width: 19px;
    height: 22px;
  }

  .arrow {
    width: 15px;
    height: 15px;
  }
}

.carousel-cta {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(360px, calc(100% - 44px));
  gap: 12px;
  margin: 24px auto 0;
}

.carousel-cta .cta {
  min-height: 52px;
  height: auto;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  gap: 12px;
  padding: 14px 20px;
  font-size: 13px;
  line-height: 1.35;
}

.carousel-cta .cta span {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.carousel-cta .cta-icon {
  width: 24px;
  height: 26px;
}

.carousel-cta .arrow {
  width: 18px;
  height: 18px;
}

.carousel-cta + .estimate-panel,
.carousel-cta + .pricing-panel {
  margin-top: 28px;
}
