/**
 * Promotion Theme — Premium EdTech Design System
 * Refactor theo docs/ui.md
 * Author: Đinh Văn Tấn
 */

:root {
  /* Brand */
  --navy: #071e49;
  --navy-soft: #123a78;
  --yellow: #fdd400;
  --primary: #fdd400;
  --primary-hover: #ffe04d;
  --primary-soft: #fff8cc;
  --primary-deep: #725f00;
  --on-primary: #071e49;
  --orange: var(--primary);
  --blue: var(--primary-deep);
  --blue-light: var(--primary-soft);
  --sky: #f3f8ff;
  --success: #137760;

  /* Text */
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;

  /* Typography */
  --font-sans: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-h1: 52px;
  --fs-h2: 36px;
  --fs-h3: 20px;
  --fs-body: 16px;
  --fs-sm: 14px;
  --fs-xs: 13px;
  --lh-h1: 1.1;
  --lh-h2: 1.2;
  --lh-body: 1.55;
  --fw-regular: 400;
  --fw-medium: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Spacing (8pt) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 96px;

  /* Layout */
  --container: 1200px;
  --container-pad: 24px;
  --section-pad: 80px;

  /* Radius — unified */
  --radius-input: 12px;
  --radius-btn: 12px;
  --radius-card: 16px;
  --radius-lg: 20px;

  /* Shadows — soft only */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-sticky: 0 -4px 20px rgba(15, 23, 42, 0.08);

  --input-h: 48px;
  --btn-h: 48px;
  --transition: 0.2s ease;
}

@media (max-width: 1199px) {
  :root {
    --fs-h1: 42px;
    --fs-h2: 32px;
    --section-pad: 64px;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 34px;
    --fs-h2: 28px;
    --container-pad: 16px;
    --section-pad: 52px;
  }
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
.button,
.wpforms-form {
  font-family: var(--font-sans) !important;
}

button,
input,
select,
textarea {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary-deep) 45%, transparent);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  color: var(--navy);
  font-size: var(--fs-h1);
  font-weight: var(--fw-black);
  line-height: var(--lh-h1);
  letter-spacing: -0.02em;
}

h2 {
  color: var(--navy);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-h2);
  letter-spacing: -0.015em;
}

h3 {
  color: var(--navy);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

p {
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

strong {
  font-weight: var(--fw-bold);
  color: var(--ink);
}

.highlight,
.text-accent,
.discount-em {
  color: var(--primary);
  font-weight: var(--fw-black);
}

.section-dark .discount-em {
  color: var(--navy);
}

.benefit-panel .discount-em {
  color: var(--primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: var(--fw-bold);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad);
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: var(--primary);
  color: var(--on-primary);
}

.section-dark h2 {
  color: var(--on-primary);
}

.section-dark p,
.section-dark .section-description {
  color: color-mix(in srgb, var(--on-primary) 72%, transparent);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-kicker {
  width: fit-content;
  margin: 0 auto 12px;
  color: var(--blue);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-description {
  color: var(--muted);
  font-size: var(--fs-body);
}

/* -------------------------------------------------------------------------- */
/* Promo bar + Header                                                         */
/* -------------------------------------------------------------------------- */

.promo-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
  font-size: 12px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  min-width: 0;
}

.brand-symbol {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: var(--on-primary);
  font-size: 15px;
  font-weight: var(--fw-black);
}

.brand-mark--logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
  object-fit: contain;
}

.brand-mark--footer .brand-logo {
  height: 36px;
  max-width: 168px;
}

.brand-lockup--logo-only {
  gap: 12px;
}

.brand-copy--meta {
  display: grid;
}

.brand-copy--meta span {
  margin-top: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
  min-width: 0;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--navy);
}

.brand-copy span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav a:not(.button) {
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--fw-medium);
  transition: color var(--transition);
}

.nav a:not(.button):hover {
  color: var(--navy);
}

