:root {
    color-scheme: light;
    --green: #004849;
    --red: #d92730;
    --aqua: #22bfb1;
    --pale: #e5f0f2;
    --ink: #152033;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

h1,
h2,
h3,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 400;
    line-height: 1.15;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select {
    font: inherit;
}

a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
.horizontal-track:focus-visible {
    outline: 3px solid #c65300;
    outline-offset: 5px;
}

.container {
    width: calc(100% - 64px);
    max-width: 1296px;
    margin-inline: auto;
}

.section {
    padding-block: 88px;
}

.section-title {
    margin-bottom: 56px;
    color: var(--green);
    font-size: 48px;
    text-align: center;
}

.highlight {
    background: linear-gradient(transparent 48%, #dce9ec 48%, #dce9ec 90%, transparent 90%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    border: 0;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
}

.button:hover {
    background: #b91e27;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 3;
    padding: 12px;
    background: #fff;
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 86px;
    padding: 10px 3%;
    background: #fff;
    box-shadow: 0 2px 4px #15363912;
}

.logo {
    display: inline-block;
    flex-shrink: 0;
}

.logo img {
    width: 140px;
    height: 54px;
    object-fit: contain;
}

.navigation,
.account {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation {
    color: var(--green);
    letter-spacing: .5px;
}

.navigation>a,
.navigation>span,
summary,
.account>a {
    display: flex;
    min-height: 44px;
    align-items: center;
}

.navigation [aria-current] {
    color: var(--red);
}

.nav-group {
    position: relative;
}

summary {
    gap: 8px;
    list-style: none;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid;
    border-bottom: 1px solid;
    transform: rotate(45deg);
    margin-top: -4px;
}

.nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    padding: 20px;
    border: 1px solid #d6e3e5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px #00484914;
}

.nav-panel span,
.nav-panel strong {
    display: block;
    padding-block: 6px;
}

.nav-panel strong {
    color: var(--red);
    font-weight: 400;
}

.account {
    gap: 18px;
    white-space: nowrap;
}

.hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    padding-top: 44px;
    padding-bottom: 20px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
    padding-top: 75px;
}

h1 {
    color: var(--green);
    font-size: 48px;
}

.check-list {
    margin-block: 24px;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    margin-block: 10px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 3px;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--aqua);
    color: #003f40;
    font-size: 12px;
    font-weight: bold;
}

.partners {
    border-top: 1px solid #bad3d9;
    padding-top: 32px;
}

.partners h2 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 22px;
}

.partners img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.teachers {
    min-width: 0;
}

.horizontal-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: #278d88 #e5f0f2;
    scrollbar-width: thin;
}

.teacher-track {
    gap: 24px;
}

.teacher {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-margin-top: 110px;
    padding-bottom: 14px;
}

.teacher-photo {
    position: relative;
    height: 620px;
    background: var(--green);
    border-radius: 50% 50% 46% 0;
}

.teacher-photo>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    border-radius: inherit;
}

.score {
    position: absolute;
    bottom: 55px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border-radius: 30%;
    background: var(--red);
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.score strong {
    font-size: 48px;
    font-weight: 400;
}

.teacher figcaption {
    text-align: center;
    padding: 26px 8px 0;
}

.teacher h2 {
    color: var(--green);
    font-size: 32px;
    margin-bottom: 8px;
}

.slide-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 12px;
}

.slide-links a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--green);
    border-bottom: 3px solid #a9dfda;
}

.slide-links a:hover,
.slide-links a:focus-visible {
    border-color: var(--green);
    background: var(--pale);
    text-decoration: none;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stats article {
    padding: 30px 40px 40px;
    background: var(--pale);
    border-radius: 24px;
}

.stat-number {
    color: var(--red);
    font-size: 96px;
    line-height: 1.2;
    white-space: nowrap;
    margin-bottom: 14px;
}

.stat-number span {
    font-size: 48px;
}

.stats h3 {
    color: #495862;
    font-size: 24px;
    line-height: 1.3;
}

.differences {
    margin-top: 20px;
    background: var(--green);
    color: #fff;
}

.differences .section-title {
    color: #fff;
    margin-bottom: 24px;
}

.differences .highlight,
.consultation .highlight {
    background: linear-gradient(transparent 48%, #115f60 48%, #115f60 90%, transparent 90%);
}

.section-intro {
    max-width: 850px;
    margin: 0 auto 68px;
    text-align: center;
}

.difference-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    margin-bottom: 80px;
}

.difference-row:last-child {
    margin-bottom: 0;
}

.difference-row>img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
}

