/* ============================================
   Rising Stars Dance Academy
   RAD-inspired: Clean, professional, red accent
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:         #cc1a2a;
  --red-dark:    #a8141f;
  --red-light:   #f9e8ea;
  --cream:       #f2ede9;
  --white:       #ffffff;
  --black:       #111111;
  --gray-dark:   #333333;
  --gray-mid:    #666666;
  --gray-light:  #999999;
  --gray-border: #e0dbd6;

  --font: 'Poppins', sans-serif;

  --radius-btn:  27px;
  --radius-card: 8px;

  --transition:  200ms ease;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-nav:  0 1px 6px rgba(0,0,0,0.08);

  --content-width: 760px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--gray-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

/* =============================================
   Site Navigation
   ============================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  box-shadow: var(--shadow-nav);
}

.nav-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav-brand em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--red); }

.btn-nav {
  padding: 10px 26px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* Nav profile menu */
.nav-profile { position: relative; }

.nav-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-btn);
  padding: 7px 14px 7px 8px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: border-color var(--transition), background var(--transition);
}

.nav-profile-btn:hover { border-color: var(--red); background: var(--cream); }

.nav-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  min-width: 160px;
  z-index: 200;
  overflow: hidden;
}

.nav-dropdown.open { display: block; }

.nav-dropdown a,
.nav-dropdown button {
  display: block;
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-dark);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover,
.nav-dropdown button:hover { background: var(--cream); color: var(--red); }

.nav-dropdown button { border-top: 1px solid var(--gray-border); color: var(--gray-mid); }

/* =============================================
   Main Container
   ============================================= */
.site-main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* =============================================
   Hero Banner
   ============================================= */
.hero-banner {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 48px;
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 450px;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
}

.hero-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.5;
}

.hero-banner-inner {
  position: relative;
  z-index: 1;
  padding: 72px 24px 64px;
  text-align: center;
}

.hero-banner-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-banner-title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-banner-title em {
  font-style: normal;
  font-weight: 300;
  display: block;
  font-size: 0.52em;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
}

.hero-banner-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--gray-mid);
  margin-bottom: 36px;
  letter-spacing: 0.06em;
}

.btn-register-top {
  display: inline-block;
  padding: 14px 44px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-btn);
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(204, 26, 42, 0.25);
}

.btn-register-top:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 26, 42, 0.35);
}

.btn-register-top:active { transform: translateY(0); }

/* =============================================
   Highlights Strip
   ============================================= */
.gradient-strip {
  background: var(--red);
  padding: 14px 24px;
  border-radius: var(--radius-card);
  margin-bottom: 40px;
}

.strip-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 4px;
}

.strip-item {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #fff;
}

.strip-divider {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

/* =============================================
   Cards Section
   ============================================= */
.cards-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--red);
}

.card-icon { color: var(--red); flex-shrink: 0; }

.card-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Schedule Card */
.schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 6px;
  border-left: 3px solid var(--red);
}

.schedule-days {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--black);
}

.schedule-label {
  grid-row: 1;
  grid-column: 2;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
  align-self: center;
}

.schedule-time {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--gray-mid);
}

/* Fee Card */
.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.fee-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--cream);
  border: 1px solid var(--gray-border);
  border-radius: 6px;
}

.fee-item-kids {
  border-top: 3px solid var(--red);
}

.fee-amount {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

.fee-period {
  font-size: 0.7rem;
  color: var(--gray-light);
}

.fee-desc {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-mid);
  margin-top: 4px;
}

.whats-included h3 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--black);
  margin-bottom: 10px;
}

.whats-included ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.whats-included li {
  font-size: 0.78rem;
  color: var(--gray-mid);
  padding-left: 18px;
  position: relative;
}

.whats-included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  font-size: 0.72rem;
}

/* =============================================
   Registration Section
   ============================================= */
.registration-section { margin-bottom: 40px; }

.reg-dual-path {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  max-width: 500px;
  margin: 0 auto;
}

/* Form Block */
.form-block {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.form-block > h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 6px;
  color: var(--gray-dark);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input::placeholder { color: #bbb; }

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 26, 42, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 26, 42, 0.08);
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--white);
  color: var(--gray-dark);
}

.error-msg {
  display: block;
  font-size: 0.7rem;
  color: var(--red);
  margin-top: 4px;
  min-height: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 14px rgba(204, 26, 42, 0.2);
}

.btn-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-submit:active { transform: translateY(0); }
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .btn-loader { display: block; }

.btn-loader {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Success Message */
.success-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 28px;
  text-align: center;
}