.header-hotline {
  color: var(--navy) !important;
  font-weight: var(--fw-bold) !important;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.button {
  min-height: var(--btn-h);
  border: 0;
  border-radius: var(--radius-btn);
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover {
  background: var(--primary-hover);
}

.button-yellow {
  background: var(--primary);
  color: var(--on-primary);
}

.button-yellow:hover {
  background: var(--primary-hover);
}

.button-dark {
  background: #0b1220;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.button-dark:hover {
  background: #1a2336;
  color: #fff;
}

.button-block {
  width: 100%;
}

.button-icon {
  font-size: 16px;
  line-height: 1;
}

.nav .button {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 13px;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: visible;
  padding: 56px 0 0;
  background: linear-gradient(160deg, #f7faff 0%, #eef5ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -200px;
  right: 12%;
  border: 40px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 56px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 16px;
  border: 1px solid color-mix(in srgb, var(--primary-deep) 22%, transparent);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--blue);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-description {
  max-width: 520px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.campaign-period {
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: var(--fw-medium);
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: var(--fw-medium);
}

.trust-chip::before {
  content: "✓";
  margin-right: 6px;
  color: var(--success);
  font-weight: var(--fw-bold);
}

.campaign-visual {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: visible;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: none;
}

.campaign-picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--blue-light);
}

.campaign-picture img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
}

.campaign-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
}

.campaign-stat {
  padding: 16px 20px;
}

.campaign-stat + .campaign-stat {
  border-left: 1px solid var(--line);
}

.campaign-stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 17px;
  font-weight: var(--fw-bold);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  top: -12px;
  right: -8px;
  width: 88px;
  height: 88px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
  font-size: 13px;
  font-weight: var(--fw-black);
  line-height: 1.15;
  box-shadow: var(--shadow-sm);
  transform: rotate(6deg);
}

.floating-badge strong {
  color: var(--on-primary);
  font-weight: inherit;
}

/* -------------------------------------------------------------------------- */
/* Floating filter bar                                                        */
/* -------------------------------------------------------------------------- */

.qualification-wrap {
  position: relative;
  z-index: 5;
  margin-top: -28px;
  margin-bottom: -40px;
  padding-bottom: 0;
}

.qualification {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  background: #fff;
  box-shadow: var(--shadow-md);
}

#offer.section-soft {
  padding-top: calc(var(--section-pad) + 28px);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.02em;
}

input,
select,
textarea {
  width: 100%;
  min-height: var(--input-h);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  transition: border var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-deep);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-deep) 16%, transparent);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.qualification .button {
  min-width: 160px;
}

/* -------------------------------------------------------------------------- */
/* Offer / Calculator                                                         */
/* -------------------------------------------------------------------------- */

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.calculator-card,
.countdown-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.calculator-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.calculator-top h3 {
  margin-bottom: 6px;
}

.calculator-top p {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.discount-output {
  min-width: 112px;
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
  flex-shrink: 0;
}

.discount-output span {
  display: block;
  font-size: 11px;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  opacity: 0.9;
}

.discount-output strong {
  display: block;
  margin-top: 2px;
  color: var(--on-primary);
  font-size: 28px;
  font-weight: var(--fw-black);
  line-height: 1.1;
}

.range-wrap {
  margin: 28px 0 20px;
}

.range-labels {
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.range-track {
  position: relative;
  padding: 12px 0;
}

input[type="range"] {
  --fill: 0%;
  width: 100%;
  height: 8px;
  min-height: 8px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 0;
  appearance: none;
  background: linear-gradient(
    to right,
    var(--primary) 0 var(--fill),
    var(--line) var(--fill) 100%
  );
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-radius: 50%;
  appearance: none;
  background: var(--primary);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 45%, transparent);
  cursor: grab;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 45%, transparent);
  cursor: grab;
}

.range-ticks {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  padding: 0;
}

