/* Footer brand watermark, spans full footer incl. copyright bar */
.bg-footer-one.footer-one {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

.bg-footer-one .bg-shape-f1 {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.gotezu-footer-watermark {
  /* 100cqw = footer width (avoids 100vw scrollbar overflow); 4.5 fits GOTEZU + tracking */
  --gfw-size: clamp(4.5rem, calc(100cqw / 4.5), 50rem);
  --gfw-offset: 55px;
  --gfw-orange: rgba(250, 139, 23, 0.44);
  --gfw-orange-soft: rgba(250, 139, 23, 0.38);
  --gfw-cream: rgba(247, 244, 239, 0.35);

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  transform: translateY(calc(38% - var(--gfw-offset)));
  z-index: 0;
  pointer-events: none;
  user-select: none;
  display: block;
  line-height: 1;
  text-align: center;
  overflow: hidden;
}

.gotezu-footer-watermark__sharp,
.gotezu-footer-watermark__blur {
  display: block;
  width: 100%;
  font-family: "Red Hat Display", sans-serif;
  font-size: var(--gfw-size);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(
    180deg, var(--gfw-orange) 0%, var(--gfw-orange-soft) 52%, var(--gfw-cream) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Upper half crisp; lower half bleeds into copyright zone */
.gotezu-footer-watermark__sharp {
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(
    to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.7) 62%, rgba(0, 0, 0, 0.35) 78%, transparent 92%
  );
  mask-image: linear-gradient(
    to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.7) 62%, rgba(0, 0, 0, 0.35) 78%, transparent 92%
  );
}

/* Blur strengthens toward the bottom, visible behind copyright line */
.gotezu-footer-watermark__blur {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  filter: blur(18px);
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(
    to bottom, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.75) 70%, #000 85%, #000 100%
  );
  mask-image: linear-gradient(
    to bottom, transparent 0%, transparent 42%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.75) 70%, #000 85%, #000 100%
  );
}

.bg-footer-one .bg-shape-f1 > .row {
  position: relative;
  z-index: 1;
}

/* Copyright stays in the same footer, no separate panel; text over watermark */
.bg-footer-one .rts-copyright-area {
  position: relative;
  z-index: 2;
  background: transparent;
  border-top: 1px solid rgba(33, 41, 61, 0.85);
}

.bg-footer-one .rts-copyright-area .container,
.bg-footer-one .rts-copyright-area p,
.bg-footer-one .rts-copyright-area a {
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .gotezu-footer-watermark {
    --gfw-size: clamp(4rem, calc(100cqw / 4.5), 50rem);
    transform: translateY(calc(42% - var(--gfw-offset)));
  }

  .gotezu-footer-watermark__blur {
    filter: blur(14px);
  }
}

@media (max-width: 575px) {
  .gotezu-footer-watermark {
    --gfw-size: clamp(3.5rem, calc(100cqw / 4.55), 50rem);
    transform: translateY(calc(44% - var(--gfw-offset)));
  }

  .gotezu-footer-watermark__blur {
    filter: blur(11px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gotezu-footer-watermark__blur {
    display: none;
  }

  .gotezu-footer-watermark__sharp {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
