@font-face{font-family:'Baloo 2';font-style:normal;font-weight:600 800;font-display:swap;src:url('../fonts/wXKrE3kTposypRyd51fcANwr.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:600 800;font-display:swap;src:url('../fonts/wXKrE3kTposypRyd51bcANwr.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Baloo 2';font-style:normal;font-weight:600 800;font-display:swap;src:url('../fonts/wXKrE3kTposypRyd51jcAA.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/6xKtdSZaM9iE8KbpRA_hJFQNcOM.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/6xKtdSZaM9iE8KbpRA_hJVQNcOM.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Quicksand';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/6xKtdSZaM9iE8KbpRA_hK1QN.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Birthstone';font-style:normal;font-weight:400 400;font-display:swap;src:url('../fonts/8AtsGs2xO4yLRhy87sv_LLHzjCfZ.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:'Birthstone';font-style:normal;font-weight:400 400;font-display:swap;src:url('../fonts/8AtsGs2xO4yLRhy87sv_LLDzjCfZ.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Birthstone';font-style:normal;font-weight:400 400;font-display:swap;src:url('../fonts/8AtsGs2xO4yLRhy87sv_LL7zjA.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ==========================================================================
   Trường Mầm non Hòa Vang: giao diện.
   Bố cục theo mẫu tham khảo, viết lại hoàn toàn. Màu theo logo trường.
   Bán kính: nút = viên thuốc, thẻ = 16px, khối lớn = 24px, ảnh người = tròn.
   ========================================================================== */
:root {
	--brand: #1747c8; --brand-deep: #12358f;
	--primary-soft: #eaf1ff; --primary-ultra: #f4f7ff;
	--paper: #fafbff; --surface: #fff; --surface-alt: #f7f9ff; --line: #e6ebf3; --line-hover: #c9d7f2;
	--heading: #192b52; --ink: #293952; --muted: #596780; --text-muted: #626f86;
	--sun: #ffd66b; --sun-soft: #fff5d6; --coral: #f49a9e; --coral-soft: #fff0f0;
	--mint: #75cfa0; --mint-soft: #eaf7ee; --sky: #91c9f7; --sky-soft: #eaf5ff;
	--header-bg: #3157a4; --header-ink: #fff; --header-active: var(--sun); --header-hover: rgba(255, 255, 255, .12);
	--footer-bg: #29477f; --footer-heading: #fff; --footer-ink: #e7efff; --footer-hover: var(--sun); --footer-line: rgba(255, 255, 255, .18);
	--enroll-start: #bfe3ff; --enroll-end: #a6d6f7;
	--brand-wash: rgba(23, 71, 200, .08); --sun-wash: rgba(255, 214, 107, .24);
	--coral-wash: rgba(244, 154, 158, .18); --mint-wash: rgba(117, 207, 160, .18); --sky-wash: rgba(145, 201, 247, .25);
	--success: #216b45; --warning: #946200; --error: #b32f3f; --info: #1747c8;
	/* Backwards-compatible aliases while components migrate to semantic tokens. */
	--primary: var(--primary-soft); --white: var(--surface);
	--ease: cubic-bezier(.16, 1, .3, 1); --r-card: 16px; --r-panel: 24px; --wrap: 1440px;
	--shadow: 0 12px 28px -22px rgba(25, 43, 82, .2);
	--font-head: 'Baloo 2', 'Segoe UI', sans-serif; --font-body: Quicksand, 'Segoe UI', sans-serif; --font-script: Birthstone, cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { zoom: .9; scroll-behavior: smooth; scroll-padding-top: 90px; }
/* Trên điện thoại không thu nhỏ trang: zoom .9 làm cả trang trông bị zoom out và người xem phải phóng to lại. */
@media (max-width: 640px) { html { zoom: 1; } }
body { margin: 0; color: var(--ink); background: var(--paper) url("../images/deco-grid.svg?v=3") 0 0 / 84px 69px repeat; font: 500 18.36px/1.7 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
h1, h2, h3 { color: var(--heading); font-family: var(--font-head); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 18px; background: var(--sun); color: var(--brand-deep); border-radius: 999px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.wrap--narrow { width: min(984px, calc(100% - 48px)); }

/* Icons: Phosphor Bold (MIT), tô màu theo currentColor bằng mask. */
.ico { display: inline-block; flex: none; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-facebook-logo { --i: url('../images/icons/facebook-logo.svg'); }
.ico-youtube-logo { --i: url('../images/icons/youtube-logo.svg'); } .ico-tiktok-logo { --i: url('../images/icons/tiktok-logo.svg'); }
.ico-arrow-right { --i: url('../images/icons/arrow-right.svg'); } .ico-arrow-left { --i: url('../images/icons/arrow-left.svg'); }
.ico-arrow-up { --i: url('../images/icons/arrow-up.svg'); } .ico-check { --i: url('../images/icons/check.svg'); }
.ico-map-pin { --i: url('../images/icons/map-pin.svg'); } .ico-phone { --i: url('../images/icons/phone.svg'); }
.ico-envelope-simple { --i: url('../images/icons/envelope-simple.svg'); } .ico-clock { --i: url('../images/icons/clock.svg'); }
.ico-paper-plane-tilt { --i: url('../images/icons/paper-plane-tilt.svg'); } .ico-list { --i: url('../images/icons/list.svg'); }
.ico-quotes { --i: url('../images/icons/quotes.svg'); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 26px; border: 2px solid transparent; border-radius: 999px; font: 800 17.28px/1 var(--font-head); white-space: nowrap; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.btn-dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 21.6px; transition: transform .25s; }
.btn--light { background: var(--white); color: var(--brand-deep); box-shadow: 0 8px 20px -16px rgba(25, 43, 82, .3); } .btn--light .btn-dot { background: var(--brand); color: #fff; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; } .btn--outline .btn-dot { background: var(--brand); color: #fff; }
.btn--solid { background: var(--brand); color: var(--white); border-color: var(--brand); } .btn--solid .btn-dot { background: var(--primary-soft); color: var(--brand); }
.btn--solid:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: var(--white); }
.btn--light:hover { background: var(--primary-soft); color: var(--brand-deep); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:hover { transform: translateY(-2px); } .btn:hover .btn-dot { transform: translateX(3px); }
.btn--outline:hover { background: var(--primary); color: var(--ink); } .btn--outline:hover .btn-dot { background: var(--sun); color: var(--brand-deep); }
.btn:active { transform: translateY(0) scale(.98); }

/* Topbar + header */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); font-size: 15.12px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; }
.topbar-item { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 600; } .topbar-item .ico { color: var(--brand); font-size: 17.28px; } .topbar-item a { color: inherit; } .topbar-item a:hover { color: var(--brand); }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-login { padding: 6px 18px; border-radius: 999px; background: var(--header-bg); color: #fff; font: 800 14.04px/1.2 var(--font-head); letter-spacing: .03em; transition: background .25s, transform .25s; } .topbar-login:hover { background: var(--footer-bg); color: #fff; transform: translateY(-1px); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--brand-deep); font-size: 17.28px; }
.socials a:hover { background: var(--sun); color: var(--brand-deep); }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); box-shadow: 0 8px 20px -16px rgba(25, 43, 82, .45); }
.navbar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand { position: relative; z-index: 2; display: block; margin-top: 4px; margin-bottom: -34px; }
.brand-badge { display: grid; place-items: center; width: 125px; height: 125px; border-radius: 50%; background: var(--white); border: 5px solid var(--white); box-shadow: 0 10px 22px -16px rgba(25, 43, 82, .28); overflow: hidden; }
.brand-badge img { width: 78%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin-left: auto; }
.nav li { list-style: none; }
.nav a { position: relative; padding: 6px 0; color: var(--header-ink); font: 700 15.12px/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: color .25s, background .25s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--header-active); transform: scaleX(0); transition: transform .25s; }
.nav a:hover { color: var(--header-ink); }
.nav a.active, .nav a[aria-current] { color: var(--header-active); }
.nav a:hover::after, .nav a.active::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: var(--header-ink); font-size: 32.4px; place-items: center; }

/* Sections */
.section { padding: clamp(20px, 2.6vw, 36px) 0; position: relative; }
.section-head { text-align: center; max-width: 864px; margin: 0 auto clamp(20px, 2.6vw, 32px); }
.section-head p { color: var(--muted); margin: 14px 0 0; }
.section-head::before { content: ''; display: block; width: 70px; height: 35px; margin: 0 auto 8px; background: url("../images/deco-arc.svg?v=3") center / contain no-repeat; }
.section-title { font-weight: 800; font-size: clamp(34.56px, 4.32vw, 56.16px); text-transform: uppercase; color: var(--header-bg); letter-spacing: .01em; }
.script-line { font: 400 clamp(31.2px, 3.6vw, 43.2px)/1.1 var(--font-script); color: var(--warning); margin: 0 0 6px; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: clamp(520px, calc(100dvh - 110px), 720px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1s ease; }
.hero-slides img.is-active { opacity: 1; }
/* Slide banner đã có chữ in sẵn: ẩn lớp chữ, ảnh tròn và sóng phủ lên để không đè nội dung. */
.hero-slides img[data-banner] { background: var(--header-bg); }
.hero-copy, .hero-dots, .hero::before, .hero::after { transition: opacity .6s; }
@media (min-width: 901px) { .hero--banner .hero-copy, .hero--banner .hero-dots, .hero--banner::before, .hero--banner::after { opacity: 0; pointer-events: none; } }
/* Điện thoại: chữ và ảnh tròn nằm dưới ảnh nên luôn hiện; khung ảnh theo đúng tỉ lệ banner để không thừa dải nền. */
@media (max-width: 900px) { .hero-slides img[data-banner] { object-fit: contain; } }
.hero-in { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding-block: 70px 44px; }
.hero-copy { width: min(624px, 46%); margin-right: 2vw; text-align: center; text-shadow: 0 2px 4px rgba(15, 45, 70, .4), 0 4px 26px rgba(15, 45, 70, .5); }
.hero h1 { font-weight: 800; font-size: clamp(30.24px, 3.69vw, 51.84px); text-transform: uppercase; line-height: 1; }
.hero h1 span { display: block; color: var(--sun); }
.hero-sub { font: 700 clamp(16.8px, 1.4vw, 20.4px)/1.4 var(--font-head); margin: 8px auto 0; max-width: 30ch; }
.hero-dots { position: absolute; left: 0; bottom: 26px; display: flex; align-items: flex-end; gap: 16px; }
.hero-dots .dot { position: relative; display: block; width: 148px; height: 148px; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.hero-dots .dot:nth-child(2) { width: 174px; height: 174px; margin-bottom: 31px; }
.hero-dots .dot:hover { transform: scale(1.06); }
.hero-dots .dot::after { content: ''; position: absolute; inset: -11px; border: 2px dashed var(--sun); border-radius: 50%; opacity: .85; pointer-events: none; }
.hero-dots img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid var(--sun); box-shadow: var(--shadow), 0 0 0 9px rgba(255, 255, 255, .18); background: var(--sky); }

/* Stats */
.stats { position: relative; z-index: 1; }
.stats-panel { margin-left: max(24px, calc((100vw - var(--wrap)) / 2 - 40px)); margin-block: 0; background: color-mix(in srgb, var(--header-bg) 86%, transparent); color: var(--white); border-bottom-left-radius: 120px; padding: 32px 0; }
.intro { background: var(--sky-wash); }
.programs { background: var(--sun-wash); }
.voices { background: var(--coral-wash); }
.teachers { background: var(--mint-wash); }
.news { background: var(--sky-wash); }
.notices { background: var(--brand-wash); }
/* Only the decorative surface is masked. Artwork (z:0) and content (z:1)
   remain above the surface (z:-1), with no clipping of illustrations. */
.home .intro, .home .news { --section-tint: var(--sky-wash); }
.home .programs { --section-tint: var(--sun-wash); }
.home .voices { --section-tint: var(--coral-wash); }
.home .teachers { --section-tint: var(--mint-wash); }
.home .notices { --section-tint: var(--brand-wash); }
.home .section:is(.intro, .programs, .voices, .teachers, .news, .notices) {
	--seam: clamp(24px, 4vw, 56px);
	--edge-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 56' preserveAspectRatio='none'%3E%3Cpath d='M0 24C180 52 300 52 500 28S820 4 1000 24V56H0Z'/%3E%3C/svg%3E");
	--edge-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 56' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1000V24C820 4 700 4 500 28S180 52 0 24Z'/%3E%3C/svg%3E");
	margin-block: 0; border-radius: 0; background: transparent; isolation: isolate; overflow: visible;
	padding-block: calc(var(--seam) + 24px);
}
.section-surface { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.section-surface::before { content: ''; position: absolute; inset: 0; background: var(--section-tint);
	-webkit-mask: var(--edge-top) top / 100% var(--seam) no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - var(--seam) * 2 + 1px) no-repeat, var(--edge-bottom) bottom / 100% var(--seam) no-repeat;
	mask: var(--edge-top) top / 100% var(--seam) no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - var(--seam) * 2 + 1px) no-repeat, var(--edge-bottom) bottom / 100% var(--seam) no-repeat;
}
@supports (mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000)) {
	.section-surface::after {
		content: ''; position: absolute; inset: 0;
		--seam-stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 56' preserveAspectRatio='none'%3E%3Cpath d='M0 24C180 52 300 52 500 28S820 4 1000 24' fill='none' stroke='%231747c8' stroke-opacity='.22' stroke-width='1.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
		background: var(--seam-stroke) top / 100% var(--seam) no-repeat, var(--seam-stroke) bottom / 100% var(--seam) no-repeat;
	}
	/* One border at each shared edge, rather than two overlapping strokes. */
	.home .intro + .programs > .section-surface::after,
	.home .programs + .voices > .section-surface::after,
	.home .voices + .news > .section-surface::after,
	.home .notices + .teachers > .section-surface::after,
	.home .news + .notices > .section-surface::after { background: var(--seam-stroke) bottom / 100% var(--seam) no-repeat; }
	.home .intro + .programs, .home .programs + .voices, .home .voices + .news, .home .news + .notices, .home .notices + .teachers { margin-top: calc(-1 * var(--seam)); }
}
.stats-panel { position: relative; overflow: hidden; isolation: isolate; }
.stats-in { position: relative; z-index: 1; }
.stats-panel::before, .stats-panel::after, .hero-dots .dot::before { content: ''; position: absolute; pointer-events: none; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; }
.stats-panel::before { z-index: 0; right: 4%; top: -22px; width: 104px; height: 104px; background: #fff; opacity: .16; }
.stats-panel::after { z-index: 0; left: 2%; bottom: -18px; width: 74px; height: 74px; background: var(--sun); opacity: .5; transform: rotate(30deg); }
.hero-dots .dot::before { z-index: 2; width: 46px; height: 46px; background: var(--sun); }
.hero-dots .dot:nth-child(1)::before { right: -16px; top: -18px; }
.hero-dots .dot:nth-child(2)::before { left: -18px; top: -14px; transform: rotate(40deg); background: #fff; }
.hero-dots .dot:nth-child(3)::before { right: -14px; bottom: -12px; transform: rotate(-30deg); }
.stats-in { display: grid; grid-template-columns: repeat(3, 1fr); width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 20px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .3); }
.stat img { width: 48px; height: 48px; filter: brightness(0) invert(1); }
.stat p { margin: 0; line-height: 1.1; }
.stat b { display: block; font: 800 clamp(43.2px, 4.8vw, 60px)/1 var(--font-head); }
.stat b.stat-text { font-size: clamp(23.76px, 2.52vw, 32.4px); line-height: 1.15; }
.stat span { display: block; margin-top: 4px; color: var(--white); font-weight: 700; }

/* Intro + collage */
.intro { overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.intro-text p { color: var(--muted); }
.intro-text .section-title { margin-bottom: 22px; }
.checklist { margin: 26px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); }
.checklist .ico { width: 30px; height: 30px; padding: 7px; border: 2px solid var(--header-bg); border-radius: 50%; color: var(--header-bg); }
.checklist--light li { color: var(--ink); } .checklist--light .ico { border-color: var(--header-bg); color: var(--header-bg); }
.enroll .script-line { color: var(--header-bg); } .site-footer .script-line { color: var(--sun); }
.collage { position: relative; aspect-ratio: 1 / .92; }
.blob { position: absolute; object-fit: cover; border: 7px solid var(--sun); background: var(--sky); box-shadow: var(--shadow); }
.collage .b1 { left: 0; top: 4%; width: 44%; height: 40%; border-radius: 58% 42% 54% 46% / 52% 56% 44% 48%; }
.collage .b2 { right: 0; top: 0; width: 42%; height: 38%; border-radius: 46% 54% 44% 56% / 58% 46% 54% 42%; }
.collage .b3 { left: 14%; top: 24%; width: 66%; height: 50%; border-radius: 40% 60% 52% 48% / 56% 44% 56% 44%; z-index: 2; }
.collage .b4 { right: 2%; bottom: 0; width: 44%; height: 38%; border-radius: 54% 46% 60% 40% / 44% 58% 42% 56%; z-index: 3; }

/* Programs slider */
.slider { position: relative; }
/* Chương trình học: một cột ảnh bé gái lớn bên trái khối trượt, chồm lên vùng trống bên trái tiêu đề để thấy rõ từng bé.
   Dưới 1100px ảnh đứng phía trên khối trượt, cao tối đa 620px. */
.programs { --rail: clamp(210px, 23vw, 350px); }
.slider > .cutout { pointer-events: none; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
/* Vòng tròn xanh nhạt phía sau ảnh bé gái, giống khối tuyển sinh, để áo dài trắng không chìm vào nền kem. */
.slider:has(.cutout)::before { content: ''; position: absolute; z-index: 0; border-radius: 50%; background: rgba(145, 201, 247, .6); pointer-events: none; }
@media (min-width: 1101px) {
	.slider:has(.cutout) { padding-left: calc(var(--rail) + 24px); }
	.slider:has(.cutout)::before { left: calc(var(--rail) * -.06); bottom: 0; width: calc(var(--rail) * 1.12); aspect-ratio: 1; }
	.slider > .cutout { position: absolute; bottom: 0; width: var(--rail); height: calc(100% + 250px); object-fit: contain; }
	.slider > .cutout--chuong-trinh { left: 0; object-position: left bottom; }
	.slider > .cutout--slot { top: 0; height: auto; }
}
@media (max-width: 1100px) {
	.slider:has(.cutout)::before { left: 50%; top: calc(min(150vw, 620px) / 2 - min(42vw, 210px)); width: min(84vw, 420px); aspect-ratio: 1; transform: translateX(-50%); }
	.slider > .cutout { position: relative; z-index: 1; display: block; width: auto; max-width: 86%; height: min(150vw, 620px); margin: 0 auto 24px; object-fit: contain; }
	.slider > .cutout--slot { width: 60%; height: min(150vw, 620px); aspect-ratio: auto; }
}
.slide { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.js .slides { display: grid; }
.js .slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.js .slide.is-active { opacity: 1; visibility: visible; }
.slide-text { position: relative; padding: 24px 0; }
.slide-num { position: absolute; z-index: 0; left: -8px; top: -48px; font: 800 clamp(180px, 24vw, 312px)/1 var(--font-head); color: var(--header-bg); opacity: .12; pointer-events: none; }
.slide-text > *:not(.slide-num) { position: relative; z-index: 1; }
.slide h3 { font-size: clamp(28.08px, 3.24vw, 41.04px); color: var(--brand-deep); margin-bottom: 14px; }
.slide-text p { color: var(--muted); max-width: 42ch; margin-bottom: 26px; }
.slide-photos { position: relative; aspect-ratio: 16 / 11; }
.slide-photos img { position: absolute; object-fit: cover; border: 6px solid var(--white); border-radius: 32px; box-shadow: var(--shadow); background: var(--sky); }
.slide-photos img:nth-child(1) { top: 0; left: 14%; width: 74%; height: 76%; }
.slide-photos img:nth-child(2) { bottom: 0; left: 0; width: 46%; height: 52%; transform: rotate(-4deg); }
.slide-photos img:nth-child(3) { right: 0; bottom: 4%; width: 40%; height: 46%; transform: rotate(3deg); }
.slider-nav { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 30px; }
.slider-nav button { min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 800 17.28px var(--font-head); }
.slider-nav button[aria-current] { background: var(--primary); color: var(--ink); }
.slider-nav button:hover:not([aria-current]) { color: var(--header-bg); background: var(--sky); }

/* Teachers carousel */
.carousel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.carousel-track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 8px 8px; }
.carousel-track::-webkit-scrollbar { display: none; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--header-bg); border-radius: 50%; background: var(--white); color: var(--header-bg); font-size: 21.6px; transition: background .2s, color .2s; }
.round-btn:hover { background: var(--primary); color: var(--ink); }
.teacher { flex: 0 0 calc((100% - 84px) / 4); scroll-snap-align: start; text-align: center; }
.teacher-photo { position: relative; display: block; width: min(264px, 100%); aspect-ratio: 1; margin: 0 auto 20px; }
.teacher-photo::after { content: ''; position: absolute; inset: -9px; border: 2px dashed var(--header-bg); border-radius: 50%; opacity: .45; transition: transform .6s, opacity .3s; }
.teacher:hover .teacher-photo::after { transform: rotate(40deg); opacity: 1; }
.teacher-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid var(--white); box-shadow: var(--shadow); }
.teacher h3 { font-size: 21.6px; color: var(--brand-deep); }
.teacher p { margin: 4px 0 0; color: var(--muted); font-size: 16.2px; }
.groups-lead { margin: 0 0 20px; text-align: center; color: var(--muted); }
.groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0 0 clamp(28px, 4vw, 48px); padding: 0; list-style: none; }
.groups li { display: grid; justify-items: center; gap: 2px; padding: 22px 12px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--white); text-align: center; }
.groups b { color: var(--header-bg); font: 800 43.2px / 1.1 var(--font-head); }
.groups span { color: var(--muted); font-size: 14.04px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.groups h4 { margin: 8px 0 0; color: var(--brand-deep); font-size: 19.44px; }
@media (max-width: 900px) { .groups { grid-template-columns: repeat(2, 1fr); } }
.team-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }
.team-photos figure { margin: 0; overflow: hidden; border-radius: var(--r-panel); box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.team-photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.team-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.merge { display: grid; justify-items: center; max-width: 1248px; margin: 0 auto; }
.merge-from { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; margin: 0; padding: 0; list-style: none; }
.merge-from li { display: grid; justify-items: center; gap: 4px; padding: 22px 16px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--white); text-align: center; }
.merge-label { color: var(--muted); font-size: 14.04px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.merge-from h3 { margin: 0; color: var(--brand-deep); font-size: 21.6px; }
.merge-from small { color: var(--header-bg); font-weight: 700; }
.merge-join { position: relative; display: grid; justify-items: center; margin: 0; padding: 22px 0 36px; }
.merge-join span { position: relative; z-index: 1; padding: 6px 18px; border-radius: 999px; background: var(--sun-soft); color: var(--heading); font: 800 16.2px var(--font-head); text-align: center; }
.merge-join::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 3px dashed var(--header-bg); opacity: .6; transform: translateX(-50%); }
.merge-join::after { content: ''; position: absolute; left: 50%; bottom: -12px; width: 24px; height: 24px; border: 4px solid var(--white); border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px var(--header-bg); transform: translateX(-50%); }
.merge-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(20px, 3vw, 40px); width: 100%; margin-top: 12px; padding: clamp(16px, 2vw, 24px); border: 2px solid var(--line); border-radius: var(--r-panel); background: var(--white); }
.merge-card figure { margin: 0; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 960 / 550; }
.merge-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.merge-quote { margin: 28px 0 0; padding: 0; border: 0; background: none; text-align: center; }
.merge-quote p { margin: 0; color: var(--brand-deep); font: 800 clamp(24px, 2.9vw, 33.6px) / 1.4 var(--font-head); }
.merge-card h3 { margin-bottom: 8px; font-size: clamp(23.76px, 2.61vw, 30.24px); color: var(--brand-deep); }
.merge-card p { margin: 0; color: var(--muted); }
.timeline-year { display: inline-block; margin-bottom: 8px; padding: 4px 16px; border-radius: 999px; background: var(--sun-soft); color: var(--heading); font: 800 16.2px var(--font-head); }
@media (max-width: 900px) {
	.merge-from { grid-template-columns: 1fr; }
	.merge-card { grid-template-columns: 1fr; }
}
.page-hero + .section::before { content: ''; position: absolute; z-index: 2; top: -56px; right: 10px; width: clamp(110px, calc((100vw - 1200px) / 2 - 10px), 190px); aspect-ratio: 453 / 289; background: url("../images/deco/kids-walk.png") center / contain no-repeat; pointer-events: none; }
.page-van-ban-cong-khai .page-hero + .section::before { background-image: url("../images/deco/kids-wave.png"); aspect-ratio: 381 / 285; }
.blog .page-hero + .section::before, .page-lien-he .page-hero + .section::before { right: auto; left: 10px; background-image: url("../images/deco/kids-wave.png"); aspect-ratio: 381 / 285; }
.page-thu-vien-anh-video .page-hero + .section::before { right: auto; left: 10px; }
@media (max-width: 1360px) { .page-hero + .section::before { display: none; } }
.team-title { margin-bottom: 8px; text-align: center; color: var(--brand-deep); font-size: clamp(23.76px, 2.61vw, 32.4px); text-transform: uppercase; letter-spacing: .04em; }
.carousel + .team-photos { margin-top: clamp(28px, 4vw, 48px); }
@media (max-width: 640px) { .team-photos { grid-template-columns: 1fr; } .team-photos figure:first-child { aspect-ratio: 3 / 2; } }
.center-action { display: flex; justify-content: center; margin-top: 44px; }

