:root {
    --sm-primary: #0b7f78;
    --sm-primary-dark: #075f5b;
    --sm-primary-soft: #e8f7f4;
    --sm-blue: #4f9fe8;
    --sm-yellow: #f5bf44;
    --sm-pink: #ef7e9e;
    --sm-green: #59aa74;
    --sm-ink: #17333c;
    --sm-muted: #65767c;
    --sm-line: #dfe9e8;
    --sm-cream: #fffaf1;
    --sm-white: #ffffff;
    --sm-shadow: 0 18px 50px rgba(15, 55, 62, 0.10);
    --sm-shadow-soft: 0 10px 30px rgba(15, 55, 62, 0.08);
    --sm-radius-xl: 32px;
    --sm-radius-lg: 24px;
    --sm-radius-md: 18px;
    --sm-container: 1240px;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--sm-ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body img {
    max-width: 100%;
    height: auto;
}

body a,
body a:link,
body a:visited {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

body a:hover {
    text-decoration: none;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    margin: 0;
    padding: 0;
    color: var(--sm-ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: 750;
    line-height: 1.2;
}

body p {
    margin: 0;
}

.sm-container {
    width: min(calc(100% - 40px), var(--sm-container));
    margin-inline: auto;
}

.sm-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sm-skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 99999;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--sm-ink);
    color: #fff !important;
    transition: top .2s ease;
}

.sm-skip-link:focus {
    top: 12px;
}

/* Header */
.sm-site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
}

.sm-topbar {
    background: var(--sm-primary-dark);
    color: rgba(255,255,255,.94);
    font-size: 13px;
}

.sm-topbar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sm-topbar__note {
    letter-spacing: .02em;
}

.sm-topbar__contact {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sm-topbar__contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    opacity: .94;
}

.sm-topbar__contact a:hover {
    opacity: 1;
}

.sm-topbar__contact svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.sm-nav-shell {
    border-bottom: 1px solid rgba(10, 71, 69, .08);
    background: rgba(255, 255, 255, .98);
}

.sm-nav-shell__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sm-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.sm-brand__image {
    display: block;
    width: 250px;
    max-width: 24vw;
}

.sm-brand__image img {
    display: block;
    width: 100%;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.sm-primary-nav {
    min-width: 0;
    margin-left: auto;
}

.sm-primary-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-primary-menu > li {
    position: relative;
    list-style: none;
}

.sm-primary-menu > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 7px;
    border-radius: 12px;
    color: #29464f !important;
    font-size: 13px;
    font-weight: 650 !important;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}

.sm-primary-menu > li > a:hover,
.sm-primary-menu > li:focus-within > a {
    background: var(--sm-primary-soft);
    color: var(--sm-primary-dark) !important;
}

.sm-has-submenu > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.sm-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 245px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid var(--sm-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.sm-submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.sm-primary-menu > li:hover > .sm-submenu,
.sm-primary-menu > li:focus-within > .sm-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sm-submenu li {
    list-style: none;
}

.sm-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #38535b !important;
    font-size: 14px;
    line-height: 1.4;
}

.sm-submenu a:hover {
    background: #f1f8f7;
    color: var(--sm-primary-dark) !important;
}

.sm-nav-cta {
    display: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 13px;
    background: var(--sm-primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700 !important;
    box-shadow: 0 8px 22px rgba(11, 127, 120, .22);
    transition: transform .2s ease, background .2s ease;
}

.sm-nav-cta:hover {
    background: var(--sm-primary-dark);
    transform: translateY(-1px);
}

.sm-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 12px;
    background: var(--sm-primary-soft);
    cursor: pointer;
}

.sm-menu-toggle > span:not(.sm-visually-hidden) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 4px;
    background: var(--sm-primary-dark);
    transition: transform .2s ease, opacity .2s ease;
}

