:root { --discount: #f28b2e; }

.discount-page {
  flex: 1;
  padding: 12px var(--site-gutter) clamp(48px, 7vw, 96px);
}

.discount-hero {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .8fr);
  align-items: start;
  gap: clamp(38px, 6vw, 84px);
}

.discount-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  color: #9b4b09;
  background: #fff0df;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

.discount-copy h1 {
  max-width: 720px;
  margin: 18px 0;
  color: #163b3d;
  font-size: clamp(2.15rem, 4.7vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.discount-lead { max-width: 680px; margin: 0; color: #51666b; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.75; text-wrap: pretty; }
.discount-benefits { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.discount-benefits li { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 42px; color: #25484b; line-height: 1.45; }
.discount-benefits span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: var(--primary); font-weight: 800; box-shadow: 0 8px 18px rgba(20,157,149,.2); }

.discount-card { padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(20,157,149,.15); border-radius: 28px; background: rgba(255,255,255,.96); box-shadow: 0 26px 70px rgba(20,52,54,.14); }
.discount-card h2 { margin: 0 0 8px; color: #173f41; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.discount-card h2 + p { margin: 0 0 26px; color: #6b7d80; }
.discount-field { margin-bottom: 17px; }
.discount-field label { display: block; margin-bottom: 7px; color: #294a4d; font-size: .9rem; font-weight: 700; }
.discount-field small { color: #7e8e91; font-weight: 500; }
.discount-field input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #ccd9da; border-radius: 12px; color: #183b3e; background: #fbfdfd; transition: border-color .2s, box-shadow .2s; }
.discount-field input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(20,157,149,.13); }
.discount-field input[aria-invalid="true"] { border-color: #c94242; }
.field-error { display: block; min-height: 18px; padding-top: 4px; color: #b83232; font-size: .78rem; }
.discount-consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.discount-consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--primary); }
.discount-consent label { color: #4e6265; font-size: .76rem; line-height: 1.55; }
.consent-error { padding-left: 30px; }
.discount-privacy { margin: 12px 0 20px; color: #738285; font-size: .72rem; line-height: 1.55; }
.discount-privacy a { color: var(--primary-dark); text-decoration: underline; font-weight: 700; }
.discount-submit, .discount-copy-button { width: 100%; min-height: 54px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #f39a46, var(--discount)); box-shadow: 0 12px 26px rgba(242,139,46,.28); cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; transition: transform .2s, box-shadow .2s; }
.discount-submit:hover, .discount-copy-button:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(242,139,46,.36); }
.discount-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.form-message { margin: 0; }
.form-message.is-error { margin: 0 0 14px; padding: 11px 13px; border-radius: 10px; color: #8f2929; background: #fff0f0; font-size: .84rem; }
.discount-success { text-align: center; }
.discount-drawing { min-height: 350px; display: grid; place-items: center; align-content: center; gap: 20px; text-align: center; }
.drawing-wheel { width: 104px; height: 104px; display: grid; place-items: center; border: 8px solid rgba(20,157,149,.15); border-top-color: var(--discount); border-radius: 50%; color: var(--primary); background: #f5fffe; font-size: 2.5rem; font-weight: 800; animation: discount-spin .7s linear infinite, discount-pulse 1.2s ease-in-out infinite; }
.discount-value { width: 132px; min-height: 104px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 24px; color: #fff; background: linear-gradient(135deg, var(--primary), #0e7f79); box-shadow: 0 18px 38px rgba(20,157,149,.28); font-size: 2.8rem; font-weight: 800; animation: discount-reveal .45s cubic-bezier(.2,.9,.3,1.35) both; }
.discount-code { display: block; margin: 16px 0; padding: 18px; border: 2px dashed rgba(242,139,46,.5); border-radius: 14px; color: #b85d0e; background: #fff8ef; font-size: clamp(1.7rem, 5vw, 2.4rem); letter-spacing: .06em; }
.copy-message { min-height: 22px; color: var(--primary-dark); font-size: .85rem; }
.discount-terms { margin: 22px 0 0 !important; color: #6b7d80; font-size: .82rem; line-height: 1.6; }
.discount-terms-form { text-align: center; font-size: .72rem; }
[hidden] { display: none !important; }

@keyframes discount-spin { to { transform: rotate(360deg); } }
@keyframes discount-pulse { 50% { box-shadow: 0 0 0 14px rgba(242,139,46,.09); } }
@keyframes discount-reveal { from { opacity: 0; transform: scale(.65) rotate(-5deg); } to { opacity: 1; transform: scale(1) rotate(0); } }

@media (prefers-reduced-motion: reduce) {
  .drawing-wheel, .discount-value { animation-duration: .01ms; animation-iteration-count: 1; }
}

@media (max-width: 860px) {
  .discount-hero { grid-template-columns: 1fr; }
  .discount-copy { text-align: center; }
  .discount-lead { margin-inline: auto; }
  .discount-benefits { width: min(540px, 100%); margin-inline: auto; text-align: left; }
  .discount-card { width: min(600px, 100%); margin: 0 auto; }
}

@media (max-width: 480px) {
  .discount-page { padding-top: 8px; }
  .discount-card { padding: 22px 17px; border-radius: 20px; }
  .discount-copy h1 { font-size: 2.15rem; }
  .discount-benefits strong { font-size: .9rem; }
}
