:root {
  --orange: #fc4a14;
  --orange-deep: #ff6900;
  --purple: #6207ab;
  --ink: #1e1e1e;
  --muted: #6b6b6b;
  --line: #d7d7d7;
  --bg: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: Montserrat, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 28px; border-bottom: 1px solid #eee;
}
.brand { display: flex; align-items: center; gap: 18px; }
.brand img { height: 42px; width: auto; display: block; }
.nav { display: flex; gap: 22px; color: #4a4a4a; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.nav span { color: #9a9a9a; font-weight: 500; }

.page { max-width: 920px; margin: 0 auto; padding: 36px 20px 64px; text-align: center; }
h1 { margin: 0 0 8px; font-size: 28px; font-weight: 700; }
.lede { margin: 0 auto 28px; max-width: 640px; color: #444; font-size: 15px; line-height: 1.45; }
h2 { margin: 28px 0 14px; font-size: 20px; font-weight: 700; }

.amounts, .specials { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.amt {
  width: 100px; height: 100px; border-radius: 50%;
  border: 3px solid var(--orange); background: #fff; color: var(--orange);
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0;
}
.amt b { font-size: 28px; line-height: 1; font-weight: 700; }
.amt small { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.amt.is-on { width: 118px; height: 118px; background: var(--orange); color: #fff; border-color: var(--orange); }
.amt.special { border-color: var(--purple); color: var(--purple); }
.amt.special.is-on { background: var(--purple); color: #fff; border-color: var(--purple); }
.amt.special b { font-size: 22px; }
.special-link { color: var(--purple); font-weight: 700; font-size: 14px; }

.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 640px; margin: 8px auto 0; text-align: left; }
.wt-field { display: block; }
.wt-field span { display: block; font-size: 13px; color: #555; margin-bottom: 6px; }
.wt-field input {
  width: 100%; border: 0; border-bottom: 1px solid #222; background: transparent;
  padding: 8px 0 10px; font-size: 16px; outline: none;
}
.wt-field input:focus { border-bottom-color: var(--orange); }
.err { min-height: 18px; margin: 8px 0 0; color: #c62828; font-size: 13px; text-align: left; }

.pay-choices { max-width: 420px; margin: 0 auto; display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #ececec; border-radius: 12px; padding: 14px 16px; background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.03); cursor: pointer; text-align: left; font-weight: 600;
}
.choice input { accent-color: var(--orange); }

.mail { max-width: 420px; margin: 0 auto; text-align: left; }
.fine { max-width: 520px; margin: 14px auto 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

.total { margin: 22px 0 0; font-size: 18px; font-weight: 700; }
.total span { color: var(--orange); }

#card-box { max-width: 420px; margin: 18px auto 0; text-align: left; }
#card-box h2 { text-align: center; margin-top: 8px; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.prosegui {
  margin-top: 22px; min-width: 220px; height: 52px; padding: 0 36px;
  border: 0; border-radius: 30px; background: var(--orange); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
}
.prosegui:disabled { opacity: .6; cursor: default; }

.banner {
  max-width: 640px; margin: 0 auto 18px; padding: 12px 14px; border-radius: 10px;
  background: #fdecea; color: #b71c1c; font-weight: 700;
}

.faq { max-width: 720px; margin: 36px auto 0; text-align: left; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p, .faq li { color: #444; font-size: 14px; line-height: 1.45; }

.foot {
  border-top: 1px solid #eee; padding: 22px; text-align: center; color: #888; font-size: 12px;
}

.payer-hosted-hide, [data-payer-card-hide] { display: none !important; }

@media (max-width: 700px) {
  .nav { display: none; }
  .phones, .card-row { grid-template-columns: 1fr; }
  h1 { font-size: 22px; }
}
