/* ds-allow-hardcode:start — trang chủ theo bố cục chungdoi: nền xám hồng, điểm nhấn hồng đậm, chữ nhấn kiểu viết tay */
.hp {
  --pk: #d10f5a; --pk-dark: #a80a48; --pk-soft: #fde4ee;
  --hp-bg: #f1eeef; --hp-gray: #e6e2e4; --hp-ink: #1c1418; --hp-muted: #5e5459;
  --hp-head: 'Montserrat', 'Be Vietnam Pro', sans-serif; --hp-script: 'Lobster', cursive;
  background: var(--hp-bg); color: var(--hp-ink);
}
.hp .site-h { background: rgba(241, 238, 239, .94); }
.hp .center { text-align: center; }

/* Nút */
.hp-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--pk); color: #fff; text-decoration: none; font: 700 15px var(--f-ui); padding: 13px 28px; border-radius: 999px; box-shadow: 0 6px 16px rgba(28, 20, 24, .16); transition: background .2s, transform .2s; border: 0; cursor: pointer; }
.hp-btn:hover { background: var(--pk-dark); transform: translateY(-1px); }
.hp-btn-lg { font-size: 17px; padding: 16px 38px; }
.hp-btn.ghost { background: transparent; color: var(--pk-dark); box-shadow: inset 0 0 0 2px var(--pk); }
.hp-btn.ghost:hover { background: var(--pk); color: #fff; }
.hp-btn.light { background: #fff; color: var(--pk-dark); box-shadow: none; }
.hp-btn.light:hover { background: var(--pk-soft); }
.hp-link { color: var(--hp-ink); font-weight: 700; text-decoration: none; font-size: 15px; }
.hp-link:hover { color: var(--pk-dark); text-decoration: underline; }
.hp-acts { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.hp-note { font-size: 13px; color: var(--hp-muted); margin: 12px 0 0; }
.hp-note a { color: var(--hp-muted); }
.hp-note.l { text-align: left; }

/* Tiêu đề mục */
.hp-sec { padding: clamp(64px, 8vw, 104px) 0; }
.hp-gray { background: var(--hp-gray); }
.hp-h2 { font: 700 clamp(26px, 3.4vw, 40px)/1.25 var(--hp-head); color: var(--hp-ink); margin: 0 0 12px; letter-spacing: -.01em; }
.hp-h2 em { font: normal 400 1.08em var(--hp-script); color: var(--pk); letter-spacing: 0; }
.hp-h2.l { text-align: left; }
.hp-sub { color: var(--hp-muted); font-size: 16px; margin: 0 auto; max-width: 620px; }
.hp-sub a { color: var(--pk-dark); font-weight: 600; text-decoration: none; }
.hp-p { color: var(--hp-muted); font-size: 16px; }
.hp-tag { display: inline-block; background: var(--pk-soft); color: var(--pk-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }

/* 1. Hero */
.hp-hero { position: relative; overflow: hidden; min-height: min(760px, calc(100svh - 64px)); display: flex; align-items: center; padding: 40px 0 56px; }
.hp-hero-bg { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; opacity: .22; filter: blur(1.5px) saturate(.8); transform: rotate(-4deg) scale(1.08); pointer-events: none; }
.hp-hero-bg .t-thumb { box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.hp-hero-bg > div:nth-child(even) { margin-top: 80px; }
.hp-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(241, 238, 239, .95) 0%, rgba(241, 238, 239, .75) 45%, rgba(241, 238, 239, .2) 100%); pointer-events: none; }
.hp-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; width: 100%; }
.hp-hero-txt { text-align: center; }
.hp-brand { font: 400 clamp(28px, 3vw, 36px) var(--hp-script); color: var(--pk); margin: 0 0 6px; }
.hp-brand small { font: 700 .8em var(--hp-head); color: var(--hp-ink); }
.hp-hero h1 { font: 800 clamp(34px, 4.6vw, 56px)/1.15 var(--hp-head); margin: 0 auto 18px; max-width: 13em; letter-spacing: -.015em; }
.hp-quote { font-style: italic; color: var(--hp-muted); margin: 0 0 4px; }
.hp-lead { color: var(--hp-muted); max-width: 34em; margin: 0 auto 18px; }
.hp-trust { font-size: 14px; color: var(--hp-muted); margin: 0 0 26px; }
.hp-phones { position: relative; height: clamp(420px, 44vw, 560px); }
.hp-phone { position: absolute; width: clamp(190px, 18vw, 250px); aspect-ratio: 9/19; background: #1b1b1f; border-radius: 38px; padding: 9px; box-shadow: 0 28px 60px rgba(20, 16, 18, .28); border: 2px solid #3a3a40; }
.hp-phone::before { content: ''; position: absolute; top: 15px; left: 50%; width: 30%; height: 16px; transform: translateX(-50%); background: #1b1b1f; border-radius: 0 0 12px 12px; z-index: 2; }
.hp-phone.p1 { left: 6%; top: 4%; transform: rotate(-8deg); }
.hp-phone.p2 { right: 4%; top: 14%; transform: rotate(6deg); }
.hp-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #fff; }
.hp-screen .t-thumb { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
/* Màn điện thoại dài hơn ảnh thu nhỏ: giữ ảnh đúng tỉ lệ 3:4 thay vì kéo giãn theo chiều cao */
.hp-screen .t-thumb { justify-content: center; padding-top: 34px; padding-bottom: 46px; }
.hp-screen .t-thumb .tt-p { flex: 0 0 auto; width: 76%; aspect-ratio: 3 / 4; margin-bottom: 0; }
.hp-screen .t-thumb .tt-p img { height: 100%; }

/* 2. Băng chuyền mẫu */
.hp-flow { position: relative; height: clamp(400px, 40vw, 520px); margin: 44px 0 18px; perspective: 1400px; overflow: hidden; }
.hp-flow-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.hp-flow-item { position: absolute; left: 50%; top: 0; width: clamp(200px, 20vw, 280px); margin-left: calc(clamp(200px, 20vw, 280px) / -2); transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .55s, filter .55s; cursor: pointer; text-decoration: none; }
.hp-flow-item .t-thumb { box-shadow: 0 18px 40px rgba(40, 10, 25, .2); border-radius: 14px; }
.hp-arrow { position: absolute; top: 50%; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--hp-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .14); transform: translateY(-50%); }
.hp-arrow:hover { color: var(--pk); }
.hp-arrow.l { left: clamp(10px, 3vw, 40px); } .hp-arrow.r { right: clamp(10px, 3vw, 40px); }
.hp-flow-name { font: 700 18px var(--hp-head); margin: 0 0 12px; min-height: 1.4em; }
.hp-dots { display: flex; gap: 6px; justify-content: center; margin: 0 0 26px; flex-wrap: wrap; }
.hp-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: #c9c1c5; cursor: pointer; transition: width .25s, background .25s; }
.hp-dots button.on { width: 24px; background: var(--pk); }

/* 3. Các bước */
.hp-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; max-width: 920px; margin: 44px auto 36px; }
.hp-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.hp-timeline::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--pk); opacity: .4; }
.hp-timeline li { display: flex; gap: 18px; align-items: flex-start; position: relative; padding: 0 0 52px; }
.hp-timeline li:last-child { padding-bottom: 0; }
.hp-timeline .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--pk); color: #fff; display: grid; place-items: center; flex: none; outline: 6px solid var(--hp-bg); }
.hp-timeline small { color: var(--pk-dark); font-weight: 700; font-size: 12px; }
.hp-timeline b { display: block; font: 700 20px var(--hp-head); margin: 2px 0 4px; }
.hp-timeline p { margin: 0; color: var(--hp-muted); font-size: 15px; }
.hp-guide { margin: 0; background: #fff; border-radius: 22px; padding: 12px 12px 18px; box-shadow: 0 20px 44px rgba(40, 10, 25, .14); max-width: 320px; justify-self: center; }
.hp-guide img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.hp-guide figcaption { text-align: center; font-size: 14px; color: var(--hp-ink); padding: 12px 8px 0; }

/* 4. Hỗ trợ */
.hp-support { display: grid; grid-template-columns: 1fr 1fr; max-width: 640px; margin: 28px auto 0; background: rgba(255, 255, 255, .6); border-radius: 18px; padding: 18px 8px; }
.hp-support > div { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: left; }
.hp-support > div + div { border-left: 1px solid #cfc7cb; }
.hp-support .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--pk-soft); color: var(--pk-dark); display: grid; place-items: center; flex: none; }
.hp-support .ic.ok { background: #dff2e6; color: #23683f; }
.hp-support small { display: block; color: var(--hp-muted); font-size: 12px; }
.hp-support b { font: 700 17px var(--hp-head); }

/* 5. Đánh giá */
.hp-reviews { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; max-width: var(--w); margin: 0 auto; padding: 36px 20px 24px; scroll-padding: 0 20px; scrollbar-width: none; }
.hp-reviews::-webkit-scrollbar { display: none; }
.hp-review { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; background: rgba(255, 255, 255, .7); border-top: 4px solid var(--pk); border-radius: 18px; padding: 22px 24px 26px; box-shadow: 0 10px 28px rgba(40, 10, 25, .08); }
.hp-review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--hp-muted); }
.hp-review-top span:first-child { background: #fff; border: 1px solid #ddd5d9; border-radius: 99px; padding: 3px 10px; font-weight: 600; color: var(--hp-ink); }
.hp-review-who { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.hp-av { width: 42px; height: 42px; border-radius: 50%; background: var(--pk-soft); color: var(--pk-dark); display: grid; place-items: center; font: 700 16px var(--hp-head); flex: none; }
.hp-review-who b { display: block; font-size: 16px; }
.hp-stars { color: #f2a51a; display: flex; gap: 2px; }
.hp-review p { margin: 0; color: var(--hp-muted); border-left: 2px solid #ddd5d9; padding-left: 14px; font-size: 15px; }

/* Khối tính năng */
.hp-feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hp-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.hp-checks li { position: relative; padding-left: 34px; color: var(--hp-ink); font-size: 15px; }
.hp-checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--pk-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a80a48' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* 6. Giao diện khách mời */
.hp-rsvp { position: relative; height: 470px; }
.hp-ui { position: absolute; background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 24px 50px rgba(40, 10, 25, .16); font-size: 14px; }
.hp-ui > b { display: block; font-size: 15px; margin: 2px 0 12px; }
.hp-ui-k { color: var(--pk-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ui1 { left: 0; top: 0; width: 64%; background: #fff7fa; }
.ui2 { right: 0; top: 120px; width: 66%; z-index: 2; }
.hp-ui-q { background: var(--pk-soft); border-radius: 14px; padding: 14px; text-align: center; margin-bottom: 10px; }
.hp-ui-q p { margin: 0 0 10px; font-weight: 600; }
.hp-ui-q div { display: flex; gap: 8px; justify-content: center; }
.hp-ui-q span { padding: 7px 12px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; }
.hp-ui-q span.on { background: var(--pk); color: #fff; }
.hp-ui-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid #ece5e8; border-radius: 12px; padding: 9px 12px; margin-top: 8px; color: var(--hp-muted); }
.hp-ui-f b { color: var(--hp-ink); }
.hp-ui-f b.ok { color: #23683f; display: flex; } .hp-ui-f b.pk { color: var(--pk-dark); }
.hp-ui-top { display: flex; justify-content: space-between; align-items: center; }
.hp-ui-pill { background: #dff2e6; color: #23683f; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.hp-ui-big { display: flex; justify-content: space-between; align-items: flex-end; }
.hp-ui-big strong { display: block; font: 800 46px/1 var(--hp-head); color: var(--pk); }
.hp-ui-big .r strong { font-size: 24px; color: var(--hp-ink); text-align: right; }
.hp-ui-big span { font-size: 12px; color: var(--hp-muted); }
.hp-ui-bar { height: 8px; background: #efe8eb; border-radius: 99px; margin: 12px 0; overflow: hidden; }
.hp-ui-bar i { display: block; height: 100%; background: var(--pk); border-radius: 99px; }
.hp-ui-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.hp-ui-3 div { background: #f3eff1; border-radius: 12px; padding: 8px 4px; }
.hp-ui-3 b { display: block; font: 700 20px var(--hp-head); }
.hp-ui-3 span { font-size: 11px; color: var(--hp-muted); }
.hp-ui-3 .g { background: #e3f3e8; } .hp-ui-3 .g b { color: #23683f; }
.hp-ui-3 .b { background: #fde6e6; } .hp-ui-3 .b b { color: #b3261e; }

/* 7. Đổi mẫu */
.hp-swap { display: flex; flex-direction: column; align-items: center; }
.hp-swap-card { width: min(320px, 80vw); margin-bottom: 18px; transition: opacity .35s; }
.hp-swap-card .t-thumb { box-shadow: 0 24px 50px rgba(40, 10, 25, .18); border-radius: 18px; }
.hp-swap .hp-dots { margin-bottom: 6px; }
.hp-swap-name { font-size: 13px; color: var(--hp-muted); margin: 0; }

/* 8. Song ngữ */
.hp-bi { background: #fff; border-radius: 22px; padding: 36px 28px; text-align: center; box-shadow: 0 24px 50px rgba(40, 10, 25, .12); max-width: 380px; justify-self: center; width: 100%; }
.hp-bi .k { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin: 0; color: var(--hp-ink); }
.hp-bi .e { font: italic 500 22px 'Cormorant Garamond', serif; color: var(--pk-dark); margin: 2px 0 22px; }
.hp-bi .row { display: flex; justify-content: center; align-items: center; gap: 18px; margin-bottom: 24px; }
.hp-bi .row b { display: block; font: 600 28px 'Cormorant Garamond', serif; }
.hp-bi .row i { color: var(--hp-muted); }
.hp-bi .row > span { font: 400 30px var(--hp-script); color: var(--pk); }
.hp-bi .line { display: block; width: 60px; height: 3px; background: var(--pk); border-radius: 3px; margin: 10px auto 0; opacity: .6; }
.hp-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hp-langs span { background: rgba(255, 255, 255, .7); border: 1px solid #d6cdd1; border-radius: 99px; padding: 5px 13px; font-size: 13px; }

/* 9. Cẩm nang */
.hp-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 36px 0 34px; text-align: left; }
.hp-post { background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--hp-ink); box-shadow: 0 8px 22px rgba(40, 10, 25, .07); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.hp-post:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(40, 10, 25, .12); }
.hp-post img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.hp-post div { padding: 16px 18px 18px; }
.hp-post b { display: block; font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
.hp-post span { font-size: 13px; color: var(--hp-muted); }

/* 10. Hỏi đáp */
.hp .faq details { background: rgba(255, 255, 255, .75); border-color: transparent; }
.hp .faq summary::after { color: var(--pk); }

/* 11. Kết */
.hp-cta { background: var(--pk); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 64px) 24px; text-align: center; }
.hp-cta h2 { font: 800 clamp(26px, 3.4vw, 40px)/1.2 var(--hp-head); margin: 0 0 10px; color: #fff; }
.hp-cta p { margin: 0 0 26px; }

@media (max-width: 960px) {
  .hp-review { flex-basis: calc((100% - 22px) / 2); }
  .hp-hero-in, .hp-feat, .hp-steps { grid-template-columns: minmax(0, 1fr); }
  .hp-phones { height: 440px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hp-hero-bg { grid-template-columns: repeat(5, 1fr); }
  .hp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-rsvp { max-width: 520px; width: 100%; margin: 0 auto; }
  .hp-feat.rev > .hp-bi { order: 2; }
}
@media (max-width: 600px) {
  .hp-review { flex-basis: 100%; }
  .hp-hero { padding-top: 24px; }
  .hp-phones { height: 360px; }
  .hp-phone { width: 168px; border-radius: 30px; padding: 7px; }
  .hp-screen { border-radius: 24px; }
  .hp-posts { grid-template-columns: minmax(0, 1fr); }
  .hp-support { grid-template-columns: 1fr; gap: 14px; }
  .hp-support > div { justify-content: flex-start; padding: 0 14px; }
  .hp-support > div + div { border-left: 0; border-top: 1px solid #cfc7cb; padding-top: 14px; }
  .hp-rsvp { height: 520px; }
  .ui1 { width: 86%; } .ui2 { width: 86%; top: 200px; }
  .hp-flow { height: 380px; }
  .hp-flow-item { width: 210px; margin-left: -105px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-flow-item, .hp-swap-card, .hp-btn, .hp-post { transition: none; }
}
/* ds-allow-hardcode:end */
