.gs-thanks {
  --gs-thanks-bg: #f4f1ea;
  --gs-thanks-card: #ffffff;
  --gs-thanks-text: #171717;
  --gs-thanks-muted: #67645e;
  --gs-thanks-accent: #b48724;
  --gs-thanks-accent-dark: #8d6918;
  box-sizing: border-box;
  min-height: min(760px, calc(100vh - 90px));
  display: grid;
  place-items: center;
  padding: clamp(56px, 8vw, 110px) 20px;
  background:
    radial-gradient(circle at 20% 15%, rgba(180, 135, 36, 0.12), transparent 34%),
    linear-gradient(145deg, #f8f6f1 0%, var(--gs-thanks-bg) 100%);
  color: var(--gs-thanks-text);
}

.gs-thanks *,
.gs-thanks *::before,
.gs-thanks *::after {
  box-sizing: border-box;
}

.gs-thanks__inner {
  width: min(100%, 760px);
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid rgba(180, 135, 36, 0.24);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(32, 27, 16, 0.12);
  text-align: center;
}

.gs-thanks__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d1a33b, var(--gs-thanks-accent-dark));
  box-shadow: 0 16px 34px rgba(180, 135, 36, 0.28);
}

.gs-thanks__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gs-thanks__eyebrow {
  margin: 0 0 12px;
  color: var(--gs-thanks-accent-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gs-thanks__title {
  max-width: 640px;
  margin: 0 auto;
  color: var(--gs-thanks-text);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.gs-thanks__text {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--gs-thanks-muted);
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.65;
}

.gs-thanks__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 34px auto 0;
  padding: 24px;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 18px;
  background: #faf9f6;
}

.gs-thanks__contact p {
  margin: 0;
  color: var(--gs-thanks-muted);
  font-size: 15px;
  line-height: 1.5;
}

.gs-thanks__phone {
  color: var(--gs-thanks-text);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.gs-thanks__phone:hover,
.gs-thanks__phone:focus-visible {
  color: var(--gs-thanks-accent-dark);
}

.gs-thanks__schedule {
  color: var(--gs-thanks-muted);
  font-size: 14px;
}

.gs-thanks__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 30px;
  padding: 15px 24px;
  border: 1px solid var(--gs-thanks-text);
  border-radius: 999px;
  background: var(--gs-thanks-text);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.gs-thanks__button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gs-thanks__button:hover,
.gs-thanks__button:focus-visible {
  border-color: var(--gs-thanks-accent-dark);
  background: var(--gs-thanks-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.gs-thanks a:focus-visible {
  outline: 3px solid rgba(180, 135, 36, 0.35);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .gs-thanks {
    min-height: auto;
    padding: 32px 14px;
  }

  .gs-thanks__inner {
    padding: 34px 20px;
    border-radius: 22px;
  }

  .gs-thanks__icon {
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
  }

  .gs-thanks__icon svg {
    width: 34px;
    height: 34px;
  }

  .gs-thanks__contact {
    margin-top: 28px;
    padding: 20px 14px;
  }

  .gs-thanks__button {
    width: 100%;
  }
}

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