/* Hero */
.sm-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 76px;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 191, 68, .16), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(79, 159, 232, .15), transparent 26%),
        linear-gradient(135deg, #f6fffd 0%, #fffaf2 100%);
}

.sm-hero__shape {
    position: absolute;
    border-radius: 999px;
    filter: blur(1px);
    pointer-events: none;
}

.sm-hero__shape--one {
    width: 180px;
    height: 180px;
    left: -90px;
    bottom: 20px;
    background: rgba(89, 170, 116, .13);
}

.sm-hero__shape--two {
    width: 130px;
    height: 130px;
    right: 4%;
    top: 30px;
    border: 26px solid rgba(239, 126, 158, .11);
}

.sm-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    align-items: center;
    gap: 68px;
}

.sm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--sm-primary-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sm-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 9px;
    background: var(--sm-yellow);
}

.sm-hero__content h1 {
    max-width: 660px;
    margin-bottom: 22px;
    font-size: clamp(42px, 4.8vw, 68px);
    letter-spacing: -.035em;
}

.sm-hero__content > p {
    max-width: 620px;
    color: var(--sm-muted);
    font-size: 18px;
    line-height: 1.75;
}

.sm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.sm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 750 !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sm-button:hover {
    transform: translateY(-2px);
}

.sm-button--primary {
    background: var(--sm-primary);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(11, 127, 120, .22);
}

.sm-button--primary:hover {
    background: var(--sm-primary-dark);
}

.sm-button--ghost {
    border-color: rgba(11, 127, 120, .22);
    background: rgba(255,255,255,.7);
    color: var(--sm-primary-dark) !important;
}

.sm-button--ghost:hover {
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
}

.sm-hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 127, 120, .13);
}

.sm-hero__trust div {
    display: grid;
    gap: 2px;
}

.sm-hero__trust strong {
    color: var(--sm-primary-dark);
    font-size: 18px;
}

.sm-hero__trust span {
    color: var(--sm-muted);
    font-size: 13px;
    line-height: 1.45;
}

.sm-hero__visual {
    position: relative;
    min-height: 540px;
}

.sm-hero-card {
    position: absolute;
    overflow: hidden;
    margin: 0;
    border: 7px solid #fff;
    border-radius: 28px;
    background: #e7efee;
    box-shadow: var(--sm-shadow);
}

.sm-hero-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sm-hero-card--main {
    width: 63%;
    height: 430px;
    right: 0;
    top: 50px;
    transform: rotate(2deg);
}

.sm-hero-card--wide {
    width: 54%;
    height: 205px;
    left: 0;
    top: 0;
    transform: rotate(-3deg);
}

.sm-hero-card--small {
    width: 47%;
    height: 245px;
    left: 4%;
    bottom: 3px;
    transform: rotate(-1deg);
}

.sm-hero__badge {
    position: absolute;
    right: 42%;
    top: 215px;
    z-index: 5;
    display: grid;
    min-width: 150px;
    padding: 15px 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
    transform: rotate(-4deg);
}

.sm-hero__badge > span {
    position: absolute;
    right: 13px;
    top: 10px;
    color: var(--sm-yellow);
    font-size: 20px;
}

.sm-hero__badge strong {
    color: var(--sm-primary-dark);
    font-size: 16px;
}

.sm-hero__badge small {
    color: var(--sm-muted);
    font-size: 12px;
}

/* Main and sections */
.sm-main {
    min-height: 400px;
    background: #fff;
}

.sm-section {
    padding: 88px 0;
}

.sm-section--tinted {
    background: var(--sm-cream);
}

.sm-section--soft-green {
    background: #effaf6;
}

.sm-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.sm-section-heading h2,
.sm-about-content h2,
.sm-admission-cta h2 {
    font-size: clamp(30px, 3vw, 44px);
    letter-spacing: -.025em;
}

.sm-section-heading--compact {
    margin-bottom: 22px;
}

.sm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sm-primary-dark) !important;
    font-weight: 750 !important;
    white-space: nowrap;
}

