.dglm-final-cta,
.dglm-final-cta * {
  box-sizing: border-box;
}

.dglm-final-cta {
  --dglm-final-cta-cream: #f7eee8;
  --dglm-final-cta-rose: #d5aaa5;
  --dglm-final-cta-gold: #c7a47e;
  --dglm-final-cta-x: 0px;
  --dglm-final-cta-y: 0px;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  min-height: clamp(650px, 78vh, 870px);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(90px, 11vw, 154px) clamp(20px, 6vw, 80px);
  color: var(--dglm-final-cta-cream);
  background:
    radial-gradient(circle at 50% 42%, rgba(152, 95, 98, 0.34), transparent 42%),
    linear-gradient(145deg, #38262a 0%, #503236 48%, #342327 100%);
  font-family: "DM Sans", sans-serif;
}

.dglm-final-cta::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 1;
  border: 1px solid rgba(247, 238, 232, 0.12);
  pointer-events: none;
}

.dglm-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
  pointer-events: none;
}

.dglm-final-cta__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(930px, 100%);
  margin: 0 auto;
  text-align: center;
}

.dglm-final-cta__seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 30px;
  border: 1px solid rgba(213, 170, 165, 0.52);
  border-radius: 50%;
  color: var(--dglm-final-cta-rose);
}

.dglm-final-cta__seal::before,
.dglm-final-cta__seal::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(213, 170, 165, 0.18);
  border-radius: 50%;
}

.dglm-final-cta__seal::before {
  inset: -7px;
}

.dglm-final-cta__seal::after {
  inset: 7px;
}

.dglm-final-cta__seal span {
  z-index: 1;
  font-family: "Instrument Serif", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.dglm-final-cta__seal i {
  position: absolute;
  inset: -8px;
  border-top: 1px solid var(--dglm-final-cta-gold);
  border-radius: 50%;
  animation: dglm-final-cta-spin 10s linear infinite;
}

.dglm-final-cta__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--dglm-final-cta-rose);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.23em;
}

.dglm-final-cta__eyebrow > span {
  width: 38px;
  height: 1px;
  background: rgba(213, 170, 165, 0.55);
}

.dglm-final-cta h2 {
  max-width: 890px;
  margin: 0;
  color: var(--dglm-final-cta-cream);
  font-family: "Instrument Serif", serif;
  font-size: clamp(52px, 7.4vw, 94px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.dglm-final-cta h2 em {
  color: var(--dglm-final-cta-rose);
  font-weight: 400;
}

.dglm-final-cta__text {
  max-width: 690px;
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: rgba(247, 238, 232, 0.77);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
}

.dglm-final-cta__service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  color: rgba(247, 238, 232, 0.62);
  font-size: 12px;
  letter-spacing: 0.025em;
}

.dglm-final-cta__service > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dglm-final-cta-gold);
  box-shadow: 0 0 0 5px rgba(199, 164, 126, 0.1);
  animation: dglm-final-cta-pulse 2.8s ease-in-out infinite;
}

.dglm-final-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 58px;
  margin-top: clamp(34px, 5vw, 48px);
  padding: 10px 12px 10px 28px;
  border: 1px solid rgba(247, 238, 232, 0.22);
  border-radius: 999px;
  color: #463035;
  background: var(--dglm-final-cta-cream);
  box-shadow: 0 18px 42px rgba(21, 11, 13, 0.2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.dglm-final-cta__button i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--dglm-final-cta-cream);
  background: #6f484d;
  font-size: 15px;
  font-style: normal;
  transition: transform 0.35s ease, background 0.35s ease;
}

.dglm-final-cta__button:hover {
  color: #463035;
  background: #fffaf6;
  box-shadow: 0 22px 52px rgba(21, 11, 13, 0.28);
  transform: translateY(-3px);
}

.dglm-final-cta__button:hover i {
  background: #85575c;
  transform: rotate(45deg);
}

.dglm-final-cta__button:focus-visible {
  outline: 2px solid var(--dglm-final-cta-gold);
  outline-offset: 5px;
}

.dglm-final-cta__ambient,
.dglm-final-cta__ambient > span {
  position: absolute;
  pointer-events: none;
}

