:root {
  --go-cream: #fffaf3;
  --go-paper: #f7efe3;
  --go-ink: #221a14;
  --go-muted: #6f6257;
  --go-line: #f1dfc7;
  --go-terracotta: #d85f1f;
  --go-terracotta-dark: #b94716;
  --go-surface: #fffdf8;
  --go-gold: #c4a35a;
  --go-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --go-exit: cubic-bezier(0.4, 0, 1, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.go-body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1200px 480px at 100% -10%, rgba(216, 95, 31, 0.14), transparent 55%),
    radial-gradient(900px 420px at -20% 110%, rgba(196, 163, 90, 0.18), transparent 50%),
    var(--go-cream);
  color: var(--go-ink);
  font-family: Cairo, "Segoe UI", "SF Arabic", "Noto Naskh Arabic", Tahoma, sans-serif;
}

.go-shell {
  width: min(28rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.go-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  animation: goMarkIn 0.7s var(--go-ease) both;
}

.go-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.go-mark p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--go-muted);
  font-weight: 700;
}

.go-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--go-muted);
}

.go-path span {
  text-align: center;
  padding: 0.35rem 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid transparent;
}

.go-path .is-now {
  color: var(--go-terracotta-dark);
  background: #fff4ec;
  border-color: var(--go-line);
  box-shadow: 0 0 0 4px rgba(216, 95, 31, 0.08);
}

.go-path .is-done {
  color: #3d6b3a;
  background: #eef6ea;
}

.go-path i {
  width: 0.7rem;
  height: 1px;
  background: var(--go-line);
  display: block;
}

.go-card {
  position: relative;
  background: var(--go-surface);
  border: 1px solid var(--go-line);
  border-radius: 28px 12px 28px 12px;
  box-shadow: 18px 22px 0 rgba(34, 26, 20, 0.06);
  padding: 1.35rem 1.2rem 1.5rem;
  animation: goCardIn 0.38s var(--go-ease) both;
}

.go-card.is-pulse {
  animation: goCardPulse 0.45s var(--go-ease);
}

.go-kicker {
  margin: 0 0 0.35rem;
  color: var(--go-terracotta);
  font-size: 0.8rem;
  font-weight: 800;
}

.go-card h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 5vw, 1.7rem);
  line-height: 1.25;
  font-weight: 900;
}

.go-lead {
  margin: 0 0 1.1rem;
  color: var(--go-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.go-progress {
  position: relative;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin: 0 0 0.55rem;
}

.go-js .go-progress {
  display: grid;
}

.go-progress span.go-dot {
  height: 6px;
  border-radius: 99px;
  background: var(--go-line);
  overflow: hidden;
}

.go-progress span.go-dot::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--go-terracotta);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--go-ease);
}

.go-progress span.go-dot.is-on::after {
  transform: scaleX(1);
}

.go-progress span.go-dot.is-next::after {
  transform: scaleX(0.22);
  opacity: 0.55;
}

.go-spark {
  position: absolute;
  top: 50%;
  right: 6%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--go-terracotta);
  box-shadow: 0 0 0 4px rgba(216, 95, 31, 0.18);
  opacity: 0;
  pointer-events: none;
}

.go-progress-label,
.go-cue {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--go-muted);
  min-height: 1.2em;
}

.go-js .go-progress-label,
.go-js .go-cue {
  display: block;
}

.go-cue {
  color: var(--go-terracotta-dark);
  font-weight: 800;
  opacity: 0;
}

.go-cue.is-on {
  animation: goCueIn 0.4s var(--go-ease) both;
}

.go-error {
  background: #fde8e4;
  color: #8a2b13;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.go-steps {
  position: relative;
  min-height: 12rem;
}

.go-step {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
  min-inline-size: 0;
}

.go-js .go-step {
  display: none;
}

.go-js .go-step.is-active {
  display: block;
  animation: goStepIn 0.26s var(--go-ease) both;
}

.go-js .go-step.is-exit {
  display: block;
  position: absolute;
  inset-inline: 0;
  top: 0;
  pointer-events: none;
  animation: goStepOut 0.16s var(--go-exit) both;
}

.go-prompt {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
  padding: 0;
}

.go-hint {
  margin: 0 0 0.85rem;
  color: var(--go-muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.go-options {
  display: grid;
  gap: 0.55rem;
}

.go-options label {
  position: relative;
  display: block;
  border: 1px solid var(--go-line);
  border-radius: 16px;
  padding: 0.85rem 0.95rem 0.85rem 2.4rem;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.go-options label::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  border: 1.5px solid var(--go-line);
}

.go-options label::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 6px;
  height: 10px;
  margin-top: -7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
}

.go-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.go-options label:has(input:checked),
.go-options label:has(input:focus-visible) {
  border-color: var(--go-terracotta);
  background: #fff4ec;
  box-shadow: inset 0 0 0 1px var(--go-terracotta);
}

.go-options label:has(input:checked)::before {
  background: var(--go-terracotta);
  border-color: var(--go-terracotta);
}

.go-options label:has(input:checked)::after {
  transform: rotate(45deg) scale(1);
}

.go-options.is-chosen label:not(:has(input:checked)) {
  opacity: 0.55;
}

.go-options.is-shake,
.go-contact-fields.is-shake {
  animation: goShake 0.42s var(--go-ease);
}

.go-js .go-step .go-form {
  animation: none;
}

@keyframes goShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(6px); }
  50% { transform: translateX(-5px); }
  75% { transform: translateX(3px); }
}

.go-nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.go-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.go-btn:active {
  transform: translateY(1px);
}

.go-btn-primary {
  flex: 1;
  width: 100%;
  background: var(--go-terracotta);
  color: #fff;
}

