/**
 * Inner page header — used on every page except Home.
 */

.maestro-page-header {
  display: flex;
  align-items: flex-end;
  min-height: clamp(18rem, 38vw, 24rem);
  padding-top: 8.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  background-color: var(--maestro-navy, #1a2e46);
  background-image:
    linear-gradient(180deg, rgba(5, 9, 18, 0.62) 0%, rgba(5, 9, 18, 0.82) 100%),
    var(--maestro-page-header-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.maestro-page-header--solid {
  background-color: #141e30;
  background-image:
    radial-gradient(circle 42% at 25% 35%, #1a2e46 0%, transparent 100%),
    radial-gradient(circle 48% at 75% 65%, #1a2e46 0%, transparent 100%),
    radial-gradient(circle 60% at 50% 50%, #1a2e46 0%, #141e30 100%);
}

.maestro-page-header--solid .maestro-page-header__overlay {
  display: none;
}

.maestro-page-header--blurred {
  background-color: #141e30;
  background-image: none;
}

.maestro-page-header--blurred .maestro-page-header__bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-image: var(--maestro-page-header-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(22px);
  transform: scale(1.12);
}

.maestro-page-header--blurred .maestro-page-header__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.78) 0%, rgba(5, 9, 18, 0.92) 100%),
    radial-gradient(circle at 18% 30%, rgba(255, 187, 2, 0.06), transparent 28%);
}

.maestro-page-header--blurred .maestro-page-header__title {
  max-width: 22ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.maestro-page-header--blurred .container {
  z-index: 2;
}

.maestro-page-header__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 187, 2, 0.08), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(0, 0, 0, 0.28), transparent 36%);
}

.maestro-page-header__title {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff !important;
}

.maestro-page-header__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  color: rgba(255, 255, 255, 0.7);
}

