@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #154d9b;
    --blue-dark: #0d3470;
    --blue-light: #eaf2ff;
    --red: #e5444f;
    --ink: #18263d;
    --muted: #68768b;
    --line: #e7ebf2;
    --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 12px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, svg { max-width: 100%; }
.site-header { height: 88px; max-width: 1200px; padding: 0 28px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { display: block; width: 46px; height: 46px; flex: none; object-fit: contain; border-radius: 50%; background: white; box-shadow: 0 4px 12px #154d9b20; }
.brand-name { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -.4px; }
.brand-name b { color: var(--red); }
.brand-name small { display: block; margin-top: 4px; color: #8b97a8; font-size: 8px; font-weight: 700; letter-spacing: 1.15px; }
.main-nav { display: flex; align-items: center; gap: 38px; color: #58677c; font-size: 13px; font-weight: 600; }
.main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a:hover { color: var(--blue); }
.header-login { display: inline-flex; align-items: center; gap: 14px; border: 1px solid #dbe4f1; padding: 11px 17px; border-radius: 9px; color: var(--blue); font-size: 12px; font-weight: 700; transition: .2s; }
.header-login:hover { color: white; border-color: var(--blue); background: var(--blue); }
.hero { max-width: 1200px; min-height: 490px; margin: 0 auto; padding: 58px 52px 56px 58px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow,.section-kicker { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: 1.35px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); }
.eyebrow-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px #e5444f1c; }
.hero h1 { margin: 20px 0 16px; color: var(--blue-dark); font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; line-height: 1.17; letter-spacing: -2.8px; }
.hero h1 span { color: var(--red); }
.hero-copy > p { max-width: 485px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 0 19px; border-radius: 8px; font-size: 12px; font-weight: 700; touch-action: manipulation; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 8px 18px #154d9b2b; }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 10px 22px #154d9b40; }
.button-outline { color: var(--blue); border: 1px solid #d6e0ef; background: white; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: #7c899a; font-size: 11px; font-weight: 500; }
.note-check { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #eaf5ed; color: #298451; font-size: 11px; font-weight: 800; }
.hero-art { min-height: 350px; position: relative; display: grid; place-items: center; }
.hero-photo-wrap { min-height: 0; display: block; overflow: visible; transform: none; }
.hero-photo { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 48%; border: 6px solid #fff; border-radius: 18px; box-shadow: 0 20px 48px #123e7c25; }
.photo-label { position: absolute; z-index: 2; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border: 1px solid #ffffff75; border-radius: 12px; background: #103a7cde; color: white; box-shadow: 0 8px 20px #081d3a40; backdrop-filter: blur(8px); }
.photo-label-mark { display: block; width: 34px; height: 34px; flex: none; object-fit: contain; border-radius: 50%; background: white; }
.photo-label strong { display: block; font-size: 11px; }
.photo-label small { display: block; margin-top: 3px; color: #d7e5f8; font-size: 7px; font-weight: 700; letter-spacing: .8px; }
.photo-accent { position: absolute; z-index: 0; right: -10px; bottom: -10px; width: 38%; height: 38%; border-right: 4px solid var(--red); border-bottom: 4px solid var(--red); border-radius: 0 0 20px 0; }
.art-orbit { position: absolute; border: 1px solid #d9e5f4; border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 390px; height: 260px; }
.orbit-two { width: 340px; height: 310px; transform: rotate(38deg); border-color: #ebeff6; }
.art-card { position: relative; z-index: 1; width: 272px; height: 316px; padding: 19px; color: white; border-radius: 17px; background: linear-gradient(145deg, #1d5db0, #103a7c); box-shadow: 0 22px 60px #123e7c3b; transform: rotate(3deg); }
.art-card::before { content: ''; position: absolute; inset: 9px; border: 1px solid #ffffff35; border-radius: 11px; pointer-events: none; }
.art-card-top,.art-card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.mini-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: var(--blue); background: white; font-size: 10px; font-weight: 800; }
.art-label,.art-card-bottom { font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.art-label { color: #e2ecfb; }
.art-book { height: 112px; margin: 27px auto 12px; position: relative; display: flex; justify-content: center; align-items: flex-end; }
.book-page { display: block; width: 66px; height: 80px; background: #fffdf5; border-radius: 5px 7px 3px 4px; box-shadow: 0 8px 14px #09244e40; }
.page-left { transform: skewY(-9deg); border-right: 2px solid #d9e1ed; }
.page-right { height: 86px; transform: skewY(8deg); background: #f0f4fb; }
.book-spine { position: absolute; bottom: 0; left: 50%; width: 4px; height: 84px; transform: translateX(-50%); background: var(--red); border-radius: 4px; }
.art-caption { position: relative; text-align: center; color: #d8e7fb; font-size: 17px; line-height: 1.55; letter-spacing: -.4px; }
.art-caption strong { color: white; font-size: 21px; }
.art-card-bottom { margin-top: 17px; padding: 0 3px; color: #ccdcf2; }
.bottom-stars { color: #f4bd65; letter-spacing: 2px; }
.floating-tag { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid #edf0f5; border-radius: 10px; background: white; box-shadow: 0 10px 24px #15274412; color: #4b5b70; font-size: 10px; font-weight: 700; }
.tag-top { top: 41px; right: -1px; }
.tag-bottom { bottom: 39px; left: 0; }
.tag-icon { color: var(--blue); font-size: 15px; }
.tag-red { color: var(--red); }
.decor { position: absolute; display: block; width: 12px; height: 12px; border-radius: 4px; transform: rotate(35deg); }
.decor-red { top: 41px; left: 43px; background: #f6bdc0; }
.decor-blue { right: 29px; bottom: 39px; width: 8px; height: 8px; background: #9ebbe4; }
.intro-strip { max-width: 1090px; margin: 12px auto 0; padding: 25px 30px; display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 18px; border: 1px solid #e8edf4; border-radius: 13px; background: #fbfcfe; }
.intro-icon { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: white; }
.intro-strip .section-kicker { font-size: 8px; }
.intro-strip h2 { margin: 5px 0 0; font-size: 16px; letter-spacing: -.5px; }
.intro-strip > p { justify-self: end; max-width: 340px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.programs-section { max-width: 1090px; margin: 86px auto 80px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-heading h2,.closing-banner h2 { margin: 8px 0 0; color: var(--blue-dark); font-size: 27px; font-weight: 800; letter-spacing: -1px; }
.section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.program-group { margin-top: 22px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.program-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 12px 17px; border-radius: 10px; color: white; background: var(--red); }
.program-group-heading h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.program-group-heading > span { color: #ffffffd9; font-size: 10px; font-weight: 700; }
.program-group.business .program-group-heading { background: var(--blue-dark); }
.program-group.language .program-group-heading { background: #07878c; }
.program-group.technical .program-group-heading { background: #65358a; }
.program-card { min-height: 120px; padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 11px; background: white; transition: .2s; }
.program-card:hover { border-color: #b9cde8; transform: translateY(-4px); box-shadow: 0 14px 28px #132e5510; }
.program-card-top { display: flex; align-items: center; justify-content: space-between; }
.program-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-light); font-size: 17px; }
.program-card:nth-child(even) .program-icon { color: var(--red); background: #fff0f0; }
.program-arrow { color: #9aa7b8; font-size: 18px; }
.program-card h4 { margin: 14px 0 0; color: var(--blue-dark); font-size: 13px; line-height: 1.5; letter-spacing: -.2px; }
.program-card > p { min-height: 37px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.75; }
.program-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #eff1f5; color: #8a96a7; font-size: 9px; }
.program-meta strong { color: var(--red); font-size: 12px; }
.program-meta small { color: #8995a5; font-size: 8px; font-weight: 500; }
.empty-state { padding: 34px; border: 1px dashed #d8e1ed; border-radius: 11px; color: var(--muted); text-align: center; font-size: 13px; }
.closing-banner { max-width: 1090px; margin: 0 auto 64px; padding: 29px 35px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 13px; background: linear-gradient(105deg, #123c7c, #1b58a4); }
.closing-banner .section-kicker { color: #f7b9bc; }
.closing-banner h2 { color: white; font-size: 22px; }
.button-light { min-width: 145px; color: var(--blue); background: white; }
.site-footer { max-width: 1200px; margin: auto; padding: 20px 28px 28px; border-top: 1px solid #edf0f4; }
.footer-top { min-height: 52px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand .brand-logo { width: 38px; height: 38px; }
.footer-brand .brand-name { font-size: 13px; }
.footer-brand .brand-name small { font-size: 7px; }
.footer-contact { display: flex; align-items: center; gap: 8px; color: #5b6879; font-size: 12px; }
.footer-contact a { min-height: 44px; padding: 8px 12px; display: inline-flex; align-items: center; border-radius: 7px; color: #fff; background: var(--blue); font-weight: 700; text-decoration: none; }
.footer-contact a:hover { background: var(--blue-dark); }
.footer-locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 22px; border-radius: 12px; color: #fff; background: #17385c; }
.footer-location h3 { margin: 0 0 8px; color: #fff; font-size: 14px; line-height: 1.5; }
.footer-location h3 span { margin-right: 5px; color: #ffb5b5; }
.footer-location p { margin: 0; color: #e0e9f3; font-size: 13px; line-height: 1.7; }
.footer-social { margin-top: 16px; padding: 16px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 14px 22px; border: 1px solid #e7edf5; border-radius: 12px; }
.footer-social h3 { margin: 0; color: var(--blue-dark); font-size: 14px; }
.footer-social h3 { grid-column: 1 / -1; }
.footer-social > a { min-height: 48px; display: flex; align-items: center; gap: 10px; color: var(--blue-dark); text-decoration: none; }
.footer-social > a:hover strong { text-decoration: underline; }
.facebook-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #1877f2; font-family: Arial, sans-serif; font-size: 24px; font-weight: 700; }
.tiktok-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #111; font-size: 22px; font-weight: 700; text-shadow: -1px 1px #25f4ee, 1px -1px #fe2c55; }
.footer-social > a strong, .footer-social > a small { display: block; }
.footer-social > a strong { font-size: 13px; }
.footer-social > a small { margin-top: 2px; color: #77859a; font-size: 11px; }
.social-arrow { color: #8492a6; font-size: 17px; }
.footer-copyright { margin: 14px 0 0; color: #8b96a5; font-size: 10px; }
.messenger-float { position: fixed; right: 24px; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 20; min-height: 48px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 19px; border: 2px solid #fff; border-radius: 999px; color: #fff; background: #0866ff; box-shadow: 0 8px 24px #092c5a40; font-size: 14px; font-weight: 700; text-decoration: none; touch-action: manipulation; transition: transform .18s ease, box-shadow .18s ease; }
.messenger-float:hover { transform: translateY(-2px); box-shadow: 0 11px 27px #092c5a55; }
.messenger-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
    .site-header { height: 76px; }
    .main-nav { gap: 19px; }
    .hero { padding: 45px 32px; }
    .hero-art { transform: scale(.9); }
    .hero-photo-wrap { transform: none; }
    .intro-strip,.programs-section,.closing-banner { margin-left: 28px; margin-right: 28px; }
    .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .site-header { height: auto; min-height: 70px; padding: 8px 16px 7px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); flex-wrap: wrap; gap: 2px 12px; }
    .brand-logo { width: 40px; height: 40px; }
    .brand-name { font-size: 14px; }
    .main-nav { order: 2; width: 100%; display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 2px 0 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a { flex: none; padding: 0 9px; font-size: 12px; }
    .hero { min-height: 0; display: block; padding: 42px 18px 26px; }
    .hero h1 { font-size: 40px; font-size: clamp(32px, 9.8vw, 40px); letter-spacing: -1.7px; }
    .hero-copy > p { font-size: 13px; }
    .hero-art { min-height: 0; margin-top: 30px; transform: none; }
    .hero-photo { border-width: 4px; border-radius: 14px; }
    .photo-label { right: 10px; bottom: 10px; padding: 8px 10px 8px 8px; }
    .photo-label-mark { width: 29px; height: 29px; }
    .photo-label strong { font-size: 10px; }
    .tag-top { right: -7px; }
    .tag-bottom { left: -7px; }
    .intro-strip { grid-template-columns: auto 1fr; margin: 0 18px; padding: 19px; }
    .intro-strip > p { grid-column: 2; justify-self: start; }
    .programs-section { margin: 62px 18px 54px; }
    .section-heading { display: block; }
    .section-heading h2 { font-size: 24px; }
    .section-heading > p { margin-top: 10px; }
    .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .program-group { padding: 11px; }
    .program-group-heading { padding: 11px 13px; }
    .program-group-heading h3 { font-size: 14px; }
    .program-card { min-height: auto; }
    .program-card > p { min-height: 0; }
    .closing-banner { margin: 0 18px 42px; padding: 24px; align-items: flex-start; flex-direction: column; }
    .closing-banner h2 { font-size: 20px; }
    .site-footer { padding: 18px; padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
    .footer-top { align-items: flex-start; flex-direction: column; }
    .footer-locations { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .footer-social { grid-template-columns: 1fr; }
    .messenger-float { right: 14px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 11px 16px; }
}

@media (max-width: 360px) {
    .hero { padding-right: 15px; padding-left: 15px; }
    .hero h1 { font-size: 32px; }
    .hero-actions .button { flex: 1 1 100%; }
    .program-group-heading h3 { font-size: 12px; }
    .program-group-heading > span { font-size: 9px; }
}

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