
:root {
    --background-static: #064c17;
    --background-hover: #eceb1b;
    --header-green: #0db02b;
    --header-green-dark: #087a21;
    --header-green-deep: #064c17;
    --header-ink: #132318;
    --header-muted: #5f6f63;
    --header-white: #ffffff;
}
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-size: 14px;
    margin: 0;
    font-family: "Be Vietnam Pro", sans-serif;
}

.wrap-content {
    width: 100%;
    max-width: 1210px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}




.btn-frame {
    display: block;
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    z-index: 10;
    cursor: pointer;
}

.btn-frame i {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1182fc;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.btn-frame i img {
    vertical-align: middle;
    width: 70%;
}

.btn-frame .animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.btn-frame .kenit-alo-circle {
    width: 60px;
    height: 60px;
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid rgba(7, 41, 103, 0.8);
    opacity: 0.1;
    border-color: #1182fc;
    opacity: 0.5;
}

.btn-frame .zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.btn-frame .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.btn-frame .kenit-alo-circle-fill {
    width: 70px;
    height: 70px;
    top: -10px;
    right: -10px;
    position: absolute;
    border-radius: 100%;
    border: 2px solid transparent;
    background-color: rgba(7, 41, 103, 0.35);
    opacity: 0.4;
}

.btn-frame .pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

/* Zalo */
.btn-zalo {
    bottom: 315px;
}

#qrzalo .modal-dialog {
    max-width: 250px;
    margin: 0.5rem auto;
}

/* Phone */
.btn-phone {
    bottom: 230px;
}
        










.site-header a {
    color: inherit;
    text-decoration: none;
}

.site-topbar {
    min-height: 36px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    background-color: var(--header-green-deep);
    font-size: 13px;
    font-weight: 600;
}

.site-topbar__inner,
.site-navbar__inner,
.topbar-note,
.topbar-contact,
.site-brand,
.header-cta {
    display: flex;
    align-items: center;
}

.site-topbar__inner {
    min-height: 36px;
    justify-content: space-between;
    gap: 24px;
}

.topbar-note,
.topbar-contact {
    gap: 20px;
}

.topbar-note {
    min-width: 0;
}

.topbar-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background-color: #71f48b;
    box-shadow: 0 0 0 5px rgba(113, 244, 139, 0.13);
}

.topbar-contact {
    flex-shrink: 0;
}

.topbar-contact a {
    transition: color 0.2s ease;
}

.topbar-contact a:hover {
    color: #71f48b;
}

.site-navbar {
    border-bottom: 1px solid rgba(13, 176, 43, 0.1);
    background-color: rgba(255, 255, 255, 0.97);
}

.site-navbar__inner {
    min-height: 92px;
    justify-content: space-between;
    gap: 38px;
}

.site-brand {
    min-width: 0;
    gap: 14px;
}

.site-brand .brand-mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    background-color: var(--header-green-dark);
    box-shadow: 0 12px 26px rgba(7, 122, 33, 0.18);
}