.sm-text-link span {
    transition: transform .2s ease;
}

.sm-text-link:hover span {
    transform: translateX(4px);
}

/* Highlights */
.sm-highlights {
    position: relative;
    z-index: 4;
    margin-top: -28px;
}

.sm-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.sm-highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 150px;
    padding: 22px;
    border: 1px solid rgba(18, 78, 79, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
}

.sm-highlight-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
}

.sm-highlight-card__icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.sm-highlight-card__icon--blue { background: #eaf4fd; color: var(--sm-blue); }
.sm-highlight-card__icon--green { background: #e9f7ed; color: var(--sm-green); }
.sm-highlight-card__icon--yellow { background: #fff6da; color: #cc9418; }
.sm-highlight-card__icon--pink { background: #fdebf0; color: var(--sm-pink); }

.sm-highlight-card h2 {
    margin: 2px 0 8px;
    font-size: 17px;
}

.sm-highlight-card p {
    color: var(--sm-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* About */
.sm-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}

.sm-about-media {
    position: relative;
    padding: 16px 0 0 16px;
}

.sm-about-media::before {
    content: "";
    position: absolute;
    inset: 0 34px 34px 0;
    border-radius: 32px;
    background: var(--sm-primary-soft);
}

.sm-about-media > img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--sm-shadow);
}

.sm-about-media__note {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 24px;
    display: grid;
    padding: 16px 20px;
    border-radius: 18px;
    background: var(--sm-yellow);
    color: #49340d;
    box-shadow: var(--sm-shadow-soft);
}

.sm-about-media__note strong {
    font-size: 17px;
}

.sm-about-media__note span {
    font-size: 12px;
}

.sm-about-content h2 {
    margin-bottom: 20px;
}

.sm-about-copy,
.sm-about-copy p,
.sm-about-copy span,
.sm-about-copy font {
    color: var(--sm-muted) !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
}

.sm-about-copy img {
    display: none;
}

.sm-about-points {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.sm-about-points div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #38535b;
    font-weight: 650;
}

.sm-about-points span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--sm-primary-soft);
    color: var(--sm-primary-dark);
    font-size: 13px;
}

/* Cards */
.sm-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.sm-news-card {
    overflow: hidden;
    border: 1px solid rgba(18, 78, 79, .08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15,55,62,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.sm-news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sm-shadow);
}

.sm-news-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #eaf1f0;
}

.sm-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.sm-news-card:hover .sm-news-card__media img {
    transform: scale(1.05);
}

.sm-news-card__body {
    padding: 20px;
}

.sm-news-card time,
.sm-feature-news time,
.sm-parent-item time {
    display: block;
    margin-bottom: 8px;
    color: #7e8f94;
    font-size: 12px;
    font-weight: 650;
}

.sm-news-card h3 {
    min-height: 50px;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.45;
}

.sm-news-card h3 a:hover,
.sm-feature-news h3 a:hover,
.sm-parent-item h3 a:hover {
    color: var(--sm-primary-dark) !important;
}

.sm-news-card__more {
    color: var(--sm-primary-dark) !important;
    font-size: 13px;
    font-weight: 750 !important;
}

.sm-news-card--playful:nth-child(4n+1) { border-bottom: 4px solid var(--sm-blue); }
.sm-news-card--playful:nth-child(4n+2) { border-bottom: 4px solid var(--sm-yellow); }
.sm-news-card--playful:nth-child(4n+3) { border-bottom: 4px solid var(--sm-pink); }
.sm-news-card--playful:nth-child(4n+4) { border-bottom: 4px solid var(--sm-green); }

