/* Formosa lower page: Skills & Careers. Shared header/footer styles are loaded separately. */
.fm-skills-page {
  --skp-blue: #0868f5;
  --skp-cyan: #08b9b0;
  --skp-green: #078844;
  --skp-lime: #94c900;
  --skp-orange: #f46b22;
  --skp-purple: #7440b5;
  --skp-ink: #050a18;
  --skp-text: #172033;
  --skp-muted: #64748b;
  --skp-line: #dce7f2;
  width: min(100%, 1717px);
  margin-inline: auto;
  overflow: clip;
  color: var(--skp-text);
  background: #fff;
  font-family: var(--fm-font);
}

.fm-skills-page *,
.fm-skills-page *::before,
.fm-skills-page *::after {
  box-sizing: border-box;
}

.fm-skills-page :where(h1, h2, h3, h4, p, figure, ol, ul) {
  margin: 0;
}

.fm-skills-page :where(ol, ul) {
  padding: 0;
}

.fm-skills-page img {
  display: block;
  max-width: 100%;
}

.skp-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 160px), 1280px);
  margin-inline: auto;
}

.skp-section {
  position: relative;
  padding-block: 88px;
  overflow: clip;
}

.skp-eyebrow {
  color: var(--skp-blue);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .17em;
}

.skp-heading--center {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.skp-heading h2 {
  margin-top: 10px;
  color: var(--skp-ink);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .025em;
}

.skp-heading h2::after {
  display: block;
  width: 86px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--skp-blue);
  border-radius: 999px;
  content: "";
}

.skp-heading__lead {
  max-width: 760px;
  margin: 18px auto 0 !important;
  color: #46556b;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.9;
}

.skp-breadcrumb {
  width: min(calc(100% - 160px), 1280px);
  margin: 22px auto 0;
  color: #526177;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.skp-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.skp-breadcrumb li + li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skp-breadcrumb li + li::before {
  color: #b3bfce;
  content: "/";
}

.skp-breadcrumb a:hover,
.skp-breadcrumb a:focus-visible {
  color: var(--skp-blue);
}

.skp-hero {
  position: relative;
  min-height: 540px;
  padding: 46px 0 104px;
  overflow: clip;
  background: #fff;
  border-bottom: 1px solid #eaf1f8;
}

.skp-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 48px;
  width: min(calc(100% - 96px), 1500px);
  margin-inline: auto;
}

.skp-hero__copy {
  min-width: 0;
  padding-left: 12px;
}

.skp-hero h1 {
  margin-top: 20px;
  color: var(--skp-ink);
  font-size: clamp(46px, 4vw, 64px);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: .01em;
}

.skp-hero__lead {
  max-width: 570px;
  margin-top: 25px !important;
  color: #37465d;
  font-size: 15px;
  font-weight: 650;
  line-height: 2;
}

.skp-hero__visual {
  height: 430px;
  min-width: 0;
  overflow: hidden;
  background: #eef5fa;
  border: 1px solid #dfeaf4;
  border-radius: 190px 20px 82px 190px;
  box-shadow: 0 25px 68px rgba(25, 84, 132, .14);
}

.skp-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.skp-hero__wave {
  position: absolute;
  right: -2%;
  bottom: 0;
  z-index: 1;
  width: min(76%, 1120px);
  max-width: none !important;
  height: auto;
  opacity: .66;
  pointer-events: none;
}

.skp-learning {
  background: #fff;
}

.skp-skill-group {
  margin-top: 54px;
}

.skp-skill-group + .skp-skill-group {
  margin-top: 48px;
}

.skp-skill-group__label {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  background: var(--skp-blue);
  border-radius: 10px 10px 0 0;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .06em;
}

.skp-skill-grid {
  display: grid;
  gap: 14px;
  list-style: none;
}