.site-brand .brand-mark img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.site-brand .brand-copy strong {
    display: block;
    color: var(--header-green-dark);
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.site-brand .brand-copy span {
    display: block;
    margin-top: 3px;
    color: var(--header-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.header-cta {
    min-height: 48px;
    flex: 0 0 auto;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 999px;
    color: var(--header-white) !important;
    background-color: var(--header-green);
    box-shadow: 0 12px 25px rgba(13, 176, 43, 0.25);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    background-color: var(--header-green-dark);
    box-shadow: 0 14px 28px rgba(8, 122, 33, 0.28);
    transform: translateY(-2px);
}

.header-cta:focus-visible,
.site-brand:focus-visible,
.topbar-contact a:focus-visible {
    outline: 3px solid rgba(13, 176, 43, 0.35);
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .site-topbar,
    .site-topbar__inner {
        min-height: 34px;
    }

    .site-topbar {
        font-size: 11px;
    }

    .site-topbar__inner,
    .topbar-note,
    .topbar-contact {
        gap: 10px;
    }

    .topbar-contact > span {
        display: none;
    }

    .site-navbar__inner {
        min-height: 76px;
        gap: 16px;
    }

    .site-brand {
        gap: 10px;
    }

    .site-brand .brand-mark {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        border-radius: 14px;
    }

    .site-brand .brand-mark img {
        width: 42px;
        height: 42px;
    }

    .site-brand .brand-copy strong {
        font-size: 15px;
    }

    .site-brand .brand-copy span {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .header-cta {
        min-height: 42px;
        gap: 7px;
        padding: 0 16px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .topbar-note {
        max-width: 210px;
    }

    .site-brand .brand-copy {
        display: none;
    }
}

/* Home introduction */
.home-intro {
    position: relative;
    overflow: hidden;
    padding: 84px 0 76px;
    color: var(--header-ink);
    background:
        radial-gradient(circle at 80% 10%, rgba(13, 176, 43, 0.16), transparent 29%),
        radial-gradient(circle at 5% 90%, rgba(232, 59, 66, 0.09), transparent 24%),
        linear-gradient(135deg, #f4fff6 0%, #ffffff 60%);
}

.home-intro::before,
.home-intro::after {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 2px dashed rgba(13, 176, 43, 0.12);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-intro::before {
    top: -170px;
    left: -90px;
}

.home-intro::after {
    right: -100px;
    bottom: -170px;
}

.home-intro__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 62px;
}

.home-intro__content {
    min-width: 0;
}

.home-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 9px 14px;
    border: 1px solid rgba(232, 59, 66, 0.17);
    border-radius: 999px;
    color: #b32229;
    background-color: #fff0f1;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.home-intro__eyebrow i {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background-color: #e83b42;
}

.home-intro h1 {
    max-width: 610px;
    margin: 0;
    font-size: clamp(42px, 4.1vw, 56px);
    line-height: 1.11;
    letter-spacing: -2px;
}

.home-intro h1 span {
    position: relative;
    z-index: 0;
    display: inline-block;
    color: var(--header-green-dark);
}

.home-intro h1 span::after {
    position: absolute;
    z-index: -1;
    right: 2px;
    bottom: -6px;
    left: 2px;
    height: 8px;
    border-radius: 20px;
    background-color: rgba(232, 59, 66, 0.22);
    content: "";
    transform: rotate(-1deg);
}

.home-intro__description {
    max-width: 590px;
    margin: 27px 0 25px;
    color: var(--header-muted);
    font-size: 17px;
    line-height: 1.75;
}

.home-intro__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.home-intro__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #344c39;
    font-size: 13px;
    font-weight: 700;
}

.home-intro__check {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--header-green-dark);
    background-color: #eaf9ed;
    font-size: 13px;
    font-weight: 900;
}

.home-intro__button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 999px;
    color: var(--header-white);
    background-color: var(--header-green);
    box-shadow: 0 12px 25px rgba(13, 176, 43, 0.25);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-intro__button:hover {
    color: var(--header-white);
    background-color: var(--header-green-dark);
    box-shadow: 0 14px 28px rgba(8, 122, 33, 0.28);
    transform: translateY(-2px);
}

.home-intro__button:focus-visible {
    outline: 3px solid rgba(13, 176, 43, 0.35);
    outline-offset: 4px;
}

.home-intro__note {
    margin: 19px 0 0;
    color: #6f7f73;
    font-size: 12px;
    line-height: 1.6;
}

.home-intro__visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}

.home-intro__image-card {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 520 / 500;
    overflow: hidden;
    border: 10px solid var(--header-white);
    border-radius: 36px;
    background-color: var(--header-white);
    box-shadow: 0 22px 60px rgba(7, 72, 24, 0.12);
}

.home-intro__image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 991px) {
    .home-intro {
        padding: 64px 0;
    }

    .home-intro__grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .home-intro__content {
        max-width: 720px;
    }

    .home-intro__visual {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .home-intro {
        padding: 48px 0 52px;
    }

    .home-intro__grid {
        gap: 36px;
    }

    .home-intro__eyebrow {
        margin-bottom: 16px;
        padding: 8px 11px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .home-intro h1 {
        font-size: clamp(34px, 10.5vw, 44px);
        letter-spacing: -1.4px;
    }

    .home-intro__description {
        margin: 23px 0 22px;
        font-size: 15px;
        line-height: 1.7;
    }

    .home-intro__benefits {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-bottom: 26px;
    }

    .home-intro__button {
        min-height: 46px;
        padding: 0 21px;
        font-size: 13px;
    }

    .home-intro__image-card {
        border-width: 7px;
        border-radius: 24px;
    }
}

/* Home achievement metrics */
.home-metrics {
    position: relative;
    z-index: 2;
    padding: 30px 0;
    border-top: 1px solid #edf2ee;
    border-bottom: 1px solid #edf2ee;
    background-color: var(--header-white);
}

.home-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-metrics__item {
    min-width: 0;
    padding: 8px 34px;
    border-right: 1px solid #dfe9e1;
    text-align: center;
}

.home-metrics__item:last-child {
    border-right: 0;
}

.home-metrics__item strong {
    display: block;
    color: var(--header-green-dark);
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -1px;
}

.home-metrics__item span {
    display: block;
    margin-top: 4px;
    color: var(--header-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .home-metrics__item {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 767px) {
    .home-metrics {
        padding: 20px 0;
    }

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

    .home-metrics__item {
        padding: 18px 12px;
        border-bottom: 1px solid #dfe9e1;
    }

    .home-metrics__item:nth-child(2n) {
        border-right: 0;
    }

    .home-metrics__item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .home-metrics__item strong {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    .home-metrics__item {
        padding-right: 8px;
        padding-left: 8px;
    }

    .home-metrics__item strong {
        font-size: 26px;
    }

    .home-metrics__item span {
        font-size: 11px;
    }
}

/* Shared heading for home sections */
.home-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.home-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--header-green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.home-section-kicker::before,
.home-section-kicker::after {
    width: 22px;
    height: 2px;
    flex: 0 0 22px;
    border-radius: 10px;
    background-color: #e83b42;
    content: "";
}

.home-section-heading h2 {
    margin: 0;
    color: var(--header-ink);
    font-size: 38px;
    line-height: 1.23;
    letter-spacing: -1px;
}

.home-section-heading > p {
    margin: 15px auto 0;
    color: var(--header-muted);
    font-size: 15px;
    line-height: 1.75;
}

/* Upcoming class schedule */
.home-schedule {
    padding: 94px 0;
    background-color: #f7fbf8;
}

.home-schedule__board {
    overflow: hidden;
    border: 1px solid #dbe7dd;
    border-radius: 30px;
    background-color: var(--header-white);
    box-shadow: 0 18px 55px rgba(18, 68, 31, 0.08);
}

.home-schedule__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 27px 34px;
    color: var(--header-white);
    background: linear-gradient(100deg, var(--header-green-dark), var(--header-green));
}

.home-schedule__top h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.4;
}

.home-schedule__top p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.5;
}

.home-schedule__badge {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.home-schedule__table-wrap {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.home-schedule__table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.home-schedule__table th,
.home-schedule__table td {
    padding: 20px 25px;
    border-bottom: 1px solid #e8efea;
    text-align: left;
    vertical-align: middle;
}

.home-schedule__table th {
    color: var(--header-green-dark);
    background-color: #f3faf4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.home-schedule__table th:first-child {
    width: 100px;
}

.home-schedule__table th:nth-child(2) {
    width: 170px;
}

.home-schedule__table th:last-child {
    width: 210px;
}

.home-schedule__table td {
    color: #39483c;
    font-size: 13px;
    line-height: 1.55;
}

.home-schedule__table tbody tr:last-child td {
    border-bottom: 0;
}

.home-schedule__table td strong,
.home-schedule__table td > span:not(.home-schedule__session):not(.home-schedule__time) {
    display: block;
}

.home-schedule__table td strong {
    color: #2d3d31;
    font-weight: 800;
}

.home-schedule__session {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: var(--header-green-dark);
    background-color: #eaf9ed;
    font-weight: 900;
}

.home-schedule__time {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    color: #a5272d;
    background-color: #fff0f1;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.home-schedule__time i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background-color: #e83b42;
}

@media (max-width: 767px) {
    .home-section-heading {
        margin-bottom: 36px;
    }

    .home-section-heading h2 {
        font-size: 31px;
    }

    .home-section-heading > p {
        font-size: 14px;
    }

    .home-schedule {
        padding: 68px 0;
    }

    .home-schedule__board {
        border-radius: 22px;
    }

    .home-schedule__top {
        padding: 22px 24px;
    }

    .home-schedule__top h3 {
        font-size: 18px;
    }

    .home-schedule__table th,
    .home-schedule__table td {
        padding: 17px 20px;
    }
}

@media (max-width: 575px) {
    .home-section-heading h2 {
        font-size: 28px;
    }

    .home-section-kicker {
        font-size: 10px;
        letter-spacing: 0.9px;
    }

    .home-schedule {
        padding: 56px 0;
    }

    .home-schedule__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        padding: 21px 20px;
    }

    .home-schedule__top h3 {
        font-size: 17px;
    }

    .home-schedule__table {
        min-width: 720px;
    }
}

/* Featured courses */
.home-courses {
    padding: 94px 0;
    background-color: var(--header-white);
}

.home-courses__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.home-course-card {
    position: relative;
    min-width: 0;
    min-height: 554px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce7de;
    border-radius: 26px;
    background-color: var(--header-white);
    box-shadow: 0 15px 45px rgba(14, 56, 24, 0.07);
    transition: .2s;
}


.home-course-card__popular {
    position: absolute;
    z-index: 4;
    top: 17px;
    right: 17px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #a51f25;
    background-color: #fff0f1;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.home-course-card__cover {
    position: relative;
    height: 154px;
    flex: 0 0 154px;
    overflow: hidden;
    padding: 26px;
    color: var(--header-white);
    background: linear-gradient(135deg, #189a3a, #096b22);
    transition: .3s linear;
}

.home-course-card:hover .home-course-card__cover {
    background: linear-gradient(135deg, #0db02b, #087a21);
    transition: .2s linear;

}
.home-course-card:hover {
    border: 2px solid var(--header-green);
    box-shadow: 0 28px 65px rgba(8, 122, 33, 0.16);
    transform: translateY(-12px);
    transition: .2s linear;
}

.home-course-card__cover::after {
    position: absolute;
    right: -20px;
    bottom: -55px;
    width: 190px;
    height: 190px;
    border: 30px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    content: "";
}

.home-course-card__level {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.13);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.home-course-card__cover > strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 17px;
    font-size: 24px;
    line-height: 1.2;
}

.home-course-card__body {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 27px 26px 25px;
}

.home-course-card__body > p {
    min-height: 64px;
    margin: 0 0 18px;
    color: var(--header-muted);
    font-size: 13px;
    line-height: 1.65;
}

.home-course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 21px;
}

.home-course-card__meta span {
    padding: 8px 10px;
    border-radius: 10px;
    color: #46604c;
    background-color: #f1f7f2;
    font-size: 10px;
    font-weight: 800;
}

.home-course-card__features {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.home-course-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #34493a;
    font-size: 12px;
    line-height: 1.5;
}

.home-course-card__features i {
    color: var(--header-green);
    font-style: normal;
    font-weight: 900;
}

.home-course-card__price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #edf1ee;
}

.home-course-card__price small {
    display: block;
    margin-bottom: 3px;
    color: var(--header-muted);
    font-size: 10px;
    font-weight: 700;
}

.home-course-card__price strong {
    color: var(--header-green-dark);
    font-size: 25px;
    line-height: 1.3;
    letter-spacing: -0.8px;
    white-space: nowrap;
}

.home-course-card--red .home-course-card__price strong {
    color: #e83b42;
}

.home-course-card__button {
    min-height: 44px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    color: var(--header-white);
    background-color: var(--header-green);
    box-shadow: 0 10px 22px rgba(13, 176, 43, 0.2);
    font-size: 12px;
    font-family: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Course registration and VietQR payment modal */
body.course-payment-lock {
    overflow: hidden;
}

.course-payment-modal[hidden],
.course-payment-modal [hidden] {
    display: none !important;
}

.course-payment-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 24px;
}

.course-payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 24, 11, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.course-payment-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
    outline: none;
    scrollbar-width: thin;
    scrollbar-color: #b8d5be transparent;
}

.course-payment-modal__dialog::-webkit-scrollbar {
    width: 7px;
}

.course-payment-modal__dialog::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #b8d5be;
}

.course-payment-modal__close {
    position: absolute;
    z-index: 5;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #dbe7dd;
    border-radius: 50%;
    color: #3d5543;
    background: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.course-payment-modal__close:hover {
    color: #fff;
    background: var(--header-green-dark);
    transform: rotate(5deg);
}

.course-payment-modal__close:focus-visible,
.course-payment-primary:focus-visible,
.course-payment-secondary:focus-visible,
.course-payment-detail-row button:focus-visible {
    outline: 3px solid rgba(13, 176, 43, 0.3);
    outline-offset: 3px;
}

.course-payment-modal__close svg,
.course-payment-field__control svg,
.course-payment-primary svg,
.course-payment-detail-row button svg,
.course-payment-warning svg,
.course-payment-success__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-payment-modal__close svg {
    width: 19px;
    height: 19px;
}

.course-payment-modal__progress {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 74px 15px;
    border-bottom: 1px solid #e7eee8;
    background: #f8fbf8;
}

.course-payment-modal__progress > i {
    width: 88px;
    height: 2px;
    overflow: hidden;
    border-radius: 20px;
    background: #dce7de;
}

.course-payment-modal__progress > i::after {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--header-green);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.course-payment-modal__progress.is-payment > i::after {
    transform: scaleX(1);
}

.course-payment-modal__progress-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #87968b;
}

.course-payment-modal__progress-item > span {
    width: 32px;
    height: 32px;
    display: grid;
    flex: 0 0 32px;
    place-items: center;
    border: 1px solid #cad8cd;
    border-radius: 50%;
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}

.course-payment-modal__progress-item div {
    display: grid;
    gap: 1px;
}

.course-payment-modal__progress-item small {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.course-payment-modal__progress-item strong {
    font-size: 12px;
}

.course-payment-modal__progress-item.is-active,
.course-payment-modal__progress-item.is-complete {
    color: var(--header-green-dark);
}

.course-payment-modal__progress-item.is-active > span,
.course-payment-modal__progress-item.is-complete > span {
    border-color: var(--header-green);
    color: #fff;
    background: var(--header-green);
}

.course-payment-step {
    padding: 36px 46px 42px;
}

.course-payment-step[data-course-step="info"] {
    max-width: 650px;
    margin: 0 auto;
}

.course-payment-step__heading {
    margin: 0 auto 25px;
    text-align: center;
}

.course-payment-step__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--header-green-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.course-payment-step__heading h2,
.course-payment-success h2 {
    margin: 0;
    color: var(--header-ink);
    font-size: 29px;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.course-payment-step__heading p,
.course-payment-success > p {
    margin: 10px auto 0;
    color: var(--header-muted);
    font-size: 13px;
    line-height: 1.65;
}

.course-payment-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
    padding: 14px 17px;
    border: 1px solid #cfe5d3;
    border-radius: 14px;
    color: #53685a;
    background: #f2faf3;
}

.course-payment-selected span {
    font-size: 11px;
    font-weight: 700;
}

.course-payment-selected strong {
    color: var(--header-green-dark);
    font-size: 13px;
    text-align: right;
}

.course-payment-form {
    position: relative;
}

.course-payment-form__trap {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.course-payment-field {
    margin-bottom: 17px;
}

.course-payment-field > label {
    display: block;
    margin-bottom: 7px;
    color: #263b2b;
    font-size: 12px;
    font-weight: 800;
}

.course-payment-field > label span {
    color: #e83b42;
}

.course-payment-field__control {
    position: relative;
}

.course-payment-field__control svg {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 19px;
    height: 19px;
    color: #7b8c7f;
    pointer-events: none;
    transform: translateY(-50%);
}

.course-payment-field__control input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 46px;
    border: 1px solid #ccd9ce;
    border-radius: 13px;
    color: #1b3020;
    background: #fff;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.course-payment-field__control input::placeholder {
    color: #9aa69d;
}

.course-payment-field__control input:focus {
    border-color: var(--header-green);
    box-shadow: 0 0 0 4px rgba(13, 176, 43, 0.1);
}

.course-payment-field.has-error .course-payment-field__control input {
    border-color: #e83b42;
    box-shadow: 0 0 0 4px rgba(232, 59, 66, 0.08);
}

.course-payment-field__error {
    min-height: 16px;
    display: block;
    padding-top: 4px;
    color: #bd2e35;
    font-size: 10px;
}

.course-payment-form__message {
    display: none;
    margin-bottom: 14px;
    padding: 11px 13px;
    border: 1px solid #f2c2c5;
    border-radius: 10px;
    color: #9d252b;
    background: #fff3f3;
    font-size: 11px;
    line-height: 1.55;
}

.course-payment-form__message.is-visible {
    display: block;
}

.course-payment-primary,
.course-payment-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.course-payment-primary {
    border: 1px solid var(--header-green);
    color: #fff;
    background: var(--header-green);
    box-shadow: 0 12px 28px rgba(13, 176, 43, 0.22);
}

.course-payment-form > .course-payment-primary {
    width: 100%;
}

.course-payment-primary:hover:not(:disabled) {
    border-color: var(--header-green-dark);
    background: var(--header-green-dark);
    transform: translateY(-2px);
}

.course-payment-primary:disabled {
    border-color: #aebbb1;
    background: #aebbb1;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.75;
}

.course-payment-primary svg {
    width: 18px;
    height: 18px;
}

.course-payment-primary.is-loading span::after {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-left: 9px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    content: "";
    vertical-align: -2px;
    animation: course-payment-spin 0.75s linear infinite;
}

@keyframes course-payment-spin {
    to { transform: rotate(360deg); }
}

.course-payment-secondary {
    border: 1px solid #cedacf;
    color: #44584a;
    background: #fff;
}

.course-payment-secondary:hover {
    border-color: #9bb3a0;
    background: #f4f8f5;
}

.course-payment-recaptcha-note {
    max-width: 430px;
    margin: 13px auto 0;
    color: #8b988e;
    font-size: 9px;
    line-height: 1.55;
    text-align: center;
}

.course-payment-step__heading--payment {
    margin-bottom: 22px;
}

.course-payment-checkout {
    display: grid;
    grid-template-columns: minmax(300px, 0.84fr) minmax(360px, 1.16fr);
    overflow: hidden;
    border: 1px solid #dbe6dd;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(13, 68, 27, 0.1);
}

.course-payment-qr-panel {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 485px;
    padding: 34px 30px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.17), transparent 28%),
        linear-gradient(145deg, #139532 0%, #06751f 52%, #045c18 100%);
}

.course-payment-qr-panel::before,
.course-payment-qr-panel::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    content: "";
}