/* Feature news */
.sm-feature-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.sm-feature-news {
    display: grid;
    grid-template-columns: 44% 56%;
    overflow: hidden;
    border: 1px solid var(--sm-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
}

.sm-feature-news__media {
    min-height: 310px;
    background: #eaf1f0;
}

.sm-feature-news__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-feature-news__body {
    align-self: center;
    padding: 28px;
}

.sm-feature-news h3 {
    margin-bottom: 13px;
    font-size: 22px;
    line-height: 1.4;
}

.sm-feature-news p {
    margin-bottom: 20px;
    color: var(--sm-muted);
    font-size: 14px;
}

/* Parent + video */
.sm-parent-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    gap: 56px;
}

.sm-parent-list {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}

.sm-parent-item {
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--sm-line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sm-parent-item:hover {
    transform: translateX(4px);
    box-shadow: var(--sm-shadow-soft);
}

.sm-parent-item__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 13px;
    background: #eaf1f0;
}

.sm-parent-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-parent-item h3 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.sm-parent-item div > a {
    color: var(--sm-primary-dark) !important;
    font-size: 12px;
    font-weight: 700 !important;
}

.sm-video-panel {
    align-self: start;
    padding: 26px;
    border-radius: 26px;
    background: #f5faf9;
    border: 1px solid var(--sm-line);
}

.sm-video-frame {
    overflow: hidden;
    aspect-ratio: 16/9;
    border-radius: 18px;
    background: #10282f;
    box-shadow: var(--sm-shadow-soft);
}

.sm-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.sm-video-list {
    display: grid;
    gap: 8px;
    max-height: 164px;
    margin: 16px 0 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.sm-video-list li {
    list-style: none;
}

.sm-video-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 11px;
    color: #38535b !important;
    font-size: 13px;
    line-height: 1.45;
}

.sm-video-list a:hover {
    background: #fff;
    color: var(--sm-primary-dark) !important;
}

.sm-video-list span {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--sm-primary);
    color: #fff;
    font-size: 9px;
}

/* CTA */
.sm-admission-cta {
    padding: 74px 0;
    background:
        linear-gradient(115deg, rgba(5, 91, 87, .96), rgba(11, 127, 120, .91)),
        url('../images/modern/admission.webp') center / cover no-repeat;
    color: #fff;
}

.sm-admission-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.sm-admission-cta .sm-eyebrow,
.sm-admission-cta h2 {
    color: #fff;
}

.sm-admission-cta h2 {
    max-width: 760px;
}

.sm-admission-cta p {
    max-width: 720px;
    margin-top: 16px;
    color: rgba(255,255,255,.82);
}

.sm-admission-cta__actions {
    flex: 0 0 270px;
    display: grid;
    gap: 10px;
}

.sm-button--light {
    background: #fff;
    color: var(--sm-primary-dark) !important;
}

.sm-button--outline-light {
    border-color: rgba(255,255,255,.55);
    color: #fff !important;
}

.sm-button--outline-light:hover {
    background: rgba(255,255,255,.12);
}

/* Gallery */
.sm-gallery {
    padding: 80px 0;
    background: #fff;
}

.sm-gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.sm-gallery-item {
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 18px;
    background: #eaf1f0;
    scroll-snap-align: start;
}

.sm-gallery-item a,
.sm-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
}

.sm-gallery-item img {
    object-fit: cover;
    transition: transform .4s ease;
}

.sm-gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.sm-footer {
    color: rgba(255,255,255,.82);
    background: #11363d;
}

.sm-footer__top {
    padding: 64px 0 52px;
}

.sm-footer__grid {
    display: grid;
    grid-template-columns: 1.55fr repeat(3, 1fr);
    gap: 42px;
}

.sm-footer h2,
.sm-footer h3 {
    color: #fff;
}

.sm-footer h2 {
    margin-bottom: 4px;
    font-size: 24px;
}

.sm-footer h3 {
    margin-bottom: 18px;
    font-size: 16px;
}

