:root {
    --pg-navy: #081737;
    --pg-blue: #087ff5;
    --pg-light-blue: #eff6fd;
    --pg-magenta: #d500c8;
    --pg-text: #081c37;
    --pg-font: "Rubik", Arial, sans-serif;
}

.pg-page,
.pg-page * {
    box-sizing: border-box;
}

.pg-page {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    margin: 0;
    overflow-x: clip;
    overflow-y: visible;
    background: #fff;
    color: var(--pg-text);
    font-family: var(--pg-font);
}

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

.pg-page button,
.pg-page input,
.pg-page select {
    font: inherit;
}

.pg-promo {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    line-height: 0;
}

.pg-promo__media,
.pg-promo__media picture {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.pg-promo__media {
    background: var(--pg-navy);
}

.pg-promo__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 176;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 768px) {
    .pg-promo {
        padding-bottom: 24px;
    }

    .pg-promo__media img {
        aspect-ratio: 1026 / 318;
    }
}

/* Course hero */
.pg-hero {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 0 0 28px;
    background: #fff;
}

.pg-hero__card {
    width: 100%;
    min-height: 504px;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}

.pg-hero__bar {
    min-height: 42px;
    padding: 0 max(24px, calc((100% - 1231px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--pg-light-blue);
}

.pg-breadcrumb {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: #006bd9;
    font-size: 16px;
    line-height: 1.2;
}

.pg-breadcrumb a {
    color: #006bd9;
    text-decoration: none;
    text-underline-offset: 2px;
}

.pg-breadcrumb a:hover {
    color: #004794;
    text-decoration: underline;
}

.pg-breadcrumb span {
    color: var(--pg-text);
    font-size: 24px;
    line-height: 12px;
}

.pg-share {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #006bd9;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    text-underline-offset: 2px;
    cursor: pointer;
}

.pg-share:hover {
    color: #004794;
    text-decoration: underline;
}

.pg-share svg {
    width: 20px;
    height: 20px;
}

.pg-hero__content {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0 0;
}

.pg-hero__heading {
    position: relative;
    min-height: 126px;
    margin-bottom: 16px;
    padding-right: 92px;
}

.pg-hero__badges {
    min-width: 0;
    min-height: 23px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pg-badge {
    min-height: 25px;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pg-badge--level {
    min-height: 0;
    padding: 0;
    background: transparent;
    color: var(--pg-text);
    font-size: 20px;
    line-height: 1.13;
}

.pg-badge--fast {
    height: 22px;
    min-height: 22px;
    padding: 0 8px;
    border: 0.67px solid #007bff;
    border-radius: 5.36px;
    gap: 4px;
    background: transparent;
    color: #007bff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -0.2px;
}

.pg-badge--fast img {
    flex: 0 0 auto;
}

.pg-badge--fast > span {
    display: block;
    line-height: 1.13;
}

.pg-badge--fast strong {
    color: inherit;
    font-weight: 600;
}

.pg-hero__title-row > div:first-child {
    min-width: 0;
}

.pg-hero__title-row h1 {
    max-width: 1080px;
    margin: 4px 0 12px;
    color: var(--pg-text);
    font-size: 25px;
    font-weight: 700;
    line-height: 29px;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pg-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #8190a2;
    font-size: 16px;
    line-height: 18px;
}

.pg-rating__stars {
    color: #ff9d00;
    letter-spacing: 1px;
    white-space: nowrap;
}

.pg-rating > span:first-child {
    font-size: 14px;
}

.pg-rating a {
    min-width: 0;
    color: #7d8b9d;
    font-size: 14px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.pg-mec-seal {
    position: absolute;
    z-index: 2;
    top: -15px;
    right: 0;
    width: 75px;
    height: 102px;
    object-fit: contain;
}

.pg-hero__columns {
    height: 299px;
    display: grid;
    grid-template-columns: 528px minmax(0, 682px);
    gap: 21px;
    align-items: start;
}

.pg-course-media {
    min-width: 0;
    height: 299px;
}

.pg-description {
    position: relative;
    height: 32px;
    margin-top: 12px;
    overflow: hidden;
    color: #071a34;
    font-size: 14px;
    line-height: 16px;
}

.pg-description p {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pg-description button {
    display: none;
    margin: 1px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #006bd9;
    font-size: 13px;
    line-height: 15px;
    text-decoration: underline;
    cursor: pointer;
}

.pg-description.is-expanded {
    height: auto;
    min-height: 50px;
    overflow: visible;
}

.pg-description.is-expanded p {
    display: block;
    overflow: visible;
}

.pg-gallery {
    position: relative;
    height: 281px;
    display: grid;
    grid-template-columns: 56px minmax(0, 458px);
    gap: 14px;
}

.pg-gallery__thumbs {
    height: 281px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

.pg-gallery__thumb {
    position: relative;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    padding: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.pg-gallery__thumb:hover,
.pg-gallery__thumb.is-active {
    border-color: #087ff5;
}

.pg-gallery__thumb img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
}

.pg-gallery__thumb-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(8, 23, 55, 0.36);
}

.pg-gallery__thumb-play svg {
    width: 22px;
    height: 22px;
}

.pg-gallery__main {
    position: relative;
    width: 100%;
    height: 281px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #07142d;
    cursor: pointer;
}

.pg-gallery__main > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pg-gallery__main:focus-visible,
.pg-gallery__thumb:focus-visible,
.pg-gallery__dots button:focus-visible {
    outline: 3px solid #00d9ff;
    outline-offset: 2px;
}

.pg-gallery__counter {
    display: none;
}

.pg-gallery__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(8, 23, 55, 0.2);
}

.pg-gallery__play::before {
    content: "";
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(8, 23, 55, 0.76);
}

.pg-gallery__play svg {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
}

.pg-gallery__dots {
    display: none;
}

.pg-course-facts {
    display: none;
}

/* Course information band */
.pg-course-info-band {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 132px;
    padding: 24px 0;
    border-radius: 0 0 64px 64px;
    background: #fff;
}

.pg-course-info {
    width: min(1238px, calc(100% - 48px));
    height: 84px;
    margin: 0 auto;
    padding: 18px 48px;
    border: 1px solid rgba(0, 99, 199, 0.92);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pg-light-blue);
}

.pg-course-info__item {
    min-width: 0;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--pg-blue);
}

.pg-course-info__item:last-child {
    gap: 15px;
}

.pg-course-info__item > svg {
    flex: 0 0 auto;
    color: #007bff;
}

.pg-course-info__item > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #001d44;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.pg-course-info__item strong {
    color: #007bff;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.pg-course-info > i {
    flex: 0 0 1px;
    width: 1px;
    height: 48px;
    background: rgba(0, 123, 255, 0.25);
}

@media (max-width: 1150px) and (min-width: 769px) {
    .pg-course-info-band {
        height: auto;
    }

    .pg-course-info {
        height: auto;
        padding: 20px 28px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 32px;
    }

    .pg-course-info > i {
        display: none;
    }

    .pg-course-info__item {
        width: 100%;
    }

    .pg-course-info__item > span {
        font-size: 16px;
        line-height: 19px;
    }
}

@media (max-width: 768px) {
    .pg-course-info-band {
        display: none;
    }
}

/* Enrollment form inside the hero */
.pg-enrollment {
    width: 100%;
    height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eeeeef;
}

.pg-enrollment > h2 {
    height: 38px;
    margin: 0;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(100deg, #0a57a6 0%, #002a56 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pg-enrollment__body {
    position: relative;
    height: 242px;
    padding: 14px;
}

.pg-form-step {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pg-form-step[hidden] {
    display: none;
}

.pg-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 9px;
}

.pg-form-grid--step-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pg-voucher-control {
    grid-column: 1 / -1;
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.pg-voucher-toggle {
    min-height: 40px;
    padding: 5px 10px;
    border: 1px solid #0f5cff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0f5cff;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
}

.pg-voucher-toggle:hover {
    background: #e5efff;
    color: #004794;
}

.pg-voucher-toggle:focus-visible {
    outline: 2px solid #087ff5;
    outline-offset: 2px;
}

.pg-voucher-toggle[hidden] {
    display: none;
}

.pg-field--voucher {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    display: block;
}

.pg-field--voucher[hidden] {
    display: none;
}

.pg-voucher-control .pg-field--voucher input {
    height: 40px;
    padding-right: 46px;
}

.pg-voucher-control .pg-voucher-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0 9px 9px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #918989;
    font-size: 20px;
    font-weight: 100;
    line-height: 1;
    cursor: pointer;
}

.pg-voucher-close:hover {
    color: #0f5cff;
}

.pg-voucher-close:focus-visible {
    outline: 2px solid #087ff5;
    outline-offset: 2px;
}

.pg-field {
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #292929;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
}

.pg-field > span {
    min-height: 14px;
}

.pg-field input,
.pg-field select {
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: #253143;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.pg-field select {
    padding-right: 34px;
    appearance: auto;
}

.pg-field--duration select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("../../images/icon-arrow-drop-down.svg");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 5px;
}

.pg-field input::placeholder {
    color: #6b6f74;
    opacity: 1;
}

.pg-field input:focus,
.pg-field select:focus {
    border-color: #087ff5;
    box-shadow: 0 0 0 2px rgba(8, 127, 245, 0.13);
}

.pg-field.is-invalid input,
.pg-field.is-invalid select {
    border-color: #c72525;
}

.pg-field__error {
    margin: 0;
    color: #b00020;
    font-size: 11px;
    font-weight: 400;
    line-height: 13px;
}

.pg-field__error[hidden] {
    display: none;
}

.pg-enrollment__footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.pg-price {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    color: #002958;
}

.pg-price__cash {
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.pg-price__cash > strong {
    flex: 0 0 auto;
    min-width: 0;
    height: 21px;
    padding: 0 4px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #166d00;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    white-space: nowrap;
}

.pg-price__cash-copy {
    min-height: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    color: rgba(0, 41, 88, 0.6);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.13;
    white-space: nowrap;
}

.pg-price__old,
.pg-price__cash-copy b {
    display: block;
    font-size: 12px;
    line-height: 1.13;
}

.pg-price__cash s {
    color: inherit;
}

.pg-price__cash-copy b {
    color: #166d00;
    font-weight: 500;
}

.pg-price__por-mobile {
    display: none;
}

.pg-price__installment {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #002958;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.pg-price__installment-value {
    display: block;
    color: inherit;
    font: inherit;
}

.pg-price__installment strong {
    font: inherit;
    color: inherit !important;
}

.pg-price__installment .pg-price__installment-badge {
    flex: 0 0 197px;
    width: 197px;
    padding: 2px 3px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #007bff;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.13;
}

.pg-primary-button {
    flex: 0 0 auto;
    width: 204px;
    height: 45px;
    padding: 0 18px;
    border: 0;
    border-radius: 24px;
    background: #0f5cff;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
    cursor: pointer;
}

.pg-enrollment .pg-primary-button {
    font-weight: 700 !important;
    line-height: 20px !important;
}

.pg-primary-button:hover {
    background: #004794;
}

.pg-primary-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.pg-enrollment__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.pg-back-button {
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #0f5cff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.pg-back-button svg {
    width: 22px;
    height: 22px;
}

.pg-form-message {
    position: absolute;
    right: 14px;
    bottom: 2px;
    left: 14px;
    z-index: 3;
    margin: 0;
    color: #b00020;
    font-size: 11px;
    line-height: 13px;
    pointer-events: none;
}

.pg-form-message:empty {
    display: none;
}

.pg-video-dialog {
    width: min(960px, calc(100% - 32px));
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: visible;
    background: #000;
}

.pg-video-dialog::backdrop {
    background: rgba(0, 12, 31, 0.82);
}

.pg-video-dialog__close {
    position: absolute;
    z-index: 2;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    padding: 6px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--pg-navy);
    cursor: pointer;
}

.pg-video-dialog__close svg {
    width: 24px;
    height: 24px;
}

.pg-video-dialog__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.pg-video-dialog__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .pg-hero__card {
        width: 100%;
        min-height: 0;
    }

    .pg-hero__bar {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pg-hero__content {
        width: calc(100% - 32px);
    }

    .pg-hero__heading {
        height: auto;
        min-height: 96px;
    }

    .pg-hero__columns {
        height: auto;
        grid-template-columns: minmax(330px, 0.9fr) minmax(520px, 1.25fr);
        gap: 16px;
    }

    .pg-gallery {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 10px;
    }

    .pg-gallery__thumb {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .pg-price__installment {
        font-size: 18px;
    }

    .pg-price__installment strong {
        font-size: 18px;
    }

    .pg-primary-button {
        width: 170px;
    }
}

@media (max-width: 1000px) and (min-width: 769px) {
    .pg-hero__columns {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    }

    .pg-course-media,
    .pg-gallery,
    .pg-enrollment {
        min-width: 0;
    }

    .pg-enrollment {
        height: 299px;
    }

    .pg-enrollment__body {
        height: 261px;
    }

    .pg-enrollment__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .pg-price {
        width: min(340px, 100%);
    }

    .pg-price__installment {
        width: 100%;
        justify-content: space-between;
        gap: 4px;
    }

    .pg-price__installment .pg-price__installment-badge {
        flex-basis: auto;
        width: auto;
    }

    .pg-enrollment .pg-primary-button {
        width: 100%;
        height: 40px;
    }

    .pg-enrollment__actions {
        width: 100%;
    }

    .pg-enrollment__actions .pg-primary-button {
        flex: 1 1 auto;
    }
}

@media (max-width: 768px) {
    .pg-hero {
        margin-top: -24px;
        padding-bottom: 24px;
    }

    .pg-hero__card {
        width: 100%;
        min-height: 0;
        border-radius: 14px 14px 0 0;
    }

    .pg-hero__bar {
        min-height: 32px;
        padding: 7px 16px;
        gap: 8px;
    }

    .pg-breadcrumb {
        gap: 10px;
        font-size: 12px;
        line-height: 15px;
        white-space: nowrap;
    }

    .pg-breadcrumb span {
        font-size: 18px;
    }

    .pg-share {
        gap: 4px;
        font-size: 12px;
        line-height: 15px;
    }

    .pg-share svg {
        width: 16px;
        height: 16px;
    }

    .pg-hero__content {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 10px 15px 0;
    }

    .pg-hero__heading {
        height: auto;
        min-height: 136px;
        padding: 0;
    }

    .pg-hero__badges {
        min-height: 25px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .pg-badge {
        min-height: 25px;
        padding: 4px 7px;
        font-size: 11px;
        line-height: 17px;
    }

    .pg-badge--level {
        min-height: 0;
        padding: 0;
        font-size: 16px;
        line-height: 1.13;
    }

    .pg-badge--fast {
        min-width: 0;
        height: 22px;
        min-height: 22px;
        padding: 0 8px;
        font-size: 10px;
        line-height: 1.13;
    }

    .pg-hero__title-row h1 {
        width: 100%;
        max-width: none;
        margin: 16px 0;
        font-size: 24px;
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .pg-rating {
        padding-right: 82px;
        gap: 5px;
        font-size: 14px;
        line-height: 17px;
    }

    .pg-rating__stars {
        letter-spacing: 0;
    }

    .pg-rating a {
        font-size: 13px;
    }

    .pg-mec-seal {
        top: 110px;
        right: 0;
        width: 76px;
        height: 97px;
    }

    .pg-hero__columns {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .pg-course-media {
        height: auto;
    }

    .pg-description {
        height: 67px;
        padding-right: 88px;
        font-size: 13px;
        line-height: 15px;
    }

    .pg-description button {
        display: inline-block;
    }

    .pg-description p {
        -webkit-line-clamp: 3;
    }

    .pg-description button {
        font-size: 12px;
        line-height: 14px;
    }

    .pg-gallery {
        width: 100%;
        height: auto;
        margin: 0;
        display: block;
    }

    .pg-gallery__thumbs {
        display: none;
    }

    .pg-gallery__main {
        width: 100%;
        height: auto;
        aspect-ratio: 461 / 242;
        border-radius: 14px;
        touch-action: pan-y;
    }

    .pg-gallery__main > img {
        border-radius: inherit;
    }

    .pg-gallery__counter {
        position: absolute;
        top: 12px;
        left: 15px;
        display: inline-flex;
        align-items: center;
        padding: 4px 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        color: #111;
        font-size: 14px;
        font-weight: 700;
        line-height: 19px;
    }

    .pg-gallery__dots {
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #fff;
    }

    .pg-gallery__dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #d6dbe2;
        cursor: pointer;
    }

    .pg-gallery__dots button.is-active {
        width: 10px;
        height: 10px;
        background: #087ff5;
    }

    .pg-course-facts {
        margin: 0 0 16px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .pg-course-fact {
        min-width: 0;
        min-height: 50px;
        padding: 7px 11px;
        border: 1px solid #72b5fa;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
        background: #f1f7fd;
        color: #082957;
    }

    .pg-course-fact > svg {
        flex: 0 0 31px;
        width: 31px;
        height: 31px;
        color: #087ff5;
    }

    .pg-course-fact > span {
        min-width: 0;
        display: flex;
        flex-direction: column;
        font-size: 13px;
        line-height: 15px;
    }

    .pg-course-fact strong {
        color: #0874eb;
        font-size: 14px;
        line-height: 16px;
        overflow-wrap: anywhere;
    }

    .pg-enrollment {
        order: 2;
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-left: 0;
        border-radius: 12px;
    }

    .pg-enrollment > h2 {
        height: 37px;
        padding: 10px 14px;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.1;
    }

    .pg-enrollment__body {
        height: auto;
        padding: 14px;
        border-radius: 12px;
    }

    .pg-form-step {
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .pg-form-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-bottom: clamp(16px, 4vw, 20px);
    }

    .pg-voucher-control {
        grid-column: auto;
    }

    .pg-field {
        gap: 2px;
        font-size: 12px;
        line-height: 20px;
    }

    .pg-field--duration {
        gap: 4px;
    }

    .pg-field > span {
        min-height: 20px;
    }

    .pg-field input,
    .pg-field select {
        height: 40px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 20px;
    }

    .pg-enrollment__footer {
        position: static;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .pg-price {
        width: min(341px, 100%);
        align-self: flex-start;
        gap: 6px;
    }

    .pg-price__cash {
        gap: 5px;
    }

    .pg-price__cash > strong {
        min-width: 63px;
    }

    .pg-price__por-desktop {
        display: none;
    }

    .pg-price__por-mobile {
        display: inline;
    }

    .pg-price__installment {
        width: min(340px, 100%);
        justify-content: space-between;
        gap: 4px;
        font-size: 18px;
        line-height: 1.1;
    }

    .pg-price__installment strong {
        font: inherit;
    }

    .pg-price__installment .pg-price__installment-badge {
        flex-basis: auto;
        width: auto;
        padding: 1.5px 3px;
    }

    .pg-enrollment .pg-primary-button {
        width: 100%;
        height: 43px;
        padding: 14px 34px;
        border-radius: 60px;
        background: #0051ff;
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .pg-enrollment__actions {
        width: 100%;
        gap: 10px;
    }

    .pg-enrollment__actions .pg-primary-button {
        flex: 1 1 auto;
    }

    .pg-back-button {
        flex: 0 0 auto;
        padding: 0 8px;
    }

    .pg-form-message {
        position: static;
        margin-top: 8px;
    }
}

@media (min-width: 598px) and (max-width: 768px) {
    .pg-hero__heading {
        min-height: 195px;
    }
}

@media (max-width: 440px) {
    .pg-hero__bar {
        padding-right: 12px;
        padding-left: 12px;
    }

    .pg-breadcrumb {
        gap: 7px;
        font-size: 11px;
    }

    .pg-share {
        font-size: 11px;
    }

    .pg-hero__content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .pg-hero__badges {
        gap: 5px;
    }

    .pg-badge {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 9px;
    }

    .pg-badge--level {
        padding: 0;
        font-size: 14px;
    }

    .pg-badge--fast {
        padding: 0 6px;
        font-size: 10px;
    }

    .pg-badge--fast strong {
        margin-left: 0;
    }

    .pg-hero__title-row h1 {
        font-size: 24px;
        line-height: 1.1;
    }

    .pg-rating {
        gap: 3px;
        font-size: 12px;
    }

    .pg-rating a {
        font-size: 11px;
    }

    .pg-description {
        padding-right: 82px;
    }

    .pg-gallery {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .pg-course-fact {
        padding-right: 7px;
        padding-left: 7px;
        gap: 6px;
    }

    .pg-course-fact > svg {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    .pg-course-fact > span {
        font-size: 11px;
        line-height: 13px;
    }

    .pg-course-fact strong {
        font-size: 12px;
        line-height: 14px;
    }

    .pg-price__installment,
    .pg-price__installment strong {
        font-size: 18px;
    }
}

@media (max-width: 350px) {
    .pg-badge {
        padding-right: 3px;
        padding-left: 3px;
    }

    .pg-badge--level {
        padding: 0;
    }
}

@media (max-width: 380px) {
    .pg-price__installment {
        flex-wrap: wrap;
        justify-content: flex-start;
        row-gap: 4px;
    }
}

/* Curriculum */
.pg-curriculum {
    position: relative;
    z-index: 1;
    padding: 64px 0 127px;
    border-radius: 64px 64px 0 0;
    scroll-margin-top: 128px;
    background: var(--pg-navy);
    color: #fff;
}

.pg-curriculum .pg-section-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.pg-curriculum__header {
    min-height: 99px;
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: minmax(0, 687px) auto;
    justify-content: space-between;
    align-items: start;
    gap: 32px;
}

.pg-curriculum__header h2 {
    margin: 0;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 47px;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
}

.pg-curriculum__header p {
    max-width: 687px;
    margin: 4px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.pg-curriculum__tabs {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.pg-curriculum__tabs button {
    flex: 0 0 117px;
    width: 117px;
    height: 50px;
    padding: 0 18px;
    border: 2px solid #7a879c;
    border-radius: 26px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-transform: uppercase;
    cursor: pointer;
}

.pg-curriculum__tabs button:hover,
.pg-curriculum__tabs button:focus-visible {
    border-color: #fff;
}

.pg-curriculum__tabs button:focus-visible {
    outline: 3px solid #00d9ff;
    outline-offset: 3px;
}

.pg-curriculum__tabs button.is-active {
    border-color: #fff;
    background: #fff;
    color: var(--pg-navy);
}

.pg-curriculum__panel[hidden] {
    display: none;
}

.pg-curriculum__table-card {
    width: 100%;
    padding: 33px 32px 16px;
    overflow: hidden;
    border-radius: 35px;
    background: #fff;
    color: #0b0d12;
}

.pg-curriculum__table-head {
    min-height: 48px;
    padding-bottom: 14px;
    border-bottom: 1px solid #d4d6da;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 175px;
    align-items: center;
    column-gap: 28px;
}

.pg-curriculum__table-head > strong {
    min-width: 0;
    color: #0b0d12;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pg-curriculum__table-head > strong:first-child span {
    margin-right: 4px;
    color: #087ff5;
}

.pg-curriculum__table-head > strong:nth-child(2) {
    color: #9b9b9e;
    text-align: right;
    white-space: nowrap;
}

.pg-curriculum__row,
.pg-curriculum__total {
    min-height: 55px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    align-items: center;
    column-gap: 24px;
    font-size: 18px;
    line-height: 24px;
}

.pg-curriculum__row {
    border-bottom: 1px solid #d4d6da;
}

.pg-curriculum__row > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pg-curriculum__row > span:last-child,
.pg-curriculum__total > strong:last-child {
    text-align: right;
    white-space: nowrap;
}

.pg-curriculum__total {
    color: #0b0d12;
    font-weight: 700;
}

.pg-curriculum__total > strong {
    color: #0b0d12;
}

.pg-curriculum .pg-section-cta {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.pg-curriculum .pg-magenta-button {
    width: 276px;
    height: 62px;
    padding: 0 24px;
    border-radius: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pg-magenta);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.pg-curriculum .pg-magenta-button:hover {
    background: #ad00a4;
    color: #fff;
}

.pg-curriculum .pg-magenta-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .pg-curriculum {
        padding: 32px 0 40px;
        border-radius: 24px 24px 0 0;
        scroll-margin-top: 90px;
    }

    .pg-curriculum .pg-section-inner {
        width: calc(100% - 52px);
    }

    .pg-curriculum__header {
        min-height: 0;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .pg-curriculum__header h2 {
        font-size: 20px;
        line-height: 22px;
    }

    .pg-curriculum__header p {
        max-width: none;
        margin-top: 8px;
        font-size: 12px;
        line-height: 14px;
    }

    .pg-curriculum__tabs {
        width: 100%;
        margin-top: 0;
        padding-bottom: 2px;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        scrollbar-width: none;
    }

    .pg-curriculum__tabs::-webkit-scrollbar {
        display: none;
    }

    .pg-curriculum__tabs button {
        flex: 0 0 88px;
        width: 88px;
        height: 33px;
        padding: 0 12px;
        border-width: 1px;
        font-size: 14px;
        line-height: 15px;
        scroll-snap-align: start;
    }

    .pg-curriculum__table-card {
        --pg-curriculum-head-hours: clamp(76px, 28%, 99px);
        --pg-curriculum-row-hours: clamp(68px, 24%, 88px);
        padding: 16px 14px 0;
        border-radius: 14px;
    }

    .pg-curriculum__table-head {
        min-height: 32px;
        padding-bottom: 8px;
        border-bottom: 0;
        grid-template-columns: minmax(0, 1fr) var(--pg-curriculum-head-hours);
        column-gap: clamp(5px, 1.7vw, 8px);
    }

    .pg-curriculum__table-head > strong {
        font-size: 14px;
        line-height: 16px;
    }

    .pg-curriculum__table-head > strong:first-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-size: 11px;
        line-height: 14px;
        white-space: normal;
    }

    .pg-curriculum__table-head > strong:first-child span {
        margin-right: 0;
        font-size: 14px;
        line-height: 16px;
    }

    .pg-curriculum__table-head > strong:nth-child(2) {
        font-size: 12px;
        line-height: 14px;
    }

    .pg-curriculum__row {
        min-height: 42px;
        padding: 10px 0;
        grid-template-columns: minmax(0, 1fr) var(--pg-curriculum-row-hours);
        column-gap: clamp(6px, 2vw, 10px);
        font-size: 14px;
        line-height: 17px;
    }

    .pg-curriculum__row > span:first-child {
        display: block;
        overflow: visible;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .pg-curriculum__total {
        min-height: 48px;
        padding: 12px 0 14px;
        grid-template-columns: minmax(0, 1fr) var(--pg-curriculum-row-hours);
        column-gap: clamp(6px, 2vw, 10px);
        font-size: 14px;
        line-height: 17px;
    }

    .pg-curriculum .pg-section-cta {
        margin-top: 16px;
    }

    .pg-curriculum .pg-magenta-button {
        width: 100%;
        height: 43px;
        border-radius: 24px;
        font-size: 14px;
        line-height: 15px;
    }
}

/* Bottom promotional CTA */
.pg-bottom-cta {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 229px;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--pg-light-blue);
}

.pg-bottom-cta > a,
.pg-bottom-cta picture {
    display: block;
    width: min(1236px, calc(100% - 48px));
    height: 165px;
}

.pg-bottom-cta > a {
    border-radius: 24px;
    overflow: hidden;
}

.pg-bottom-cta picture {
    width: 100%;
}

.pg-bottom-cta img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.pg-bottom-cta > a:focus-visible {
    outline: 3px solid var(--pg-magenta);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .pg-bottom-cta {
        height: auto;
        min-height: 352.654px;
        padding: 24px 26px;
    }

    .pg-bottom-cta > a,
    .pg-bottom-cta picture {
        width: 100%;
        height: auto;
        aspect-ratio: 692 / 457;
    }

    .pg-bottom-cta img {
        object-fit: contain;
    }
}

@media (max-width: 430px) {
    .pg-bottom-cta {
        min-height: 0;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 390px) {
    .pg-curriculum .pg-section-inner {
        width: calc(100% - 32px);
    }

    .pg-curriculum__table-card {
        padding-right: 10px;
        padding-left: 10px;
    }

    .pg-curriculum__table-head {
        grid-template-columns: minmax(0, 1fr) var(--pg-curriculum-head-hours);
        column-gap: 5px;
    }

    .pg-curriculum__table-head > strong:first-child {
        font-size: 10px;
        line-height: 12px;
    }

    .pg-curriculum__table-head > strong:first-child span {
        font-size: 12px;
        line-height: 14px;
    }

    .pg-curriculum__table-head > strong:nth-child(2) {
        font-size: 10px;
    }

    .pg-curriculum__row {
        font-size: 12px;
        line-height: 15px;
    }
}

/* Coordinator */
.pg-coordinator {
    position: relative;
    z-index: 2;
    padding: 64px 0;
    border-radius: 64px 64px 0 0;
    background: #007bff;
    color: #fff;
    margin-top: -64px;
}

.pg-coordinator .pg-section-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pg-coordinator h2 {
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 45px;
    font-weight: 600;
    line-height: 51px;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
}

.pg-coordinator__card {
    width: 100%;
    height: 176px;
    margin: 0;
    padding: 0 40px 0 0;
    overflow: hidden;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    background: rgba(0, 217, 255, 0.2);
}

.pg-coordinator__photo {
    width: 200px;
    height: 176px;
    overflow: hidden;
    display: block;
}

.pg-coordinator__photo img {
    width: 200px;
    max-width: none;
    height: 272px;
    margin-top: -48px;
    object-fit: contain;
    object-position: center;
}

.pg-coordinator__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.pg-coordinator__copy h3,
.pg-coordinator__faculty h3 {
    width: 100%;
    margin: 0;
    color: #fff;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
}

.pg-coordinator__copy h3 {
    font-size: 25px;
    font-weight: 700;
    line-height: 29px;
}

.pg-coordinator__copy p,
.pg-coordinator__faculty p {
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0;
}

.pg-coordinator__copy p {
    font-size: 20px;
    line-height: 24px;
}

.pg-coordinator__faculty {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.pg-coordinator__faculty h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 23px;
}

.pg-coordinator__faculty p {
    font-size: 16px;
    line-height: 19px;
}

@media (max-width: 768px) {
    .pg-coordinator {
        padding: 24px 0;
        border-radius: 24px 24px 0 0;
        margin-top: -20px;
    }

    .pg-coordinator .pg-section-inner {
        width: calc(100% - 52px);
        gap: 16px;
    }

    .pg-coordinator h2 {
        font-size: 20px;
        font-weight: 700;
        line-height: 22px;
    }

    .pg-coordinator__card {
        width: 100%;
        height: auto;
        min-height: 148px;
        display: flex;
        align-items: stretch;
        gap: clamp(10px, 2.53vw, 13px);
        padding-right: clamp(14px, 4.68vw, 24px);
        border-radius: 14px;
    }

    .pg-coordinator__photo {
        position: relative;
        flex: 0 0 min(153px, calc((100vw - 52px) * 0.332));
        width: min(153px, calc((100vw - 52px) * 0.332));
        max-width: 153px;
        height: auto;
        min-height: 148px;
        display: flex;
        justify-content: center;
    }

    .pg-coordinator__photo img {
        height: 100%;
        margin: 0;
        object-fit: contain;
        object-position: center;
    }

    .pg-coordinator__copy {
        flex: 1 1 auto;
        align-self: center;
        padding: 15px 0;
        gap: 12px;
    }

    .pg-coordinator__copy h3 {
        font-size: 14px;
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .pg-coordinator__copy p {
        overflow: visible;
        font-size: 12px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .pg-coordinator__faculty {
        gap: 12px;
    }

    .pg-coordinator__faculty h3 {
        font-size: 14px;
        line-height: 16px;
    }

    .pg-coordinator__faculty p {
        font-size: 12px;
        line-height: 14px;
    }
}

@media (max-width: 430px) {
    .pg-coordinator .pg-section-inner {
        width: calc(100% - 32px);
    }

    .pg-coordinator__photo img {
        height: auto;
        align-self: stretch;
        object-fit: cover;
    }
}

/* Career structure */
.pg-structure {
    position: relative;
    z-index: 3;
    padding: 32px 0;
    border-radius: 64px 64px 0 0;
    overflow: hidden;
    background: #fff;
    color: var(--pg-text);
}

.pg-structure .pg-section-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.pg-structure__header {
    width: 100%;
    height: auto;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.pg-structure__header h2 {
    width: 100%;
    margin: 0;
    color: var(--pg-navy);
    font-size: 42px;
    font-weight: 600;
    line-height: 47px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}

.pg-structure__header p {
    width: 100%;
    margin: 0;
    color: #002958;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
}

.pg-feature-grid {
    width: 1238px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    column-gap: 14px;
    row-gap: 24px;
}

.pg-feature-card {
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 32px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--pg-navy);
    color: #fff;
}

.pg-feature-card.is-blue {
    background: #007bff;
}

.pg-feature-card__icon {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #fff;
}

.pg-feature-card__icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.pg-feature-card:nth-child(2) .pg-feature-card__icon img {
    width: 30px;
    height: 30px;
}

.pg-feature-card:nth-child(3) .pg-feature-card__icon img {
    width: 38px;
    height: 38px;
}

.pg-feature-card:nth-child(4) .pg-feature-card__icon img {
    width: 27px;
    height: 27px;
}

.pg-feature-card:nth-child(5) .pg-feature-card__icon img,
.pg-feature-card:nth-child(6) .pg-feature-card__icon img {
    width: 32px;
    height: 32px;
}

.pg-feature-card h3 {
    width: 100%;
    min-height: 52px;
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pg-feature-card:nth-child(1) h3,
.pg-feature-card:nth-child(3) h3,
.pg-feature-card:nth-child(4) h3 {
    min-height: 50px;
    line-height: 1.13;
}

.pg-feature-card h3 strong,
.pg-feature-card p strong {
    color: #fff;
    font-weight: 700;
}

.pg-feature-card p {
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
}

.pg-structure .pg-section-cta {
    width: 100%;
    height: 64px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pg-structure .pg-magenta-button {
    width: 231px;
    height: 62px;
    padding: 0 32px;
    border-radius: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #cc00bb;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.pg-structure .pg-magenta-button:hover {
    background: #a9009b;
    color: #fff;
}

.pg-structure .pg-magenta-button:focus-visible {
    outline: 3px solid #087ff5;
    outline-offset: 4px;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .pg-structure__header {
        height: auto;
    }

    .pg-structure__header h2 {
        font-size: 34px;
        line-height: 39px;
    }

    .pg-feature-grid {
        width: 100%;
        height: auto;
        gap: 14px;
    }

    .pg-feature-card {
        padding: 24px;
    }

    .pg-feature-card h3 {
        font-size: 18px;
    }

    .pg-feature-card p {
        font-size: 13px;
    }
}

/* Frequently asked questions */
.pg-faq {
    position: relative;
    z-index: 3;
    padding: 64px 0;
    border-radius: 64px 64px 0 0;
    overflow: hidden;
    background: var(--pg-navy);
    color: #fff;
}

.pg-faq .pg-section-inner {
    width: min(1236px, calc(100% - 48px));
    margin: 0 auto;
}

.pg-faq h2 {
    width: 100%;
    margin: 0 0 32px;
    color: #fff;
    font-size: 45px;
    font-weight: 600;
    line-height: 50px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pg-faq__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pg-faq__item {
    width: 100%;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pg-faq__item summary {
    width: 100%;
    min-height: 72px;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px;
    gap: 24px;
    align-items: center;
    cursor: pointer;
    list-style: none;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    transition: background-color 160ms ease;
}

.pg-faq__item summary::-webkit-details-marker {
    display: none;
}

.pg-faq__item summary::marker {
    content: "";
}

.pg-faq__item summary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.pg-faq__item summary:focus-visible {
    border-radius: 16px;
    outline: 3px solid var(--pg-magenta);
    outline-offset: -3px;
}

.pg-faq__item summary span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pg-faq__item summary svg {
    width: 12px;
    height: 8px;
    transition: transform 160ms ease;
}

.pg-faq__item[open] summary svg {
    transform: rotate(180deg);
}

.pg-faq__answer {
    padding: 8px 56px 24px 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.pg-faq__answer br + br {
    display: none;
}

@media (max-width: 768px) {
    .pg-faq {
        padding: 32px 26px;
        border-radius: 24px 24px 0 0;
    }

    .pg-faq .pg-section-inner {
        width: 100%;
    }

    .pg-faq h2 {
        margin-bottom: 16px;
        font-size: 20px;
        line-height: 22px;
    }

    .pg-faq__list {
        gap: 12px;
    }

    .pg-faq__item summary {
        min-height: 68px;
        padding: 24px;
        gap: 33px;
        font-size: 14px;
        line-height: 20px;
    }

    .pg-faq__answer {
        padding: 8px 49px 24px 24px;
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 430px) {
    .pg-faq {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pg-faq__item summary {
        gap: 16px;
    }

    .pg-faq__answer {
        padding-right: 40px;
    }
}

/* Testimonials */
.pg-testimonials {
    position: relative;
    z-index: 2;
    padding: 64px 0;
    overflow: hidden;
    background: var(--pg-light-blue);
    color: var(--pg-navy);
}

.pg-testimonials .pg-section-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.pg-testimonials__header {
    width: 100%;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pg-testimonials__header > div:first-child {
    min-width: 0;
}

.pg-testimonials__header p,
.pg-testimonials__header h2 {
    margin: 0;
    color: var(--pg-navy);
    letter-spacing: 0;
    text-transform: uppercase;
}

.pg-testimonials__header p {
    font-size: 22px;
    font-weight: 400;
    line-height: 26px;
}

.pg-testimonials__header h2 {
    margin-top: 4px;
    font-size: 42px;
    font-weight: 700;
    line-height: 48px;
}

.pg-carousel-arrows {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.pg-carousel-arrows button {
    width: 43.377px;
    height: 43.377px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(1 54 97 / 10%);
    backdrop-filter: blur(1.607px);
    cursor: pointer;
    transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.pg-carousel-arrows button:first-child img {
    transform: rotate(180deg);
}

.pg-carousel-arrows button:hover:not(:disabled) {
    background: rgb(1 54 97 / 18%);
    transform: translateY(-1px);
}

.pg-carousel-arrows button:focus-visible {
    outline: 3px solid #013661;
    outline-offset: 3px;
}

.pg-carousel-arrows button:disabled {
    cursor: default;
    opacity: 0.5;
}

.pg-carousel-arrows img {
    width: 19.279px;
    height: 19.279px;
}

.pg-testimonials__viewport {
    width: 100%;
    height: 340px;
    margin-top: 32px;
    padding: 0 max(24px, calc((100vw - 1240px) / 2));
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: max(24px, calc((100vw - 1240px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.pg-testimonials__viewport::-webkit-scrollbar {
    display: none;
}

.pg-testimonials__viewport:focus-visible {
    outline: 3px solid var(--pg-blue);
    outline-offset: -3px;
}

.pg-testimonial-card {
    flex: 0 0 397.333px;
    width: 397.333px;
    height: 340px;
    padding: 24px;
    border-radius: 16px;
    scroll-snap-align: start;
    overflow: hidden;
    background: #fff;
    color: #0f172a;
}

.pg-testimonial-card__person {
    width: 100%;
    height: 64px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.pg-testimonial-card__person > img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.pg-testimonial-card__person > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pg-testimonial-card__score {
    height: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 14px;
}

.pg-testimonial-card__score strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
}

.pg-testimonial-card__score span {
    display: flex;
    align-items: center;
    gap: 2.414px;
    white-space: nowrap;
}

.pg-testimonial-card__score img {
    flex: 0 0 12.069px;
    width: 12.069px;
    height: 11.466px;
}

.pg-testimonial-card h3 {
    margin: 10px 0 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-testimonial-card small {
    display: block;
    margin-top: 0;
    overflow: hidden;
    color: #64748b;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-testimonial-card h4 {
    height: 24px;
    margin: 15px 0 0;
    overflow: hidden;
    color: #0c0c0c;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pg-testimonial-card blockquote {
    height: 120px;
    margin: 15px 0 0;
    display: -webkit-box;
    overflow: hidden;
    color: #0c0c0c;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.pg-testimonial-card footer {
    height: 39px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #c4c4c4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    color: rgb(0 0 0 / 50%);
    font-size: 14px;
    line-height: 18px;
}

.pg-testimonial-card footer span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .pg-testimonial-card footer span {
        font-size: 14px;
    }
}

.pg-testimonial-card footer img {
    flex: 0 0 23px;
    height: 23.575px;
    object-fit: cover;
}

.pg-testimonial-card footer .pg-testimonial-card__source-icon--google {
    object-position: left center;
}

.pg-testimonial-card footer time {
    flex: 0 0 auto;
    white-space: nowrap;
}

.pg-testimonials .pg-section-cta {
    width: 100%;
    height: 64px;
    margin-top: 32px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.pg-testimonials .pg-magenta-button {
    width: 231px;
    height: 62px;
    padding: 0 32px;
    border-radius: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pg-magenta);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.pg-testimonials .pg-magenta-button:hover {
    background: #ad00a3;
    color: #fff;
}

.pg-testimonials .pg-magenta-button:focus-visible {
    outline: 3px solid var(--pg-blue);
    outline-offset: 4px;
}

@media (max-width: 1100px) and (min-width: 769px) {
    .pg-testimonials__header h2 {
        font-size: 34px;
        line-height: 39px;
    }
}

@media (max-width: 768px) {
    .pg-testimonials {
        padding: 24px 0;
    }

    .pg-testimonials .pg-section-inner {
        width: calc(100% - 52px);
    }

    .pg-testimonials__header {
        height: 69px;
        gap: 12px;
    }

    .pg-testimonials__header > div:first-child {
        width: 239px;
    }

    .pg-testimonials__header p {
        font-size: 14px;
        line-height: 17px;
    }

    .pg-testimonials__header h2 {
        margin-top: 4px;
        font-size: 20px;
        line-height: 22px;
    }

    .pg-carousel-arrows {
        gap: 10px;
    }

    .pg-carousel-arrows button {
        width: 48px;
        height: 48px;
    }

    .pg-testimonials__viewport {
        height: 238.716px;
        margin-top: 16px;
        padding: 0 26px;
        gap: 24px;
        scroll-padding-inline: 26px;
    }

    .pg-testimonial-card {
        flex-basis: min(397.333px, calc(100vw - 52px));
        width: min(397.333px, calc(100vw - 52px));
        height: 238.716px;
    }

    .pg-testimonial-card h4 {
        display: none;
    }

    .pg-testimonial-card blockquote {
        height: 51px;
        margin-top: 16px;
        font-size: 14px;
        line-height: 17px;
        -webkit-line-clamp: 3;
    }

    .pg-testimonial-card footer {
        height: 43px;
        margin-top: 16px;
        padding-top: 14px;
        font-size: 12px;
        line-height: 20px;
    }

    .pg-testimonial-card footer time {
        display: none;
    }

    .pg-testimonials .pg-section-cta {
        height: 58px;
        margin-top: 16px;
    }

    .pg-testimonials .pg-magenta-button {
        width: 100%;
        height: 58px;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 700;
        line-height: 20px;
    }
}

@media (max-width: 430px) {
    .pg-testimonials .pg-section-inner {
        width: calc(100% - 32px);
    }

    .pg-testimonials__header > div:first-child {
        width: auto;
        flex: 1 1 auto;
    }

    .pg-testimonials__header h2 {
        font-size: 17px;
        line-height: 19px;
    }

    .pg-carousel-arrows {
        gap: 6px;
    }

    .pg-carousel-arrows button {
        width: 42px;
        height: 42px;
    }

    .pg-testimonials__viewport {
        padding-right: 16px;
        padding-left: 16px;
        scroll-padding-inline: 16px;
    }

    .pg-testimonial-card {
        flex-basis: calc(100vw - 32px);
        width: calc(100vw - 32px);
    }
}

@media (max-width: 768px) {
    .pg-structure {
        padding: 22px 26px;
        border-radius: 24px 24px 0 0;
    }

    .pg-structure .pg-section-inner {
        width: 100%;
    }

    .pg-structure__header {
        height: auto;
        margin-bottom: 22px;
        display: block;
        text-align: left;
    }

    .pg-structure__header h2 {
        font-size: 20px;
        font-weight: 700;
        line-height: 22px;
        text-align: left;
    }

    .pg-structure__header p {
        display: block;
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.3;
        text-align: left;
    }

    .pg-feature-grid {
        width: 100%;
        height: auto;
        margin-bottom: 22px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 1fr;
        gap: 14px;
    }

    .pg-feature-card {
        width: 100%;
        padding: 24px;
        border-radius: 16px;
        gap: 16px;
    }

    .pg-feature-card h3,
    .pg-feature-card:nth-child(1) h3,
    .pg-feature-card:nth-child(3) h3,
    .pg-feature-card:nth-child(4) h3 {
        min-height: 0;
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
    }

    .pg-feature-card p {
        font-size: 14px;
        line-height: 1.2;
    }

    .pg-structure .pg-section-cta {
        height: 43px;
    }

    .pg-structure .pg-magenta-button {
        width: 100%;
        height: 43px;
        padding: 0 25px;
        border-radius: 23px;
        font-size: 14px;
        font-weight: 700;
        line-height: 24px;
    }
}

@media (max-width: 430px) {
    .pg-structure {
        padding-right: 16px;
        padding-left: 16px;
    }

    .pg-structure__header {
        height: auto;
        min-height: 44px;
    }

    .pg-feature-grid {
        height: auto;
    }

    .pg-feature-card h3,
    .pg-feature-card:nth-child(1) h3,
    .pg-feature-card:nth-child(3) h3,
    .pg-feature-card:nth-child(4) h3 {
        font-size: 17px;
    }

    .pg-feature-card p {
        font-size: 13px;
    }
}

/* Primary actions keep the same touch target and internal spacing on mobile. */
@media (max-width: 768px) {
    .pg-enrollment .pg-primary-button,
    .pg-curriculum .pg-magenta-button,
    .pg-structure .pg-magenta-button,
    .pg-testimonials .pg-magenta-button {
        box-sizing: border-box;
        width: 100%;
        height: auto;
        min-height: 43px;
        padding: 14px 34px;
        border-radius: 60px;
        font-size: 14px !important;
        font-weight: 700;
        line-height: 15px !important;
    }

    .pg-curriculum .pg-section-cta,
    .pg-structure .pg-section-cta,
    .pg-testimonials .pg-section-cta {
        height: auto;
        min-height: 43px;
    }
}