.range-ticks li {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: var(--fw-medium);
  min-height: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  cursor: pointer;
  user-select: none;
}

.range-ticks li.is-active {
  color: var(--navy);
  font-weight: var(--fw-bold);
}

.group-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface-soft);
}

.group-summary span {
  color: var(--muted);
  font-size: 13px;
}

.group-summary strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 17px;
}

.tier-grid {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.tier-grid li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 6px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #fff;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.tier-grid strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: var(--fw-bold);
}

.tier-grid .tier-discount {
  color: inherit;
  font-weight: var(--fw-medium);
}

.tier-grid li.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--navy);
}

.tier-grid li.is-active strong,
.tier-grid li.is-active .tier-discount {
  color: var(--navy);
}

.countdown-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--primary);
  color: var(--on-primary);
  border-color: transparent;
}

.countdown-card .section-kicker {
  margin-left: 0;
  color: var(--on-primary);
  opacity: 0.75;
}

.countdown-card h3 {
  margin-bottom: 10px;
  color: var(--on-primary);
  font-size: 24px;
  line-height: 1.25;
}

.countdown-card > div > p {
  color: color-mix(in srgb, var(--on-primary) 68%, transparent);
  font-size: 14px;
}

.countdown {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.time-cell {
  border: 1px solid color-mix(in srgb, var(--on-primary) 18%, transparent);
  border-radius: 12px;
  padding: 12px 4px;
  background: color-mix(in srgb, var(--on-primary) 8%, transparent);
  text-align: center;
}

.time-cell strong {
  display: block;
  color: var(--on-primary);
  font-size: 24px;
  font-weight: var(--fw-black);
  line-height: 1.1;
}

.time-cell span {
  font-size: 10px;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  opacity: 0.7;
}

.offer-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Roadmap                                                                    */
/* -------------------------------------------------------------------------- */

.section-roadmap {
  background: #fff;
}

.section-roadmap .section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-roadmap .section-kicker {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 14px;
}

.section-roadmap .section-head h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.section-roadmap .section-description {
  max-width: 700px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.roadmap-journey {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.roadmap-journey::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: #dbe3ef;
}

.roadmap-step {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
}

.roadmap-card {
  width: 100%;
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 16px;
  padding: 20px 18px 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  margin: 0 0 14px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--navy);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px #fff;
}

.step-factor {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
}

.roadmap-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.roadmap-card > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* Results                                                                    */
/* -------------------------------------------------------------------------- */

.section-results {
  position: relative;
  background: #f5f8fc;
  overflow: hidden;
}

.section-results::before {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: min(420px, 48vw);
  height: min(420px, 48vw);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-results .container {
  position: relative;
  z-index: 1;
}

.section-results .section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-results .section-kicker {
  color: var(--navy);
  opacity: 0.72;
}

.section-results .section-head h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
}

.section-results .section-description {
  max-width: 640px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.video-card {
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.video-frame {
  position: relative;
  aspect-ratio: 1;
  background: var(--navy);
  overflow: hidden;
}

.video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-caption {
  padding: 16px 18px;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.testimonial-grid {
  display: grid;
  gap: 16px;
  align-content: start;
}

.testimonial-card {
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 16px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.score-badge {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 32px;
  font-weight: var(--fw-black);
  line-height: 0.95;
  letter-spacing: -0.02em;
  box-shadow: inset 0 -3px 0 0 var(--primary);
}

.score-badge span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-body {
  min-width: 0;
}

.testimonial-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* Registration                                                               */
/* -------------------------------------------------------------------------- */

.registration-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.benefit-panel {
  padding: 36px;
  background: linear-gradient(160deg, #eef5ff, #f8fbff);
}

.benefit-panel .section-kicker {
  margin-left: 0;
}

.benefit-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 36px);
}

.mini-countdown {
  margin: 20px 0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--primary);
  color: var(--on-primary);
}

.mini-countdown span {
  font-size: 12px;
  font-weight: var(--fw-medium);
}

.mini-countdown strong {
  color: var(--on-primary);
  font-size: 15px;
  font-weight: var(--fw-bold);
}

.benefit-list {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 32px;
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.45;
}

.benefit-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success);
  color: #fff;
  font-size: 11px;
  font-weight: var(--fw-bold);
}

.form-panel {
  padding: 36px;
}

.form-panel h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.form-intro {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  margin: 12px 0 0;
  color: var(--success);
  font-size: 14px;
  font-weight: var(--fw-medium);
}

/* -------------------------------------------------------------------------- */
/* Footer + Sticky + Float                                                    */
/* -------------------------------------------------------------------------- */

.footer {
  padding: 28px 0;
  border-top: 1px solid #e5eaf1;
  background: #fff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  line-height: 0;
}

.footer-brand-name {
  font-size: 14px;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--fw-medium);
  line-height: 1.4;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--navy);
}