.sm-footer__unit {
    margin-bottom: 18px;
    color: #8fd5ce;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sm-footer__address,
.sm-footer__address p,
.sm-footer__address font {
    color: rgba(255,255,255,.72) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.sm-footer__address br + br,
.sm-footer__address p:empty {
    display: none;
}

.sm-footer__contact-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.sm-footer__contact-list a {
    color: rgba(255,255,255,.82) !important;
    font-size: 14px;
}

.sm-footer__social {
    display: flex;
    gap: 9px;
    margin-top: 22px;
}

.sm-footer__social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    color: #fff !important;
    font-weight: 800 !important;
}

.sm-footer__social a:hover {
    background: var(--sm-primary);
}

.sm-footer__links ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sm-footer__links li {
    list-style: none;
}

.sm-footer__links a {
    color: rgba(255,255,255,.68) !important;
    font-size: 14px;
}

.sm-footer__links a:hover {
    color: #fff !important;
}

.sm-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.10);
}

.sm-footer__bottom .sm-container {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.sm-footer__bottom p,
.sm-footer__bottom a {
    color: rgba(255,255,255,.55) !important;
    font-size: 12px;
}

/* Floating contact */
.sm-floating-actions {
    position: fixed;
    z-index: 1200;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 9px;
}

.sm-floating-action {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 999px;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(15,55,62,.22);
}

.sm-floating-action svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.sm-floating-action--phone { background: var(--sm-primary); }
.sm-floating-action--facebook { background: #1877f2; font-size: 21px; font-weight: 850 !important; }

/* Popup */
.sm-popup[hidden] { display: none; }
.sm-popup { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; }
.sm-popup__backdrop { position: absolute; inset: 0; background: rgba(8,31,35,.68); }
.sm-popup__dialog { position: relative; z-index: 1; max-width: min(760px, 92vw); max-height: 86vh; padding: 12px; overflow: auto; border-radius: 22px; background: #fff; box-shadow: var(--sm-shadow); }
.sm-popup__dialog img { display: block; border-radius: 14px; }
.sm-popup__close { position: absolute; z-index: 2; right: 8px; top: 8px; width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(23,51,60,.85); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* Modernized legacy inner pages */
.sm-main > .news-home,
.sm-main > .content_box,
.sm-main > #news3,
.sm-main > .search,
.sm-main > .dangnhap,
.sm-main > script + .news-home {
    width: min(calc(100% - 40px), var(--sm-container));
    margin-inline: auto;
}

.sm-main > .news-home:first-child,
.sm-main > .content_box:first-child,
.sm-main > .dangnhap:first-child {
    margin-top: 56px;
}

.sm-main > .news-home h2,
.sm-main .sidebar,
.sm-main .name {
    color: var(--sm-ink) !important;
}

.sm-main > .news-home h2,
.sm-main .sidebar {
    margin: 56px auto 26px;
    padding: 0 0 16px;
    border-bottom: 1px solid var(--sm-line);
    font-size: 34px;
}

.sm-main .left_content {
    float: left;
    width: calc(72% - 20px);
    margin-bottom: 70px;
    padding: 28px;
    border: 1px solid var(--sm-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
}

.sm-main .right_content {
    float: right;
    width: 28%;
    min-height: 0;
    margin-bottom: 70px;
    padding: 22px;
    border-radius: 20px;
    background: var(--sm-primary-soft);
}

.sm-main .right_content h2,
.sm-main .sidebar_tinkhac {
    margin: 0 0 12px;
    padding: 0 0 12px;
    color: var(--sm-primary-dark) !important;
    font-size: 20px;
}

.sm-main .content_box.clr,
.sm-main .content_box.clearfix {
    overflow: hidden;
}

.sm-main .col_w280.news_home {
    width: calc(25% - 16px);
    margin: 0 21px 26px 0;
    overflow: hidden;
    border: 1px solid var(--sm-line);
    border-radius: 18px;
    background: #fff;
}

.sm-main .col_w280.news_home:nth-child(4n) {
    margin-right: 0;
}

.sm-main .col_w280.news_home img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.sm-main .col_w280.news_home .ngay_dang,
.sm-main .col_w280.news_home .nname {
    padding-inline: 14px;
}

.sm-main .col_w280.news_home .ngay_dang {
    padding-top: 14px;
    color: var(--sm-muted);
    font-size: 12px;
}

.sm-main .col_w280.news_home .nname {
    padding-bottom: 16px;
}

.sm-main .col_w280.news_home .nname a {
    color: var(--sm-ink) !important;
    font-size: 15px;
}

.sm-main .text_1,
.sm-main .text_1 p,
.sm-main .text_1 span,
.sm-main .text_1 font,
.sm-main .left_content p,
.sm-main .left_content span,
.sm-main .left_content font {
    font-family: inherit !important;
    line-height: 1.8 !important;
}

.sm-main .text_1 img,
.sm-main .left_content img {
    height: auto !important;
    border-radius: 12px;
}

.sm-main .search {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
}

.sm-main .search form {
    display: flex;
    max-width: 420px;
    width: 100%;
}

.sm-main .search input[type="text"] {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--sm-line);
    border-radius: 12px 0 0 12px;
    font: inherit;
}

.sm-main .search input[type="submit"] {
    width: 48px;
    height: 44px;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: var(--sm-primary);
}

.sm-main .contact input.field,
.sm-main .contact textarea,
.sm-main .textEntry {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--sm-line);
    border-radius: 10px;
    font: inherit;
}

.sm-main .contact textarea {
    min-height: 140px;
}

.sm-main .send-submit,
.sm-main .send-reset,
.sm-main .button-login {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: var(--sm-primary);
    color: #fff;
    font-weight: 700;
}

.sm-main .dangnhap {
    max-width: 560px;
    margin-top: 70px;
    margin-bottom: 70px;
    padding: 28px;
    border: 1px solid var(--sm-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--sm-shadow-soft);
}

/* Responsive */
@media (max-width: 1180px) {
    .sm-nav-shell__inner { gap: 14px; }
    .sm-brand__image { width: 280px; }
    .sm-primary-menu > li > a { padding-inline: 8px; font-size: 13px; }
    .sm-nav-cta { display: none; }
    .sm-hero__grid { grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr); gap: 40px; }
    .sm-card-grid { gap: 16px; }
}

@media (max-width: 1080px) {
    .sm-topbar__note { display: none; }
    .sm-topbar__inner { justify-content: center; }
    .sm-brand__image { max-width: none; width: min(360px, 62vw); }
    .sm-menu-toggle { display: block; margin-left: auto; }
    .sm-primary-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; }
    .sm-primary-menu {
        display: none;
        width: min(calc(100% - 28px), 720px);
        max-height: calc(100vh - 140px);
        margin: 0 auto;
        padding: 12px;
        overflow-y: auto;
        border: 1px solid var(--sm-line);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--sm-shadow);
    }
    .sm-primary-menu.is-open { display: block; }
    .sm-primary-menu > li > a { min-height: 44px; padding-inline: 12px; }
    .sm-submenu {
        position: static;
        display: grid;
        gap: 2px;
        min-width: 0;
        margin: 0 0 7px 14px;
        padding: 0 0 0 10px;
        border: 0;
        border-left: 2px solid var(--sm-primary-soft);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .sm-submenu a { padding-block: 7px; font-size: 13px; }
    .sm-hero { padding-top: 48px; }
    .sm-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .sm-hero__content { text-align: center; }
    .sm-hero__content h1,
    .sm-hero__content > p { margin-inline: auto; }
    .sm-hero__actions { justify-content: center; }
    .sm-hero__trust { max-width: 620px; margin-inline: auto; text-align: left; }
    .sm-hero__visual { min-height: 500px; max-width: 700px; width: 100%; margin-inline: auto; }
    .sm-highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-about-grid { grid-template-columns: 1fr; gap: 50px; }
    .sm-about-media { max-width: 690px; }
    .sm-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm-feature-news-grid { grid-template-columns: 1fr; }
    .sm-parent-video-grid { grid-template-columns: 1fr; }
    .sm-video-panel { max-width: 720px; width: 100%; }
    .sm-admission-cta__inner { display: grid; }
    .sm-admission-cta__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); flex-basis: auto; }
    .sm-footer__grid { grid-template-columns: 1.6fr repeat(2, 1fr); }
    .sm-footer__links:last-child { grid-column: 2 / 4; }
    .sm-main .left_content,
    .sm-main .right_content { float: none; width: 100%; }
    .sm-main .right_content { margin-top: 20px; }
    .sm-main .col_w280.news_home { width: calc(50% - 10px); margin-right: 20px; }
    .sm-main .col_w280.news_home:nth-child(2n) { margin-right: 0; }
}