.dglm-final-cta__ambient {
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.dglm-final-cta__glow {
  border-radius: 50%;
  filter: blur(3px);
}

.dglm-final-cta__glow--one {
  top: -130px;
  left: -110px;
  width: 390px;
  height: 390px;
  background: rgba(181, 118, 120, 0.14);
  transform: translate3d(var(--dglm-final-cta-x), var(--dglm-final-cta-y), 0);
  transition: transform 0.7s ease-out;
}

.dglm-final-cta__glow--two {
  right: -160px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  background: rgba(199, 164, 126, 0.1);
  transform: translate3d(calc(var(--dglm-final-cta-x) * -0.7), calc(var(--dglm-final-cta-y) * -0.7), 0);
  transition: transform 0.8s ease-out;
}

.dglm-final-cta__orbit {
  width: clamp(280px, 42vw, 590px);
  aspect-ratio: 1;
  border: 1px solid rgba(213, 170, 165, 0.1);
  border-radius: 50%;
}

.dglm-final-cta__orbit i {
  position: absolute;
  top: 16%;
  left: 15%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dglm-final-cta-gold);
  box-shadow: 0 0 20px rgba(199, 164, 126, 0.75);
}

.dglm-final-cta__orbit--one {
  top: -26%;
  right: -13%;
  animation: dglm-final-cta-spin 30s linear infinite;
}

.dglm-final-cta__orbit--two {
  bottom: -36%;
  left: -12%;
  width: clamp(320px, 48vw, 660px);
  animation: dglm-final-cta-spin 36s linear infinite reverse;
}

.dglm-final-cta__line {
  width: 1px;
  height: 34%;
  background: linear-gradient(transparent, rgba(213, 170, 165, 0.22), transparent);
}

.dglm-final-cta__line--one {
  top: 0;
  left: 18%;
  animation: dglm-final-cta-drift 6s ease-in-out infinite;
}

.dglm-final-cta__line--two {
  right: 15%;
  bottom: 0;
  animation: dglm-final-cta-drift 7.5s ease-in-out -2s infinite reverse;
}

.dglm-final-cta-motion [data-dglm-final-cta-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--dglm-final-cta-order, 0) * 95ms);
}

.dglm-final-cta-motion.is-visible [data-dglm-final-cta-reveal] {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dglm-final-cta-spin {
  to { transform: rotate(360deg); }
}

@keyframes dglm-final-cta-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 5px rgba(199, 164, 126, 0.1); }
  50% { transform: scale(1.18); box-shadow: 0 0 0 8px rgba(199, 164, 126, 0.03); }
}

@keyframes dglm-final-cta-drift {
  0%, 100% { transform: translateY(-8%); opacity: 0.5; }
  50% { transform: translateY(15%); opacity: 1; }
}

@media (max-width: 720px) {
  .dglm-final-cta {
    min-height: 690px;
    padding: 88px 20px;
  }

  .dglm-final-cta::before {
    inset: 10px;
  }

  .dglm-final-cta__seal {
    width: 60px;
    height: 60px;
    margin-bottom: 27px;
  }

  .dglm-final-cta__eyebrow {
    gap: 9px;
    font-size: 8px;
    line-height: 1.4;
    letter-spacing: 0.18em;
  }

  .dglm-final-cta__eyebrow > span {
    width: 22px;
  }

  .dglm-final-cta h2 {
    font-size: clamp(47px, 14vw, 66px);
    line-height: 0.97;
  }

  .dglm-final-cta__text {
    margin-top: 27px;
    font-size: 14px;
    line-height: 1.7;
  }

  .dglm-final-cta__service {
    align-items: flex-start;
    max-width: 310px;
    font-size: 11px;
    line-height: 1.5;
  }

  .dglm-final-cta__service > span {
    flex: 0 0 auto;
    margin-top: 6px;
  }

  .dglm-final-cta__button {
    min-height: 56px;
    margin-top: 35px;
    padding-left: 23px;
  }

  .dglm-final-cta__orbit--one {
    top: -9%;
    right: -42%;
  }

  .dglm-final-cta__orbit--two {
    bottom: -18%;
    left: -58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dglm-final-cta *,
  .dglm-final-cta *::before,
  .dglm-final-cta *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .dglm-final-cta-motion [data-dglm-final-cta-reveal] {
    opacity: 1;
    transform: none;
  }
}
