/* Mầm non Wonderland Mỹ Đình. Bố cục theo sakuramontessori.edu.vn, màu pastel tươi. */
:root {
  --xanh: #12853f;
  --xanh-tuoi: #22b455;
  --hong: #ff7a2f;
  --hong-chu: #c2410c;
  --cam: #ff8a3d;
  --vang: #ffc533;
  --troi: #1b8fd6;
  --lam: #1681a8;
  --muc: #323232;
  --muc-phu: #575757;
  --mo: #6e6e6e;
  --o-vang: #fff1bf;  --o-vang-dam: #b87400;
  --o-troi: #d9f0ff;  --o-troi-dam: #1272ad;
  --o-dao: #ffe3d1;   --o-dao-dam: #cf4c08;
  --o-bac-ha: #dbf6e2; --o-bac-ha-dam: #12853f;
  --o-hong: #ffeccf;  --o-hong-dam: #c2410c;
  --nen-hong: #f2fbf4;
  --vien: #ebebeb;
  --tieu-de: "Baloo 2", "Manrope", system-ui, sans-serif;
  --chu: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bo: 24px;
  --bong: 0 12px 30px -16px rgba(50, 50, 50, .35);
  --em: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; scrollbar-color: var(--xanh-tuoi) #f3f3f3; }
body { margin: 0; font: 500 .9375rem/1.75 var(--chu); color: var(--muc-phu); background: #fff; -webkit-font-smoothing: antialiased; caret-color: var(--hong); overflow-x: hidden; }
::selection { background: var(--vang); color: var(--muc); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lam); text-underline-offset: .2em; }
a:hover { color: var(--hong-chu); }
:focus-visible { outline: 3px solid var(--troi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--tieu-de); color: var(--muc); line-height: 1.2; margin: 0; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.3rem); }
h3 { font-size: 1.75rem; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 .8em; }
svg { width: 1.2em; height: 1.2em; flex: none; }
.an { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.khung { width: min(1170px, 100% - 2.5rem); margin-inline: auto; }
.bo-qua { position: absolute; left: 1rem; top: -4rem; background: var(--muc); color: #fff; padding: .6rem 1rem; border-radius: 10px; z-index: 100; }
.bo-qua:focus, .bo-qua:hover { top: 1rem; color: #fff; }

/* Nút dạng viên thuốc */
.nut { display: inline-flex; align-items: center; justify-content: center; gap: .8em; min-height: 50px; padding: .6em 1.6em; font: 700 1.0625rem/1.2 var(--tieu-de); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; transition: transform .25s var(--em), box-shadow .25s var(--em), background-color .2s; }
.nut:hover { transform: translateY(-2px); }
.nut:active { transform: none; }
.nut--xanh { background: var(--xanh); color: #fff; box-shadow: 0 10px 20px -10px rgba(18, 133, 63, .8); }
.nut--xanh:hover { background: #0f7236; color: #fff; }
.nut--trang { background: #fff; color: var(--hong-chu); box-shadow: 0 10px 24px -10px rgba(50, 50, 50, .35); min-height: 56px; padding-inline: 1.9em; }
.nut--trang:hover { color: var(--xanh); }
.lien-ket { display: inline-flex; align-items: center; gap: 1em; font: 700 1.125rem/1.3 var(--tieu-de); text-decoration: none; color: #0b7fc0; }
.lien-ket svg { transition: transform .25s var(--em); }
.lien-ket:hover svg { transform: translateX(5px); }
.lien-ket--hong { color: var(--hong-chu); }

/* Đầu trang */
.dau-trang { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 6px 24px -18px rgba(50, 50, 50, .5); }
.dau-trang__trong { display: flex; align-items: center; gap: 2rem; min-height: 108px; }
.thuong-hieu img { width: 84px; height: 84px; }
.menu { display: flex; gap: .1rem; margin-right: auto; }
.menu a { padding: .5rem .85rem; border-radius: 999px; font: 700 1.1875rem/1.3 var(--tieu-de); color: var(--muc); text-decoration: none; transition: color .2s, background-color .2s; }
.menu a:hover { color: var(--xanh); background: var(--o-bac-ha); }
.dau-trang__goi { display: inline-flex; align-items: center; gap: .5em; padding: .55rem 1.1rem; border-radius: 999px; background: var(--o-bac-ha); color: var(--xanh); font: 700 1.1875rem/1.3 var(--tieu-de); text-decoration: none; font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.dau-trang__goi:hover { background: var(--xanh); color: #fff; }
.nut-menu { display: none; }

/* 1. Banner */
.banner { padding: 1.25rem 0 0; }
.banner__khung {
  position: relative; width: min(1256px, 100% - 2.5rem); margin-inline: auto; min-height: 700px;
  padding: 1.75rem 2.5rem 6.75rem; overflow: hidden; border-radius: var(--bo);
  background: url(../img/xu-so-than-tien-1536.webp) center bottom / 100% auto no-repeat, linear-gradient(180deg, #cfeaff 0%, #e2f3f4 42%, #e5f4e9 62%);
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start;
}
.banner__chu { text-align: center; }
.banner__nhan { display: inline-block; margin: 0 0 .35rem; padding: .3rem 1.3rem; background: #d9480f; color: #fff; font: 700 1.2rem/1.4 var(--tieu-de); letter-spacing: .04em; text-transform: uppercase; border-radius: 10px; transform: rotate(-3deg); }
.banner h1 { font-size: clamp(2.2rem, 1rem + 4vw, 4rem); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: .01em; color: #17a04a; -webkit-text-stroke: 10px #fff; paint-order: stroke fill; }
.banner h1 em { font-style: normal; color: var(--cam); }
.banner__loi { margin: .35rem 0 0; font: 600 1.35rem/1.4 var(--tieu-de); color: #1f5f80; }
.banner__anh { display: flex; justify-content: center; align-items: center; gap: 1.4rem; margin-top: 1.4rem; width: min(1150px, 100%); }
.tem { position: relative; margin: 0; flex: 1 1 0; min-width: 0; border-radius: 26px; background: #fff; padding: 7px 7px 0; box-shadow: var(--bong); }
.tem img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 20px; }
.tem figcaption { padding: .6rem .5rem .75rem; text-align: center; font: 700 1.2rem/1.2 var(--tieu-de); color: var(--muc); }
.tem figcaption small { display: block; font: 600 .75rem/1.4 var(--chu); color: var(--mo); }
.tem--1 { transform: rotate(-3deg) translateY(10px); }
.tem--2 { flex-grow: 1.25; z-index: 1; }
.tem--3 { transform: rotate(3deg) translateY(10px); }
.tem--1 figcaption { color: var(--o-dao-dam); }
.tem--2 figcaption { color: var(--o-hong-dam); }
.tem--3 figcaption { color: var(--o-troi-dam); }
.banner__dia-chi { position: absolute; right: 2rem; bottom: 1.6rem; display: flex; align-items: center; gap: .45rem; margin: 0; padding: .5rem 1.1rem; background: rgba(255, 255, 255, .94); border-radius: 999px; font: 700 1.0625rem/1.4 var(--tieu-de); color: var(--muc); }
.banner__dia-chi svg { color: var(--hong); }
.banner__nut { position: absolute; left: 2rem; bottom: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .tem { animation: tha .9s var(--em) backwards; }
  .tem--1 { animation-delay: .12s; }
  .tem--3 { animation-delay: .24s; }
  @keyframes tha { from { transform: translateY(46px) scale(.92); } }
}

/* 2. Giới thiệu + lưới ô màu */
.gioi-thieu { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); background: linear-gradient(180deg, #fff 0, var(--nen-hong) 22%, var(--nen-hong) 100%); }
.gioi-thieu__dau { text-align: center; margin-bottom: 2.5rem; }
.gioi-thieu__dau p, .lop-hoc__dau p, .hoi-dap__chu > p:first-child, .lien-he__chu > p:first-child { margin: 0 0 .5rem; font: 700 .8125rem/1.4 var(--tieu-de); letter-spacing: .08em; text-transform: uppercase; color: var(--mo); }
.luoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 290px; gap: 1.1rem; }
.o { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem 1.1rem; border-radius: 22px; background: var(--nen); color: var(--muc); box-shadow: inset 0 0 0 7px rgba(255, 255, 255, .55); overflow: hidden; transition: transform .35s var(--em); }
.o:hover { transform: translateY(-5px); }
.o--vang { --nen: var(--o-vang); --dam: var(--o-vang-dam); }
.o--troi { --nen: var(--o-troi); --dam: var(--o-troi-dam); }
.o--dao { --nen: var(--o-dao); --dam: var(--o-dao-dam); }
.o--bac-ha { --nen: var(--o-bac-ha); --dam: var(--o-bac-ha-dam); }
.o--hong { --nen: var(--o-hong); --dam: var(--o-hong-dam); }
.o strong { font: 800 4.25rem/1 var(--tieu-de); color: var(--dam); }
.o strong sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; }
.o strong.o__chu { font-size: 2.1rem; line-height: 1.1; margin-bottom: .3rem; }
.o strong.o__chu i { font-style: normal; color: #cf4c08; }
.o p { margin: .25rem 0 0; font-weight: 700; font-size: .9375rem; line-height: 1.45; max-width: 21ch; }
.o small { margin-top: .35rem; font-size: .75rem; font-weight: 600; color: #6b5a52; }
.o__icon { width: 104px; height: 104px; mix-blend-mode: multiply; margin-bottom: .1rem; }
.o--doi { padding: 0; background: none; box-shadow: none; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 1rem; overflow: visible; }
.o--doi:hover { transform: none; }
.o__tren { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 22px; background: var(--o-vang); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .55); text-align: left; }
.o__tren img { width: 62px; height: 62px; mix-blend-mode: multiply; }
.o__tren p { margin: 0; font-size: .8125rem; max-width: none; }
.o__tren b { display: block; font: 800 1.5rem/1.05 var(--tieu-de); color: var(--o-vang-dam); }
.o__anh { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 22px; }
.o--anh { padding: 0; box-shadow: none; }
.o--anh img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* 3. Vì sao chọn */
.vi-sao { position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; }
.vi-sao::before, .vi-sao::after { content: ""; position: absolute; z-index: -1; width: 620px; aspect-ratio: 1; transform: rotate(45deg); border-radius: 60px; }
.vi-sao::before { right: -260px; top: 520px; background: #f1faff; }
.vi-sao::after { left: -330px; top: 1250px; background: #fff8e3; }
.vi-sao > .khung > h2 { font-size: clamp(2.4rem, 1rem + 5vw, 4.5rem); font-weight: 700; line-height: 1.2; max-width: 13.5ch; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.hang { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.hang--dao { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.hang--dao .hang__chu { order: 2; }
.hang__icon { width: 88px; height: 88px; margin: 0 0 .75rem -6px; mix-blend-mode: multiply; }
.hang__chu h3 { margin-bottom: 1rem; }
.hang__chu p { max-width: 54ch; }
.hang__chu .lien-ket { margin-top: 1rem; }
.hang__anh { position: relative; padding: 0 0 5.5rem 0; }
.hang__anh-1 { width: 72%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 18px; }
.hang__anh-2 { position: absolute; right: 0; bottom: 0; width: 60%; aspect-ratio: 4 / 3.1; border: 6px solid #fff; object-fit: cover; border-radius: 18px; box-shadow: var(--bong); }
.hang__anh--mot { padding: 0; }
.hang__anh--mot .hang__anh-1 { width: 100%; aspect-ratio: 4 / 3; object-position: 50% 28%; }

/* 4. Lớp học */
.lop-hoc { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--nen-hong) 0, #fff 110px); }
.lop-hoc__dau { text-align: center; margin-bottom: 2rem; }
.the { display: flex; justify-content: center; flex-wrap: wrap; border-bottom: 1.5px solid var(--vien); }
.the__nut { position: relative; min-height: 56px; padding: .5rem 2.25rem; border: 0; background: none; font: 700 1.25rem/1 var(--tieu-de); color: var(--muc-phu); cursor: pointer; transition: color .2s; }
.the__nut::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: -1.5px; height: 3px; border-radius: 3px; background: var(--hong); transform: scaleX(0); transition: transform .35s var(--em); }
.the__nut:hover { color: var(--hong-chu); }
.the__nut[aria-selected="true"] { color: var(--hong-chu); }
.the__nut[aria-selected="true"]::after { transform: scaleX(1); }
.lop { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: 2.75rem clamp(0rem, 3vw, 2.5rem) 1.5rem; }
.lop[hidden] { display: none; }
.lop__hinh { position: relative; min-height: 380px; display: grid; align-content: center; justify-items: start; }
.lop__nhan { padding: .25rem 1.1rem; border-radius: 999px; background: var(--mau-nhat); color: var(--mau-dam); font: 700 .8125rem/1.5 var(--tieu-de); letter-spacing: .08em; text-transform: uppercase; }
.lop__ten { font: 800 clamp(3.4rem, 2rem + 4vw, 4.9rem)/1.1 var(--tieu-de); color: var(--mau); }
.lop__hinh::before { content: ""; position: absolute; right: 2%; top: 50%; width: 360px; aspect-ratio: 1; translate: 0 -50%; background: var(--mau-nhat); border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; }
.lop__hinh img { position: absolute; right: calc(2% + 30px); top: 50%; translate: 0 -50%; width: 300px; height: 300px; object-fit: cover; border-radius: 50%; border: 7px solid #fff; box-shadow: var(--bong); }
.lop--simba { --mau: #ff7a2f; --mau-dam: #b54708; --mau-nhat: #ffe3d1; }
.lop--bambi { --mau: #1b8fd6; --mau-dam: #0f6397; --mau-nhat: #d9f0ff; }
.lop__chu h3 { margin-bottom: .8rem; }
.lop__ghi { font-size: .875rem; color: var(--muc); font-weight: 700; }
.lop-hoc__nut { text-align: center; margin: 1rem 0 0; }
.co-so { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.25rem; border-top: 1.5px solid var(--vien); }
.co-so__dau { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.co-so__dau h2 { font-size: 1.75rem; font-weight: 600; }
.co-so__ds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0; }
.co-so dt { font: 700 1.35rem/1.3 var(--tieu-de); color: var(--muc); padding-bottom: .5rem; margin-bottom: .6rem; border-bottom: 1.5px solid var(--vien); }
.co-so dd { margin: 0 0 .35rem; font-size: .9rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.co-so dd a { color: var(--muc-phu); text-decoration: none; }
.co-so dd a:hover { color: var(--hong-chu); }

/* 5. Mẫu đăng ký */
.dang-ky { padding: 1rem 0; }
.dang-ky__khung { position: relative; width: min(1256px, 100% - 2.5rem); margin-inline: auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); padding: 0 clamp(1.25rem, 5vw, 4.5rem) 0 0; background: #e8f7ec; border-radius: 28px; overflow: hidden; }
.khoi { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); min-height: 440px; }
.khoi i { display: block; }
.khoi i:nth-child(1) { grid-area: 1 / 1 / 3 / 2; background: #bfe9cb; }
.khoi i:nth-child(2) { grid-area: 1 / 2 / 2 / 3; background: #cfe9ff; }
.khoi i:nth-child(3) { grid-area: 2 / 2 / 3 / 4; background: #ffe9a8; }
.khoi i:nth-child(4) { grid-area: 3 / 1 / 4 / 2; background: #ffd9bd; border-radius: 50%; }
.khoi i:nth-child(5) { grid-area: 3 / 2 / 4 / 4; background: #cfe9ff; }
.khoi i:nth-child(6) { grid-area: 4 / 1 / 5 / 2; background: #bfe9cb; }
.khoi i:nth-child(7) { grid-area: 4 / 2 / 5 / 3; background: #ffe9a8; border-radius: 50%; }
.mau { padding: clamp(2rem, 4vw, 3.25rem) 0; align-self: center; }
.mau h2 { font-size: 2.15rem; font-weight: 600; }
.mau__dan { margin: .2rem 0 1.5rem; font-size: .875rem; }
.mau__luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.mau label { display: block; font-weight: 700; font-size: .875rem; color: var(--muc); margin-bottom: .45rem; }
.mau label i { font-style: normal; color: var(--hong-chu); }
.mau input { width: 100%; min-height: 52px; padding: .7rem 1.4rem; font: 500 .9375rem var(--chu); color: var(--muc); background: #fff; border: 1.5px solid transparent; border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.mau input::placeholder { color: #767676; }
.mau input:hover { border-color: #9fd8ae; }
.mau input:focus-visible { outline: none; border-color: var(--xanh); box-shadow: 0 0 0 4px rgba(18, 133, 63, .18); border-radius: 999px; }
.mau [aria-invalid="true"] { border-color: var(--hong-chu); }
.mau__loi { margin: .4rem 0 0 1.4rem; font-size: .8125rem; font-weight: 600; color: var(--hong-chu); }
.mau__cuoi { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 1.75rem; }
.mau__phu { display: flex; flex-wrap: wrap; margin: 0; }
.mau__phu a { display: inline-flex; align-items: center; gap: .4em; padding: .2rem 1rem; font-weight: 600; font-size: .875rem; color: var(--muc); text-decoration: none; border-left: 1.5px solid #a9dcb7; }
.mau__phu a:first-child { padding-left: 0; border-left: 0; }
.mau__phu a:hover { color: var(--hong-chu); }
.mau__cuoi .nut { min-width: 170px; text-transform: uppercase; letter-spacing: .04em; }
.mau__bao { margin: 1.25rem 0 0; padding: .85rem 1.25rem; background: #fff; border-radius: 16px; color: var(--muc); font-weight: 600; font-size: .875rem; }

/* 6. Tin tức */
.tin-tuc { padding: clamp(3rem, 6vw, 4.5rem) 0 1rem; }
.tin-tuc__dau { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.tin-tuc__dau h2 { font-size: 2.6rem; }
.tin-tuc__dau h2.nho { font-size: 1.75rem; font-weight: 600; }
.tin-tuc__luoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: 3rem; border-bottom: 1.5px solid var(--vien); }
.tin-lon img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; border-radius: 16px; margin-bottom: 1.1rem; }
.tin-lon h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: .6rem; }
.tin-lon p { font-size: .875rem; }
.tin-ds { display: grid; gap: 1.25rem; align-content: start; }
.tin { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.tin img { width: 200px; height: 136px; object-fit: cover; border-radius: 12px; object-position: 50% 25%; }
.tin img.tin__icon { object-fit: contain; padding: 14px; background: #fdfdfd; border: 6px solid var(--o-vang); }
.tin img.tin__icon--2 { border-color: var(--o-troi); }
.tin h3 { font: 700 1.15rem/1.3 var(--tieu-de); margin-bottom: .35rem; }
.tin p { margin: 0; font-size: .8125rem; line-height: 1.6; color: var(--mo); }

/* 7. Hỏi đáp */
.hoi-dap { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 5rem) 0; background: #fff6d9; overflow: hidden; isolation: isolate; }
.hoi-dap::before, .hoi-dap::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.hoi-dap::before { width: 420px; aspect-ratio: 1; left: 8%; top: 12%; background: #dff3ff; }
.hoi-dap::after { width: 300px; aspect-ratio: 1; left: 28%; top: -12%; background: #dbf6e2; }
.hoi-dap__trong { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hoi-dap__chu h2 { font-size: 2rem; margin-bottom: .6rem; }
.hoi-dap__chu > p:first-child { color: var(--xanh); }
.hoi-dap__chu p { color: #4a4a4a; }
.hoi-dap__the { padding: clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.5rem); background: #fff; border-radius: 24px; box-shadow: var(--bong); }
details + details { border-top: 1.5px solid var(--vien); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.05rem 0; font: 700 1.25rem/1.3 var(--tieu-de); color: var(--muc); transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2.5px solid var(--xanh); border-bottom: 2.5px solid var(--xanh); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--em); }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
summary:hover { color: var(--xanh); }
details p { max-width: 64ch; padding-bottom: .5rem; }

/* 8. Khoảnh khắc */
.khoanh-khac { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.khoanh-khac__ds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.khoanh-khac figure { margin: 0; }
.khoanh-khac img { width: 100%; aspect-ratio: 1.15; object-fit: cover; object-position: 50% 25%; border-radius: 12px; transition: transform .5s var(--em); }
.khoanh-khac figure:hover img { transform: scale(1.03) rotate(-1deg); }
.khoanh-khac figcaption { margin-top: .7rem; font: 600 1.125rem/1.3 var(--tieu-de); color: var(--muc); }

/* 9. Liên hệ */
.lien-he { padding: 1rem 0 clamp(3rem, 6vw, 4.5rem); }
.lien-he__khung { width: min(1256px, 100% - 2.5rem); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 5vw, 5rem); background: #e4f6ff; border-radius: 28px; }
.lien-he__chu > p:first-child { color: #0f6397; }
.lien-he h2 { font-size: 1.85rem; font-weight: 600; margin-bottom: 1.1rem; }
.lien-he ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.lien-he li { display: flex; gap: .7rem; align-items: center; font-weight: 700; color: var(--muc); font-variant-numeric: tabular-nums; }
.lien-he li a { color: var(--muc); text-decoration: none; overflow-wrap: anywhere; }
.lien-he li a:hover { color: var(--hong-chu); }
.lien-he li svg { color: #0f6397; }
.lien-he iframe { width: 100%; height: 420px; border: 0; border-radius: 22px; background: #cfeaff; display: block; }

/* Chân trang */
.chan-trang__tranh { width: 100%; height: clamp(120px, 21vw, 300px); object-fit: cover; object-position: 50% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%); mask-image: linear-gradient(180deg, transparent 0, #000 45%); }
.chan-trang__nen { background: linear-gradient(180deg, #fff6e0, #eef9f0); padding-top: 2.75rem; }
.chan-trang__trong { display: grid; grid-template-columns: 1.1fr .8fr 1.3fr 1.1fr; gap: 2rem 2.5rem; font-size: .875rem; color: #4a4a4a; }
.chan-trang__logo { width: 92px; height: 92px; border-radius: 50%; background: #fff; padding: 5px; margin-bottom: .9rem; }
.chan-trang strong { font: 700 1.125rem/1.3 var(--tieu-de); color: var(--muc); }
.chan-trang h2 { font: 700 .8125rem/1.4 var(--tieu-de); letter-spacing: .08em; text-transform: uppercase; color: #5e5e5e; margin-bottom: .9rem; }
.chan-trang nav a, .chan-trang__trong > div > a { display: block; padding: .28rem 0; }
.chan-trang a { color: var(--muc); font-weight: 600; text-decoration: none; }
.chan-trang a:hover { color: var(--hong-chu); }
.chan-trang address { font-style: normal; display: grid; gap: .55rem; align-content: start; font-variant-numeric: tabular-nums; }
.chan-trang address span { display: flex; gap: .6rem; align-items: start; }
.chan-trang address svg { margin-top: .3em; color: var(--hong-chu); }
.chan-trang__ban-quyen { margin: 2.5rem auto 0; padding: 1.1rem 0 1.4rem; border-top: 1.5px solid rgba(18, 133, 63, .22); text-align: right; font-size: .8125rem; color: #5e5e5e; }

/* Nút nổi */
.tab-noi { position: fixed; z-index: 40; right: 0; top: 30%; writing-mode: vertical-rl; transform: rotate(180deg); padding: 1.1rem .5rem; background: #d9480f; color: #fff; font: 700 .75rem/1 var(--tieu-de); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-radius: 0 12px 12px 0; transition: padding .25s var(--em); }
.tab-noi:hover { color: #fff; padding-left: .8rem; }
.nut-noi { position: fixed; z-index: 40; right: 14px; bottom: 28px; display: grid; gap: .7rem; }
.nut-noi a { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; box-shadow: var(--bong); transition: transform .3s var(--em); }
.nut-noi a:hover { transform: scale(1.1); color: #fff; }
.nut-noi a:nth-child(1) { background: #e8590c; }
.nut-noi a:nth-child(2) { background: #1272ad; }
.nut-noi a:nth-child(3) { background: var(--xanh); }
.nut-noi svg { width: 24px; height: 24px; }
.len-dau { position: fixed; z-index: 40; left: 18px; bottom: 28px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--vang); color: var(--muc); box-shadow: var(--bong); transition: transform .3s var(--em); }
.len-dau:hover { transform: translateY(-4px); color: var(--muc); }
.len-dau svg { width: 22px; height: 22px; }

@media (max-width: 1240px) and (min-width: 1001px) { .menu a { font-size: 1.05rem; padding-inline: .6rem; } .dau-trang__trong { gap: 1.1rem; } }

/* Máy tính bảng */
@media (max-width: 1000px) {
  .nut-menu { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--o-bac-ha); cursor: pointer; order: 3; }
  .nut-menu span:first-child, .nut-menu span:first-child::before, .nut-menu span:first-child::after { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--xanh); transition: transform .3s var(--em); }
  .nut-menu span:first-child { position: relative; }
  .nut-menu span:first-child::before, .nut-menu span:first-child::after { content: ""; position: absolute; left: 0; }
  .nut-menu span:first-child::before { top: -7px; }
  .nut-menu span:first-child::after { top: 7px; }
  .nut-menu[aria-expanded="true"] span:first-child { background: transparent; }
  .nut-menu[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
  .nut-menu[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; padding: .5rem 1.25rem 1.25rem; background: #fff; box-shadow: 0 24px 30px -24px rgba(50, 50, 50, .5); }
  .menu.mo { display: flex; }
  .menu a { padding: .9rem .5rem; border-radius: 0; font-size: 1rem; border-bottom: 1px solid var(--vien); }
  .dau-trang__trong { gap: .75rem; min-height: 76px; }
  .thuong-hieu { margin-right: auto; }
  .thuong-hieu img { width: 60px; height: 60px; }
  .luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .hang, .lop, .tin-tuc__luoi, .hoi-dap__trong, .lien-he__khung { grid-template-columns: minmax(0, 1fr); }
  .hang--dao .hang__chu { order: 0; }
  .dang-ky__khung { grid-template-columns: minmax(0, 1fr); padding-left: clamp(1.25rem, 5vw, 4.5rem); }
  .khoi { display: none; }
  .co-so__ds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .khoanh-khac__ds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chan-trang__trong { grid-template-columns: 1fr 1fr; }
  .tab-noi { display: none; }
}
/* Điện thoại */
@media (max-width: 640px) {
  .khung, .banner__khung, .dang-ky__khung, .lien-he__khung { width: calc(100% - 1.75rem); }
  .banner { padding-top: .75rem; }
  .banner__khung { min-height: 0; padding: 1.5rem .9rem 1.25rem; background-size: 190% auto, auto; }
  .banner h1 { -webkit-text-stroke-width: 7px; }
  .banner__nhan { font-size: .85rem; }
  .banner__loi { font-size: 1rem; }
  .banner__anh { gap: .6rem; margin-top: 1.25rem; flex-wrap: wrap; }
  .tem--2 { order: -1; flex: 1 1 100%; }
  .tem--1, .tem--3 { flex: 1 1 40%; transform: none; }
  .tem { padding: 4px 4px 0; border-radius: 16px; }
  .tem img { border-radius: 12px; aspect-ratio: 4 / 3; }
  .tem figcaption { font-size: 1rem; padding: .4rem .15rem .5rem; }
  .tem figcaption small { display: none; }
  .banner__dia-chi, .banner__nut { position: static; }
  .banner__dia-chi { margin-top: 1.5rem; font-size: .8rem; }
  .banner__nut { margin-top: .9rem; justify-content: center; margin-bottom: 22vw; }
  .banner__nut .nut { min-height: 50px; }
  .luoi { gap: .7rem; grid-auto-rows: 200px; }
  .o { padding: 1rem .7rem; }
  .o strong { font-size: 3.2rem; }
  .o strong.o__chu { font-size: 1.6rem; }
  .o p { font-size: .8rem; }
  .o__icon { width: 64px; height: 64px; }
  .o__tren { padding: .5rem .6rem; gap: .35rem; }
  .o__tren img { width: 40px; height: 40px; }
  .o__tren b { font-size: 1.1rem; }
  .o__tren p { font-size: .7rem; line-height: 1.3; }
  .hang__anh { padding-bottom: 3rem; }
  .lop__hinh { min-height: 200px; }
  .lop__ten { font-size: 3rem; }
  .lop__hinh::before { width: 176px; right: 0; }
  .lop__hinh img { width: 144px; height: 144px; right: 16px; border-width: 5px; }
  .the__nut { padding-inline: 1.4rem; }
  .mau__luoi { grid-template-columns: minmax(0, 1fr); }
  .mau__cuoi .nut { width: 100%; }
  .tin { grid-template-columns: 112px minmax(0, 1fr); gap: .85rem; }
  .tin img { width: 112px; height: 88px; }
  .tin p { display: none; }
  .co-so__ds { grid-template-columns: minmax(0, 1fr); }
  .khoanh-khac__ds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .khoanh-khac figcaption { font-size: .9rem; }
  .chan-trang__trong { grid-template-columns: minmax(0, 1fr); }
  .chan-trang__ban-quyen { text-align: left; padding-bottom: 6rem; }
  .nut-noi { right: 10px; bottom: 16px; gap: .55rem; }
  .nut-noi a { width: 52px; height: 52px; }
  .nut-noi a:not(:last-child), .len-dau { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
