:root {
  --phong-chu: 'Nunito', system-ui, sans-serif; --viet-tay: 'Charm', cursive;
  --muc: #34495a; --nhan: #b92f3e; --vien: #e7c684; --giay: #fffaf0;
  --nut: linear-gradient(180deg, #d94a52, #b42838); --chu-nut: #fff;
  --o-dem: #fff; --chu-dem: #b92f3e; --canh: linear-gradient(140deg, #fff4c9, #f0bd5e);
  --nen-ngoai: #d7ebf3;
}
body { font-weight: 500; }
h1, h2, .ten, .ten-bia, .ten-khach { color: var(--nhan); font-family: var(--viet-tay); font-weight: 700; }
h2 { margin-bottom: 16px; font-size: 2.125rem; line-height: 1.45; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.4; }

.co-js .bia { background: radial-gradient(90% 55% at 50% 52%, #fffaf0, #e4f3f8 58%, #bcdfed); }
.chu-bia { font-size: 1.125rem; font-weight: 600; }
.ten-bia { font-size: min(14vw, 3.75rem, 165vw / var(--n), 800px / var(--n)); line-height: 1.5; white-space: nowrap; }
.be-trang { width: auto; height: min(50svh, 100vw, 500px); }
.kinh-moi { margin: 8px 0 14px; font-size: 1.1875rem; }
.may-bay { position: absolute; width: 230px; animation: troi 7s ease-in-out infinite alternate; }
.may-bay.trai { top: 4svh; left: -120px; }
.may-bay.phai { right: -110px; bottom: 3svh; animation-delay: -3s; }
@keyframes troi { to { translate: 22px 0; } }
.dang-mo .be-trang { animation: trang-len 1.6s cubic-bezier(.5, 0, .3, 1) forwards; }
.dang-mo .khung-bia > :not(.be-trang) { opacity: 0; transition: opacity .5s; }
.dang-mo .may-bay { opacity: 0; transform: translateX(-60vw); transition: transform 1.5s, opacity 1.5s; }
.dang-mo .may-bay.phai { transform: translateX(60vw); }
.bia.dang-mo { animation: mo-dan .8s .9s forwards; }
@keyframes trang-len { to { transform: translateY(-14svh) scale(1.25); } }
@keyframes mo-dan { to { opacity: 0; } }

.thiep { background: linear-gradient(#d5ebf4, #fffaf0 18%, #fff6e2 45%, #e8f4f8 70%, #fff8e8); }
.dau { position: relative; padding: 56px 24px 0; font-size: 1.125rem; }
h1 { font-size: min(15vw, 4rem, 165vw / var(--n), 780px / var(--n)); line-height: 1.45; white-space: nowrap; }
[data-dai].ten-bia, h1[data-dai] { font-size: min(9.5vw, 2.5rem); line-height: 1.4; white-space: normal; text-wrap: balance; }
.vang-trang { position: relative; margin: 24px auto 0; padding: 10px; border-radius: 999px 999px 40px 40px; background: linear-gradient(160deg, #fff3c4, #efbd62); box-shadow: 0 18px 40px rgb(170 120 40 / .25); }
.vang-trang::before, .vang-trang::after { content: ''; position: absolute; bottom: -26px; left: -46px; z-index: 1; width: 190px; aspect-ratio: 400 / 160; background: url(hinh/may.svg) center / contain no-repeat; }
.vang-trang::after { right: -46px; bottom: -40px; left: auto; }
.anh-dau { width: 100%; border-radius: 999px 999px 32px 32px; }

.thiep .moi { padding-top: 80px; }
.bo-me { margin-bottom: 28px; font-size: 1.25rem; font-weight: 700; }
.ten-khach { font-size: min(2.5rem, 150vw / var(--n)); line-height: 1.5; }
.loi-nhan { margin-top: 18px; padding: 18px 20px; border-radius: 22px; background: #fff; }
.thiep .noi-tiec { padding: 8px 16px 48px; }
.the { padding: 30px 18px; border: 2px solid var(--vien); border-radius: 32px; background: #fff; box-shadow: 0 14px 32px rgb(90 140 165 / .16); }
.so-ngay, .lich time, .nam { color: var(--nhan); font-weight: 700; }
.the h3 { margin-top: 12px; }
.the .nut { margin-top: 18px; }

.moc { position: relative; max-width: 340px; margin: 0 auto; padding: 16px 18px; border-radius: 22px; background: #fff; }
.moc + .moc { margin-top: 14px; }
.nam { font-size: 1.125rem; }

.boc-do img { width: min(100%, 380px); margin: 12px auto 0; }
.boc-do ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.boc-do li { padding: 8px 18px; border-radius: 999px; background: #fde5c0; color: #7b2732; font-weight: 600; }

.lich ol { display: grid; gap: 12px; text-align: left; }
.lich li { display: grid; grid-template-columns: 78px 1fr; align-items: baseline; padding: 14px 18px; border-radius: 20px; background: #fff; }
.lich h3 { font-size: 1.125rem; font-weight: 600; }
.lich-thang { background: #fff; }

footer { padding: 24px 24px 90px; }
footer .ten { font-size: 2rem; line-height: 1.45; }
footer img { width: 240px; margin: 20px auto 0; }
.anh-mam { height: auto; aspect-ratio: 4 / 3; border-radius: 26px; object-fit: cover; }