.maestro-page-header__crumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.maestro-page-header__crumbs a:hover {
  color: var(--maestro-primary, #ffbb02);
}

.maestro-page-header__crumbs [aria-current='page'] {
  color: var(--maestro-primary, #ffbb02);
}

.maestro-page-header__crumbs svg {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* ── FAQ page ─────────────────────────────────────────────────────────── */

.maestro-faq {
  background: #f7f8fa;
}

.maestro-faq__intro {
  position: sticky;
  top: 7.5rem;
}

.maestro-faq__title {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-faq__lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.7);
}

.maestro-faq__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.maestro-faq__filter {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(26, 46, 70, 0.12);
  background: #fff;
  color: var(--maestro-navy, #1a2e46);
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.maestro-faq__filter:hover,
.maestro-faq__filter.is-active {
  background: var(--maestro-navy, #1a2e46);
  border-color: var(--maestro-navy, #1a2e46);
  color: #fff;
}

.maestro-faq__filter.is-active {
  background: var(--maestro-primary, #ffbb02);
  border-color: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

.maestro-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.maestro-faq-item {
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-faq-item.is-open {
  border-color: rgba(255, 187, 2, 0.55);
  box-shadow: 0 16px 36px rgba(26, 46, 70, 0.08);
}

.maestro-faq-item__heading {
  margin: 0;
}

.maestro-faq-item__trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1.15rem 1.25rem;
  border: 0;
  background: transparent;
  text-align: start;
}

.maestro-faq-item__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  background: rgba(255, 187, 2, 0.16);
  color: var(--maestro-navy, #1a2e46);
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
}

.maestro-faq-item.is-open .maestro-faq-item__index {
  background: var(--maestro-primary, #ffbb02);
}

.maestro-faq-item__question {
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(16px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  line-height: 1.4;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border: 1px solid rgba(26, 46, 70, 0.12);
  color: var(--maestro-navy, #1a2e46);
  font-size: 0.85rem;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.maestro-faq-item.is-open .maestro-faq-item__icon {
  background: var(--maestro-navy, #1a2e46);
  border-color: var(--maestro-navy, #1a2e46);
  color: #fff;
}

.maestro-faq-item__panel {
  padding: 0 1.25rem 1.25rem 4.3rem;
}

.maestro-faq-item__answer {
  margin: 0;
  max-width: 42rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.72);
}

@media (max-width: 991px) {
  .maestro-faq__intro {
    position: static;
  }

  .maestro-faq__title {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .maestro-faq-item__trigger {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 1rem;
  }

  .maestro-faq-item__index {
    display: none;
  }

  .maestro-faq-item__panel {
    padding: 0 1rem 1.1rem;
  }
}

/* ── Contact page ─────────────────────────────────────────────────────── */

.maestro-contact {
  background: #f7f8fa;
}

.maestro-contact__title {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-contact__lead,
.maestro-contact__intro {
  margin: 0 0 1rem;
  max-width: 36rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.7);
}

.maestro-contact__intro {
  margin-bottom: 0;
}

.maestro-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  padding: 1.4rem 1.3rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.maestro-contact-card:hover {
  border-color: rgba(255, 187, 2, 0.55);
  box-shadow: 0 16px 36px rgba(26, 46, 70, 0.08);
  transform: translateY(-2px);
}

.maestro-contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.55rem;
  background: rgba(255, 187, 2, 0.16);
  color: var(--maestro-navy, #1a2e46);
  font-size: 1.05rem;
}

.maestro-contact-card:hover .maestro-contact-card__icon {
  background: var(--maestro-primary, #ffbb02);
}

.maestro-contact-card__label {
  font-size: calc(12px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maestro-primary, #ffbb02);
}

.maestro-contact-card__value {
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  line-height: 1.45;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-contact-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  border-block-start: 4px solid var(--maestro-primary, #ffbb02);
  box-shadow: 0 16px 40px rgba(26, 46, 70, 0.06);
}

.maestro-contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.maestro-contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-contact-form__field--full {
  grid-column: 1 / -1;
}

.maestro-contact-form__field input,
.maestro-contact-form__field select,
.maestro-contact-form__field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(26, 46, 70, 0.14);
  background: #f7f8fa;
  color: var(--maestro-navy, #1a2e46);
  font-family: var(--body-font, "Lato", sans-serif);
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.maestro-contact-form__field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.maestro-contact-form__field input:focus,
.maestro-contact-form__field select:focus,
.maestro-contact-form__field textarea:focus {
  border-color: var(--maestro-primary, #ffbb02);
  background: #fff;
}

.maestro-contact-form__submit,
.maestro-contact-form__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.4rem;
  border: 0;
  background: var(--maestro-navy, #1a2e46);
  color: #fff;
  font-weight: 700;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.maestro-contact-form__submit:hover,
.maestro-contact-form__reset:hover {
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

.maestro-contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.maestro-contact-form__field input:disabled,
.maestro-contact-form__field select:disabled,
.maestro-contact-form__field textarea:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.maestro-contact-form__error {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(198, 40, 40, 0.25);
  background: rgba(198, 40, 40, 0.08);
  color: #8b1e1e;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  line-height: 1.45;
}

.maestro-contact-form--success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 18rem;
  justify-content: center;
}

.maestro-contact-form__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
  font-size: 1.1rem;
}

.maestro-contact-form__success-title {
  margin: 0 0 0.5rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-contact-form__success-text {
  margin: 0;
  max-width: 34rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-contact-map {
  height: min(28rem, 58vh);
  background: #1a2e46;
}

.maestro-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .maestro-contact-form__grid {
    grid-template-columns: 1fr;
  }

  .maestro-contact__title {
    max-width: none;
  }
}

/* ── Solutions / Industries catalog hubs ──────────────────────────────── */

.maestro-catalog {
  background: #f7f8fa;
}

.maestro-catalog__intro {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.maestro-catalog__heading {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-catalog__lead {
  margin: 0;
  max-width: 42rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.7);
}

.maestro-catalog__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(26, 46, 70, 0.08);
}

.maestro-catalog__toc-link {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(26, 46, 70, 0.12);
  background: #fff;
  color: var(--maestro-navy, #1a2e46);
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.maestro-catalog__toc-link:hover {
  background: var(--maestro-navy, #1a2e46);
  border-color: var(--maestro-navy, #1a2e46);
  color: #fff;
}

.maestro-catalog__sections {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.maestro-catalog-section {
  scroll-margin-top: 7.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-catalog-section__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.maestro-catalog-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background: rgba(255, 187, 2, 0.16);
  color: var(--maestro-navy, #1a2e46);
  font-size: 1.15rem;
}

.maestro-catalog-section__index {
  display: block;
  margin-bottom: 0.25rem;
  font-size: calc(12px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maestro-primary, #ffbb02);
}

.maestro-catalog-section__title {
  margin: 0;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-catalog-section__description {
  margin: 0 0 1.35rem;
  max-width: 48rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-catalog-section__lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.maestro-catalog-section__lists--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 28rem;
}

.maestro-catalog-section__list-title {
  margin: 0 0 0.75rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-catalog-section__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maestro-catalog-section__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  line-height: 1.5;
  color: rgba(26, 46, 70, 0.78);
}

.maestro-catalog-section__list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--maestro-primary, #ffbb02);
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .maestro-catalog__heading {
    max-width: none;
  }

  .maestro-catalog-section__lists {
    grid-template-columns: 1fr;
  }
}

/* ── Careers page ─────────────────────────────────────────────────────── */

.maestro-careers,
.maestro-insights {
  background: #f7f8fa;
}

.maestro-careers__intro,
.maestro-insights__intro {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.maestro-careers__heading,
.maestro-insights__heading {
  margin: 0 0 1rem;
  max-width: 20ch;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-careers__lead,
.maestro-careers__intro,
.maestro-insights__lead,
.maestro-insights__intro {
  margin: 0 0 1rem;
  max-width: 42rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.7);
}

.maestro-careers__intro:last-child,
.maestro-insights__intro:last-child {
  margin-bottom: 0;
}

.maestro-careers__benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.maestro-careers-benefit {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-careers-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 187, 2, 0.16);
  color: var(--maestro-navy, #1a2e46);
  font-size: 1.05rem;
}

.maestro-careers-benefit__title {
  margin: 0 0 0.5rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(1rem / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-careers-benefit__text {
  margin: 0;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  line-height: 1.6;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-careers__roles {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.maestro-careers__roles-title {
  margin: 0 0 0.5rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-careers__roles-lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.7);
}

.maestro-careers__jobs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.maestro-job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-job-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(1.05rem / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maestro-job-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  color: rgba(26, 46, 70, 0.68);
}

.maestro-job-card__meta svg {
  color: var(--maestro-primary, #ffbb02);
  font-size: 0.9rem;
}

.maestro-job-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.7rem 1rem;
  background: var(--maestro-navy, #1a2e46);
  color: #fff;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.maestro-job-card__cta:hover {
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

.maestro-careers-apply {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  border-inline-start: 4px solid var(--maestro-primary, #ffbb02);
  box-shadow: 0 16px 40px rgba(26, 46, 70, 0.06);
}

.maestro-careers-apply__title {
  margin: 0 0 0.5rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-careers-apply__text {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-careers-apply__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.15rem;
  background: var(--maestro-navy, #1a2e46);
  color: #fff;
  font-weight: 700;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.maestro-careers-apply__btn:hover {
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

/* ── News & Insights page ─────────────────────────────────────────────── */

.maestro-insights__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.maestro-insights__filter {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(26, 46, 70, 0.12);
  background: #fff;
  color: var(--maestro-navy, #1a2e46);
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.maestro-insights__filter:hover,
.maestro-insights__filter.is-active {
  background: var(--maestro-navy, #1a2e46);
  border-color: var(--maestro-navy, #1a2e46);
  color: #fff;
}

.maestro-insights__filter.is-active {
  background: var(--maestro-primary, #ffbb02);
  border-color: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

.maestro-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.maestro-insights__empty {
  grid-column: 1 / -1;
}

.maestro-home-insights__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}

.maestro-home-insights__header .maestro-inline-link {
  color: var(--maestro-navy, #1a2e46);
}

.maestro-home-insights__header .maestro-inline-link:hover {
  color: var(--maestro-primary, #ffbb02);
}

/* ── List empty state (Careers, News & Insights, etc.) ─────────────────── */

.maestro-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem);
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-list-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  background: rgba(255, 187, 2, 0.16);
  color: var(--maestro-navy, #1a2e46);
  font-size: 1.35rem;
}

.maestro-list-empty__title {
  margin: 0 0 0.55rem;
  max-width: 28ch;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-list-empty__text {
  margin: 0;
  max-width: 38rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.65;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-list-empty__action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.8rem 1.15rem;
  background: var(--maestro-navy, #1a2e46);
  color: #fff;
  font-weight: 700;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.maestro-list-empty__action:hover {
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

button.maestro-list-empty__action {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.maestro-list-empty--error .maestro-list-empty__icon {
  background: rgba(185, 28, 28, 0.1);
  color: #b91c1c;
}

.maestro-insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.maestro-insight-card:hover {
  border-color: rgba(255, 187, 2, 0.55);
  box-shadow: 0 16px 36px rgba(26, 46, 70, 0.08);
  transform: translateY(-2px);
}

.maestro-insight-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.maestro-insight-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.maestro-insight-card:hover .maestro-insight-card__media img {
  transform: scale(1.04);
}

.maestro-insight-card__category {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35rem 0.65rem;
  background: rgba(20, 30, 48, 0.82);
  color: #fff;
  font-size: calc(11px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.maestro-insight-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.maestro-insight-card__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  font-size: calc(12px / var(--maestro-ui-scale, 0.9));
  color: rgba(26, 46, 70, 0.55);
}

.maestro-insight-card__title {
  margin: 0 0 0.55rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: calc(1.02rem / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  line-height: 1.35;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-insight-card__excerpt {
  margin: 0 0 1rem;
  flex: 1;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  line-height: 1.6;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

@media (max-width: 991px) {
  .maestro-careers__benefits,
  .maestro-insights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .maestro-careers__roles-lead,
  .maestro-careers-apply__text {
    max-width: none;
  }

  .maestro-job-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
  }

  .maestro-job-card__cta {
    width: 100%;
    justify-content: center;
  }

  .maestro-insights__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem 0.5rem;
    margin-top: 1.25rem;
  }

  .maestro-insights__filters::-webkit-scrollbar {
    display: none;
  }

  .maestro-insights__filter {
    flex-shrink: 0;
  }

  .maestro-careers-apply {
    padding: 1.35rem 1.2rem;
  }
}

@media (max-width: 767px) {
  .maestro-careers,
  .maestro-insights,
  .maestro-career-detail,
  .maestro-article-detail {
    overflow-x: clip;
  }

  .maestro-careers__heading,
  .maestro-insights__heading {
    max-width: none;
  }

  .maestro-careers__benefits,
  .maestro-insights__grid {
    grid-template-columns: 1fr;
  }

  .maestro-careers__roles-title,
  .maestro-article-detail__related-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .maestro-careers__roles-lead {
    margin-bottom: 1rem;
  }

  .maestro-job-card {
    padding: 1.1rem 1rem;
  }

  .maestro-job-card__meta {
    gap: 0.5rem 0.85rem;
  }

  .maestro-job-card__meta li {
    font-size: calc(12px / var(--maestro-ui-scale, 0.9));
  }

  .maestro-careers-apply__title {
    font-size: 1.05rem;
  }

  .maestro-careers-apply__btn {
    width: 100%;
    justify-content: center;
  }

  .maestro-insight-card__body {
    padding: 1rem 1rem 1.1rem;
  }

  .maestro-insight-card__title {
    font-size: calc(0.98rem / var(--maestro-ui-scale, 0.9));
  }

  .maestro-career-detail__content {
    padding: 1.15rem 1rem;
  }

  .maestro-career-detail__sidebar {
    padding: 1.25rem 1.1rem;
  }

  .maestro-career-detail__summary,
  .maestro-career-detail__list li,
  .maestro-article-detail__body p {
    font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  }

  .maestro-article-detail__meta {
    gap: 0.35rem 0.5rem;
    margin-bottom: 1rem;
  }

  .maestro-article-detail__back {
    margin-top: 1.5rem;
  }

  .maestro-article-detail__related {
    margin-top: 2rem;
    padding-top: 1.75rem;
  }
}

/* ── Career detail page ───────────────────────────────────────────────── */

.maestro-career-detail,
.maestro-article-detail {
  background: #f7f8fa;
}

.maestro-career-detail__sidebar {
  position: sticky;
  top: 7.5rem;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-career-detail__sidebar-title {
  margin: 0 0 1rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.maestro-career-detail__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  color: rgba(26, 46, 70, 0.72);
}

.maestro-career-detail__meta svg {
  color: var(--maestro-primary, #ffbb02);
}

.maestro-career-detail__apply,
.maestro-career-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
}

.maestro-career-detail__apply {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: var(--maestro-navy, #1a2e46);
  color: #fff;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.maestro-career-detail__apply:hover {
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-detail__back {
  color: rgba(26, 46, 70, 0.72);
}

.maestro-career-detail__back:hover {
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-detail__content {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.08);
  box-shadow: 0 12px 28px rgba(26, 46, 70, 0.04);
}

.maestro-career-detail__summary {
  margin: 0 0 1.5rem;
  font-size: calc(16px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
  color: rgba(26, 46, 70, 0.78);
}

.maestro-career-detail__section + .maestro-career-detail__section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 46, 70, 0.08);
}

.maestro-career-detail__heading {
  margin: 0 0 0.85rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-detail__list,
.maestro-article-detail__body {
  margin: 0;
  padding: 0;
  list-style: none;
}

.maestro-career-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.6;
  color: rgba(26, 46, 70, 0.78);
}

.maestro-career-detail__list li svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--maestro-primary, #ffbb02);
}

.maestro-job-card__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.maestro-job-card__title-link:hover {
  color: var(--maestro-primary, #ffbb02);
}

/* ── News article detail page ─────────────────────────────────────────── */

.maestro-article-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 600;
  color: rgba(26, 46, 70, 0.55);
}

.maestro-article-detail__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
}

.maestro-article-detail__author-photo {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 999px;
}

.maestro-article-detail__author-name {
  margin: 0;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-article-detail__author-role {
  margin: 0.15rem 0 0;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  color: rgba(26, 46, 70, 0.6);
}

.maestro-article-detail__body h2,
.maestro-article-detail__body h3,
.maestro-article-detail__body h4 {
  margin: 1.6rem 0 0.75rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-article-detail__body h2 {
  font-size: calc(22px / var(--maestro-ui-scale, 0.9));
}

.maestro-article-detail__body h3,
.maestro-article-detail__body h4 {
  font-size: calc(18px / var(--maestro-ui-scale, 0.9));
}

.maestro-article-detail__body p {
  margin: 0 0 1.15rem;
  font-size: calc(16px / var(--maestro-ui-scale, 0.9));
  line-height: 1.75;
  color: rgba(26, 46, 70, 0.78);
}

.maestro-article-detail__body p:last-child {
  margin-bottom: 0;
}

.maestro-article-detail__body ul,
.maestro-article-detail__body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
  color: rgba(26, 46, 70, 0.78);
}

.maestro-article-detail__body li {
  margin-bottom: 0.45rem;
  font-size: calc(16px / var(--maestro-ui-scale, 0.9));
  line-height: 1.7;
}

.maestro-article-detail__body a {
  color: var(--maestro-navy, #1a2e46);
  font-weight: 600;
  text-decoration: underline;
}

.maestro-article-detail__body blockquote {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid var(--maestro-primary, #ffbb02);
  color: rgba(26, 46, 70, 0.78);
}

.maestro-article-detail__body img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1.15rem;
}

.maestro-article-detail__share {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.maestro-article-detail__share-label {
  margin: 0;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-article-detail__share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maestro-article-detail__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--maestro-navy, #1a2e46);
  background: #fff;
  border: 1px solid rgba(26, 46, 70, 0.1);
  text-decoration: none;
}

.maestro-article-detail__share-link:hover {
  color: var(--maestro-navy, #1a2e46);
  background: var(--maestro-primary, #ffbb02);
}

.maestro-article-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2rem;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
  text-decoration: none;
}

.maestro-article-detail__back:hover {
  color: var(--maestro-primary, #ffbb02);
}

.maestro-article-detail__related {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(26, 46, 70, 0.08);
}

.maestro-article-detail__related-title {
  margin: 0 0 1.25rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46) !important;
}

.maestro-article-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .maestro-career-detail__sidebar {
    position: static;
  }

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

@media (max-width: 767px) {
  .maestro-article-detail__related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Career apply side modal ────────────────────────────────────────────── */

.maestro-career-apply-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  width: calc(100vw / var(--maestro-ui-scale, 0.9));
  height: calc(100svh / var(--maestro-ui-scale, 0.9));
  background: rgba(5, 9, 18, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.maestro-career-apply-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.maestro-career-apply {
  position: fixed;
  inset: 0;
  left: auto;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  width: min(28rem, calc(100vw / var(--maestro-ui-scale, 0.9)));
  height: calc(100svh / var(--maestro-ui-scale, 0.9));
  min-height: calc(100svh / var(--maestro-ui-scale, 0.9));
  background: #fff;
  color: var(--maestro-navy, #1a2e46);
  box-shadow: -16px 0 48px rgba(26, 46, 70, 0.16);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.maestro-career-apply.is-open {
  transform: translateX(0);
}

.maestro-career-apply__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(26, 46, 70, 0.08);
  background: #f7f8fa;
}

.maestro-career-apply__eyebrow {
  margin: 0 0 0.35rem;
  font-size: calc(12px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(26, 46, 70, 0.55);
}

.maestro-career-apply__title {
  margin: 0;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-apply__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 46, 70, 0.08);
  color: var(--maestro-navy, #1a2e46);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.maestro-career-apply__close:hover {
  background: rgba(26, 46, 70, 0.14);
}

.maestro-career-apply__form,
.maestro-career-apply__success {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1.35rem 1.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.maestro-career-apply__subtitle {
  margin: 0 0 1.25rem;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  line-height: 1.6;
  color: rgba(26, 46, 70, 0.72);
}

.maestro-career-apply__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.maestro-career-apply__label {
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-apply__field input[type='text'] {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(26, 46, 70, 0.14);
  background: #f7f8fa;
  color: var(--maestro-navy, #1a2e46);
  font-family: var(--body-font, "Lato", sans-serif);
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.maestro-career-apply__field input[type='text']:focus {
  border-color: var(--maestro-primary, #ffbb02);
  background: #fff;
}

.maestro-career-apply__file {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.maestro-career-apply__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.maestro-career-apply__file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.7rem 1rem;
  border: 1px dashed rgba(26, 46, 70, 0.22);
  background: #f7f8fa;
  color: var(--maestro-navy, #1a2e46);
  font-family: inherit;
  font-size: calc(13px / var(--maestro-ui-scale, 0.9));
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.maestro-career-apply__file-btn:hover {
  border-color: var(--maestro-primary, #ffbb02);
  background: rgba(255, 187, 2, 0.08);
}

.maestro-career-apply__file-name {
  font-size: calc(12px / var(--maestro-ui-scale, 0.9));
  line-height: 1.45;
  color: rgba(26, 46, 70, 0.62);
  word-break: break-word;
}

.maestro-career-apply__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem 1.25rem;
  border: 0;
  background: var(--maestro-navy, #1a2e46);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: calc(14px / var(--maestro-ui-scale, 0.9));
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.maestro-career-apply__submit:hover {
  background: var(--maestro-primary, #ffbb02);
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-apply__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.maestro-career-apply__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  background: rgba(255, 187, 2, 0.18);
  color: var(--maestro-navy, #1a2e46);
  font-size: 1.15rem;
}

.maestro-career-apply__success-title {
  margin: 0 0 0.65rem;
  font-family: var(--heading-font, "Lexend", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--maestro-navy, #1a2e46);
}

.maestro-career-apply__success-text {
  margin: 0 0 1.25rem;
  font-size: calc(15px / var(--maestro-ui-scale, 0.9));
  line-height: 1.65;
  color: rgba(26, 46, 70, 0.72);
}

@media (max-width: 991px) {
  .maestro-career-apply-overlay {
    width: 100vw;
    height: 100dvh;
  }

  .maestro-career-apply {
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
  }
}

@media (max-width: 767px) {
  .maestro-career-apply__header,
  .maestro-career-apply__form,
  .maestro-career-apply__success {
    padding-inline: 1.15rem;
  }

  .maestro-career-apply__form,
  .maestro-career-apply__success {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .maestro-career-apply-overlay,
  .maestro-career-apply {
    transition: none;
  }
}