/* Enrollment */
.enroll { padding: clamp(12px, 2vw, 24px) 24px; }
.enroll-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 5fr 6fr; align-items: center; max-width: 1584px; margin-inline: auto; border-radius: var(--r-panel); background: linear-gradient(140deg, var(--enroll-start) 25%, var(--enroll-end)); border: 1px solid var(--line-hover); color: var(--ink); isolation: isolate; }
/* Chấm trang trí riêng cho khối tuyển sinh, không thêm lớp lưới thứ hai. */
.enroll-panel::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(23, 71, 200, .18) 2px, transparent 3px) 0 0 / 22px 22px; -webkit-mask: linear-gradient(120deg, transparent 55%, #000); mask: linear-gradient(120deg, transparent 55%, #000); }
.enroll-art { position: relative; align-self: end; display: grid; justify-items: center; min-height: 504px; }
.enroll-art::before { content: ''; position: absolute; left: 50%; bottom: -26%; width: min(78%, 504px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--sun-soft); }
.enroll-art img { position: relative; align-self: end; width: auto; max-width: 85%; height: 504px; }
.enroll-copy { padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 64px) 0; }
.enroll h2 { font-weight: 800; font-size: clamp(32.4px, 4.14vw, 54px); text-transform: uppercase; }
.enroll .bubble { background: var(--sun); color: var(--heading); border-radius: 22px 22px 22px 4px; }
.enroll .btn--light { background: var(--white); color: var(--brand-deep); }
.enroll .btn--light:hover { background: var(--primary-soft); }
.bubble { display: inline-block; position: relative; margin: 22px 0 22px; padding: 14px 28px; border-radius: 16px; background: var(--sun-soft); color: var(--heading); font: 800 clamp(24px, 2.6vw, 33.6px)/1.2 var(--font-head); text-transform: uppercase; transform: rotate(-1.5deg); }