.course-payment-qr-panel::before {
    width: 260px;
    height: 260px;
    top: -120px;
    right: -150px;
}

.course-payment-qr-panel::after {
    width: 210px;
    height: 210px;
    bottom: -130px;
    left: -105px;
}

.course-payment-qr-card {
    position: relative;
    z-index: 1;
    width: min(248px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 42px rgba(0, 44, 11, 0.28);
}

.course-payment-qr-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 11px;
}

.course-payment-qr-placeholder {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    color: #526b58;
    text-align: center;
}

.course-payment-qr-placeholder svg {
    width: 74px;
    height: 74px;
    margin-bottom: 13px;
    fill: currentColor;
    opacity: 0.3;
}

.course-payment-qr-placeholder strong {
    margin-bottom: 5px;
    color: #294c32;
    font-size: 13px;
}

.course-payment-qr-placeholder span {
    font-size: 10px;
    line-height: 1.45;
}

.course-payment-qr-download {
    position: relative;
    z-index: 1;
    margin: 13px 0 23px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.course-payment-qr-download:hover {
    color: #fff;
    text-decoration: underline;
}

.course-payment-amount-label {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
    font-weight: 700;
}

.course-payment-qr-download[hidden] + .course-payment-amount-label {
    margin-top: 20px;
}

.course-payment-amount {
    position: relative;
    z-index: 1;
    margin-top: 4px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.course-payment-details {
    padding: 28px 30px 30px;
    background: #fff;
}

.course-payment-details__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e5ece6;
}

.course-payment-details__title span {
    color: #263b2b;
    font-size: 14px;
    font-weight: 900;
}

.course-payment-details__title strong {
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--header-green-dark);
    background: #e9f8ec;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.course-payment-detail-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 57px;
    padding: 10px 0;
    border-bottom: 1px solid #edf1ee;
}