.float-contacts {
  position: fixed;
  z-index: 65;
  right: 16px;
  bottom: 96px;
  display: grid;
  gap: 10px;
}

.float-btn {
  min-height: 48px;
  min-width: 48px;
  border-radius: 12px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.float-btn:hover {
  transform: translateY(-1px);
}

.float-btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.float-zalo {
  background: #0068ff;
}

.float-hotline {
  background: var(--primary);
  color: var(--on-primary);
}

.float-btn-label {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-sticky {
  display: none;
}

/* -------------------------------------------------------------------------- */
/* WPForms                                                                    */
/* -------------------------------------------------------------------------- */

.promotion-wpforms .wpforms-container {
  margin: 0 !important;
}

.promotion-wpforms .wpforms-field-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 0;
}

.promotion-wpforms .wpforms-field {
  padding: 0 0 16px !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  margin: 0 !important;
  grid-column: 1 / -1;
}

.promotion-wpforms .wpforms-field.wpforms-one-half {
  grid-column: span 1;
  width: 100% !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

.promotion-wpforms .wpforms-field-label {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
}

.promotion-wpforms .wpforms-required-label {
  color: var(--primary) !important;
}

.promotion-wpforms input[type="text"],
.promotion-wpforms input[type="email"],
.promotion-wpforms input[type="tel"],
.promotion-wpforms input[type="number"],
.promotion-wpforms select,
.promotion-wpforms textarea,
.promotion-wpforms .wpforms-field-phone input {
  width: 100% !important;
  max-width: none !important;
  min-height: var(--input-h) !important;
  height: var(--input-h) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-input) !important;
  padding: 12px 14px !important;
  background: #fff !important;
  color: var(--ink) !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

.promotion-wpforms textarea {
  height: 72px !important;
  min-height: 72px !important;
  max-height: 120px !important;
  resize: vertical;
  line-height: 1.4 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.promotion-wpforms input:focus,
.promotion-wpforms select:focus,
.promotion-wpforms textarea:focus {
  border-color: var(--primary-deep) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-deep) 16%, transparent) !important;
}

.promotion-wpforms .wpforms-submit-container {
  margin: 4px 0 0 !important;
  padding: 0 !important;
  clear: both;
}

.promotion-wpforms .wpforms-submit {
  width: 100% !important;
  min-height: var(--btn-h) !important;
  border: 0 !important;
  border-radius: var(--radius-btn) !important;
  padding: 12px 20px !important;
  background: var(--primary) !important;
  color: var(--on-primary) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-sm) !important;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition) !important;
}

.promotion-wpforms .wpforms-submit:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

.promotion-wpforms .wpforms-error,
.promotion-wpforms label.wpforms-error {
  color: #dc2626 !important;
  font-size: 12px !important;
}

