/**
 * An Phát Manpower — Premium Homepage UI (2026)
 */

/* ─── Base page ─── */
.apm-home {
  background: var(--apm-bg-page);
  overflow-x: hidden;
}

/* ─── Isolate homepage from main.css legacy rules ─── */
.apm-home .apm-hero.apm-hero--mockup {
  min-height: auto;
  background: transparent;
  align-items: stretch;
}

.apm-home .apm-hero.apm-hero--mockup::before {
  display: none;
}

.apm-home .apm-search-tabs button {
  flex: none;
  background: transparent;
  border-radius: 0;
  text-transform: none;
  letter-spacing: normal;
}

.apm-home .apm-search-tabs button.is-active {
  background: transparent;
  color: var(--apm-primary);
}

.apm-home .apm-job-card.apm-job-card--premium {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  border-left: none !important;
  padding: 1.5rem;
}

.apm-home .apm-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.apm-home .apm-nav-wrap {
  justify-self: center;
}

.apm-home .apm-logo {
  justify-self: start;
}

.apm-home .apm-header__actions {
  justify-self: end;
}

.apm-home .apm-btn {
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: var(--apm-radius-full);
}

.apm-home .apm-header__actions .apm-btn--secondary {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.25rem;
}

.apm-home .apm-header__login {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--apm-text-muted);
  padding: 0.5rem 0.75rem;
}

.apm-home .apm-header__login:hover {
  color: var(--apm-primary);
}

.apm-home .apm-section {
  padding: var(--apm-section-gap) 0;
}

.apm-home .apm-section--alt {
  background: var(--apm-bg-page);
}

.apm-home .apm-section--white {
  background: var(--apm-bg);
}

/* Reveal animations */
.apm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--apm-duration) var(--apm-ease), transform var(--apm-duration) var(--apm-ease);
}

.apm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.apm-reveal--delay-1 { transition-delay: 0.1s; }
.apm-reveal--delay-2 { transition-delay: 0.2s; }
.apm-reveal--delay-3 { transition-delay: 0.3s; }

/* ─── Section header ─── */
.apm-home .apm-section__header {
  margin-bottom: 3.5rem;
  text-align: center;
}

.apm-home .apm-section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apm-primary);
  margin-bottom: 0.75rem;
}

.apm-home .apm-section__title {
  font-size: var(--apm-h2);
  font-weight: 700;
  color: var(--apm-text);
  margin: 0 0 1rem;
  padding: 0;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.apm-home .apm-section__title::before {
  display: none;
}

.apm-home .apm-section__subtitle {
  font-size: var(--apm-body-lg);
  color: var(--apm-text-muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: var(--apm-line);
}

.apm-home .apm-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--apm-primary);
  padding: 0.625rem 1.25rem;
  border-radius: var(--apm-radius-full);
  background: var(--apm-primary-light);
  transition: background 0.25s, transform 0.25s;
}

.apm-home .apm-section__link:hover {
  background: #d4e6fc;
  transform: translateX(4px);
  color: var(--apm-primary-dark);
}

/* ─── Buttons ─── */
.apm-home .apm-btn {
  position: relative;
  overflow: hidden;
  border-radius: var(--apm-radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.875rem 1.75rem;
  transition: transform 0.25s var(--apm-ease), box-shadow 0.25s;
}

.apm-home .apm-btn--primary,
.apm-home .apm-btn--gradient {
  background: var(--apm-gradient-btn);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(11, 94, 215, 0.35);
}

.apm-home .apm-btn--primary:hover,
.apm-home .apm-btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 94, 215, 0.45);
  color: #fff;
}