.course-payment-detail-row > span {
    color: #77867a;
    font-size: 10px;
    font-weight: 700;
}

.course-payment-detail-row > div {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
}

.course-payment-detail-row strong {
    overflow-wrap: anywhere;
    color: #27392b;
    font-size: 12px;
    line-height: 1.45;
}

.course-payment-detail-row--content strong {
    color: #d92f37;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.course-payment-detail-row button {
    width: 30px;
    height: 30px;
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: var(--header-green-dark);
    background: #eff8f1;
    cursor: pointer;
}

.course-payment-detail-row button:disabled {
    color: #96a39a;
    background: #f0f2f0;
    cursor: not-allowed;
}

.course-payment-detail-row button svg {
    width: 15px;
    height: 15px;
}

.course-payment-detail-row button.is-copied {
    color: #fff;
    background: var(--header-green);
}

.course-payment-warning {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 16px 0;
    padding: 11px 12px;
    border: 1px solid #f2ddab;
    border-radius: 11px;
    color: #715312;
    background: #fff9e9;
}

.course-payment-warning.is-unconfigured {
    border-color: #f1c6c8;
    color: #8f292e;
    background: #fff3f3;
}

.course-payment-warning svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
}

.course-payment-warning p {
    margin: 0;
    font-size: 9px;
    line-height: 1.55;
}

