@import url("./tokens.css");

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

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

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: var(--lh-tight);
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(2rem, 4vw, var(--fs-5xl));
}
h2 {
  font-size: clamp(1.5rem, 3vw, var(--fs-3xl));
}
h3 {
  font-size: clamp(1.15rem, 2vw, var(--fs-xl));
  font-weight: 700;
}
.lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: var(--lh-snug);
}
.text-muted {
  color: var(--text-muted);
}
.text-accent {
  color: var(--accent);
}
.highlight {
  color: var(--accent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
.section-label::before,
.section-label::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-label--solo::before {
  display: none;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}
.section-head .section-label {
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}
.btn--navy {
  background: var(--primary-900);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--primary);
  color: var(--white);
}
.btn--outline {
  background: transparent;
  border-color: var(--primary-900);
  color: var(--primary-900);
}
.btn--outline:hover {
  background: var(--primary-soft);
  color: var(--primary-900);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}
.btn--lg {
  padding: 1rem 1.75rem;
  font-size: var(--fs-base);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.logo img {
  height: 44px;
  width: auto;
}
.logo__text {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}
.logo__text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: 0.04em;
}
.logo__text strong span {
  color: var(--accent);
}
.logo__text small {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}
@media (min-width: 480px) {
  .logo__text {
    display: flex;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 0.05rem;
  flex: 1;
  justify-content: center;
}
.nav a {
  padding: 0.45rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.nav a:hover,
.nav a.is-active {
  color: var(--primary-900);
  background: var(--primary-soft);
}
.header-cta {
  display: none;
}
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary-900);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: var(--space-6);
  z-index: var(--z-header);
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: 0.9rem 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  color: var(--primary-900);
}
.mobile-nav a:hover {
  background: var(--primary-soft);
}
.mobile-nav .btn {
  margin-top: var(--space-4);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Sections */
.section {
  padding: var(--space-16) 0;
}
.section--soft {
  background: var(--primary-soft);
}
.section--white {
  background: var(--white);
}
.section--navy {
  background: linear-gradient(145deg, var(--primary-900) 0%, var(--primary) 100%);
  color: var(--white);
}
.section--navy h2,
.section--navy h3,
.section--navy .section-label {
  color: var(--white);
}
.section--navy .section-label {
  color: var(--accent);
}
.section--navy .lead,
.section--navy .text-muted {
  color: rgba(255, 255, 255, 0.78);
}

/* Hero */
.hero {
  position: relative;
  padding: var(--space-12) 0 var(--space-16);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(252, 94, 11, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(20, 51, 122, 0.1), transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.hero__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.hero h1 {
  margin-bottom: var(--space-4);
}
.hero .lead {
  margin-bottom: var(--space-6);
  max-width: 34em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.hero__stats strong {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--primary-900);
}
.hero__stats span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.hero--navy {
  background: linear-gradient(145deg, var(--primary-900) 0%, #0a2d75 55%, var(--primary) 100%);
  color: var(--white);
}
.hero--navy h1 {
  color: var(--white);
}
.hero--navy .lead {
  color: rgba(255, 255, 255, 0.82);
}
.hero--navy .hero__stats {
  border-top-color: rgba(255, 255, 255, 0.15);
}
.hero--navy .hero__stats strong {
  color: var(--white);
}
.hero--navy .hero__stats span {
  color: rgba(255, 255, 255, 0.7);
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card--flat:hover {
  transform: none;
}
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: var(--space-4);
}
.card__icon--accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.card h3 {
  margin-bottom: var(--space-2);
}
.card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.grid-2 {
  display: grid;
  gap: var(--space-5);
}
.grid-3 {
  display: grid;
  gap: var(--space-5);
}
.grid-4 {
  display: grid;
  gap: var(--space-5);
}
@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Course cards */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  padding: 0;
}
.course-card__media {
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--primary-900), var(--primary-600));
  position: relative;
}
.course-card__media--orange {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}
.course-card__media--teal {
  background: linear-gradient(135deg, #0b6e6e, #14a3a3);
}
.course-card__media--purple {
  background: linear-gradient(135deg, #3d1f7a, #6b3fd4);
}
.course-card__media--red {
  background: linear-gradient(135deg, #8b1e2d, #d43b4f);
}
.course-card__media--green {
  background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
}
.course-card__media--blue {
  background: linear-gradient(135deg, #0a4a8a, #1d7fd4);
}
.course-card__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.course-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card__body h3 {
  margin-bottom: var(--space-2);
}
.course-card__body p {
  flex: 1;
  margin-bottom: var(--space-4);
}
.course-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.course-card__meta span:last-child {
  color: var(--accent);
}

/* Lead form */
.lead-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.lead-form--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}
.lead-form--dark .lead-form__title,
.lead-form--dark label {
  color: var(--white);
}
.lead-form--dark .text-muted {
  color: rgba(255, 255, 255, 0.7);
}
.lead-form--dark .form-field input,
.lead-form--dark .form-field select {
  background: rgba(255, 255, 255, 0.95);
}
.lead-form__title {
  font-size: var(--fs-lg);
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: var(--primary-900);
}
.lead-form__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.form-field {
  margin-bottom: var(--space-4);
}
.form-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--primary-900);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(20, 51, 122, 0.15);
  background: var(--white);
}
.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: var(--danger);
}
.form-field .error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--danger);
  margin-top: var(--space-1);
}
.form-field .error.is-visible {
  display: block;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}
