/* Homepage Section 11: final contact call-to-action. */

.final-contact {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4.5rem, 6vw, 7rem) clamp(5rem, 6.8vw, 7.75rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgb(32 211 208 / 6%), transparent 38rem),
    linear-gradient(180deg, #07101c 0%, #030811 100%);
}

.final-contact::before,
.final-contact::after {
  position: absolute;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: rgb(30 204 207 / 3.5%);
  content: "";
  filter: blur(7.5rem);
  pointer-events: none;
}

.final-contact::before {
  top: 12%;
  left: -19rem;
}

.final-contact::after {
  right: -19rem;
  bottom: -3%;
}

.final-contact__container {
  width: min(calc(100% - (2 * var(--container-gutter))), 85rem);
  max-width: none;
}

.final-contact__panel {
  position: relative;
  width: min(100%, 73rem);
  padding: clamp(3rem, 5.5vw, 5.5rem) clamp(1.5rem, 5vw, 5rem);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(72 218 220 / 30%);
  border-radius: clamp(1.6rem, 2.6vw, 2.25rem);
  background:
    radial-gradient(circle at 50% 0%, rgb(32 211 208 / 12%), transparent 25rem),
    radial-gradient(circle at 92% 86%, rgb(19 114 146 / 8%), transparent 18rem),
    linear-gradient(145deg, rgb(14 39 60 / 98%), rgb(6 18 32 / 100%) 68%, rgb(4 13 24 / 100%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 5%),
    inset 0 0 4rem rgb(32 211 208 / 2%),
    0 1.5rem 4rem rgb(0 0 0 / 20%),
    0 0 3.25rem rgb(32 211 208 / 5%);
  text-align: center;
}

.final-contact__panel::before,
.final-contact__panel::after {
  position: absolute;
  width: 17rem;
  height: 17rem;
  border: 1px solid rgb(73 224 224 / 7%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.final-contact__panel::before {
  top: -11rem;
  left: -7rem;
}

.final-contact__panel::after {
  right: -8rem;
  bottom: -12rem;
}

.final-contact__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.final-contact__eyebrow {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.48rem 0.9rem;
  margin: 0 0 1.15rem;
  border: 1px solid rgb(83 229 226 / 30%);
  border-radius: var(--radius-pill);
  background: rgb(17 80 99 / 24%);
  box-shadow: 0 0 1.5rem rgb(32 211 208 / 7%);
  color: #69e8e5;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.final-contact h2 {
  width: min(100%, 58rem);
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.6rem, 1.75rem + 2.7vw, 4.25rem);
  font-weight: 850;
  letter-spacing: -0.052em;
  line-height: 1.04;
  text-wrap: balance;
}

.final-contact h2 span,
.final-contact h2 strong {
  display: block;
  font: inherit;
}

.final-contact h2 strong {
  margin-top: 0.1em;
  background: linear-gradient(105deg, #20d3d0 8%, #6aefec 92%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.final-contact__copy {
  max-width: 47rem;
  margin: 1.35rem auto 0;
  color: #b8c6d8;
  font-size: clamp(1.02rem, 0.95rem + 0.22vw, 1.16rem);
  line-height: 1.65;
  text-wrap: balance;
}

.final-contact__actions {
  display: grid;
  width: min(100%, 32rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: clamp(2rem, 3vw, 2.7rem) auto 0;
}

.final-contact__button {
  display: inline-flex;
  min-height: 3.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-size: 0.98rem;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.final-contact__button svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.final-contact__button--primary {
  border-color: rgb(100 239 234 / 65%);
  background: linear-gradient(135deg, #19d3d0, #58e8e5);
  box-shadow: 0 0.85rem 2rem rgb(10 193 194 / 13%);
  color: #03131d;
}

.final-contact__button--secondary {
  border-color: rgb(73 226 223 / 55%);
  background: rgb(5 19 32 / 58%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
  color: #f4fbff;
}

.final-contact__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .final-contact__button:hover {
    transform: translateY(-0.15rem);
  }

  .final-contact__button--primary:hover {
    box-shadow: 0 1rem 2.25rem rgb(10 193 194 / 19%);
    filter: brightness(1.05);
  }

  .final-contact__button--secondary:hover {
    border-color: rgb(91 239 234 / 78%);
    background: rgb(22 89 106 / 24%);
    box-shadow: 0 0.75rem 1.8rem rgb(32 211 208 / 8%);
  }
}

@media (max-width: 48rem) {
  .final-contact {
    padding-block: 3.75rem 4.75rem;
  }

  .final-contact__panel {
    padding-block: 3.25rem;
  }

  .final-contact h2 {
    font-size: clamp(2.15rem, 1.65rem + 2.7vw, 2.75rem);
    line-height: 1.08;
  }
}

@media (max-width: 36rem) {
  .final-contact__panel {
    padding: 2.75rem 1.2rem;
    border-radius: 1.4rem;
  }

  .final-contact__copy br {
    display: none;
  }

  .final-contact__actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    margin-top: 1.8rem;
  }

  .final-contact__button {
    width: 100%;
    min-height: 3.75rem;
  }
}

@media (max-width: 22rem) {
  .final-contact__panel {
    padding-inline: 1rem;
  }

  .final-contact h2 {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-contact__button {
    transition: none;
  }
}