@media (max-width: 680px) {
    .sm-container { width: min(calc(100% - 28px), var(--sm-container)); }
    .sm-topbar { display: none; }
    .sm-nav-shell__inner { min-height: 72px; }
    .sm-brand__image { width: min(300px, 70vw); }
    .sm-brand__image img { max-height: 52px; }
    .sm-hero { padding: 38px 0 58px; }
    .sm-hero__content h1 { font-size: clamp(36px, 11vw, 50px); }
    .sm-hero__content > p { font-size: 16px; }
    .sm-hero__actions { display: grid; }
    .sm-button { width: 100%; }
    .sm-hero__trust { grid-template-columns: 1fr; gap: 12px; }
    .sm-hero__visual { min-height: 380px; }
    .sm-hero-card { border-width: 5px; border-radius: 20px; }
    .sm-hero-card--main { width: 67%; height: 300px; top: 32px; }
    .sm-hero-card--wide { width: 56%; height: 140px; }
    .sm-hero-card--small { width: 48%; height: 168px; }
    .sm-hero__badge { right: 39%; top: 155px; min-width: 125px; padding: 12px; }
    .sm-highlights { margin-top: -20px; }
    .sm-highlight-grid { grid-template-columns: 1fr; }
    .sm-highlight-card { min-height: 0; }
    .sm-section { padding: 62px 0; }
    .sm-section-heading { align-items: flex-start; display: grid; margin-bottom: 25px; }
    .sm-section-heading h2,
    .sm-about-content h2,
    .sm-admission-cta h2 { font-size: 32px; }
    .sm-about-media { padding: 10px 0 0 10px; }
    .sm-about-media__note { right: -4px; bottom: -18px; }
    .sm-card-grid { grid-template-columns: 1fr; }
    .sm-feature-news { grid-template-columns: 1fr; }
    .sm-feature-news__media { min-height: 220px; }
    .sm-parent-item { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
    .sm-video-panel { padding: 18px; }
    .sm-admission-cta { padding: 58px 0; }
    .sm-admission-cta__inner { gap: 30px; }
    .sm-admission-cta__actions { grid-template-columns: 1fr; }
    .sm-gallery { padding: 58px 0; }
    .sm-gallery-track { grid-auto-columns: 78%; }
    .sm-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .sm-footer__links:last-child { grid-column: auto; }
    .sm-footer__bottom .sm-container { padding-block: 18px; display: grid; text-align: center; justify-content: center; }
    .sm-floating-actions { right: 12px; bottom: 12px; }
    .sm-floating-action { width: 44px; height: 44px; }
    .sm-main > .news-home,
    .sm-main > .content_box,
    .sm-main > #news3,
    .sm-main > .search,
    .sm-main > .dangnhap,
    .sm-main > script + .news-home { width: min(calc(100% - 28px), var(--sm-container)); }
    .sm-main .left_content { padding: 18px; }
    .sm-main .col_w280.news_home { float: none; width: 100%; margin-right: 0; }
}

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