.form-consent {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: var(--space-3) 0 var(--space-4);
  line-height: 1.45;
}
.form-consent a {
  text-decoration: underline;
}
.form-status {
  display: none;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-3);
}
.form-status.is-error {
  display: block;
  background: var(--danger-soft);
  color: var(--danger);
}
.form-status.is-success {
  display: block;
  background: var(--success-soft);
  color: var(--success);
}

/* Timeline */
.timeline {
  display: grid;
  gap: var(--space-4);
  position: relative;
}
@media (min-width: 768px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
  .timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-soft), var(--accent), var(--primary-soft));
    z-index: 0;
  }
}
.timeline__item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-4);
}
.timeline__num {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  font-weight: 800;
  color: var(--accent);
  box-shadow: var(--shadow);
}
.timeline__item h4 {
  margin-bottom: var(--space-2);
  font-size: var(--fs-base);
}
.timeline__item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Teacher / testimonial */
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-soft), var(--accent-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--primary-900);
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.avatar--lg {
  width: 96px;
  height: 96px;
  font-size: var(--fs-2xl);
}
.teacher-card {
  text-align: center;
}
.teacher-card .avatar {
  margin: 0 auto var(--space-4);
}
.teacher-card__role {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testimonial__quote {
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
  color: var(--primary-900);
  font-weight: 500;
  flex: 1;
}
.testimonial__quote::before {
  content: "“";
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 0;
  margin-right: 0.15em;
  vertical-align: -0.2em;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial__author strong {
  display: block;
  font-size: var(--fs-sm);
}
.testimonial__author span {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.score-pill {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  background: var(--success-soft);
  color: var(--success);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}

/* Pricing */
.price-card {
  text-align: center;
  position: relative;
}
.price-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.price-card__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}
.price-card__amount {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--primary-900);
  margin: var(--space-3) 0;
}
.price-card__amount small {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
}
.price-card ul {
  text-align: left;
  margin: var(--space-5) 0;
}
.price-card li {
  padding: 0.45rem 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary-900);
}
.faq-item__q svg {
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.faq-item.is-open .faq-item__q svg {
  transform: rotate(180deg);
}
.faq-item__a {
  display: none;
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.faq-item.is-open .faq-item__a {
  display: block;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-900), var(--primary-600));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(252, 94, 11, 0.25);
  top: -80px;
  right: -60px;
}
.cta-band > * {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-3);
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
  max-width: 480px;
  margin-inline: auto;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: var(--fs-sm);
}
.schedule-table th {
  background: var(--primary-900);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.schedule-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.schedule-table tr:last-child td {
  border-bottom: none;
}
.schedule-table tr:hover td {
  background: var(--primary-soft);
}
@media (max-width: 700px) {
  .schedule-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .schedule-table {
    min-width: 640px;
  }
}

/* Footer */
.site-footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-16) 0 var(--space-8);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}
.site-footer a:hover {
  color: var(--accent);
}
.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-brand img {
  height: 56px;
  margin-bottom: var(--space-4);
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
}
.footer-brand p {
  font-size: var(--fs-sm);
  max-width: 280px;
  margin-bottom: var(--space-4);
}
.footer-col h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul {
  display: grid;
  gap: var(--space-2);
}
.footer-col a {
  font-size: var(--fs-sm);
}
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: var(--fs-xs);
}

/* Floating contacts */
.float-contacts {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease);
  border: none;
  cursor: pointer;
}
.float-btn:hover {
  transform: scale(1.08);
}
.float-btn--zalo {
  background: #0068ff;
  color: white;
}
.float-btn--phone {
  background: var(--accent);
  color: white;
}
.float-btn svg {
  width: 24px;
  height: 24px;
}

/* Page hero (inner pages) */
.page-hero {
  padding: var(--space-12) 0 var(--space-10);
  background: linear-gradient(160deg, var(--primary-soft) 0%, var(--white) 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.page-hero .breadcrumb a {
  color: var(--text-muted);
}
.page-hero .breadcrumb span {
  color: var(--text-faint);
}
.page-hero h1 {
  margin-bottom: var(--space-3);
}
.page-hero .lead {
  max-width: 40em;
}

/* LP pages */
.lp-header {
  padding: var(--space-4) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.lp-header img {
  height: 52px;
  margin: 0 auto;
}
.lp-hero {
  padding: var(--space-10) 0 var(--space-16);
  background: linear-gradient(145deg, var(--primary-900), var(--primary));
  color: var(--white);
}
.lp-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}
.lp-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-6);
}
.lp-grid {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 900px) {
  .lp-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.lp-bullets {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.lp-bullets li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
}
.lp-bullets li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* Thank you */
.thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: var(--space-16) 0;
}
.thanks__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-6);
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder media */
.media-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--primary-soft), var(--accent-soft)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.3) 10px,
      rgba(255, 255, 255, 0.3) 20px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px dashed var(--border-strong);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-0 {
  margin-bottom: 0;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gap-3 {
  gap: var(--space-3);
}
.stack {
  display: grid;
  gap: var(--space-4);
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: var(--space-16) 0;
}
.error-page__code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  color: var(--primary-soft);
  line-height: 1;
  margin-bottom: var(--space-4);
}