.apm-home .apm-btn--secondary {
  background: var(--apm-secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

.apm-home .apm-btn--secondary:hover {
  background: var(--apm-secondary-dark);
  transform: translateY(-2px);
  color: #fff;
}

.apm-home .apm-btn--outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.apm-home .apm-btn--outline-dark {
  background: transparent;
  color: var(--apm-primary);
  border: 2px solid var(--apm-primary);
}

.apm-home .apm-btn--outline-dark:hover {
  background: var(--apm-primary);
  color: #fff;
}

.apm-home .apm-btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.apm-home .apm-btn--ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s, opacity 0.5s;
}

.apm-home .apm-btn--ripple:active::after {
  opacity: 1;
  transform: scale(2);
  transition: 0s;
}

/* ─── Section header split (mockup) ─── */
.apm-home .apm-section__header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.apm-home .apm-section__header--split .apm-section__header-main {
  flex: 1;
  min-width: 200px;
}

.apm-home .apm-section__header--split .apm-section__eyebrow {
  display: none;
}

.apm-home .apm-section__header--split .apm-section__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.apm-home .apm-section__header--split .apm-section__link {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.apm-home .apm-section__header--split .apm-section__link:hover {
  background: transparent;
  transform: none;
  text-decoration: underline;
}

.apm-home .apm-btn--ghost {
  background: transparent;
  color: var(--apm-primary);
  border: 2px solid var(--apm-primary);
  box-shadow: none;
}

.apm-home .apm-btn--ghost:hover {
  background: var(--apm-primary-light);
  color: var(--apm-primary-dark);
}

.apm-home .apm-btn--white {
  background: #fff;
  color: var(--apm-primary);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.apm-home .apm-btn--white:hover {
  background: #f8fafc;
  color: var(--apm-primary-dark);
  transform: translateY(-2px);
}

.apm-home .apm-topbar__lang {
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--apm-border);
  font-size: 0.8125rem;
}

/* ─── HERO mockup ─── */
.apm-hero--mockup {
  position: relative;
  padding: 3rem 0 5rem;
  overflow: visible;
  background: var(--apm-bg-page);
}

.apm-hero--mockup__bg {
  position: absolute;
  inset: 0 0 40%;
  background: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1920&q=80') center 30%/cover no-repeat;
}

.apm-hero--mockup__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(232, 241, 253, 0.88) 0%, rgba(248, 250, 252, 0.96) 65%, #f8fafc 100%);
}

.apm-hero--mockup__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-bottom: 0;
}

.apm-hero--mockup__title {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--apm-primary);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.apm-hero--mockup__title strong {
  color: var(--apm-primary);
  -webkit-text-fill-color: var(--apm-primary);
}

.apm-hero--mockup__subtitle {
  font-size: 1.125rem;
  color: var(--apm-text-muted);
  margin: 0 0 2.25rem;
}

.apm-search-box--mockup {
  background: #fff;
  border-radius: 60px;
  padding: 0.5rem 0.5rem 0.5rem 0;
  box-shadow: 0 8px 40px rgba(11, 94, 215, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.apm-hero--mockup__mode {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.25rem;
  border-radius: var(--apm-radius-full);
  border: 1px solid var(--apm-border);
}

.apm-hero--mockup__mode button {
  border: none;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: var(--apm-radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--apm-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.apm-hero--mockup__mode button.is-active {
  background: #fff;
  color: var(--apm-primary);
  box-shadow: var(--apm-shadow-sm);
}

.apm-search-tabs--underline {
  display: none;
}

.apm-search-box--mockup .apm-search-fields {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 0;
  align-items: center;
  padding-left: 1.5rem;
}

.apm-search-box--mockup .apm-search-fields--course {
  grid-template-columns: 1fr auto;
  padding-left: 1.5rem;
}

.apm-search-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--apm-border);
  padding-left: 0.75rem;
  margin-left: 0.5rem;
}

.apm-search-field-wrap svg {
  position: absolute;
  left: 0.75rem;
  color: var(--apm-text-muted);
  pointer-events: none;
}

.apm-search-field-wrap input {
  padding-left: 2.25rem !important;
}

.apm-search-box--mockup input {
  padding: 1.125rem 1rem;
  border: none;
  border-radius: 0;
  font-size: 0.9375rem;
  background: transparent;
  width: 100%;
}

.apm-search-box--mockup input:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}

.apm-btn--search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  white-space: nowrap;
  border-radius: var(--apm-radius-full) !important;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.apm-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--apm-footer-bg);
  border-radius: 16px;
  padding: 1.25rem 2.5rem;
  margin: -2.5rem auto 0;
  max-width: 920px;
  color: #fff;
  box-shadow: 0 16px 48px rgba(10, 37, 64, 0.25);
  position: relative;
  z-index: 2;
}

