.gracias-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
}

.gracias-header {
  position: relative;
  z-index: 30;
  padding-top: 28px;
}

.gracias-header .topbar {
  position: relative;
  inset: auto;
  padding: 0;
  background: transparent;
}

.gracias-header .topbar__inner {
  min-height: 80px;
  padding: 0 34px;
  border-radius: 24px;
  background: rgba(22, 9, 4, 0.78);
  border: 1px solid rgba(255, 106, 0, 0.14);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.gracias-header .brand__logo {
  height: 50px;
}

.gracias-header .nav {
  border: 0;
  padding: 0;
}

.gracias-header .nav__list {
  gap: 52px;
}

.gracias-header .cta {
  min-height: 54px;
  padding: 10px 14px 10px 22px;
  font-size: 14px;
  font-weight: 700;
}

.gracias-header .cta__icon {
  width: 34px;
  height: 34px;
}

.gracias-main {
  position: relative;
  flex: 1;
  overflow: hidden;
  margin-top: 14px;
  background:
    radial-gradient(980px 560px at 4% 24%, rgba(137, 40, 0, 0.43), transparent 66%),
    radial-gradient(760px 620px at 96% 82%, rgba(116, 34, 0, 0.32), transparent 71%),
    linear-gradient(180deg, #070202 0%, #000 54%, #060200 100%);
}

.gracias-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.58), rgba(255, 106, 0, 0.12));
  z-index: 2;
}

.gracias-main__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.gracias-main__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.gracias-main__layout {
  position: relative;
  z-index: 3;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 28px;
  padding-top: 130px;
  padding-bottom: 72px;
}

.gracias-copy {
  max-width: 840px;
}

.gracias-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(80px, 80px, 80px);
  line-height: 0.90;
  letter-spacing: 0;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.gracias-title__accent {
  color: var(--accent);
}

.gracias-desc {
  margin: 38px 0 0;
  max-width: 560px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.gracias-side {
  width: 255px;
  justify-self: end;
  align-self: end;
  margin-bottom: 64px;
}

.gracias-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 64px;
}

.gracias-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.gracias-pill--dark {
  color: #fff;
  background: linear-gradient(90deg, #4b4e57 0%, #08090d 100%);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.32);
}

.gracias-pill--orange {
  color: #140900;
  background: #ff6a00;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.38);
}

.gracias-pill__icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gracias-pill__icon svg {
  width: 100%;
  height: 100%;
}

.gracias-pill--dark .gracias-pill__icon svg {
  color: #fff;
  fill: currentColor;
  stroke: currentColor;
}

.gracias-pill--orange .gracias-pill__icon svg {
  color: #fff;
  stroke: currentColor;
}

.gracias-social__title {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.gracias-social__icons {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gracias-social__icons a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  opacity: 0.96;
}

.gracias-social__icons svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: currentColor;
}

@media (max-width: 1280px) {
  .gracias-header .nav__list {
    gap: 38px;
  }

  .gracias-main__layout {
    grid-template-columns: minmax(0, 1fr) 284px;
  }

  .gracias-side {
    width: 100%;
    max-width: 284px;
  }

  .gracias-desc,
  .gracias-pill,
  .gracias-social__title {
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .gracias-header {
    padding-top: 16px;
  }

  .gracias-header .topbar__inner {
    min-height: 72px;
    padding: 10px 18px;
    border-radius: 18px;
  }

  .gracias-header .brand__logo {
    height: 42px;
  }

  .gracias-main {
    margin-top: 12px;
  }

  .gracias-main__layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 84px;
    padding-bottom: 64px;
  }

  .gracias-title {
    font-size: clamp(40px, 40px, 40px);
  }

  .gracias-desc,
  .gracias-pill,
  .gracias-social__title {
    font-size: 14px;
  }

  .gracias-side {
    justify-self: start;
    align-self: start;
    margin-bottom: 0;
    max-width: 340px;
  }

  .gracias-actions {
    margin-bottom: 40px;
  }
}

@media (max-width: 640px) {
  .gracias-main__layout {
    padding-top: 72px;
    padding-bottom: 52px;
  }

  .gracias-title {
    font-size: clamp(40px, 40px, 40px);
  }

  .gracias-desc,
  .gracias-pill,
  .gracias-social__title {
    font-size: 13px;
  }

  .gracias-pill {
    min-height: 52px;
    padding: 0 14px 0 18px;
  }

  .gracias-social__icons {
    gap: 20px;
  }
}