.skp-skill-grid--foundation {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skp-skill-grid--practical {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.skp-skill-grid > li {
  min-width: 0;
}

.skp-skill-card {
  height: 100%;
  min-height: 260px;
  padding: 28px 20px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--skp-line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(31, 82, 126, .06);
  text-align: center;
}

.skp-skill-grid--practical .skp-skill-card {
  min-height: 248px;
  padding-inline: 15px;
}

.skp-skill-card__icons {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 16px;
}

.skp-skill-card__icons img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.skp-skill-card__icons--office img {
  width: 52px;
  height: 52px;
}

.skp-skill-card__icons img[src*="coded-31"] {
  width: 56px;
  height: 56px;
  image-rendering: auto;
}

.skp-skill-card h4 {
  color: var(--skp-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.skp-skill-grid--practical h4 {
  font-size: 15px;
}

.skp-skill-card p {
  margin-top: 13px !important;
  color: #536176;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.skp-jobs {
  background: #f8fbff;
}

.skp-job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px !important;
  list-style: none;
}

.skp-job-grid > li {
  min-width: 0;
}

.skp-job-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cfe0f2;
  border-radius: 10px;
  box-shadow: 0 13px 30px rgba(31, 82, 126, .07);
}

.skp-job-card > img,
.skp-job-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid #e2ebf4;
}

.skp-job-card > img {
  object-fit: cover;
}

.skp-job-card__image {
  display: grid;
  place-items: center;
  background: #eef9f3;
}

.skp-job-card__image img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.skp-job-card > div:last-child {
  padding: 20px 18px 22px;
}

.skp-job-card h3 {
  color: var(--skp-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.skp-job-card p {
  margin-top: 10px !important;
  color: #526176;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.8;
}

.skp-career {
  background: #fff;
}

.skp-career__steps-wrap {
  position: relative;
  margin-top: 54px;
}

.skp-career__route {
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 1;
  width: 88%;
  max-width: none !important;
  height: 166px;
  object-fit: fill;
  opacity: .78;
  transform: translateX(-50%);
  pointer-events: none;
}

.skp-career__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.skp-career-step {
  --skp-step-color: var(--skp-blue);
  min-width: 0;
  padding-top: 18px;
}

.skp-career-step--02 { --skp-step-color: var(--skp-cyan); }
.skp-career-step--03 { --skp-step-color: #70a925; }
.skp-career-step--04 { --skp-step-color: var(--skp-orange); }
.skp-career-step--05 { --skp-step-color: var(--skp-purple); }

.skp-career-step article {
  position: relative;
  min-height: 270px;
  padding: 52px 18px 24px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid #dde7f2;
  border-radius: 36px;
  box-shadow: 0 15px 32px rgba(31, 82, 126, .08);
  text-align: center;
}

.skp-career-step article > span {
  position: absolute;
  top: -22px;
  left: 18px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #fff;
  background: var(--skp-step-color);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(31, 82, 126, .15);
  font-size: 17px;
  font-weight: 900;
}

.skp-career-step img {
  width: 74px;
  height: 68px;
  margin-inline: auto;
  object-fit: contain;
}

.skp-career-step h3 {
  margin-top: 17px;
  color: var(--skp-step-color);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.35;
}

.skp-career-step p {
  margin-top: 15px !important;
  color: #39485c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

.skp-courses {
  background: #f6f9ff;
}

.skp-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.skp-course-card {
  --skp-course-color: var(--skp-blue);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  min-width: 0;
  min-height: 300px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce8f4;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(28, 77, 119, .09);
}

.skp-course-card--green {
  --skp-course-color: var(--skp-green);
}

.skp-course-card__copy {
  min-width: 0;
  padding: 31px 24px 28px;
}

.skp-course-card__kicker {
  color: var(--skp-course-color);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.skp-course-card h3 {
  margin-top: 9px;
  color: var(--skp-ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.35;
}

.skp-course-card__brand-heading {
  width: min(100%, 300px);
}

.skp-course-card__brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.skp-course-card__copy > p:not(.skp-course-card__kicker) {
  margin-top: 14px !important;
  color: #526176;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.85;
}

.skp-course-card__copy a {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 10px 20px;
  color: var(--skp-course-color);
  background: #fff;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.skp-course-card__copy a:hover,
.skp-course-card__copy a:focus-visible {
  color: #fff;
  background: var(--skp-course-color);
  transform: translateY(-2px);
}

.skp-course-card > img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

.skp-contact {
  position: relative;
  min-height: 380px;
  padding: 72px 0 58px;
  overflow: hidden;
  color: #fff;
  background: #075fcc;
  text-align: center;
}

.skp-contact__wave {
  position: absolute;
  right: -90px;
  bottom: -230px;
  width: 780px;
  max-width: none !important;
  opacity: .24;
  pointer-events: none;
}

.skp-contact__inner {
  position: relative;
  z-index: 2;
}

.skp-contact__eyebrow {
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}

.skp-contact h2 {
  margin-top: 7px;
  font-size: clamp(34px, 3.1vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .04em;
}

.skp-contact__inner > div:first-child > p:last-child {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.8;
}

.skp-contact__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.skp-contact__button {
  display: inline-flex;
  min-width: 280px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.skp-contact__button--primary {
  color: var(--skp-blue);
  background: #fff;
}

.skp-contact__button--secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.skp-contact__button:hover,
.skp-contact__button:focus-visible {
  transform: translateY(-2px);
}

.skp-contact__button--primary:hover,
.skp-contact__button--primary:focus-visible {
  color: #fff;
  background: var(--skp-ink);
  border-color: var(--skp-ink);
}

.skp-contact__button--secondary:hover,
.skp-contact__button--secondary:focus-visible {
  color: var(--skp-blue);
  background: #fff;
}

.skp-contact__phone {
  margin-top: 22px !important;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.skp-contact__phone a {
  display: inline-block;
  margin-top: 3px;
  color: #fff;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: .05em;
}

.skp-contact__phone span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
}

@media (max-width: 1199px) {
  .skp-shell,
  .skp-breadcrumb {
    width: calc(100% - 96px);
  }

  .skp-hero__inner {
    width: calc(100% - 64px);
  }

  .skp-skill-grid--practical {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skp-job-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skp-career__steps {
    gap: 14px;
  }

  .skp-career-step article {
    padding-inline: 12px;
  }

  .skp-course-card {
    grid-template-columns: minmax(0, 1fr) 210px;
  }
}

@media (max-width: 959px) {
  .skp-hero {
    min-height: 0;
    padding-bottom: 88px;
  }

  .skp-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .skp-hero__copy {
    padding-left: 0;
  }

  .skp-hero__visual {
    height: 380px;
  }

  .skp-hero__wave {
    bottom: 0;
    width: 100%;
  }

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

  .skp-career__route {
    display: none;
  }

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

  .skp-career-step:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 7px);
    justify-self: center;
  }

  .skp-course-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .skp-shell,
  .skp-breadcrumb {
    width: calc(100% - 40px);
  }

  .skp-breadcrumb {
    margin-top: 14px;
    font-size: 11px;
  }

  .skp-section {
    padding-block: 64px;
  }

  .skp-heading h2 {
    font-size: 32px;
  }

  .skp-heading__lead {
    font-size: 13px;
    line-height: 1.85;
  }

  .skp-hero {
    padding: 38px 0 72px;
  }

  .skp-hero__inner {
    width: calc(100% - 40px);
  }

  .skp-hero h1 {
    font-size: 46px;
  }

  .skp-hero__lead {
    margin-top: 20px !important;
    font-size: 13px;
    line-height: 1.9;
  }

  .skp-hero__visual {
    height: 300px;
    border-radius: 110px 12px 54px 110px;
  }

  .skp-skill-group {
    margin-top: 40px;
  }

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

  .skp-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px !important;
  }

  .skp-career__steps-wrap {
    margin-top: 42px;
  }

  .skp-course-card {
    grid-template-columns: 1fr 190px;
  }

  .skp-course-card__copy {
    padding-inline: 20px;
  }

  .skp-contact {
    min-height: 0;
    padding: 62px 0 52px;
  }

  .skp-contact h2 {
    font-size: 34px;
  }

  .skp-contact__actions {
    flex-direction: column;
    width: 100%;
  }

  .skp-contact__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .skp-hero h1 {
    font-size: 39px;
  }

  .skp-hero__visual {
    height: 240px;
  }

  .skp-skill-grid--foundation,
  .skp-skill-grid--practical,
  .skp-job-grid,
  .skp-career__steps {
    grid-template-columns: 1fr;
  }

  .skp-skill-card,
  .skp-skill-grid--practical .skp-skill-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .skp-career-step:last-child {
    grid-column: auto;
    width: auto;
  }

  .skp-career-step article {
    min-height: 238px;
  }

  .skp-course-card {
    grid-template-columns: 1fr;
  }

  .skp-course-card > img {
    min-height: 220px;
    max-height: 240px;
    grid-row: 1;
  }

  .skp-course-card__copy {
    grid-row: 2;
  }

  .skp-course-card__copy a {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .skp-shell,
  .skp-breadcrumb,
  .skp-hero__inner {
    width: calc(100% - 32px);
  }

  .skp-hero h1 {
    font-size: 36px;
    line-height: 1.32;
  }

  .skp-heading h2 {
    font-size: 29px;
  }

  .skp-skill-group__label {
    min-height: 40px;
    padding-inline: 17px;
    font-size: 13px;
  }

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

  .skp-course-card h3 {
    font-size: 23px;
  }

  .skp-contact h2 {
    font-size: 30px;
  }

  .skp-contact__inner > div:first-child > p:last-child {
    font-size: 12px;
  }

  .skp-contact__phone a {
    font-size: 25px;
  }
}

@media (max-width: 340px) {
  .fm-header__nav-list {
    column-gap: 8px;
    font-size: 11px;
    letter-spacing: -.03em;
  }

  .skp-hero h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-skills-page *,
  .fm-skills-page *::before,
  .fm-skills-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