.go-btn-primary:hover,
.go-btn-primary:focus-visible {
  background: var(--go-terracotta-dark);
}

.go-btn-ghost {
  background: transparent;
  color: var(--go-ink);
  border: 1px solid var(--go-line);
}

.go-btn:focus-visible,
.go-social-link:focus-visible,
.go-form input:focus-visible,
.go-shop:focus-visible {
  outline: 2px solid var(--go-terracotta);
  outline-offset: 2px;
}

.go-social {
  display: grid;
  gap: 0.55rem;
  margin: 0.4rem 0 1.1rem;
}

.go-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--go-ink);
  background: #fff;
  border: 1px solid var(--go-line);
  border-radius: 18px;
  font-weight: 800;
  animation: goSocialIn 0.5s var(--go-ease) both;
}

.go-social-link:nth-child(1) { animation-delay: 0.05s; }
.go-social-link:nth-child(2) { animation-delay: 0.12s; }
.go-social-link:nth-child(3) { animation-delay: 0.19s; }
.go-social-link:nth-child(4) { animation-delay: 0.26s; }

.go-social-link:hover,
.go-social-link:focus-visible {
  border-color: var(--go-terracotta);
  background: #fff4ec;
  transform: translateY(-2px);
}

.go-social-name {
  flex: 1;
  text-align: start;
}

.go-social-action {
  color: var(--go-terracotta);
  font-size: 0.82rem;
  font-weight: 800;
}

.go-ico {
  display: inline-flex;
  flex: 0 0 22px;
  color: var(--go-terracotta);
}

.go-bridge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.15rem 0 1rem;
  color: var(--go-terracotta-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.go-bridge::before,
.go-bridge::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(to left, var(--go-terracotta), transparent);
}

.go-bridge::after {
  background: linear-gradient(to right, var(--go-terracotta), transparent);
}

.go-form {
  display: grid;
  gap: 0.75rem;
  animation: goFormIn 0.55s var(--go-ease) 0.2s both;
}

.go-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.go-form input[type="text"],
.go-form input[type="tel"],
.go-form input[type="email"] {
  border: 1px solid var(--go-line);
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  min-height: 48px;
  font: inherit;
  background: #fff;
}

.go-form input[type="text"]:focus,
.go-form input[type="tel"]:focus,
.go-form input[type="email"]:focus {
  outline: 0;
  border-color: var(--go-terracotta);
  box-shadow: 0 0 0 4px rgba(216, 95, 31, 0.12);
}

.go-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--go-muted);
  line-height: 1.6;
}

.go-consent input {
  margin-top: 0.3rem;
  accent-color: var(--go-terracotta);
}

.go-consent a {
  color: var(--go-terracotta-dark);
  font-weight: 800;
}

.go-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.15rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--go-terracotta);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  min-height: 48px;
}

.go-shop:hover,
.go-shop:focus-visible {
  background: var(--go-terracotta-dark);
}

.go-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.go-burst b {
  position: absolute;
  top: 38%;
  right: 18%;
  width: 7px;
  height: 7px;
  border-radius: 50% 50% 50% 12%;
  background: var(--go-terracotta);
  opacity: 0;
}

.go-burst.is-firing b {
  animation: goBurst 0.7s var(--go-ease) forwards;
}

.go-burst b:nth-child(1) { --dx: 42px; --dy: -58px; --s: 1; }
.go-burst b:nth-child(2) { --dx: -36px; --dy: -48px; --s: 0.8; background: var(--go-gold); animation-delay: 0.03s; }
.go-burst b:nth-child(3) { --dx: 64px; --dy: -18px; --s: 1.15; background: #f1dfc7; animation-delay: 0.05s; }
.go-burst b:nth-child(4) { --dx: -58px; --dy: -8px; --s: 0.7; animation-delay: 0.02s; }
.go-burst b:nth-child(5) { --dx: 18px; --dy: 42px; --s: 0.9; background: var(--go-gold); animation-delay: 0.07s; }
.go-burst b:nth-child(6) { --dx: -24px; --dy: 48px; --s: 1.05; animation-delay: 0.04s; }
.go-burst b:nth-child(7) { --dx: 72px; --dy: 28px; --s: 0.65; background: #fff; animation-delay: 0.06s; }
.go-burst b:nth-child(8) { --dx: -70px; --dy: 22px; --s: 0.85; background: var(--go-gold); animation-delay: 0.08s; }
.go-burst b:nth-child(9) { --dx: 8px; --dy: -72px; --s: 0.55; width: 14px; height: 3px; border-radius: 99px; background: var(--go-ink); }
.go-burst b:nth-child(10) { --dx: -12px; --dy: -66px; --s: 0.55; width: 14px; height: 3px; border-radius: 99px; background: var(--go-ink); animation-delay: 0.04s; }

@keyframes goMarkIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes goCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes goCardPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.008); }
  100% { transform: scale(1); }
}

@keyframes goStepIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes goStepOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(8px); }
}

@keyframes goCueIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes goSocialIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes goFormIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes goBurst {
  0% { opacity: 1; transform: translate(0, 0) scale(0.4) rotate(0deg); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s)) rotate(48deg); }
}

@media (min-width: 768px) {
  .go-shell {
    width: min(34rem, calc(100% - 2rem));
    padding-top: 2rem;
  }

  .go-card {
    padding: 1.7rem 1.6rem 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .go-mark,
  .go-card,
  .go-card.is-pulse,
  .go-js .go-step.is-active,
  .go-js .go-step.is-exit,
  .go-btn,
  .go-social-link,
  .go-form,
  .go-shop,
  .go-cue,
  .go-burst.is-firing b {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