.success-message.show { opacity: 1; pointer-events: auto; }

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  animation: celebration 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes celebration {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  60%  { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.success-message h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.success-message p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  max-width: 280px;
  line-height: 1.6;
}

.btn-another {
  margin-top: 20px;
  padding: 10px 28px;
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-another:hover {
  background: var(--red);
  color: var(--white);
}

/* =============================================
   Payment Step
   ============================================= */
.payment-step {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  text-align: center;
  gap: 16px;
}

.payment-step.show { display: flex; }

.form-block.payment-active #registration-form { display: none; }
.form-block.payment-active .form-block > h3:first-of-type { display: none; }

.payment-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payment-check {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  animation: celebration 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.payment-subtitle {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.payment-amount-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 32px;
  background: var(--red-light);
  border: 1px solid rgba(204, 26, 42, 0.2);
  border-radius: 8px;
}

.payment-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  font-weight: 600;
}

.payment-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}

.payment-plan {
  font-size: 0.72rem;
  color: var(--gray-mid);
}

.payment-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.payment-scan-text {
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.payment-qr-box {
  padding: 14px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
  line-height: 0;
}

.payment-qr-svg svg {
  width: 180px;
  height: 180px;
  display: block;
}

.payment-upi-id {
  font-size: 0.72rem;
  color: var(--gray-light);
  font-family: monospace;
  letter-spacing: 0.02em;
}

.payment-apps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--gray-light);
}

.btn-confirm-payment {
  width: 100%;
  max-width: 300px;
  padding: 14px 24px;
  background: #2ecc71;
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition);
}

.btn-confirm-payment:hover {
  background: #27ae60;
  transform: translateY(-1px);
}

.btn-confirm-payment:active { transform: translateY(0); }
.btn-confirm-payment.loading .btn-text { opacity: 0; }
.btn-confirm-payment.loading .btn-loader { display: block; }

.btn-confirm-payment .btn-loader {
  display: none;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.payment-confirmed {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.payment-confirmed.show { display: flex; }

.payment-confirmed-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: celebration 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-confirmed p {
  font-size: 0.85rem;
  color: #27ae60;
  font-weight: 600;
}

/* =============================================
   Google Reviews Section
   ============================================= */
.reviews-section {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin: 0 auto 32px;
  max-width: 760px;
  padding: 40px 40px 32px;
  text-align: center;
}

.reviews-header {
  margin-bottom: 28px;
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--gray-border);
  border-radius: 24px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-dark);
  margin-bottom: 18px;
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.reviews-stars {
  font-size: 1.6rem;
  color: #FBBC05;
  letter-spacing: 2px;
  line-height: 1;
}

.reviews-score {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.reviews-sub {
  font-size: 0.88rem;
  color: var(--gray-mid);
  font-weight: 300;
}

.reviews-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-border);
}

.btn-leave-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-leave-review:hover { opacity: 0.85; }

.reviews-view-all {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-mid);
  text-decoration: none;
}

.reviews-view-all:hover { color: var(--red); }

@media (max-width: 600px) {
  .reviews-section { padding: 28px 20px 24px; }
}

/* =============================================
   Register CTA (homepage)
   ============================================= */
.register-cta {
  text-align: center;
  padding: 48px 20px;
  border-top: 1px solid var(--gray-border);
  margin-top: 8px;
}

.register-cta p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 28px 20px;
}

.site-footer p {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.72rem;
  transition: color var(--transition);
}

.site-footer a:hover { color: #fff; }

.footer-powered {
  margin-top: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-powered a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* =============================================
   Animations — Fade In on Load
   ============================================= */
.hero-banner, .gradient-strip, .card, .registration-section {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.55s ease forwards;
}

.hero-banner          { animation-delay: 0.05s; }
.gradient-strip       { animation-delay: 0.15s; }
.card-schedule        { animation-delay: 0.25s; }
.card-fees            { animation-delay: 0.32s; }
.registration-section { animation-delay: 0.4s;  }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* =============================================
   Confetti (JS-driven)
   ============================================= */
.confetti-particle {
  position: fixed;
  width: 8px; height: 8px;
  pointer-events: none;
  z-index: 1000;
  border-radius: 50%;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 600px) {
  .site-main  { padding: 0 14px 48px; }
  .hero-banner-inner { padding: 48px 16px 44px; }
  .hero-banner-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .card       { padding: 20px; }
  .form-block { padding: 22px 18px; }
  .fee-grid   { grid-template-columns: 1fr; }
  .cards-section { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .nav-inner  { padding: 0 16px; }
  .payment-qr-svg svg { width: 150px; height: 150px; }
  .payment-amount     { font-size: 1.6rem; }
  .payment-step       { padding: 16px 14px; gap: 12px; }
}

@media (max-width: 400px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