.promotion-wpforms .wpforms-confirmation-container-full,
.promotion-wpforms div[submit-success] > .wpforms-confirmation-container-full {
  border: 1px solid rgba(19, 119, 96, 0.2) !important;
  border-radius: 12px !important;
  background: #edfaf5 !important;
  color: var(--success) !important;
  padding: 14px 16px !important;
}

.promotion-wpforms .wpforms-field-container::after,
.promotion-wpforms .wpforms-form::after {
  content: "";
  display: table;
  clear: both;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  .nav a:not(.button):not(.header-hotline) {
    display: none;
  }

  .hero-grid,
  .offer-layout,
  .results-layout,
  .registration-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .campaign-visual {
    max-width: 560px;
  }

  .roadmap-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .roadmap-journey::before {
    display: none;
  }

  .registration-shell {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .promo-bar {
    min-height: 32px;
    font-size: 11px;
  }

  .header-inner {
    min-height: 56px;
  }

  .brand-copy span,
  .nav {
    display: none;
  }

  .brand-logo {
    height: 40px;
    max-width: 180px;
  }

  .hero {
    padding: 40px 0 0;
  }

  .hero-grid {
    padding-bottom: 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .floating-badge {
    width: 76px;
    height: 76px;
    top: -10px;
    right: -4px;
    font-size: 12px;
  }

  .campaign-picture img {
    min-height: 0;
    object-fit: contain;
  }

  .qualification {
    grid-template-columns: 1fr;
  }

  .qualification .button {
    width: 100%;
  }

  .qualification-wrap {
    margin-top: -20px;
    margin-bottom: -32px;
    padding-bottom: 0;
  }

  #offer.section-soft {
    padding-top: calc(var(--section-pad) + 20px);
  }

  .section-head {
    margin-bottom: 28px;
    text-align: left;
  }

  .section-kicker {
    margin-left: 0;
  }

  .calculator-card,
  .countdown-card,
  .benefit-panel,
  .form-panel {
    padding: 20px;
  }

  .calculator-top {
    flex-direction: column;
    align-items: stretch;
  }

  .discount-output {
    width: 100%;
  }

  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap-journey {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0;
  }

  .roadmap-journey::before {
    display: block;
    top: 20px;
    bottom: 20px;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .roadmap-step {
    padding-bottom: 16px;
  }

  .roadmap-step:last-child {
    padding-bottom: 0;
  }

  .roadmap-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 4px;
    padding: 16px 16px 18px;
    align-items: start;
  }

  .roadmap-card .step-number {
    grid-row: 1 / 4;
    margin: 0;
    box-shadow: 0 0 0 6px #fff;
  }

  .roadmap-card .step-factor {
    grid-column: 2;
    margin-bottom: 2px;
  }

  .roadmap-card h3 {
    grid-column: 2;
    margin-bottom: 4px;
    font-size: 17px;
  }

  .roadmap-card > p:last-child {
    grid-column: 2;
    font-size: 14px;
  }

  .testimonial-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 20px;
  }

  .score-badge {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .testimonial-card h3 {
    font-size: 17px;
  }

  .testimonial-card p {
    font-size: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .promotion-wpforms .wpforms-field-container {
    grid-template-columns: 1fr;
  }

  .promotion-wpforms .wpforms-field.wpforms-one-half {
    grid-column: 1 / -1;
  }

  .footer {
    padding: 28px 0 104px;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    gap: 20px;
  }

  .float-contacts {
    right: 12px;
    bottom: 84px;
  }

  .float-btn-label {
    display: none;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }

  .mobile-sticky {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 68px;
    border-top: 1px solid var(--line);
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sticky);
  }

  .mobile-offer {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
  }

  .mobile-offer strong {
    display: block;
    margin-top: 2px;
    color: var(--navy);
    font-size: 16px;
    font-weight: var(--fw-black);
  }

  .mobile-sticky .button {
    min-height: 44px;
    padding-inline: 16px;
  }

  .range-ticks li {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .range-ticks {
    display: none;
  }
}