.course-payment-actions {
    display: grid;
    grid-template-columns: auto minmax(190px, 1fr);
    gap: 10px;
}

.course-payment-success {
    max-width: 610px;
    margin: 0 auto;
    padding-top: 58px;
    padding-bottom: 60px;
    text-align: center;
}

.course-payment-success__icon {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--header-green), var(--header-green-dark));
    box-shadow: 0 17px 38px rgba(13, 176, 43, 0.25);
}

.course-payment-success__icon svg {
    width: 38px;
    height: 38px;
    stroke-width: 2.2;
}

.course-payment-success__code {
    display: inline-grid;
    gap: 3px;
    min-width: 220px;
    margin: 23px auto;
    padding: 13px 24px;
    border: 1px dashed #9ec7a5;
    border-radius: 13px;
    color: #647769;
    background: #f3faf4;
}

.course-payment-success__code span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.course-payment-success__code strong {
    color: var(--header-green-dark);
    font-size: 18px;
    letter-spacing: 1px;
}

.course-payment-success > .course-payment-primary {
    min-width: 180px;
}

@media (max-width: 800px) {
    .course-payment-modal {
        padding: 14px;
    }

    .course-payment-modal__dialog {
        max-height: calc(100vh - 28px);
        border-radius: 22px;
    }

    .course-payment-step {
        padding-right: 25px;
        padding-left: 25px;
    }

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

    .course-payment-qr-panel {
        min-height: 430px;
    }
}

@media (max-width: 575px) {
    .course-payment-modal {
        align-items: end;
        padding: 0;
    }

    .course-payment-modal__dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 24px 24px 0 0;
    }

    .course-payment-modal__close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    .course-payment-modal__progress {
        min-height: 72px;
        justify-content: flex-start;
        gap: 9px;
        padding: 13px 58px 12px 18px;
    }

    .course-payment-modal__progress > i {
        width: 38px;
    }

    .course-payment-modal__progress-item {
        gap: 7px;
    }

    .course-payment-modal__progress-item > span {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
        font-size: 10px;
    }

    .course-payment-modal__progress-item strong {
        font-size: 10px;
    }

    .course-payment-modal__progress-item small {
        font-size: 8px;
    }

    .course-payment-step {
        padding: 27px 18px 32px;
    }

    .course-payment-step__heading h2,
    .course-payment-success h2 {
        font-size: 24px;
    }

    .course-payment-selected {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .course-payment-selected strong {
        text-align: left;
    }

    .course-payment-checkout {
        border-radius: 19px;
    }

    .course-payment-qr-panel {
        min-height: 410px;
        padding: 28px 24px;
    }

    .course-payment-qr-card {
        width: min(230px, 100%);
    }

    .course-payment-details {
        padding: 24px 19px 25px;
    }

    .course-payment-detail-row {
        grid-template-columns: 104px minmax(0, 1fr);
    }

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

    .course-payment-actions .course-payment-secondary {
        order: 2;
    }

    .course-payment-success {
        padding-top: 44px;
        padding-bottom: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .course-payment-modal *,
    .course-payment-modal *::before,
    .course-payment-modal *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.home-course-card--red .home-course-card__button {
    background-color: #e83b42;
    box-shadow: 0 10px 22px rgba(232, 59, 66, 0.2);
}

.home-course-card__button:hover {
    color: var(--header-white);
    background-color: var(--header-green-dark);
    transform: translateY(-2px);
}

.home-course-card--red .home-course-card__button:hover {
    background-color: #b5262d;
}

.home-course-card__button:focus-visible {
    outline: 3px solid rgba(13, 176, 43, 0.3);
    outline-offset: 3px;
}

/* Class advantages */
.home-advantages {
    padding: 94px 0;
    background-color: #f4faf5;
}

.home-advantages__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 76px;
}

.home-advantages__content .home-section-kicker {
    justify-content: flex-start;
}

.home-advantages__content .home-section-kicker::before {
    display: none;
}

.home-advantages__content > h2 {
    margin: 0;
    color: var(--header-ink);
    font-size: 40px;
    line-height: 1.22;
    letter-spacing: -1.2px;
}

.home-advantages__content > p {
    margin: 17px 0 31px;
    color: var(--header-muted);
    font-size: 14px;
    line-height: 1.75;
}

.home-advantages__list {
    display: grid;
    gap: 16px;
}

.home-advantages__item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding: 16px 18px;
    border: 1px solid #e1eae3;
    border-radius: 18px;
    background-color: var(--header-white);
}

.home-advantages__item:nth-child(2) {
    border-color: rgba(13, 176, 43, 0.3);
    box-shadow: 0 13px 30px rgba(13, 176, 43, 0.09);
}

.home-advantages__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background-color: #eaf9ed;
}

.home-advantages__icon img{max-width: 45px;max-height: 45px;}

.home-advantages__item h3 {
    margin: 0 0 5px;
    color: var(--header-ink);
    font-size: 13px;
    line-height: 1.45;
}

.home-advantages__item p {
    margin: 0;
    color: var(--header-muted);
    font-size: 11px;
    line-height: 1.55;
}

.home-advantages__visual {
    position: relative;
    min-width: 0;
    height: 570px;
}

.home-advantages__image-card {
    position: absolute;
    top: 42px;
    right: 0;
    width: min(500px, 100%);
    height: 480px;
    overflow: hidden;
    border: 9px solid var(--header-white);
    border-radius: 34px;
    background-color: var(--header-white);
    box-shadow: 0 22px 60px rgba(7, 72, 24, 0.12);
}

.home-advantages__image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.home-advantages__tag {
    position: absolute;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--header-ink);
    background-color: var(--header-white);
    box-shadow: 0 15px 32px rgba(14, 56, 24, 0.14);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.home-advantages__tag--first {
    top: 0;
    left: 0;
}

.home-advantages__tag--second {
    right: -12px;
    bottom: 18px;
}

.home-advantages__tag em {
    color: var(--header-green);
    font-style: normal;
}

/* Frequently asked questions */
.home-faq {
    padding: 86px 0;
    background-color: var(--header-white);
}