/* News */
.news-home { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; gap: 24px; }
.news-home .news-card { grid-template-columns: 1fr; align-items: start; align-content: start; gap: 16px; }
.news-archive { display: grid; gap: 22px; }
.news-archive { grid-template-columns: repeat(2, 1fr); }
.news-card { display: grid; grid-template-columns: 38% 1fr; gap: 22px; align-items: center; padding: 16px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--white); transition: border-color .25s, transform .25s, box-shadow .25s; }
.news-card:hover { border-color: var(--line-hover); transform: translateY(-3px); box-shadow: var(--shadow); }
.news-thumb { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-thumb { background: var(--sky-soft); } .news-thumb img.is-logo { object-fit: contain; padding: 14px; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.news-filter a { padding: 9px 20px; border: 2px solid var(--header-bg); border-radius: 999px; color: var(--brand-deep); font-weight: 700; transition: background .25s, color .25s; }
.news-filter a:hover, .news-filter a.active { background: var(--header-bg); color: var(--white); }
.news-meta { margin: 0 0 6px; color: var(--muted); font-size: 15.12px; font-weight: 600; }
.news-meta b { color: var(--header-bg); }
.news-card h3 { font-size: 22.68px; color: var(--brand-deep); margin-bottom: 8px; }
.news-card h3 a { color: inherit; }
.news-excerpt { margin: 0; color: var(--muted); font-size: 16.2px; line-height: 1.55; }
.empty-card { padding: 40px 32px; border: 2px dashed var(--header-bg); border-radius: var(--r-card); background: var(--sky-soft); text-align: center; }
.empty-card h2, .empty-card h3 { font-size: 25.92px; color: var(--brand-deep); margin-bottom: 8px; }
.empty-card p { color: var(--muted); }
/* Khung "chưa có nội dung": ảnh cắt nền có vòng tròn phía sau, vòng nhỏ điểm tô. */
.empty-card { position: relative; overflow: hidden; }
.empty-card::before, .empty-card::after { content: ''; position: absolute; pointer-events: none; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; }
.empty-card::before { right: 22%; top: 14px; width: 70px; height: 70px; background: var(--brand); opacity: .2; }
.empty-card::after { right: 24px; bottom: 12px; width: 54px; height: 54px; background: #d99a00; opacity: .35; transform: rotate(35deg); }
.empty-copy { position: relative; z-index: 1; }
.empty-card:has(.empty-art) { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 32px; text-align: left; padding-block: 28px; }
.empty-card:has(.empty-art) > .empty-art { order: 2; position: relative; z-index: 1; display: grid; place-items: end center; width: 210px; height: 230px; }
.empty-art::before { content: ''; position: absolute; left: 50%; bottom: 8px; width: 170px; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(145, 201, 247, .6); }
.empty-art .cutout { position: relative; display: block; width: auto; max-width: 210px; height: 230px; object-fit: contain; object-position: center bottom; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
.empty-card .btn { margin-top: 6px; }
@media (max-width: 640px) {
	.empty-card:has(.empty-art) { grid-template-columns: 1fr; text-align: center; }
	.empty-card:has(.empty-art) > .empty-art { order: -1; justify-self: center; }
}
.pagination { margin-top: 40px; } .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line); font: 800 16.2px var(--font-head); color: var(--header-bg); }
.page-numbers.current, .page-numbers:hover { background: var(--primary); border-color: var(--header-bg); color: var(--ink); }

/* Notices (home): bảng thông báo dạng danh sách, khác lưới thẻ của Tin tức */
.notices-panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-panel); background: var(--sky-wash); }
.notices-copy p { margin: 14px 0 26px; color: var(--muted); max-width: 40ch; }
.notice-list { display: grid; gap: 12px; }
.notice-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 12px 20px 12px 12px; border: 2px solid transparent; border-radius: 16px; background: var(--white); color: var(--ink); transition: transform .3s var(--ease), border-color .25s, box-shadow .3s var(--ease); }
.notice-row:hover { transform: translateX(6px); border-color: var(--line-hover); box-shadow: var(--shadow); color: var(--ink); }
.notice-date { display: grid; place-items: center; align-content: center; width: 66px; height: 66px; border-radius: 18px; background: var(--sun-soft); color: var(--heading); text-align: center; }
.notice-date b { font: 800 28.08px/1 var(--font-head); } .notice-date small { font: 700 12.96px/1.2 var(--font-body); }
.notice-title { font: 800 18.36px/1.35 var(--font-head); color: var(--brand-deep); }
.notice-row > .ico { color: var(--header-bg); font-size: 21.6px; transition: transform .25s; } .notice-row:hover > .ico { transform: translateX(3px); }
@media (max-width: 900px) { .notices-panel { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .notice-row { gap: 12px; padding-right: 14px; } .notice-date { width: 56px; height: 56px; } .notice-date b { font-size: 23.76px; } .notice-title { font-size: 16.74px; } }

/* Messages (quote slider) */
/* Bốn giá trị cốt lõi: lưới bất đối xứng 7/5 rồi 5/7, mỗi ô một màu có sẵn trong bảng màu của trường. */
.ico-heart { --i: url('../images/icons/heart.svg'); } .ico-shield-check { --i: url('../images/icons/shield-check.svg'); }
.ico-users-three { --i: url('../images/icons/users-three.svg'); } .ico-lightbulb { --i: url('../images/icons/lightbulb.svg'); }
/* Bố cục 3 cột: hai nội dung bên trái, cụm 3 ảnh cắt nền ở giữa, hai nội dung bên phải. */
.values { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin: 0 auto clamp(40px, 6vw, 72px); padding: 0; max-width: 1248px; list-style: none; }
.value { position: relative; display: grid; grid-template-columns: 48px 1fr; align-content: center; align-items: center; gap: 6px 12px; min-height: 160px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-card); background: var(--sky-soft); color: var(--ink); transition: transform .35s var(--ease); }
.value:nth-child(1) { grid-column: 1 / 4; grid-row: 1; background: var(--primary-soft); color: var(--heading); }
.value:nth-child(2) { grid-column: 1 / 4; grid-row: 2; background: var(--sun-soft); }
.value:nth-child(3) { grid-column: 10 / 13; grid-row: 1; background: var(--mint-soft); }
.value:nth-child(4) { grid-column: 10 / 13; grid-row: 2; background: var(--coral-soft); }
/* Vòng nhỏ điểm tô góc mỗi thẻ: tô bằng mask nên mỗi thẻ một màu */
.value::before, .value::after { content: ''; position: absolute; z-index: 0; background: var(--ring, var(--brand)); opacity: .28; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; pointer-events: none; }
.value::before { right: 14px; top: 12px; width: 84px; height: 84px; }
.value::after { right: 96px; bottom: 10px; width: 40px; height: 40px; transform: rotate(40deg); opacity: .2; }
.value:nth-child(1) { --ring: var(--brand); }
.value:nth-child(2) { --ring: #d99a00; }
.value:nth-child(3) { --ring: #2f9e6b; }
.value:nth-child(4) { --ring: #e0525a; }
.value > * { position: relative; z-index: 1; }
.value-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--brand-deep); font-size: 25.2px; }
.value:nth-child(1) .value-icon { background: var(--sun); }
.value h3 { font-size: clamp(21.6px, 1.89vw, 27px); line-height: 1.1; color: inherit; }
.value p { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: 17.1px; color: inherit; opacity: .85; }
.value-art { grid-column: 4 / 10; grid-row: 1 / 3; position: relative; min-height: 520px; border-radius: var(--r-card); background: linear-gradient(160deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .4)); pointer-events: none; }
.value-art .cutout { position: absolute; width: auto; max-width: none; object-fit: contain; }
.value-art .cutout:nth-child(1) { left: 5%; bottom: 0; height: calc(100% + 36px); }
.value-art .cutout:nth-child(2) { right: 3%; top: 4%; width: 50%; height: auto; }
.value-art .cutout:nth-child(3) { right: 3%; bottom: 3%; width: 50%; height: auto; }
.value-art .cutout--slot { aspect-ratio: auto; }
.value-art::before { content: ''; position: absolute; z-index: 0; left: 5%; bottom: 0; width: 34%; height: 70%; border-radius: 999px 999px 0 0; background: var(--sky); opacity: .45; }
.value-art::after { content: ''; position: absolute; z-index: 0; right: 3%; top: 4%; width: 50%; aspect-ratio: 1; border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; background: var(--mint); opacity: .35; }
.value-art .cutout { z-index: 1; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
/* Vòng nét đứt lớn đi qua sau cả ba ảnh để nối chúng lại; mỗi ảnh có một mảng màu riêng cùng bảng màu. */
.value-art-ring, .value-art-sun { position: absolute; z-index: 0; pointer-events: none; }
.value-art-ring { inset: 5% 2%; border: 3px dashed rgba(23, 71, 200, .3); border-radius: 50%; }
.value-art-ring::before, .value-art-ring::after { content: ''; position: absolute; width: 22px; aspect-ratio: 1; border-radius: 50%; }
.value-art-ring::before { left: 8%; top: 12%; background: var(--sun); }
.value-art-ring::after { right: 10%; bottom: 14%; background: var(--coral); }
.value-art-sun { right: 3%; bottom: 3%; width: 52%; height: 46%; border-radius: 40px; background: var(--sun); opacity: .55; transform: rotate(-5deg); }
@media (prefers-reduced-motion: no-preference) { .value:hover { transform: translateY(-4px); } }
@media (max-width: 900px) {
	.values { grid-template-columns: 1fr 1fr; gap: 14px; }
	.value:nth-child(n) { grid-column: auto; grid-row: auto; }
	.value-art { grid-column: 1 / -1; grid-row: auto; order: 5; min-height: 440px; }
}
@media (max-width: 520px) {
	.values { grid-template-columns: 1fr; }
	.value:nth-child(n) { min-height: 0; }
	.value::after { display: none; }
	.value-art { min-height: 400px; }
}
.voices-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; max-width: 1176px; margin-inline: auto; }
.voice-stage { position: relative; display: grid; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-panel); background: var(--sky-soft); }
.voice-stage > .ico-quotes { position: absolute; right: 28px; top: 20px; width: 84px; height: 84px; color: var(--sun); }
.voice-stage::before, .voice-stage::after { content: ''; position: absolute; z-index: 0; background: var(--brand); opacity: .22; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; pointer-events: none; }
.voice-stage::before { right: 128px; top: 26px; width: 74px; height: 74px; background: #d99a00; }
.voice-stage::after { right: 36px; bottom: 22px; width: 120px; height: 120px; transform: rotate(25deg); }
.voice-stage > * { position: relative; z-index: 1; }
.voice-stage > .ico-quotes { position: absolute; }
@media (max-width: 900px) { .voice-stage::after { display: none; } .voice-stage::before { right: 20px; top: 22px; } }
.voice { grid-area: 1 / 1; opacity: 0; visibility: hidden; margin: 0; transition: opacity .5s, visibility .5s; }
.voice.is-active, html:not(.js) .voice { opacity: 1; visibility: visible; }
html:not(.js) .voice { grid-area: auto; margin-bottom: 24px; }
.voice blockquote { margin: 0 0 24px; font: 700 clamp(24px, 2.8vw, 32.4px)/1.5 var(--font-head); color: var(--brand-deep); max-width: 30ch; }
.voice figcaption { display: flex; align-items: center; gap: 14px; font: 800 18.36px/1.25 var(--font-head); color: var(--header-bg); }
.voice figcaption small { font: 600 15.12px var(--font-body); color: var(--muted); }
.voice-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sun-soft); border: 3px solid var(--white); }
.voice-avatar img { width: 34px; height: auto; }
.voice-dots { display: grid; gap: 14px; }
.voice-dots button { position: relative; width: 22px; height: 22px; padding: 0; border: 2px solid var(--header-bg); border-radius: 50%; background: transparent; }
.voice-dots button::before { content: ''; position: absolute; inset: -7px; }
.voice-dots button[aria-current] { background: var(--header-bg); box-shadow: 0 0 0 5px var(--sky); }

