/* TOEIC voucher page — change the 3 colours below to match your brand */
.voucher-page {
  --v-primary: #1f4e79;
  --v-accent: #e8f1fa;
  --v-warn: #fff4e5;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 60px;
  color: #222;
  line-height: 1.6;
}
.voucher-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0 12px; color: var(--v-primary); }
.voucher-page h2 { font-size: 1.5rem; margin: 0 0 14px; color: var(--v-primary); }
.voucher-page a { color: var(--v-primary); }

/* Hero */
.voucher-hero { text-align: center; margin-bottom: 40px; }
.voucher-hero .partner-logo { height: auto; }
.voucher-hero .lead { max-width: 720px; margin: 0 auto; font-size: 1.15rem; color: #444; }

/* Cards */
.voucher-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 50px; }
.voucher-card {
  background: #fff; border: 1px solid #dde3ea; border-radius: 12px;
  padding: 28px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.voucher-card.featured { border: 2px solid var(--v-primary); }
.voucher-card .price { font-size: 1.8rem; font-weight: 700; color: var(--v-primary); margin: 10px 0 4px; }
.voucher-card .badge {
  display: inline-block; align-self: flex-start; background: var(--v-accent); color: var(--v-primary);
  font-size: .85rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin: 0 0 16px;
}
.voucher-card .bundle { margin-top: 24px; padding-top: 20px; border-top: 1px dashed #ccd5df; }
.voucher-card .bundle .price { font-size: 1.4rem; }

/* Buttons */
.voucher-page .btn {
  display: inline-block; text-align: center; padding: 12px 22px; border-radius: 8px;
  background: var(--v-primary); color: #fff; font-weight: 600; text-decoration: none;
  border: 2px solid var(--v-primary); cursor: pointer; font-size: 1rem;
}
.voucher-page .btn:hover { opacity: .9; }
.voucher-page .btn-outline { background: #fff; color: var(--v-primary); }

/* How it works */
.voucher-how { background: var(--v-accent); border-radius: 12px; padding: 28px; margin-bottom: 50px; }
.voucher-how ol { margin: 0; padding-left: 20px; }
.voucher-how li { margin-bottom: 8px; }

/* Form */
.voucher-form { max-width: 620px; margin: 0 auto 50px; }
.voucher-form form { display: flex; flex-direction: column; gap: 6px; }
.voucher-form label { font-weight: 600; margin-top: 10px; }
.voucher-form input[type=text], .voucher-form input:not([type]), .voucher-form input[type=email], .voucher-form select {
  width: 100%; padding: 11px 12px; border: 1px solid #c5ced8; border-radius: 8px; font-size: 1rem; box-sizing: border-box;
}
.voucher-form input:focus, .voucher-form select:focus { outline: 2px solid var(--v-primary); border-color: var(--v-primary); }
.voucher-form label.check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.voucher-form label.check input { margin-top: 5px; flex-shrink: 0; }
.voucher-form .btn-primary { margin-top: 20px; }
.voucher-page .alert { padding: 12px 16px; border-radius: 8px; margin: 12px 0; }
.voucher-page .alert-warning { background: var(--v-warn); border-left: 4px solid #f0a020; }
.voucher-page .alert-error { background: #fdecea; border-left: 4px solid #d93025; }

/* FAQ */
.voucher-faq { max-width: 760px; margin: 0 auto 40px; }
.voucher-faq details { border-bottom: 1px solid #e2e7ed; padding: 14px 0; }
.voucher-faq summary { font-weight: 600; cursor: pointer; }
.voucher-faq details p { margin: 10px 0 0; color: #444; }

.voucher-page .legal-note { font-size: .85rem; color: #777; text-align: center; }

/* Align both cards */
.voucher-card > p:first-of-type { min-height: 4.8em; margin-bottom: 0; }
.voucher-card .bundle { margin-top: auto; padding-top: 24px; }
.voucher-card > .btn { margin-bottom: 24px; }
.voucher-card .btn { display: block; width: 100%; box-sizing: border-box; }
@media (max-width: 640px) {
  .voucher-card > p:first-of-type { min-height: 0; }
}