.apm-hero-stats__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.apm-hero-stats__item svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.apm-hero-stats__item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.apm-hero-stats__item span {
  font-size: 0.75rem;
  opacity: 0.8;
  line-height: 1.3;
}

/* ─── Partners carousel mockup ─── */
.apm-partners-section--mockup {
  padding: 3rem 0;
  background: #fff;
}

.apm-partners-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apm-partners-carousel__track {
  display: flex;
  gap: 2.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.5rem 0;
}

.apm-partners-carousel__track::-webkit-scrollbar {
  display: none;
}

.apm-partners-carousel__item {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: #94a3b8;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s, color 0.3s;
  min-width: 100px;
  text-align: center;
}

.apm-partners-carousel__item:hover {
  filter: grayscale(0%);
  opacity: 1;
  color: var(--apm-primary);
}

.apm-partners-carousel__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--apm-border);
  background: #fff;
  color: var(--apm-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.apm-partners-carousel__nav:hover {
  border-color: var(--apm-primary);
  color: var(--apm-primary);
  background: var(--apm-primary-light);
}

/* ─── Job tabs pills ─── */
.apm-home .apm-tabs--pills {
  justify-content: flex-start;
  margin: 0 0 2rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 0.5rem;
}

.apm-home .apm-tabs--pills button {
  flex-shrink: 0;
  border: 1px solid var(--apm-border);
  background: #fff;
}

.apm-home .apm-tabs--pills button:disabled {
  opacity: 0.55;
  cursor: default;
}

.apm-home .apm-tabs--pills button.is-active {
  background: var(--apm-primary);
  border-color: var(--apm-primary);
  color: #fff;
}

.apm-home .apm-grid--jobs {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.apm-job-card__type-pill {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--apm-primary-light);
  color: var(--apm-primary);
  border-radius: var(--apm-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.apm-job-card--premium .apm-job-card__title a {
  color: var(--apm-primary);
  font-size: 1.0625rem;
}

.apm-btn--apply {
  background: linear-gradient(90deg, #0B5ED7 0%, #16A34A 100%) !important;
  border: none !important;
  text-transform: uppercase;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  padding: 0.875rem 1.5rem !important;
  border-radius: var(--apm-radius-sm) !important;
  box-shadow: 0 4px 16px rgba(11, 94, 215, 0.25) !important;
}

.apm-btn--apply:hover {
  box-shadow: 0 6px 24px rgba(11, 94, 215, 0.35) !important;
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: #fff !important;
}

.apm-job-card--premium .apm-job-card__footer {
  border-top: none;
  padding-top: 0.5rem;
}

/* ─── Newsletter mockup ─── */
.apm-newsletter--mockup {
  background: linear-gradient(135deg, #0B5ED7 0%, #16A34A 100%);
  padding: 3.5rem 0;
  margin: 0;
  width: 100%;
}

.apm-newsletter--mockup__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr auto;
  gap: 2rem;
  align-items: center;
}

.apm-newsletter--mockup h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.apm-newsletter--mockup__form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.apm-newsletter--mockup__form input {
  flex: 1;
  min-width: 140px;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: var(--apm-radius-sm);
  font-size: 0.9375rem;
}

.apm-newsletter--mockup__form .apm-btn {
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.apm-newsletter--mockup__illus svg {
  width: 140px;
  height: auto;
}

/* ─── Services colored icons ─── */
.apm-service-box__illus--blue { background: #e8f1fd; }
.apm-service-box__illus--green { background: #ecfdf3; }
.apm-service-box__illus--orange { background: #fff7ed; }

.apm-service-box__link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--apm-primary);
  margin-top: auto;
}

.apm-service-box__link:hover {
  color: var(--apm-primary-dark);
}

/* ─── Course card mockup extras ─── */
.apm-course-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--apm-radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.apm-course-card__badge--hot {
  background: #ef4444;
  color: #fff;
}

.apm-course-card__badge--sale {
  background: var(--apm-secondary);
  color: #fff;
}

.apm-course-card__rating {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  margin: 0.35rem 0 0.75rem;
}

.apm-course-card__footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.apm-course-card__price {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--apm-secondary);
}

.apm-course-card__cart {
  width: 40px;
  height: 40px;
  border-radius: var(--apm-radius-sm);
  background: var(--apm-primary-light);
  color: var(--apm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.apm-course-card__cart:hover {
  background: var(--apm-primary);
  color: #fff;
  transform: scale(1.05);
}

/* ─── Industries row ─── */
.apm-industries-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.apm-industry--mockup {
  flex: 0 0 auto;
  width: 110px;
  text-align: center;
  text-decoration: none;
  color: var(--apm-text);
  transition: transform 0.25s;
}

.apm-industry--mockup:hover {
  transform: translateY(-4px);
  color: var(--apm-primary);
}

.apm-industry--mockup .apm-industry__ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--apm-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.apm-industry--mockup:hover .apm-industry__ring {
  border-color: var(--apm-primary);
  box-shadow: 0 0 0 4px rgba(11, 94, 215, 0.15);
}

.apm-industry--mockup span {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ─── Split experts / testimonial ─── */
.apm-split-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.apm-experts-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.apm-expert-compact {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--apm-border-light);
  border-radius: var(--apm-radius-sm);
  padding: 1rem;
  transition: box-shadow 0.25s;
}

.apm-expert-compact:hover {
  box-shadow: var(--apm-shadow);
}

.apm-expert-compact__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--apm-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--apm-primary);
}

.apm-expert-compact__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apm-expert-compact h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

.apm-expert-compact h3 a {
  color: var(--apm-text);
}

.apm-expert-compact__role {
  font-size: 0.8125rem;
  color: var(--apm-text-muted);
  margin: 0;
}

.apm-expert-compact__metric {
  font-size: 0.75rem;
  color: var(--apm-secondary);
  font-weight: 600;
  margin: 0.25rem 0 0;
}

.apm-testimonial--featured {
  background: #fff;
  border: 1px solid var(--apm-border-light);
  border-radius: var(--apm-radius);
  padding: 2rem;
  box-shadow: var(--apm-shadow);
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.apm-testimonial--featured .apm-testimonial__quote-mark {
  color: var(--apm-primary);
  opacity: 0.35;
  margin-bottom: 0.5rem;
}

.apm-testimonial--featured .apm-testimonial__quote {
  font-size: 1.0625rem;
  line-height: var(--apm-line);
  flex: 1;
}

/* ─── CTA mockup ─── */
.apm-cta--mockup {
  padding: 5rem 0;
  background: var(--apm-bg-page);
}

.apm-cta--mockup__inner {
  background: var(--apm-footer-bg);
  border-radius: var(--apm-radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.apm-cta--mockup__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.03) 12px,
    rgba(255, 255, 255, 0.03) 24px
  );
  pointer-events: none;
}

.apm-cta--mockup h2 {
  font-size: var(--apm-h2);
  font-weight: 700;
  margin: 0 0 1rem;
  position: relative;
}

.apm-cta--mockup p {
  opacity: 0.9;
  line-height: var(--apm-line);
  margin: 0 0 2rem;
  position: relative;
}

.apm-cta--mockup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.apm-cta--mockup__visual {
  position: relative;
  border-radius: var(--apm-radius);
  overflow: hidden;
}

.apm-cta--mockup__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--apm-radius);
  min-height: 280px;
}

.apm-footer--premium .apm-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.apm-footer--premium .apm-footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.apm-home .apm-section {
  padding: 4.5rem 0;
}

.apm-home .apm-header {
  background: #fff;
  backdrop-filter: none;
  border-bottom: 1px solid var(--apm-border-light);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.apm-home .apm-topbar {
  background: var(--apm-footer-bg);
  color: rgba(255, 255, 255, 0.85);
  border-bottom: none;
  font-size: 0.8125rem;
}

.apm-home .apm-topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.apm-home .apm-topbar a:hover {
  color: #fff;
}

.apm-home .apm-topbar__lang {
  border-left-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.apm-home .apm-topbar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.apm-partners-section--mockup {
  padding: 3.5rem 0;
  background: #fff;
}

.apm-partners-section--mockup .apm-section__header--split {
  justify-content: center;
}

.apm-partners-section--mockup .apm-section__title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.125rem;
}

/* ─── HERO ─── */
.apm-hero--premium {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  background: var(--apm-footer-bg) center/cover no-repeat;
  background-image: var(--apm-gradient-hero-overlay),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
  overflow: hidden;
}

.apm-hero--premium::before {
  display: none;
}

.apm-hero--premium .apm-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 0 8rem;
  position: relative;
  z-index: 1;
}

.apm-hero--premium .apm-hero__content {
  color: #fff;
}

.apm-hero--premium .apm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--apm-radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
}

.apm-hero--premium .apm-hero__title {
  font-size: var(--apm-h1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: #fff;
  text-shadow: none;
}

.apm-hero--premium .apm-hero__title strong {
  background: linear-gradient(90deg, #fff 0%, #a5d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apm-hero--premium .apm-hero__subtitle {
  font-size: var(--apm-body-lg);
  line-height: var(--apm-line);
  opacity: 0.92;
  margin: 0 0 2rem;
  max-width: 520px;
}

.apm-hero--premium .apm-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.apm-hero--premium .apm-hero__image-wrap {
  position: relative;
  border-radius: var(--apm-radius-lg);
  overflow: hidden;
  box-shadow: var(--apm-shadow-lg);
  aspect-ratio: 4/5;
  max-height: 520px;
}

.apm-hero--premium .apm-hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--apm-ease);
}

.apm-hero--premium .apm-hero__image-wrap:hover img {
  transform: scale(1.05);
}

.apm-hero--premium .apm-hero__stat-card {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--apm-radius);
  box-shadow: var(--apm-shadow-md);
  color: var(--apm-text);
}

.apm-hero--premium .apm-hero__stat-card strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--apm-primary);
  line-height: 1.2;
}