.home-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.home-faq__item {
    overflow: hidden;
    border: 1px solid #dfe8e1;
    border-radius: 17px;
    background-color: var(--header-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-faq__item[open] {
    border-color: rgba(13, 176, 43, 0.35);
    box-shadow: 0 13px 30px rgba(13, 176, 43, 0.08);
}

.home-faq__item summary {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    color: var(--header-ink);
    cursor: pointer;
    list-style: none;
}

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

.home-faq__item summary strong {
    font-size: 13px;
    line-height: 1.5;
}

.home-faq__item summary > span {
    width: 30px;
    height: 30px;
    display: grid;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--header-green-dark);
    background-color: #eaf9ed;
    font-size: 19px;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-faq__item[open] summary > span {
    color: var(--header-white);
    background-color: var(--header-green);
    transform: rotate(45deg);
}

.home-faq__item > p {
    margin: -5px 0 0;
    padding: 0 74px 22px 22px;
    color: var(--header-muted);
    font-size: 12px;
    line-height: 1.7;
}

.home-faq__item summary:focus-visible {
    outline: 3px solid rgba(13, 176, 43, 0.3);
    outline-offset: -3px;
}

/* Student testimonials */
.home-testimonials {
    overflow: hidden;
    padding: 94px 0;
    background: linear-gradient(180deg, #f3fbf5 0%, #ffffff 100%);
}

.home-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.home-testimonial {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce7de;
    border-radius: 24px;
    background-color: var(--header-white);
    box-shadow: 0 15px 45px rgba(14, 56, 24, 0.07);
}

.home-testimonial__image {
    flex: 0 0 auto;
    overflow: hidden;
    background-color: #eaf4ec;
}

.home-testimonial__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.home-testimonial:hover .home-testimonial__image img {
    transform: scale(1.025);
}

.home-testimonial__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 23px 24px;
}

.home-testimonial__stars {
    color: #f3b317;
    font-size: 17px;
    line-height: 1;
    letter-spacing: 2.5px;
}

.home-testimonial__body blockquote {
    min-height: 88px;
    margin: 16px 0 20px;
    color: #3f4f43;
    font-size: 13px;
    line-height: 1.65;
}

.home-testimonial__student {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #edf1ee;
}

.home-testimonial__student-avatar {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border: 3px solid #eaf9ed;
    border-radius: 50%;
    background-color: #eaf9ed;
}

.home-testimonial__student-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-testimonial__student strong,
.home-testimonial__student small {
    display: block;
}

.home-testimonial__student strong {
    color: var(--header-ink);
    font-size: 12px;
}

.home-testimonial__student small {
    margin-top: 4px;
    color: var(--header-muted);
    font-size: 10px;
}

.home-testimonials__controls {
    display: none;
}

/* Zalo consultation */
.home-register {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background:
        radial-gradient(circle at 4% 10%, rgba(255, 255, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #087a21 0%, #0db02b 100%);
}

.home-register::after {
    position: absolute;
    right: -130px;
    bottom: -240px;
    width: 520px;
    height: 520px;
    border: 70px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.home-register__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 70px;
}

.home-register__content {
    color: var(--header-white);
}

.home-register__content .home-section-kicker {
    justify-content: flex-start;
    color: #dfffe5;
}

.home-register__content .home-section-kicker::before {
    display: none;
}

.home-register__content > h2 {
    margin: 0;
    font-size: 43px;
    line-height: 1.2;
    letter-spacing: -1.3px;
}

.home-register__content > p {
    margin: 19px 0 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.75;
}

.home-register__benefits {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-register__benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 700;
}

.home-register__benefits i {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    color: var(--header-green-dark);
    background-color: var(--header-white);
    font-style: normal;
    font-weight: 900;
}

.home-register__card {
    min-width: 0;
    padding: 32px;
    border-radius: 28px;
    background-color: var(--header-white);
    box-shadow: 0 28px 70px rgba(3, 65, 17, 0.25);
}

.home-register__card > h3 {
    margin: 0;
    color: var(--header-ink);
    font-size: 24px;
    line-height: 1.35;
}

.home-register__card > p {
    margin: 8px 0 24px;
    color: var(--header-muted);
    font-size: 12px;
    line-height: 1.6;
}

.home-register__zalo {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 20px;
    border: 1px solid #dce9df;
    border-radius: 22px;
    background: linear-gradient(135deg, #f4fbf5 0%, #ffffff 100%);
}

.home-register__qr-wrap {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dbe8dd;
    border-radius: 18px;
    background-color: var(--header-white);
    box-shadow: 0 12px 28px rgba(8, 122, 33, 0.08);
}

.home-register__qr-wrap img {
    width: 164px;
    height: 164px;
    display: block;
    object-fit: contain;
}

.home-register__qr-wrap > span {
    color: var(--header-muted);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}

.home-register__zalo-action {
    min-width: 0;
    display: grid;
    align-content: center;
    justify-items: start;
}

.home-register__zalo-badge {
    min-width: 60px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 999px;
    color: var(--header-white);
    background-color: #1687ff;
    font-size: 13px;
    font-weight: 900;
}

.home-register__zalo-action > strong {
    color: var(--header-ink);
    font-size: 18px;
    line-height: 1.35;
}

.home-register__zalo-action > p {
    margin: 9px 0 17px;
    color: var(--header-muted);
    font-size: 11px;
    line-height: 1.65;
}

.home-register__zalo-button {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 13px;
    color: var(--header-white);
    background-color: #1687ff;
    box-shadow: 0 13px 26px rgba(22, 135, 255, 0.22);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-register__zalo-button:hover {
    color: var(--header-white);
    background-color: #0878eb;
    transform: translateY(-2px);
}

.home-register__zalo-button:focus-visible {
    outline: 3px solid rgba(22, 135, 255, 0.32);
    outline-offset: 3px;
}

.home-register__zalo-action > small {
    margin-top: 11px;
    color: #758179;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .home-advantages__grid {
        gap: 42px;
    }

    .home-register__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .home-register__content {
        max-width: 760px;
    }

    .home-register__card {
        width: 100%;
        max-width: 760px;
    }
}

@media (max-width: 991px) {
    .home-courses__grid,
    .home-testimonials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-course-card.is-popular {
        transform: none;
    }

    .home-course-card:last-child,
    .home-testimonial:last-child {
        width: calc(50% - 12px);
        grid-column: 1 / -1;
        justify-self: center;
    }

    .home-advantages__grid {
        grid-template-columns: 1fr;
    }

    .home-advantages__content {
        max-width: 760px;
    }

    .home-advantages__visual {
        width: min(100%, 570px);
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .home-courses,
    .home-advantages,
    .home-testimonials {
        padding: 68px 0;
    }

    .home-faq {
        padding: 64px 0;
    }

    .home-faq__grid {
        grid-template-columns: 1fr;
    }

    .home-register {
        padding: 68px 0;
    }

    .home-register__content > h2 {
        font-size: 36px;
    }

    .home-register__zalo {
        grid-template-columns: 1fr;
    }

    .home-register__qr-wrap {
        width: min(100%, 220px);
        justify-self: center;
    }

    .home-register__zalo-action {
        justify-items: center;
        text-align: center;
    }

    .home-register__zalo-button {
        max-width: 340px;
    }
}

@media (max-width: 700px) {
    .home-courses__grid {
        grid-template-columns: 1fr;
    }

    .home-course-card:last-child {
        width: 100%;
        grid-column: auto;
    }

    .home-testimonials__grid {
        display: flex;
        gap: 15px;
        margin-right: -15px;
        margin-left: -15px;
        padding: 2px 15px 15px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 15px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .home-testimonials__grid::-webkit-scrollbar {
        display: none;
    }

    .home-testimonial,
    .home-testimonial:last-child {
        flex: 0 0 min(86vw, 370px);
        width: auto;
        grid-column: auto;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .home-testimonials__controls {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        gap: 11px;
        margin-top: 17px;
        transform: translateX(-50px);
    }

    .home-testimonials__controls > button {
        display: grid;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 50%;
        place-items: center;
        color: #fff;
        background: var(--header-green);
        box-shadow: 0 8px 20px rgba(8, 122, 33, 0.18);
        cursor: pointer;
        font-size: 18px;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .home-testimonials__controls > button:hover {
        background: var(--header-green-dark);
        transform: translateY(-2px);
    }

    .home-testimonials__dots {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .home-testimonials__dot {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #b8c9bc;
        cursor: pointer;
        transition: width 0.2s ease, background 0.2s ease;
    }

    .home-testimonials__dot.is-active {
        width: 20px;
        background: var(--header-green);
    }

    .home-testimonials__count {
        min-width: 38px;
        color: var(--header-muted);
        font-size: 11px;
        font-weight: 700;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .home-courses,
    .home-advantages,
    .home-testimonials {
        padding: 56px 0;
    }

    .home-course-card {
        min-height: 0;
        border-radius: 22px;
    }

    .home-course-card__body {
        padding: 24px 20px 22px;
    }

    .home-course-card__body > p {
        min-height: 0;
    }

    .home-course-card__price strong {
        font-size: 22px;
    }

    .home-course-card__button {
        padding: 0 17px;
    }

    .home-advantages__content > h2 {
        font-size: 32px;
    }

    .home-advantages__item {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .home-advantages__visual {
        height: auto;
        min-height: 0;
    }

    .home-advantages__image-card {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% - 18px);
        height: auto;
        margin: 28px 0 36px auto;
        aspect-ratio: 500 / 480;
        border-width: 7px;
        border-radius: 25px;
    }

    .home-advantages__tag {
        padding: 11px 12px;
        border-radius: 13px;
        font-size: 10px;
    }

    .home-advantages__tag--second {
        right: 0;
        bottom: 0;
    }

    .home-faq__item summary {
        min-height: 72px;
        padding: 17px 18px;
    }

    .home-faq__item > p {
        padding-right: 58px;
        padding-left: 18px;
    }

    .home-register {
        padding: 56px 0;
    }

    .home-register__content > h2 {
        font-size: 32px;
    }

    .home-register__card {
        padding: 23px 18px;
        border-radius: 22px;
    }

    .home-register__card > h3 {
        font-size: 21px;
    }

    .home-register__zalo {
        padding: 16px;
        border-radius: 18px;
    }
}

@media (max-width: 420px) {
    .home-course-card__price-row {
        align-items: stretch;
        flex-direction: column;
    }

    .home-course-card__button {
        width: 100%;
    }

    .home-advantages__tag--second {
        white-space: normal;
    }
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 74px;
    color: rgba(255, 255, 255, 0.76);
    background:
        radial-gradient(circle at 8% 8%, rgba(22, 193, 65, 0.14), transparent 29%),
        linear-gradient(145deg, #063d16 0%, #032b10 100%);
}

.site-footer::before {
    position: absolute;
    top: -180px;
    right: -120px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) 0.72fr 0.82fr minmax(240px, 1.12fr);
    gap: 54px;
    padding-bottom: 58px;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}

.site-footer__logo {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: linear-gradient(145deg, #109332, #075d20);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.site-footer__logo img {
    display: block;
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-footer__brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-footer__brand-copy strong {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.45px;
}

.site-footer__brand-copy span {
    margin-top: 4px;
    color: #79df8e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.site-footer__description {
    max-width: 350px;
    margin: 22px 0 19px;
    font-size: 14px;
    line-height: 1.75;
}

.site-footer__contact-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.site-footer__contact-list a,
.site-footer__contact-list p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    transition: color 0.2s ease;
}

.site-footer__contact-list a:hover {
    color: #fff;
}

.site-footer__contact-list span {
    flex: 0 0 16px;
    color: #5ce276;
    font-size: 16px;
    text-align: center;
}

.site-footer__column h2 {
    position: relative;
    margin: 7px 0 25px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 16px;
    font-weight: 750;
}

.site-footer__column h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 3px;
    border-radius: 10px;
    background: var(--header-green);
    content: "";
}

.site-footer__column nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.site-footer__column nav a,
.site-footer__column nav button {
    position: relative;
    border: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    line-height: inherit;
    text-align: left;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__column nav a::before,
.site-footer__column nav button::before {
    display: inline-block;
    width: 0;
    overflow: hidden;
    color: #53df70;
    content: "›";
    vertical-align: -1px;
    transition: width 0.2s ease;
}

.site-footer__column nav a:hover,
.site-footer__column nav button:hover {
    color: #fff;
    transform: translateX(3px);
}

.site-footer__column nav a:hover::before,
.site-footer__column nav button:hover::before {
    width: 12px;
}

.site-footer__zalo-card {
    display: grid;
    grid-template-columns: 106px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.site-footer__zalo-qr {
    display: grid;
    width: 106px;
    height: 106px;
    padding: 7px;
    overflow: hidden;
    border-radius: 15px;
    place-items: center;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.site-footer__zalo-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-footer__zalo-content {
    min-width: 0;
}

.site-footer__zalo-content p {
    margin: 0 0 13px;
    font-size: 11px;
    line-height: 1.6;
}

.site-footer__zalo-button {
    display: inline-flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 10px;
    color: #fff !important;
    background: var(--header-green);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.site-footer__zalo-button:hover {
    background: #12c536;
    transform: translateY(-2px);
}

.site-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 68px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

/* Fixed contact buttons */
.quick-contact {
    position: fixed;
    z-index: 1300;
    right: 10px;
    bottom: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.quick-contact a {
    text-decoration: none;
}

.quick-contact__caption {
    display: flex;
    width: auto;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border: 0;
    color: var(--header-ink);
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    font-style:italic;
    font-family: math;
    line-height: 1.2;
    text-align: center;
    transition: transform 0.2s ease;
}

.quick-contact__caption strong {
    color: var(--header-ink);
    font-size: 27px;
    line-height: 1.4;
    font-style: normal;
}

.quick-contact__caption:hover {
    color: var(--header-green-deep);
    transform: translateY(-2px);
}

.quick-contact__button {
    position: relative;
    display: grid;
    width: 54px;
    height: 54px;
    border: 3px solid #fff;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #13bd36, #078324);
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.22);
    transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-contact__button:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.27);
}

.quick-contact__button--zalo {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.quick-contact__button--phone {
    background: linear-gradient(145deg, #13bd36, #078324);
}

.quick-contact__button--phone svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.quick-contact__button--zalo::before,
.quick-contact__button--phone::before {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(13, 176, 43, 0.62);
    border-radius: inherit;
    content: "";
    opacity: 0;
    animation: quick-contact-pulse 2.1s ease-out infinite;
    pointer-events: none;
}

.quick-contact__button--phone::before {
    animation-delay: 0.75s;
}

.quick-contact__button--facebook {
    background: linear-gradient(145deg, #13bd36, #078324);
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
}

.quick-contact__button--disabled {
    cursor: not-allowed;
}

.quick-contact__button--top {
    width: 45px;
    height: 45px;
    border-width: 2px;
    color: #fff;
    background: linear-gradient(145deg, #13bd36, #078324);
    font-size: 21px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.quick-contact__button--top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@keyframes quick-contact-pulse {
    0% {
        opacity: 0.55;
        transform: scale(0.86);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes quick-contact-arrow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: minmax(270px, 1.35fr) 0.8fr 0.9fr;
        gap: 42px 35px;
    }

    .site-footer__zalo-column {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 54px;
    }

    .site-footer__grid {
        grid-template-columns: 1.25fr 1fr;
        gap: 40px 28px;
        padding-bottom: 42px;
    }

    .site-footer__brand-column,
    .site-footer__zalo-column {
        grid-column: 1 / -1;
    }

    .site-footer__description {
        max-width: 520px;
    }

    .site-footer__column h2 {
        margin-bottom: 20px;
    }

    .site-footer__bottom {
        min-height: 62px;
        padding-right: 155px;
    }

    .quick-contact {
        right: 10px;
        bottom: 76px;
        flex-direction: row;
        gap: 7px;
        padding: 6px;
        border: 1px solid rgba(8, 76, 23, 0.12);
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(8px);
    }

    .quick-contact__caption,
    .quick-contact__button--facebook {
        display: none;
    }

    .quick-contact__button,
    .quick-contact__button--top {
        width: 43px;
        height: 43px;
        border-width: 2px;
        box-shadow: none;
    }

    .quick-contact__button--top {
        color: #fff;
        background: linear-gradient(145deg, #13bd36, #078324);
    }
}

@media (max-width: 480px) {
    .home-testimonials__controls {
        justify-content: flex-start;
        gap: 7px;
        transform: none;
    }

    .home-testimonials__count {
        display: none;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__brand-column,
    .site-footer__zalo-column {
        grid-column: auto;
    }

    .site-footer__brand-copy strong {
        font-size: 18px;
    }

    .site-footer__column h2 {
        margin-top: 0;
    }

    .site-footer__bottom {
        min-height: 92px;
        align-items: flex-start;
        padding-top: 18px;
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-contact__button--zalo::before,
    .quick-contact__button--phone::before {
        animation: none;
    }
}




/*
 * Hiệu ứng nút đăng ký khóa học.
 * Có thể sao chép riêng file này lên hosting sau khi giữ nguyên class HTML tương ứng.
 */
.home-course-card__cta {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.home-course-card__button-wave {
    position: absolute;
    z-index: 0;
    inset: -3px;
    border: 2px solid rgba(13, 176, 43, 0.68);
    border-radius: 999px;
    opacity: 0;
    transform: scale(0.9);
    animation: course-cta-radiate 2.25s cubic-bezier(0.2, 0.65, 0.3, 1) infinite;
    pointer-events: none;
}

.home-course-card__button-wave--second {
    animation-delay: 1.12s;
}

.home-course-card__button {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: inline-flex;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    padding: 0 23px;
    border: 0;
    border-radius: 999px;
    color: var(--header-white, #fff);
    background: linear-gradient(135deg, #16c53a 0%, #079126 100%);
    box-shadow: 0 11px 25px rgba(7, 145, 38, 0.34);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.home-course-card__button::before {
    position: absolute;
    z-index: 0;
    top: -60%;
    bottom: -60%;
    left: -45%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    content: "";
    transform: translateX(-220%) skewX(-19deg);
    animation: course-cta-shine 2.9s ease-in-out infinite;
    pointer-events: none;
}

.home-course-card__button-label,
.home-course-card__button-icon {
    position: relative;
    z-index: 1;
}

.home-course-card__button-icon {
    display: inline-block;
    font-size: 17px;
    line-height: 1;
}

.home-course-card__button:hover {
    color: var(--header-white, #fff);
    background: linear-gradient(135deg, #10b332, #066f1d);
    box-shadow: 0 15px 30px rgba(7, 122, 31, 0.4);
    filter: saturate(1.08);
    transform: translateY(-2px);
}

.home-course-card__button:focus-visible {
    outline: 3px solid rgba(13, 176, 43, 0.3);
    outline-offset: 4px;
}

.home-course-card--red .home-course-card__button {
    background: linear-gradient(135deg, #f34e55, #c82a32);
    box-shadow: 0 11px 25px rgba(232, 59, 66, 0.28);
}

.home-course-card--red .home-course-card__button-wave {
    border-color: rgba(232, 59, 66, 0.62);
}

.home-course-card--red .home-course-card__button:hover {
    background: linear-gradient(135deg, #d9363e, #aa2027);
}

@keyframes course-cta-radiate {
    0% {
        opacity: 0.65;
        transform: scale(0.9);
    }
    72%,
    100% {
        opacity: 0;
        transform: scale(1.34);
    }
}

@keyframes course-cta-shine {
    0%,
    58% {
        transform: translateX(-220%) skewX(-19deg);
    }
    82%,
    100% {
        transform: translateX(620%) skewX(-19deg);
    }
}

@media (max-width: 575px) {
    .home-course-card__button {
        padding-right: 17px;
        padding-left: 17px;
    }
}

@media (max-width: 420px) {
    .home-course-card__cta,
    .home-course-card__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-course-card__button-wave,
    .home-course-card__button::before {
        animation: none !important;
    }
}