/* Contact panel (home + contact page) */
.contact-home { padding: clamp(12px, 2vw, 24px) 0 clamp(20px, 2.6vw, 36px); }
.contact-panel { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 32px; width: min(1584px, calc(100% - 24px)); margin-inline: auto; padding: clamp(36px, 5vw, 72px); border-radius: var(--r-panel); background: var(--mint-wash); }
.contact-copy > p { color: var(--muted); max-width: 46ch; margin: 14px 0 28px; }
.form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 26px; }
.field { display: grid; gap: 4px; } .field--wide, .form-actions { grid-column: 1 / -1; }
.field label { font: 800 16.2px var(--font-head); color: var(--brand-deep); }
.field abbr { color: var(--header-bg); text-decoration: none; }
.field input, .field textarea { width: 100%; padding: 10px 2px; border: 0; border-bottom: 2px solid var(--line-hover); border-radius: 0; background: transparent; font: inherit; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--header-bg); box-shadow: 0 2px 0 var(--header-bg); }
.field input:disabled, .field textarea:disabled { border-color: var(--line); color: var(--text-muted); background: var(--surface-alt); cursor: not-allowed; }
.field textarea { resize: vertical; min-height: 84px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 0; min-height: 1.5em; font-weight: 700; } .form-note.is-ok { color: var(--success); } .form-note.is-loi { color: var(--error); }
.contact-art { position: relative; display: grid; place-items: center; min-height: 340px; transform: translateY(-28px); }
.art-disc { display: grid; place-items: end center; width: min(432px, 82%); aspect-ratio: 1; border-radius: 50%; background: var(--primary); overflow: hidden; box-shadow: 0 0 0 10px var(--sun-soft); }
.art-disc img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.badge { position: absolute; z-index: 2; padding: 12px 20px; border: 2px solid var(--header-bg); border-radius: 16px; background: var(--white); color: var(--brand-deep); font: 800 19.44px/1.1 var(--font-head); box-shadow: var(--shadow); }
.badge b { font-size: 32.4px; color: var(--header-bg); }
.badge--a { right: 0; top: 8%; transform: rotate(6deg); } .badge--b { left: 0; bottom: 14%; transform: rotate(-6deg); }