.apm-hero--premium .apm-hero__stat-card span {
  font-size: 0.8125rem;
  color: var(--apm-text-muted);
}

/* Floating search */
.apm-search-box--float {
  background: #fff;
  border-radius: var(--apm-radius);
  padding: 1.5rem;
  box-shadow: var(--apm-shadow-lg);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.apm-search-box--float .apm-search-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--apm-bg-page);
  border-radius: var(--apm-radius-full);
  margin-bottom: 1.25rem;
}

.apm-search-box--float .apm-search-tabs button {
  flex: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--apm-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--apm-text-muted);
  cursor: pointer;
  transition: all 0.25s;
}

.apm-search-box--float .apm-search-tabs button.is-active {
  background: #fff;
  color: var(--apm-primary);
  box-shadow: var(--apm-shadow-sm);
}

.apm-search-box--float .apm-search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
}

.apm-search-box--float input {
  padding: 1rem 1.25rem;
  border: 1px solid var(--apm-border);
  border-radius: var(--apm-radius-sm);
  font-size: 1rem;
  background: var(--apm-bg-page);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.apm-search-box--float input:focus {
  outline: none;
  border-color: var(--apm-primary);
  box-shadow: 0 0 0 4px var(--apm-primary-light);
  background: #fff;
}

/* ─── Partners carousel ─── */
.apm-partners-section {
  padding: 4rem 0;
  background: #fff;
  border-bottom: 1px solid var(--apm-border-light);
}

.apm-partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.apm-partners-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: apm-marquee 35s linear infinite;
}