.difference-row h3 {
    font-size: 32px;
    line-height: 1.2;
}

.difference-row.reverse>img {
    grid-column: 2;
    grid-row: 1;
}

.difference-row.reverse>div {
    grid-column: 1;
    grid-row: 1;
}

.difference-row .check-list {
    margin-bottom: 0;
}

.review-track {
    gap: 40px;
}

.review {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
    flex: 0 0 100%;
    min-width: 0;
    padding: 64px;
    background: var(--pale);
    border-radius: 24px;
    scroll-snap-align: start;
    scroll-margin-top: 110px;
}

.review-copy::before {
    content: "“";
    display: block;
    height: 50px;
    color: #a5c9d0;
    font-size: 130px;
    line-height: 1;
    margin-bottom: 16px;
}

.review h3 {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--red);
}

blockquote p+p {
    margin-top: 12px;
}

.review figure {
    position: relative;
    padding-bottom: 50px;
}

.review figure>img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
}

.review .score {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.consultation {
    padding: 60px 64px 80px;
    margin-bottom: 84px;
    border-radius: 24px 24px 24px 0;
    background: var(--green);
    color: #fff;
}

.consultation h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.consultation-intro {
    max-width: 720px;
    letter-spacing: .4px;
}

.sample-notice {
    margin-top: 22px;
    font-size: 14px;
    color: #d1e9e7;
}

.consultation form {
    margin-top: 36px;
}

.sentence {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-block: 4px;
    font-size: 22px;
}

.field {
    width: 300px;
    max-width: 100%;
}

.field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.field input,
.field select {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid #81b1af;
    border-radius: 0;
    background: transparent;
    color: #fff;
    text-align: center;
}

.field input::placeholder {
    color: #a4e4dc;
    opacity: 1;
}

.field select {
    color: #a4e4dc;
}

.field option {
    background: var(--green);
    color: #fff;
}

.course-field {
    width: 580px;
}

.phone-field {
    width: 200px;
}

.consultation .button {
    margin-top: 28px;
}

.button:disabled {
    cursor: not-allowed;
    background: #a7252d;
    color: #fff;
}

.site-footer {
    border-top: 5px solid var(--pale);
    padding: 64px 3% 24px;
    color: var(--green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 48px;
}

.footer-contact .logo {
    margin-bottom: 26px;
}

.footer-contact p {
    margin-bottom: 18px;
}

address {
    font-style: normal;
}

.site-footer h2 {
    color: #ba222b;
    font-size: 13px;
    margin-bottom: 18px;
}

.site-footer li {
    margin-bottom: 12px;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid #d9e6e8;
    font-size: 14px;
}

.copyright ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.copyright li {
    margin: 0;
}

.floating-consultation {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 1;
    padding: 18px 10px;
    border-radius: 24px 0 0 0;
    background: var(--red);
    color: #fff;
    writing-mode: vertical-rl;
}

.zalo {
    position: fixed;
    right: 24px;
    bottom: 24px;
    padding: 12px 20px;
    border-radius: 28px;
    background: var(--red);
    color: #fff;
}

@media (min-width: 1600px) {
    .navigation {
        gap: 32px;
    }

    .hero {
        padding-top: 44px;
    }
}

@media (max-width: 1400px) {
    .site-header {
        gap: 20px;
        padding-inline: 24px;
    }

    .navigation {
        gap: 16px;
        font-size: 14px;
        letter-spacing: 0;
    }

    .account {
        gap: 12px;
        font-size: 14px;
    }

    .hero {
        gap: 48px;
    }

    .teacher-photo {
        height: 540px;
    }

    .stat-number {
        font-size: 80px;
    }

    .stat-number span {
        font-size: 38px;
    }

    .footer-grid {
        gap: 26px;
    }
}

@media (max-width: 1100px) {
    .site-header {
        position: relative;
        flex-wrap: wrap;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        gap: 32px;
    }

    .hero-copy {
        padding-top: 32px;
    }

    h1,
    .section-title,
    .consultation h2 {
        font-size: 40px;
    }

    .teacher-photo {
        height: 460px;
    }

    .stats article {
        padding: 28px;
    }

    .stat-number {
        font-size: 64px;
    }

    .stat-number span {
        font-size: 30px;
    }

    .stats h3 {
        font-size: 20px;
    }

    .review {
        padding: 40px;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-contact {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 24px;
    }

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

    .section {
        padding-block: 56px;
    }

    .site-header {
        padding: 12px 20px;
        gap: 12px;
    }

    .logo img {
        width: 108px;
        height: 44px;
    }

    .account {
        gap: 10px;
    }

    .account .button {
        padding-inline: 12px;
        min-height: 44px;
    }

    .navigation {
        justify-content: flex-start;
        gap: 4px 18px;
    }

    .nav-panel {
        position: static;
        width: 100%;
        min-width: 230px;
        box-shadow: none;
        margin-block: 8px;
    }

    .nav-group[open] {
        width: 100%;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 40px;
    }

    .hero-copy {
        padding-top: 0;
        gap: 36px;
    }

    h1,
    .section-title,
    .consultation h2 {
        font-size: 34px;
    }

    .section-title {
        padding-inline: 20px;
        margin-bottom: 32px;
    }

    .check-list li {
        padding-left: 28px;
    }

    .partners {
        padding-top: 24px;
    }

    .partners h2 {
        font-size: 21px;
    }

    .teacher-photo {
        height: 440px;
        max-width: 500px;
        margin-inline: auto;
    }

    .teacher h2 {
        font-size: 27px;
    }

    .score {
        width: 104px;
        height: 104px;
        bottom: 28px;
    }

    .score strong {
        font-size: 38px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stats article {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .stat-number {
        font-size: 52px;
    }

    .stat-number span {
        font-size: 25px;
    }

    .stats h3 {
        font-size: 18px;
    }

    .differences {
        margin-top: 0;
    }

    .differences .section-title {
        padding: 0;
    }

    .section-intro {
        margin-bottom: 36px;
    }

    .difference-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }

    .difference-row.reverse>img,
    .difference-row.reverse>div {
        grid-column: auto;
        grid-row: auto;
    }

    .difference-row h3 {
        font-size: 27px;
    }

    .difference-row>img {
        border-radius: 18px;
    }

    .review {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 32px;
    }

    .review h3 {
        font-size: 28px;
    }

    .review figure {
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
    }

    .review-copy::before {
        font-size: 100px;
        height: 36px;
    }

    .consultation {
        padding: 36px 24px 44px;
        margin-bottom: 56px;
    }

    .sentence {
        align-items: flex-start;
        font-size: 20px;
        gap: 10px;
    }

    .sentence>span {
        width: 100%;
    }

    .sentence>span:last-child {
        width: auto;
    }

    .field {
        width: 100%;
    }

    .field input,
    .field select {
        text-align: left;
    }

    .site-footer {
        padding: 40px 20px 90px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .site-footer li {
        overflow-wrap: anywhere;
    }

    .copyright {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 36px;
    }

    .floating-consultation {
        top: auto;
        bottom: 16px;
        right: 16px;
        writing-mode: horizontal-tb;
        border-radius: 6px;
        padding: 12px 16px;
    }

    .zalo {
        display: none;
    }
}

@media (max-width: 380px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .teacher-photo {
        height: 350px;
    }

    h1,
    .section-title,
    .consultation h2 {
        font-size: 30px;
    }

    .account {
        font-size: 13px;
    }
}

.welcome-carousel {
    position: relative;
    min-width: 0;
    --control-top: 310px;
}

.welcome-carousel .carousel-inner {
    display: block;
    overflow: hidden;
    scroll-snap-type: none;
}

.welcome-carousel .carousel-inner::after {
    display: block;
    clear: both;
    content: "";
}

.welcome-carousel .carousel-item {
    display: none;
    position: relative;
    float: left;
    width: 100%;
    margin-right: -100%;
    transition: transform 1.2s ease-in-out;
    backface-visibility: hidden;
}

.welcome-carousel .carousel-item.active,
.welcome-carousel .carousel-item-next,
.welcome-carousel .carousel-item-prev {
    display: block;
}

.welcome-carousel .review.active,
.welcome-carousel .review.carousel-item-next,
.welcome-carousel .review.carousel-item-prev {
    display: grid;
}

.welcome-carousel .carousel-item-next:not(.carousel-item-start),
.welcome-carousel .active.carousel-item-end {
    transform: translateX(100%);
}

.welcome-carousel .carousel-item-prev:not(.carousel-item-end),
.welcome-carousel .active.carousel-item-start {
    transform: translateX(-100%);
}

.slider-control {
    position: absolute;
    top: var(--control-top);
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #087d77;
    color: #fff;
    cursor: pointer;
}

.slider-control:hover {
    background: #005c58;
}

.slider-control:focus-visible,
.slide-links button:focus-visible,
.welcome-carousel:focus-visible {
    outline: 3px solid #c65300;
    outline-offset: 4px;
}

.slider-prev {
    left: -16px;
}

.slider-next {
    right: -16px;
}

.slider-control span {
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-right: 2px solid;
}

.slider-prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.slider-next span {
    transform: rotate(45deg);
    margin-right: 4px;
}

.slide-links button {
    width: 44px;
    height: 44px;
    border: 0;
    border-bottom: 3px solid #a9dfda;
    background: transparent;
    color: var(--green);
    cursor: pointer;
}

.slide-links button[aria-current="true"] {
    border-color: var(--green);
    background: var(--pale);
}

#review-carousel {
    width: calc(100% - 64px);
    max-width: 1296px;
    margin-inline: auto;
    --control-top: 50%;
}

#review-carousel .review-track {
    width: 100%;
}

@media (max-width: 1400px) {
    .welcome-carousel {
        --control-top: 270px;
    }
}

@media (max-width: 1100px) {
    .welcome-carousel {
        --control-top: 230px;
    }
}

@media (max-width: 767px) {
    .welcome-carousel {
        --control-top: 220px;
    }

    #review-carousel {
        width: calc(100% - 40px);
    }

    .slider-prev {
        left: -12px;
    }

    .slider-next {
        right: -12px;
    }
}

@media (max-width: 380px) {
    .welcome-carousel {
        --control-top: 175px;
    }
}

#teacher-carousel {
    --teacher-duration: 1.2s;
}

#teacher-carousel .teacher-track {
    position: relative;
    background: var(--green);
    border-radius: 50% 50% 46% 0;
    isolation: isolate;
}

#teacher-carousel .teacher {
    padding-bottom: 0;
    transition-duration: var(--teacher-duration);
}

#teacher-carousel .teacher-photo {
    background: transparent;
    border-radius: 0;
}

#teacher-carousel .teacher-photo>img {
    border-radius: 0;
}

.teacher-information {
    display: grid;
    position: relative;
    text-align: center;
}

.teacher-information-panel {
    grid-area: 1 / 1;
    min-width: 0;
    padding: 26px 8px 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--teacher-duration) ease-in-out;
}

.teacher-information-panel.is-current {
    opacity: 1;
    pointer-events: auto;
}

.teacher-information-panel h2 {
    color: var(--green);
    font-size: 32px;
    margin-bottom: 8px;
}

.teacher-information-panel .score {
    top: -187px;
    bottom: auto;
}

@media (max-width: 767px) {
    .teacher-information-panel h2 {
        font-size: 27px;
    }

    .teacher-information-panel .score {
        top: -132px;
    }
}