/* Marquee (the only one on the site) */
.marquee { overflow: hidden; background: transparent; color: var(--brand-deep); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font: 800 clamp(28.8px, 3.6vw, 40.8px)/1 var(--font-head); text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--header-bg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.5fr 1.1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand { text-align: center; } .footer-brand .brand-badge { margin: 0 auto 16px; }
.brand-badge--lg { width: 158px; height: 158px; }
.footer-brand .script-line { margin: 0 auto; max-width: 14em; font-size: 30.24px; }
.footer-title { font: 800 18.36px/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--footer-heading); margin-bottom: 18px; }
.site-footer a { color: var(--footer-ink); } .site-footer a:hover { color: var(--footer-hover); }
.site-footer ul { display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.74px; line-height: 1.55; }
.contact-list .ico { margin-top: 4px; color: var(--sun); font-size: 19.44px; }
/* Khối Liên hệ giữ kích cỡ gọn như bản gốc, không theo mức tăng ×1.2 của phần còn lại. */
.contact-panel { width: min(1320px, calc(100% - 24px)); font-size: 17px; }
.contact-panel .field label { font-size: 15px; }
.contact-panel .contact-list li { font-size: 15.5px; } .contact-panel .contact-list .ico { font-size: 18px; }
.contact-panel .section-title { font-size: clamp(32px, 4vw, 52px); }
.contact-panel .btn { font-size: 16px; } .contact-panel .btn-dot { font-size: 20px; }
.site-footer .btn--light { color: var(--brand-deep); } .site-footer .btn--light:hover { color: var(--brand-deep); }
.site-footer .socials { margin-top: 22px; } .site-footer .socials a { background: var(--white); color: var(--header-bg); } .site-footer .socials a:hover { background: var(--sun); color: var(--brand-deep); }
.footer-bottom { margin-top: 52px; border-top: 1px solid var(--footer-line); padding: 22px 0 28px; font-size: 15.66px; }
.footer-bottom p { margin: 0; color: var(--footer-ink); text-align: center; }
.to-top { position: fixed; right: clamp(14px, 4vw, 22px); bottom: clamp(14px, 4vw, 22px); z-index: 30; display: grid; place-items: center; width: clamp(46px, 13vw, 56px); aspect-ratio: 75 / 90; padding: 0; border: 0; background: url("../images/deco-pin-sun.svg") center / 100% 100% no-repeat; color: var(--brand-deep); font-size: clamp(20.52px, 5.85vw, 23.76px); filter: drop-shadow(0 8px 10px rgba(18, 53, 143, .22)); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; }
/* Đầu ghim là hình tròn có tâm ở khoảng 59% chiều cao: đặt mũi tên đúng tâm đó để không bị lệch ở mọi kích thước. */
.to-top .ico { position: absolute; left: 50%; top: 59%; transform: translate(-50%, -50%); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background-image: url("../images/deco-pin-brand.svg?v=3"); color: #fff; }

/* Inner pages */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 260px; overflow: hidden; color: #fff; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.page-hero-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(25, 43, 82, .48) 20%, rgba(25, 43, 82, .12)); }
.page-hero-in { padding-block: 84px 48px; }
.page-hero::before, .page-hero::after { content: ''; position: absolute; z-index: 0; pointer-events: none; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; }
.page-hero::before { right: 8%; top: 26px; width: 120px; height: 120px; background: #fff; opacity: .4; }
.page-hero::after { right: 3%; bottom: 18px; width: 78px; height: 78px; background: var(--sun); opacity: .8; transform: rotate(30deg); }
.page-hero-in { position: relative; z-index: 1; }
.page-hero h1 { font-weight: 800; font-size: clamp(32.4px, 4.77vw, 60.48px); text-transform: uppercase; max-width: 22ch; overflow-wrap: anywhere; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-weight: 600; } .crumbs a { color: var(--sun-soft); } .crumbs b { font-weight: 700; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-art { position: relative; aspect-ratio: 1 / .95; }
.about-art .b3 { left: 0; top: 0; width: 82%; height: 64%; border-radius: 40% 60% 52% 48% / 56% 44% 56% 44%; }
.about-art .b4 { right: 0; bottom: 0; width: 46%; height: 42%; border-radius: 54% 46% 60% 40% / 44% 58% 42% 56%; z-index: 2; }
.about-art .b5 { left: 6%; bottom: 0; width: 42%; height: 40%; border-radius: 46% 54% 44% 56% / 58% 46% 54% 42%; z-index: 3; }
.about-copy .lead { font: 700 23.76px/1.4 var(--font-head); color: var(--brand-deep); }
.about-copy p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips li { padding: 9px 18px; border-radius: 999px; background: var(--sun-soft); color: var(--brand-deep); font: 700 16.2px var(--font-head); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info { padding: 28px 24px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.info { position: relative; overflow: hidden; }
.info::after { content: ''; position: absolute; right: 12px; top: 10px; width: 64px; height: 64px; background: var(--brand); opacity: .12; pointer-events: none; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; }
.info-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 50%; background: var(--primary); color: var(--brand-deep); font-size: 25.92px; }
.info h2, .info h3 { font-size: 22.68px; color: var(--brand-deep); margin-bottom: 10px; } .info p { margin: 0 0 8px; font-size: 16.74px; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.info-stack { display: grid; gap: 22px; }
.info-stack .info { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; }
.info-stack .info-icon { margin-bottom: 0; }
.info-stack .info h2 { margin-bottom: 4px; }
.info p a { overflow-wrap: anywhere; color: var(--brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.place-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.place-list li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.place-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.place-list b { grid-column: 1 / -1; color: var(--brand-deep); }
.place-list span { color: var(--muted); font-size: 16.74px; }
.place-list a { align-self: center; padding: 4px 14px; border: 2px solid var(--header-bg); border-radius: 999px; color: var(--brand-deep); font-size: 15.12px; font-weight: 700; white-space: nowrap; }
.place-list a:hover { background: var(--header-bg); color: var(--white); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.maps section:first-child, .campuses .info:first-child { grid-column: 1 / -1; }
.maps h2 { font-size: 23.76px; color: var(--brand-deep); } .maps p { margin: 4px 0 14px; color: var(--muted); font-size: 16.2px; }
.map { width: 100%; height: 280px; border: 1px solid var(--line-hover); border-radius: var(--r-card); background: var(--sky-soft); }
.prose { font-size: 19.44px; } .prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--brand-deep); margin-top: 1.6em; } .prose h2 { font-size: 34.56px; } .prose h3 { font-size: 25.92px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; } .prose ul { list-style: disc; padding-left: 1.4em; } .prose ol { padding-left: 1.4em; }
.prose img, .prose iframe, .prose video { max-width: 100%; height: auto; border-radius: 18px; }
/* Ảnh trong bài: giữ tỉ lệ thật (dọc hoặc ngang), không kéo giãn quá kích thước gốc, ảnh dọc hiện đủ chiều cao. Emoji dán từ Facebook vẫn nằm trong dòng chữ. */
.prose figure { margin: 1.6em 0; }
.prose figure img, .prose p > img:only-child, .prose img[class*="wp-image-"] { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; }
/* Khung đọc PDF (plugin PDF.js): iframe bị height:auto ở trên nên chỉ còn 150px; ép chiều cao đủ đọc, ghi đè cả style inline của plugin. */
.prose iframe[src*="pdf"] { width: 100%; height: 90vh !important; min-height: 720px; }
/* Video/playlist (MediaElement): player gán inline width/height theo video gốc (640x360) nên tràn khung trên mobile; ép co theo khung, giữ tỉ lệ 16:9. */
.prose .wp-playlist, .prose .mejs-container, .prose .mejs-container .mejs-inner, .prose .wp-video { width: 100% !important; max-width: 100% !important; }
.prose .mejs-container { height: auto !important; aspect-ratio: 16 / 9; }
.prose .mejs-container video, .prose .mejs-container .mejs-mediaelement, .prose .mejs-container .mejs-layer { width: 100% !important; height: 100% !important; }
.prose .wp-video-playlist .wp-playlist-tracks { max-height: 220px; overflow-y: auto; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 16.2px; text-align: center; }
/* Thư viện ảnh [gallery]: WordPress tự chèn <style> riêng theo id (#gallery-N: float, width 50%, viền, <br clear>) nên phải ghi đè bằng !important.
   Dùng cột kiểu masonry để ảnh dọc và ngang đều giữ đúng tỉ lệ, không bị ép cùng một khung. Số cột theo người soạn bài chọn; mobile tối đa 2 cột. */
.prose .gallery { display: block; column-count: 3; column-gap: 16px; margin: 1.6em 0; }
.prose .gallery-columns-1 { column-count: 1; } .prose .gallery-columns-2 { column-count: 2; } .prose .gallery-columns-3 { column-count: 3; }
.prose .gallery-columns-4, .prose .gallery-columns-5, .prose .gallery-columns-6 { column-count: 4; }
.prose .gallery > br { display: none; }
.prose .gallery .gallery-item { float: none !important; width: auto !important; margin: 0 0 16px !important; break-inside: avoid; }
.prose .gallery dl, .prose .gallery dt, .prose .gallery dd { margin: 0; }
.prose .gallery-icon a { display: block; }
.prose .gallery-icon img { display: block; width: 100%; max-height: none; margin: 0; border: 0 !important; }
.prose .gallery-columns-1 .gallery-icon img { width: auto; margin-inline: auto; }
.prose .gallery .gallery-caption { margin: 6px 0 0 !important; color: var(--muted); font-size: 15.12px; text-align: center; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; align-items: start; margin: 1.6em 0; }
.prose .wp-block-gallery figure { margin: 0; } .prose .wp-block-gallery img { width: 100%; max-height: none; }
@media (max-width: 720px) { .prose .gallery-columns-3, .prose .gallery-columns-4, .prose .gallery-columns-5, .prose .gallery-columns-6 { column-count: 2; } }
.prose blockquote { margin: 1.4em 0; padding: 18px 24px; border-left: 5px solid var(--sun); border-radius: 0 var(--r-card) var(--r-card) 0; background: var(--sky-soft); }
.prose table { width: 100%; border-collapse: collapse; } .prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.alignleft { float: left; margin: 0 1.2em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.2em; } .aligncenter { margin-inline: auto; }
.back-link { margin-top: 44px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 4 / 3; color: #fff; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(18, 53, 143, .92)); font: 800 19.44px/1.25 var(--font-head); }
.doc-list { display: grid; gap: 12px; } .doc-list li { display: flex; gap: 18px; align-items: baseline; padding: 18px 22px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.doc-list time { flex: none; color: var(--muted); font-weight: 700; font-size: 15.12px; } .doc-list a { font: 800 19.44px/1.35 var(--font-head); }
.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.single-side { position: sticky; top: 100px; display: grid; gap: 24px; }
.side-box { padding: 22px; border: 2px solid var(--line); border-radius: var(--r-card); background: var(--white); }
.side-title { margin-bottom: 14px; color: var(--brand-deep); font-size: 23.76px; }
.related { display: grid; gap: 14px; }
.related li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.related-thumb { overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--sky-soft); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; } .related-thumb img.is-logo { object-fit: contain; padding: 8px; }
.related-title { font: 800 17.28px/1.3 var(--font-head); color: var(--brand-deep); } .related-title:hover { color: var(--header-bg); }
.related time { display: block; margin-top: 4px; color: var(--muted); font-size: 14.58px; font-weight: 600; }
.side-contact { background: var(--sky-soft); } .side-contact .contact-list { margin-bottom: 18px; }
@media (max-width: 900px) { .single-grid { grid-template-columns: minmax(0, 1fr); } .single-side { position: static; } }

/* Motion: content is always visible; reveal is opt-in once JS has confirmed support. */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
	.hero-copy > * { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; } .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
	.hero-dots .dot { animation: rise .8s .3s cubic-bezier(.16, 1, .3, 1) both, bob 5s 1.2s ease-in-out infinite; }
	.hero-dots .dot:nth-child(2) { animation-delay: .45s, 2.2s; } .hero-dots .dot:nth-child(3) { animation-delay: .6s, 3.2s; }
	.hero-dots .dot::after { animation: orbit 28s linear infinite; }
}
@keyframes bob { 50% { translate: 0 -9px; } }
@keyframes orbit { to { transform: rotate(360deg); } }
/* Site-wide motion: hover feedback, staggered reveal, page transition. Reduced-motion is handled by the global block below. */
.reveal-ready .rv:not(.in) { opacity: 0; }
.rv.in { opacity: 1; animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }
.info, .doc-list li, .stat img, .socials a, .teacher-photo img, .team-photos img, .info-icon, .site-footer li a { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, background .25s, color .25s; }
.info:hover { transform: translateY(-4px); } .info:hover .info-icon { transform: rotate(-8deg) scale(1.08); }
.doc-list li:hover { transform: translateX(6px); border-color: var(--line-hover); }
.stat:hover img { transform: translateY(-4px) rotate(-5deg); }
.socials a:hover { transform: translateY(-3px); }
.teacher:hover .teacher-photo img { transform: scale(1.04); }
.team-photos figure:hover img { transform: scale(1.05); }
.site-footer li a { display: inline-block; } .site-footer li a:hover { transform: translateX(4px); }
.slide-photos img { transition: transform .5s var(--ease); }
.slide-photos:hover img:nth-child(1) { transform: scale(1.02); }
.slide-photos:hover img:nth-child(2) { transform: rotate(-7deg) translate(-8px, 6px); }
.slide-photos:hover img:nth-child(3) { transform: rotate(6deg) translate(8px, 6px); }
@keyframes pop { from { scale: 0; } }
@media (prefers-reduced-motion: no-preference) {
	.page-hero-in > * { animation: rise .8s var(--ease) both; } .page-hero-in > :nth-child(2) { animation-delay: .1s; }
	.programs::after, .voices::before, .page-hero + .section::before { animation: bob 7s ease-in-out infinite; }
	.voices::before { animation-delay: -3s; }
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; } .marquee-track span:nth-child(n+3) { display: none; }
}

/* Tablet */
@media (max-width: 1100px) {
	.nav-toggle { display: grid; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 20px; background: var(--header-bg); border-top: 1px solid var(--footer-line); box-shadow: 0 16px 24px -18px rgba(25, 43, 82, .45); display: none; }
	.nav.open { display: flex; }
	.nav a { display: block; padding: 14px 12px; border-radius: 10px; font-size: 16.2px; -webkit-tap-highlight-color: transparent; } .nav a::after { display: none; }
	.nav a:hover { background: var(--header-hover); color: var(--header-ink); }
	.nav a.active, .nav a[aria-current] { color: var(--header-active); box-shadow: inset 3px 0 0 var(--header-active); }
	.nav a:focus-visible { outline-offset: -3px; } .nav a:active { background: var(--header-hover); color: var(--header-ink); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.info-grid { grid-template-columns: repeat(2, 1fr); }
	.teacher { flex-basis: calc((100% - 28px) / 2); }
}
@media (max-width: 900px) {
	.hero { display: block; min-height: 0; background: var(--header-bg); }
	.hero-slides { position: relative; z-index: 0; height: auto; aspect-ratio: 2 / 1; max-height: 440px; }
	.hero-in { display: flex; flex-direction: column; padding: 0 0 40px; }
	.hero-copy { position: relative; width: auto; margin: 0 16px; padding: 56px 10px 0; }
	.hero-dots { position: static; order: 2; justify-content: center; align-items: flex-start; gap: 4vw; margin: 26px 0 0; }
	.hero-dots .dot { width: 30vw; height: 30vw; } .hero-dots .dot:nth-child(2) { width: 35vw; height: 35vw; margin-top: 9vw; margin-bottom: 0; } .hero-dots .dot::after { inset: -7px; }
	.stats-panel { margin-left: 16px; border-bottom-left-radius: 80px; }
	.stats-in { width: calc(100% - 24px); }
	.intro-grid, .about-grid, .contact-panel, .slide { grid-template-columns: 1fr; }
	.slide-photos { order: -1; }
	.collage, .about-art { width: min(100%, 560px); margin-inline: auto; }
	.slide-num { top: -24px; }
	.enroll-panel { grid-template-columns: 1fr; }
	.enroll-art { min-height: 300px; order: 2; } .enroll-art img { height: 300px; } .enroll-copy { padding: 40px 24px 0; }
	.voices-grid { grid-template-columns: 1fr; } .voice-dots { grid-auto-flow: column; justify-content: center; }
	.topbar-address { display: none; } .topbar-right { width: 100%; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
	.maps { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: repeat(2, 1fr); } .news-archive { grid-template-columns: 1fr; }
	.form { grid-template-columns: 1fr; }
	.contact-art { min-height: 300px; transform: none; }
}
@media (max-width: 640px) {
	body { font-size: 17.28px; }
	.wrap, .wrap--narrow { width: min(var(--wrap), calc(100% - 32px)); }
	.topbar-in { min-height: 44px; gap: 10px; } .topbar-address { display: flex; min-width: 0; flex: 1; font-size: 14.04px; } .topbar-address span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topbar-right { flex: none; width: auto; } .topbar-right .topbar-item { display: none; }
	.navbar-in { min-height: 60px; } .brand-badge { width: 84px; height: 84px; border-width: 4px; } .brand { margin-bottom: -26px; }
	.stats-panel { padding: 30px 0; border-bottom-left-radius: 64px; } .stats-in { grid-template-columns: 1fr; gap: 6px; }
	.stat { justify-content: flex-start; padding: 12px 24px; } .stat + .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); } .stat img { width: 44px; height: 44px; }
	.news-card { grid-template-columns: 1fr; padding: 14px; } .news-thumb { aspect-ratio: 16 / 10; }
	.teacher { flex-basis: 78%; } .carousel { grid-template-columns: 1fr; } .carousel > .round-btn { display: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.info-grid, .gallery-grid { grid-template-columns: 1fr; }
	.page-hero { min-height: 220px; } .page-hero-in { padding-block: 64px 32px; }
	.badge { font-size: 16.2px; padding: 9px 14px; } .badge b { font-size: 23.76px; }
	.voice-stage { padding-top: 76px; } .voice-stage > .ico-quotes { width: 52px; height: 52px; left: 24px; right: auto; top: 18px; }
	.bubble { font-size: 20.52px; padding: 12px 20px; }
	.doc-list li { flex-direction: column; gap: 4px; }
	.slider-nav { justify-content: center; }
	.btn { padding-left: 20px; font-size: 16.2px; }
}

/* Nét vẽ tay trang trí (ảnh png trong images/deco), chỉ hiện trên màn rộng */
.intro, .teachers, .news { position: relative; }
.intro > .wrap, .teachers > .wrap, .news > .wrap { position: relative; z-index: 1; }
.intro::before, .intro::after, .teachers::before, .teachers::after, .news::before, .news::after, .site-footer::before { content: ''; position: absolute; z-index: 0; pointer-events: none; background: center / contain no-repeat; }
.intro::before { left: 0; bottom: 0; width: min(24vw, 320px); aspect-ratio: 318 / 156; background-image: url("../images/deco/doodle-book.png"); }
.intro::after { right: 0; top: 0; width: min(30vw, 420px); aspect-ratio: 807 / 455; background-image: url("../images/deco/doodle-path.png"); }
.teachers::before { left: 2vw; top: 40px; width: 92px; aspect-ratio: 184 / 191; background-image: url("../images/deco/doodle-bag.png"); }
.teachers::after { right: 2vw; top: 60px; width: 76px; aspect-ratio: 114 / 113; background-image: url("../images/deco/doodle-ruler.png"); }
.news::before { right: 0; bottom: 0; width: min(30vw, 420px); aspect-ratio: 688 / 446; background-image: url("../images/deco/doodle-plane.png"); }
.news::after { left: 2vw; top: 40px; width: 96px; aspect-ratio: 127 / 101; background-image: url("../images/deco/doodle-123.png"); }
.programs > .wrap, .voices > .wrap { position: relative; z-index: 1; }
.programs::after, .voices::before { content: ''; position: absolute; z-index: 0; top: 12px; pointer-events: none; background: center / contain no-repeat; }
.programs::after { right: 2vw; width: min(14vw, 190px); aspect-ratio: 381 / 285; background-image: url("../images/deco/kids-wave.png"); }
.voices::before { left: 2vw; width: min(15vw, 210px); aspect-ratio: 453 / 289; background-image: url("../images/deco/kids-walk.png"); }
@media (max-width: 1100px) { .programs::after, .voices::before { display: none; } }

/* Ảnh cắt nền (PNG trong suốt) nằm trong bố cục nội dung. Khung nhãn nét đứt chỉ hiện ở môi trường local. */
.cutout { display: block; width: min(100%, 260px); height: auto; }
.cutout--slot { display: grid; align-content: center; justify-items: center; gap: 4px; aspect-ratio: 4 / 3; padding: 10px; border: 2px dashed var(--header-bg); border-radius: var(--r-card); background: rgba(255, 255, 255, .6); color: var(--header-bg); font: 800 16.2px/1.25 var(--font-head); text-align: center; }
.cutout--slot small { font: 600 11.88px/1.3 var(--font-body); overflow-wrap: anywhere; }
.notices-copy .cutout { margin-top: 28px; width: auto; max-width: 100%; height: clamp(260px, 26vw, 380px); object-fit: contain; object-position: left bottom; }
.notices-copy .cutout--slot { width: min(100%, 220px); height: auto; aspect-ratio: 3 / 4; }
/* Các bé trai đứng ở chỗ giao giữa Tin tức và Thông báo: nền tròn sau ảnh, viền trắng từng bé, chồm lên mép trên khối. */
.notices-panel { position: relative; }
.notices-copy .cutout:not(.cutout--slot) { position: relative; z-index: 1; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
@media (min-width: 901px) {
	/* Ảnh các bé trai cao như cột bé gái ở Chương trình học; chừa cột phải cho ảnh để danh sách không bị che. */
	.notices-panel { --boy-h: clamp(480px, 44vw, 640px); --boy-w: calc(var(--boy-h) * .43); --boy-right: clamp(32px, 4.8vw, 76px); padding-top: clamp(96px, 9vw, 130px); padding-right: calc(var(--boy-w) + var(--boy-right) + clamp(24px, 3vw, 48px)); min-height: calc(var(--boy-h) - 150px); }
	.notices-panel::before { content: ''; position: absolute; z-index: 0; right: calc(var(--boy-right) - var(--boy-h) * .1); top: calc(380px - var(--boy-h) * .7); width: calc(var(--boy-h) * .62); aspect-ratio: 1; border-radius: 50%; background: rgba(145, 201, 247, .6); pointer-events: none; }
	.notices-panel::after { content: ''; position: absolute; z-index: 0; right: calc(var(--boy-right) + var(--boy-w) + 6px); top: calc(380px - var(--boy-h) + 70px); width: 38px; aspect-ratio: 1; border-radius: 50%; border: 5px solid var(--sun); pointer-events: none; }
	.notices-copy .cutout:not(.cutout--slot) { position: absolute; z-index: 1; right: var(--boy-right); top: calc(380px - var(--boy-h)); height: var(--boy-h); width: auto; max-width: none; margin: 0; }
}
@media (max-width: 900px) {
	/* Điện thoại và máy tính bảng: cùng cỡ với ảnh bé gái (cao min(150vw, 620px)). */
	.notices-copy { position: relative; }
	.notices-copy:has(.cutout:not(.cutout--slot))::before { content: ''; position: absolute; z-index: 0; left: 50%; bottom: 14%; width: min(80vw, 400px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(145, 201, 247, .6); pointer-events: none; }
	.notices-copy .cutout:not(.cutout--slot) { display: block; width: auto; max-width: 86%; height: min(150vw, 620px); margin: 28px auto 0; object-fit: contain; object-position: center bottom; }
}
/* Địa chỉ nhà trường (Giới thiệu): một bảng rộng, địa chỉ lớn bên trái, thông tin nhanh bên phải. */
.address-panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; max-width: 1100px; margin-inline: auto; padding: clamp(28px, 4.5vw, 56px); border-radius: var(--r-panel); background: var(--mint-soft); }
.address-panel::before, .address-panel::after { content: ''; position: absolute; z-index: -1; pointer-events: none; -webkit-mask: url('../images/deco-rings.svg') center / contain no-repeat; mask: url('../images/deco-rings.svg') center / contain no-repeat; }
.address-panel::before { right: 24px; top: 16px; width: 110px; height: 110px; background: #2f9e6b; opacity: .22; }
.address-panel::after { left: 44%; bottom: 14px; width: 70px; height: 70px; background: #d99a00; opacity: .35; transform: rotate(30deg); }
.address-main { display: flex; gap: clamp(16px, 2vw, 24px); align-items: flex-start; }
.address-pin { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--sun); color: var(--brand-deep); font-size: 36px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .7); }
.address-kicker { margin: 0 0 4px; font: 800 14.4px/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #2f7d5a; }
.address-main h3 { font-size: clamp(28px, 3vw, 38px); color: var(--brand-deep); margin-bottom: 8px; }
.address-text { margin: 0 0 20px; font-size: 19px; color: var(--ink); }
.address-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.address-facts li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .85); }
.address-facts .ico { flex: none; color: var(--header-bg); font-size: 26px; }
.address-facts span { display: grid; min-width: 0; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.address-facts b { font: 800 14.4px/1.3 var(--font-head); color: var(--brand-deep); text-transform: uppercase; letter-spacing: .04em; }
.address-facts a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) { .address-panel { grid-template-columns: 1fr; } .address-pin { width: 60px; height: 60px; font-size: 28px; } }
@media (max-width: 480px) { .address-main { flex-direction: column; } }
.site-footer { position: relative; overflow: hidden; }
.site-footer > * { position: relative; z-index: 1; }
.site-footer::before { display: none; inset: auto 0 0 0; height: 70%; background-size: cover; background-position: bottom; background-image: url("../images/deco/doodle-footer.png"); background-image: image-set(url("../images/deco/doodle-footer-1728.webp") 1x, url("../images/deco/doodle-footer.png") 2x); }
@media (max-width: 900px) {
	.intro::before, .intro::after, .teachers::before, .teachers::after, .news::before, .news::after { display: none; }
}

/* Dải sóng ở mép trên chân trang: màu của dải chữ chạy, lộ ra mép sóng xanh */
.site-footer::after { content: ''; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 34px; background: url("../images/deco-wave.svg") 0 0 / 160px 34px repeat-x; pointer-events: none; }

/* Sóng nhiều lớp ở nửa dưới hero (tự vẽ, chuyển động chậm) */
.hero::after { content: ''; position: absolute; z-index: 0; inset: auto 0 0 0; aspect-ratio: 1920 / 500; background: url("../images/deco-waves.svg?v=13") left bottom / 100% 100% no-repeat; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero::after { background-image: url("../images/deco-waves-static.svg?v=13"); } }
.hero::before { content: ''; position: absolute; z-index: 0; inset: auto 0 0 0; height: 50%; background: linear-gradient(180deg, transparent, rgba(25, 43, 82, .38)); pointer-events: none; }

/* Mobile: khoảng cách giữa các section và các dòng nội dung giảm 10% */
@media (max-width: 640px) {
	p { margin-bottom: .9em; }
	.section { padding-block: 18px; } .section-head { margin-bottom: 18px; } .section-head p { margin-top: 12.6px; } .section-head::before { margin-bottom: 7px; }
	.script-line { margin-bottom: 5px; }
	.hero-in { padding-bottom: 36px; } .hero-copy { padding-top: 50px; } .hero-sub { margin-top: 7px; } .hero-dots { margin-top: 23px; }
	.stats-panel { padding-block: 27px; } .stats-in { gap: 5px; } .stat { padding-block: 11px; } .stat span { margin-top: 5px; }
	.intro-grid, .about-grid { gap: 29px; } .slide { gap: 22px; } .intro-text .section-title { margin-bottom: 20px; }
	.checklist { margin: 23px 0 29px; gap: 11px; } .checklist li { gap: 11px; }
	.slide-text { padding-block: 22px; } .slide h3 { margin-bottom: 12.6px; } .slide-text p { margin-bottom: 23px; } .slider-nav { margin-top: 27px; gap: 9px; }
	.carousel { gap: 11px; } .carousel-track { gap: 25px; padding: 14px 8px 7px; } .teacher-photo { margin-bottom: 18px; } .teacher p { margin-top: 3.6px; }
	.team-photos { gap: 11px; } .carousel + .team-photos { margin-top: 25px; } .team-title { margin-bottom: 7px; }
	.timeline-year { margin-bottom: 7px; }
	.center-action { margin-top: 40px; }
	.enroll { padding-block: 11px; } .enroll-copy { padding-top: 36px; } .bubble { margin-block: 20px; }
	.news-home { gap: 22px; } .news-home .news-card { gap: 14px; } .news-archive { gap: 20px; } .news-card { gap: 20px; } .news-meta { margin-bottom: 5px; } .news-card h3 { margin-bottom: 7px; }
	.empty-card { padding-block: 36px; } .pagination { margin-top: 36px; }
	.voices-grid { gap: 18px; } .voice-stage { padding-bottom: 29px; } .voice blockquote { margin-bottom: 22px; } .voice figcaption { gap: 13px; } .voice-dots { gap: 13px; }
	.contact-home { padding-block: 11px 18px; } .contact-panel { gap: 29px; } .contact-copy > p { margin: 13px 0 25px; }
	.form { gap: 20px 23px; } .form-actions { gap: 16px; }
	.marquee { padding-block: 20px; }
	.site-footer { padding-top: 65px; } .footer-grid { gap: 25px; } .footer-brand .brand-badge { margin-bottom: 14px; } .footer-title { margin-bottom: 16px; } .site-footer ul { gap: 9px; }
	.contact-list li { gap: 11px; } .site-footer .socials { margin-top: 20px; } .footer-bottom { margin-top: 47px; padding-block: 20px 25px; }
	.page-hero-in { padding-block: 58px 29px; } .crumbs { margin-top: 13px; }
	.chips { gap: 9px; margin-top: 20px; } .info-grid { gap: 20px; } .info { padding-block: 25px; } .info-icon { margin-bottom: 14px; } .info h2 { margin-bottom: 9px; } .info p { margin-bottom: 7px; }
	.maps { gap: 20px; margin-top: 40px; } .maps p { margin-bottom: 13px; }
	.prose > * + * { margin-top: 1em; } .back-link { margin-top: 40px; } .gallery-grid { gap: 20px; } .doc-list { gap: 11px; } .doc-list li { padding-block: 16px; }
}
@media (max-width: 640px) {
	.brand { margin-block: 0; }
	.brand .brand-badge { width: 54px; height: 54px; border-width: 3px; background: var(--white); box-shadow: none; overflow: hidden; }
	.brand .brand-badge img { width: 78%; height: auto; }
}

/* Điểm nhìn cho ảnh Hòa Vang mới, áp dụng cho cả khung tròn và ảnh ghép. */
.hero-dots img, .blob, .slide-photos img, .teacher-photo img, .team-photos img { object-position: center; }
.hero-dots img[src*="hoc-sinh-nho"], .blob[src*="hoc-sinh-nho"], .slide-photos img[src*="hoc-sinh-nho"] { object-position: 50% 36%; }
.hero-dots img[src*="vong-tron-2"] { object-position: 50% 42%; }
.hero-dots img[src*="lop-hoc-nho"], .slide-photos img[src*="lop-hoc-nho"] { object-position: 52% 62%; }
.team-photos figure:first-child { aspect-ratio: 2048 / 670; }
.team-photos figure:first-child img { object-fit: contain; background: var(--sky-soft); }
.brand-badge img { height: 78%; object-fit: contain; object-position: center; }
@media (max-width: 640px) { .team-photos figure:first-child { aspect-ratio: 2048 / 670; } }