.apm-partners-marquee:hover .apm-partners-marquee__track {
  animation-play-state: paused;
}

@keyframes apm-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.apm-partners-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 56px;
  padding: 0 1.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #94a3b8;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.35s, opacity 0.35s, color 0.35s, transform 0.35s;
  letter-spacing: 0.02em;
}

.apm-partners-marquee__item:hover {
  filter: grayscale(0%);
  opacity: 1;
  color: var(--apm-primary);
  transform: scale(1.05);
}

/* ─── Job cards premium ─── */
.apm-home .apm-tabs {
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0.5rem;
  padding: 0.35rem;
  background: #fff;
  border-radius: var(--apm-radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--apm-shadow-sm);
}

.apm-home .apm-tabs button {
  border: none;
  border-radius: var(--apm-radius-full);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  color: var(--apm-text-muted);
  cursor: pointer;
  transition: all 0.25s;
}

.apm-home .apm-tabs button.is-active {
  background: var(--apm-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.3);
}

.apm-home .apm-grid--jobs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.apm-job-card--premium {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--apm-radius);
  padding: 1.75rem;
  border: 1px solid var(--apm-border-light);
  box-shadow: var(--apm-shadow);
  transition: transform 0.35s var(--apm-ease), box-shadow 0.35s;
  border-left: none;
  position: relative;
}

.apm-job-card--premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--apm-shadow-hover);
}

.apm-job-card--premium .apm-job-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.apm-job-card--premium .apm-job-card__logo {
  width: 56px;
  height: 56px;
  border-radius: var(--apm-radius-sm);
  background: var(--apm-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--apm-primary);
  flex-shrink: 0;
  overflow: hidden;
}

.apm-job-card--premium .apm-job-card__bookmark {
  background: var(--apm-bg-page);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apm-text-muted);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.apm-job-card--premium .apm-job-card__bookmark:hover {
  background: var(--apm-primary-light);
  color: var(--apm-primary);
}

.apm-job-card--premium .apm-job-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}

.apm-job-card--premium .apm-job-card__title a {
  color: var(--apm-text);
  transition: color 0.2s;
}

.apm-job-card--premium .apm-job-card__title a:hover {
  color: var(--apm-primary);
}

.apm-job-card--premium .apm-job-card__company {
  font-size: 0.875rem;
  color: var(--apm-text-muted);
  margin: 0 0 1rem;
}

.apm-job-card--premium .apm-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.apm-job-card--premium .apm-job-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--apm-text-muted);
}

.apm-job-card--premium .apm-job-card__meta-item--salary {
  color: var(--apm-secondary);
  font-weight: 600;
}

.apm-job-card--premium .apm-job-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.apm-home .apm-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--apm-radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apm-badge--featured { background: var(--apm-primary-light); color: var(--apm-primary); }
.apm-badge--new { background: var(--apm-secondary-light); color: var(--apm-secondary-dark); }
.apm-badge--urgent { background: #fef2f2; color: var(--apm-danger); }

.apm-job-card--premium .apm-job-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--apm-border-light);
}

/* ─── Newsletter ─── */
.apm-newsletter--premium {
  position: relative;
  padding: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.apm-newsletter--premium .apm-newsletter__inner {
  background: var(--apm-gradient);
  border-radius: var(--apm-radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--apm-shadow-lg);
  position: relative;
  overflow: hidden;
}

.apm-newsletter--premium .apm-newsletter__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.apm-newsletter--premium h2 {
  font-size: var(--apm-h2);
  font-weight: 700;
  margin: 0 0 1rem;
  position: relative;
}

.apm-newsletter--premium p {
  font-size: var(--apm-body-lg);
  opacity: 0.92;
  line-height: var(--apm-line);
  margin: 0 0 0;
  position: relative;
}

.apm-newsletter--premium .apm-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: none;
  position: relative;
}

.apm-newsletter--premium .apm-newsletter__form-row {
  display: flex;
  gap: 0.75rem;
}

.apm-newsletter--premium input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: var(--apm-radius-sm);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
}

.apm-newsletter--premium .apm-newsletter__illus {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.apm-newsletter--premium .apm-newsletter__illus svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  opacity: 0.9;
}

/* ─── Services ─── */
.apm-service-box--premium {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--apm-radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--apm-border-light);
  box-shadow: var(--apm-shadow);
  text-align: center;
  transition: transform 0.35s var(--apm-ease), box-shadow 0.35s;
}

.apm-service-box--premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--apm-shadow-hover);
}

.apm-service-box--premium .apm-service-box__illus {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--apm-primary-light);
  border-radius: var(--apm-radius);
}

.apm-service-box--premium h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--apm-text);
}

.apm-service-box--premium p {
  font-size: var(--apm-body);
  color: var(--apm-text-muted);
  line-height: var(--apm-line);
  margin: 0 0 1.5rem;
  flex: 1;
}

/* ─── Courses ─── */
.apm-course-card--premium {
  background: #fff;
  border-radius: var(--apm-radius);
  overflow: hidden;
  border: 1px solid var(--apm-border-light);
  box-shadow: var(--apm-shadow);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.apm-course-card--premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--apm-shadow-hover);
}

.apm-course-card--premium .apm-course-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--apm-primary-light), var(--apm-secondary-light));
}

.apm-course-card--premium .apm-course-card__thumb img,
.apm-course-card--premium .apm-course-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--apm-ease);
}

.apm-course-card--premium:hover .apm-course-card__thumb img {
  transform: scale(1.08);
}

.apm-course-card--premium .apm-course-card__price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--apm-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--apm-radius-full);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.apm-course-card--premium .apm-course-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.apm-course-card--premium .apm-course-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.4;
}

/* ─── Industries ─── */
.apm-industry--premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border-radius: var(--apm-radius);
  border: 1px solid var(--apm-border-light);
  text-decoration: none;
  color: var(--apm-text);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.apm-industry--premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--apm-shadow-md);
  border-color: var(--apm-primary);
  color: var(--apm-primary);
}

.apm-industry--premium .apm-industry__ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--apm-bg-page);
  margin-bottom: 1rem;
  transition: box-shadow 0.35s, background 0.35s;
}

.apm-industry--premium:hover .apm-industry__ring {
  box-shadow: 0 0 0 4px var(--apm-primary-light), 0 0 24px rgba(11, 94, 215, 0.25);
  background: var(--apm-primary-light);
}

.apm-industry--premium span {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ─── Expert / Case study cards ─── */
.apm-expert-card--premium {
  background: #fff;
  border-radius: var(--apm-radius);
  overflow: hidden;
  border: 1px solid var(--apm-border-light);
  box-shadow: var(--apm-shadow);
  transition: transform 0.35s, box-shadow 0.35s;
}

.apm-expert-card--premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--apm-shadow-hover);
}

.apm-expert-card--premium .apm-expert-card__img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--apm-primary-light);
}

.apm-expert-card--premium .apm-expert-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.apm-expert-card--premium:hover .apm-expert-card__img img {
  transform: scale(1.06);
}

.apm-expert-card--premium .apm-expert-card__body {
  padding: 1.5rem;
}

.apm-expert-card--premium .apm-expert-card__quote-icon {
  color: var(--apm-primary);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

/* ─── Testimonials ─── */
.apm-testimonial--premium {
  background: #fff;
  border-radius: var(--apm-radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--apm-border-light);
  box-shadow: var(--apm-shadow);
  text-align: left;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, box-shadow 0.35s;
}

.apm-testimonial--premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--apm-shadow-hover);
}

.apm-testimonial--premium .apm-testimonial__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
  color: #fbbf24;
}

.apm-testimonial--premium .apm-testimonial__quote {
  font-size: var(--apm-body-lg);
  line-height: var(--apm-line);
  color: var(--apm-text);
  font-style: normal;
  margin: 0 0 1.5rem;
  flex: 1;
}

.apm-testimonial--premium .apm-testimonial__author-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--apm-border-light);
}

.apm-testimonial--premium .apm-testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--apm-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.apm-testimonial--premium .apm-testimonial__author {
  font-style: normal;
  font-weight: 600;
  color: var(--apm-text);
  font-size: 0.9375rem;
}

/* ─── Blog ─── */
.apm-blog-card--premium {
  background: #fff;
  border-radius: var(--apm-radius);
  overflow: hidden;
  border: 1px solid var(--apm-border-light);
  box-shadow: var(--apm-shadow);
  transition: transform 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.apm-blog-card--premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--apm-shadow-hover);
}

.apm-blog-card--premium .apm-blog-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--apm-bg-page);
  position: relative;
}

.apm-blog-card--premium .apm-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.apm-blog-card--premium:hover .apm-blog-card__img img {
  transform: scale(1.06);
}

.apm-blog-card--premium .apm-blog-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--apm-primary-light), #e0e7ff);
  min-height: 180px;
}

.apm-blog-card--premium .apm-blog-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.apm-blog-card--premium .apm-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--apm-text-muted);
}

.apm-blog-card--premium .apm-blog-card__read {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--apm-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ─── CTA ─── */
.apm-cta--premium {
  padding: var(--apm-section-gap) 0;
  background: var(--apm-bg-page);
}

.apm-cta--premium .apm-cta__inner {
  background: var(--apm-gradient);
  border-radius: var(--apm-radius-lg);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--apm-shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.apm-cta--premium h2 {
  font-size: var(--apm-h2);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.apm-cta--premium p {
  font-size: var(--apm-body-lg);
  opacity: 0.92;
  line-height: var(--apm-line);
  margin: 0 0 2rem;
}

.apm-cta--premium .apm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.apm-cta--premium .apm-cta__visual svg {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

/* ─── Footer premium ─── */
.apm-footer--premium {
  background: var(--apm-footer-bg);
  color: rgba(255, 255, 255, 0.85);
  padding: 5rem 0 0;
}

.apm-footer--premium .apm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.apm-footer--premium h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.apm-footer--premium a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.apm-footer--premium a:hover {
  color: #fff;
}

.apm-footer--premium .apm-footer__brand p {
  font-size: 0.9375rem;
  line-height: var(--apm-line);
  opacity: 0.8;
  margin: 0.75rem 0 1.5rem;
}

.apm-footer--premium .apm-footer__social {
  display: flex;
  gap: 0.75rem;
}

.apm-footer--premium .apm-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.apm-footer--premium .apm-footer__social a:hover {
  background: var(--apm-primary);
  transform: translateY(-2px);
  color: #fff;
}

.apm-footer--premium .apm-footer__map {
  border-radius: var(--apm-radius-sm);
  overflow: hidden;
  margin-top: 0;
  height: 100%;
  min-height: 360px;
  background: rgba(255, 255, 255, 0.06);
}

.apm-footer--premium .apm-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(80%) contrast(1.1);
}

.apm-footer--premium .apm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
}

.apm-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--apm-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--apm-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
}

.apm-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.apm-back-to-top:hover {
  background: var(--apm-primary-dark);
}

/* ─── Header glass on home ─── */
.apm-home .apm-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.apm-home .apm-topbar {
  background: var(--apm-footer-bg);
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}

.apm-home .apm-topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.apm-home .apm-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
}

.apm-home .apm-nav a:hover,
.apm-home .apm-nav .current-menu-item a {
  color: var(--apm-primary);
  background: var(--apm-primary-light);
}

/* ─── Homepage responsive ─── */
@media (max-width: 1024px) {
  .apm-home .apm-grid--jobs {
    grid-template-columns: repeat(2, 1fr);
  }

  .apm-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .apm-newsletter--mockup__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .apm-newsletter--mockup__form {
    justify-content: center;
  }

  .apm-newsletter--mockup__illus {
    display: none;
  }

  .apm-split-section__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .apm-cta--mockup__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .apm-cta--mockup__actions {
    justify-content: center;
  }

  .apm-cta--mockup__visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .apm-footer--premium .apm-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .apm-home .apm-section {
    padding: 3.5rem 0;
  }

  .apm-home .apm-section__header--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .apm-hero--mockup {
    padding-top: 2rem;
  }

  .apm-hero--mockup__bg {
    height: 320px;
  }

  .apm-search-box--mockup {
    border-radius: var(--apm-radius);
    padding: 1rem;
  }

  .apm-search-box--mockup .apm-search-fields {
    grid-template-columns: 1fr;
    padding-left: 0;
    gap: 0.75rem;
  }

  .apm-search-field-wrap {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }

  .apm-hero-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 1.5rem;
    padding: 1.25rem;
  }

  .apm-home .apm-grid--jobs,
  .apm-home .apm-grid--2,
  .apm-home .apm-grid--3,
  .apm-home .apm-grid--4 {
    grid-template-columns: 1fr;
  }

  .apm-experts-compact {
    grid-template-columns: 1fr;
  }

  .apm-industries-row {
    gap: 1rem;
  }

  .apm-industry--mockup {
    width: 90px;
  }

  .apm-newsletter--mockup__form {
    flex-direction: column;
  }

  .apm-newsletter--mockup__form .apm-btn {
    width: 100%;
  }

  .apm-cta--mockup__inner {
    padding: 2rem 1.5rem;
  }

  .apm-cta--mockup__actions {
    flex-direction: column;
  }

  .apm-cta--mockup__actions .apm-btn {
    width: 100%;
    justify-content: center;
  }

  .apm-footer--premium .apm-footer__grid {
    grid-template-columns: 1fr;
  }

  .apm-footer--premium .apm-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .apm-footer--premium .apm-footer__legal {
    justify-content: center;
  }

  .apm-back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }

  .apm-home .apm-header__actions .apm-btn--ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .apm-partners-marquee__track {
    animation: none;
  }
}
