/* INNO — trang con dựng từ nội dung cũ + các khối cũ trên trang chủ + menu ngang + thanh dưới + hiệu ứng */

/* ---------- menu ngang (máy tính) ---------- */
.top-nav { display: none; }
@media (min-width: 1100px) {
  .top-nav { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .top-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .top-nav > ul > li > a { display: block; padding: 18px 13px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink); position: relative; }
  .top-nav > ul > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 12px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .top-nav > ul > li > a:hover::after, .top-nav > ul > li:focus-within > a::after { transform: scaleX(1); }
  .top-nav .co-con { position: static; }
  .top-nav .mega { position: fixed; left: 50%; top: 56px; transform: translate(-50%, 8px); width: min(1080px, 94vw); background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 24px 60px #123a2622; padding: 22px 26px; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .top-nav .co-con:hover .mega, .top-nav .co-con:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .top-nav .mega > ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
  .top-nav .mega ul ul { list-style: none; margin: 8px 0 0; padding: 0; columns: 1; }
  .top-nav .mega .dong > b a { display: block; font-size: 14px; color: var(--primary); padding-bottom: 8px; border-bottom: 2px solid var(--soft); }
  .top-nav .mega li li > a { display: block; padding: 4px 0; font-size: 12.5px; color: var(--muted); transition: color .15s, transform .15s; }
  .top-nav .mega li li > a:hover { color: var(--accent); transform: translateX(3px); }
  .top-nav .mega .nhom > a { font-weight: 700; color: var(--ink) !important; }
  .top-nav .mega .nhom ul { padding-left: 10px !important; border-left: 1px solid var(--line); }
  .site-header .header-note { left: auto; right: calc(var(--gutter) + 64px); transform: none; text-align: right; }
  .header-shop { display: none !important; }
}

/* ---------- thanh lối tắt dưới đáy (điện thoại, giữ từ web cũ) ---------- */
.thanh-duoi { display: none; }
@media (max-width: 879px) {
  .thanh-duoi { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px #123a2612; padding-bottom: env(safe-area-inset-bottom); }
  .thanh-duoi a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 8px; font-size: 11px; font-weight: 600; color: var(--muted); }
  .thanh-duoi a span { font-size: 18px; line-height: 1; color: var(--primary); }
  .thanh-duoi a.zalo { color: #fff; background: var(--primary); }
  .thanh-duoi a.zalo span { color: #fff; }
  body { padding-bottom: 58px; }
}

/* ---------- menu cây trong ngăn kéo ---------- */
.sidebar-nav-cay details { border-bottom: 1px solid var(--line); }
.sidebar-nav-cay summary { list-style: none; cursor: pointer; padding: 14px 0; font-weight: 700; display: flex; justify-content: space-between; }
.sidebar-nav-cay summary::after { content: "+"; color: var(--accent); }
.sidebar-nav-cay details[open] summary::after { content: "–"; }
.sidebar-nav-cay a.con { padding-left: 14px; font-size: 14px; font-weight: 500; }

/* ---------- trang con ---------- */
body.trang { background: #fff; }
body.trang main { padding-top: 56px; }
.duong-dan { max-width: 1180px; margin: 0 auto; padding: 16px var(--gutter) 0; font-size: 12.5px; color: var(--muted); }
.duong-dan a { color: var(--muted); } .duong-dan a:hover { color: var(--primary); }
.trang-hero { max-width: 1180px; margin: 0 auto; padding: 26px var(--gutter) 34px; display: grid; gap: 34px; align-items: center; }
.trang-hero.co-anh { grid-template-columns: 1.05fr .95fr; }
.trang-hero h1 { margin: 6px 0 14px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); }
.hero-mo { font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 62ch; }
.hero-anh { border-radius: 28px; overflow: hidden; background: var(--soft); box-shadow: 0 30px 80px #123a2618; aspect-ratio: 1; }
.hero-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.hero-anh:hover img { transform: scale(1.05); }
.trang-hero.bai h1 { font-size: clamp(26px, 3.4vw, 42px); max-width: 26ch; }
.cta-nut { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.nut { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--primary); color: var(--primary); font-weight: 700; font-size: 14px; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.nut:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px #1f5d3c33; }
.nut-dam { background: var(--primary); color: #fff; }
.nut-dam:hover { background: var(--navy); }
.chip-hang { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--primary); transition: background .2s, color .2s; }
.chip:hover { background: var(--primary); color: #fff; }

.noi-dung { max-width: 860px; margin: 0 auto; padding: 10px var(--gutter) 30px; font-size: 16.5px; line-height: 1.75; color: #2b3430; }
.noi-dung h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); margin: 42px 0 12px; letter-spacing: -.02em; line-height: 1.25; }
.noi-dung h3 { font-size: 19px; color: var(--primary); margin: 28px 0 8px; }
.noi-dung h3.h4 { font-size: 17px; }
.noi-dung h3.nhan { font-size: 12.5px; letter-spacing: .14em; color: var(--accent); margin: 30px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.noi-dung p { margin: 0 0 14px; }
.noi-dung .ds { margin: 6px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.noi-dung .ds li { position: relative; padding: 10px 14px 10px 40px; background: var(--soft); border-radius: 12px; }
.noi-dung .ds li::before { content: "✓"; position: absolute; left: 14px; top: 10px; color: var(--primary); font-weight: 800; }
.noi-dung blockquote { margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: #fdf6ef; border-radius: 0 14px 14px 0; font-style: italic; }
.chu-thich { font-size: 13.5px; color: var(--muted); text-align: center; }
.bang { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: 14px; }
.bang table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bang th { background: var(--primary); color: #fff; text-align: left; padding: 11px 14px; }
.bang td { padding: 10px 14px; border-top: 1px solid var(--line); }
.bang tr:nth-child(even) td { background: var(--soft); }
.g { display: grid; gap: 14px; margin: 16px 0 22px; }
.g-1 { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-n { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.g figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.g figure:hover { transform: translateY(-4px); box-shadow: 0 16px 36px #123a2618; }
.g img { width: 100%; height: auto; display: block; }
.g figcaption { padding: 9px 12px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.g.bia { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.vid { margin: 18px 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.vid iframe, .vid video { width: 100%; height: 100%; border: 0; display: block; }

.khoi-luoi, .khoi-video, .khoi-meo { max-width: 1180px; margin: 0 auto; padding: 30px var(--gutter); }
.khoi-luoi > h2, .khoi-video h2, .khoi-meo h2, .khoi-dau h2 { font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); margin: 4px 0 18px; letter-spacing: -.02em; }
.khoi-dau { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.khoi-mo { color: var(--muted); margin: -8px 0 18px; max-width: 70ch; line-height: 1.65; }
.luoi-sp { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.luoi-sp.nho { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.the-sp { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; transform-style: preserve-3d; }
.the-sp:hover { border-color: var(--primary); box-shadow: 0 22px 44px #123a261f; }
.the-anh { display: block; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.the-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.the-sp:hover .the-anh img, .the-bai:hover .the-anh img, .the-lt:hover .the-anh img { transform: scale(1.07); }
.the-ten { padding: 12px 14px 14px; font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.35; }
.the-vid { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700; vertical-align: 2px; }
.luoi-bai { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.the-bai { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: transform .3s, box-shadow .3s; }
.the-bai:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #123a261c; }
.the-bai .the-anh { aspect-ratio: 16 / 10; }
.the-bai-chu { padding: 14px 16px 18px; display: grid; gap: 6px; }
.the-bai-chu b { color: var(--navy); line-height: 1.35; }
.the-bai-chu small { color: var(--muted); line-height: 1.5; }
.ds-bai { columns: 2; gap: 30px; padding-left: 18px; } .ds-bai li { margin: 0 0 8px; } .ds-bai a { color: var(--primary); font-weight: 600; }
.luoi-meo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.luoi-meo div { padding: 22px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.luoi-meo b { color: var(--navy); font-size: 17px; } .luoi-meo p { color: var(--muted); margin: 8px 0 0; line-height: 1.6; }
.vid-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vid-sp { margin: 0; border-radius: 18px; overflow: hidden; background: #0d1d15; box-shadow: 0 18px 40px #123a2622; }
.vid-sp video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: #0d1d15; }
.vid-sp figcaption { padding: 10px 14px; color: #e8f0ea; font-size: 13.5px; font-weight: 600; }
.cta-khoi { max-width: 1180px; margin: 30px auto 60px; padding: 34px clamp(22px, 4vw, 48px); border-radius: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center;
  background: radial-gradient(120% 140% at 0% 0%, #2a7a50 0%, #1f5d3c 45%, #123a26 100%); color: #e9f3ec; width: calc(100% - 2 * var(--gutter)); }
.cta-khoi h2 { color: #fff; margin: 4px 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.cta-khoi p { color: #cfe2d5; line-height: 1.6; margin: 0; }
.cta-khoi .section-eyebrow { color: #f2b06b; }
.cta-khoi .nut { border-color: #ffffff88; color: #fff; } .cta-khoi .nut:hover { background: #fff; color: var(--primary); }
.cta-khoi .nut-dam { background: #f08a24; border-color: #f08a24; } .cta-khoi .nut-dam:hover { background: #fff; color: var(--primary); border-color: #fff; }
.giua { text-align: center; }

/* ---------- các khối cũ trên trang chủ ---------- */
.khoi-cu { max-width: 1180px; margin: 0 auto; padding: 56px var(--gutter) 10px; }
.khoi-tieu-de { text-align: center; margin-bottom: 26px; }
.khoi-tieu-de h2 { margin: 0 auto; max-width: 820px; font-size: clamp(24px, 3vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.khoi-tieu-de h2 b { color: var(--primary); font-weight: 800; }
.khoi-tieu-de .khoi-mo { margin: 12px auto 0; text-align: center; }
.moc { margin-bottom: 26px; }
.moc h3 { font-size: 15px; color: var(--accent); letter-spacing: .06em; margin: 0 0 12px; }
.moc-hang { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 32%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.moc-hang figure { margin: 0; scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.moc-hang img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s; }
.moc-hang figure:hover img { transform: scale(1.06); }
.moc-hang figcaption { padding: 12px 14px; font-size: 13.5px; line-height: 1.5; color: #33403a; }
.luoi-dong { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dong-sp { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, #fff 0%, var(--soft) 100%); transition: transform .35s, box-shadow .35s, border-color .35s; }
.dong-sp:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 22px 44px #123a261c; }
.dong-sp b { color: var(--primary); font-size: 16px; } .dong-sp span { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; } .dong-sp em { font-style: normal; font-weight: 700; color: var(--accent); font-size: 13px; }
.khoi-video { padding-top: 40px; }
.luoi-lt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.the-lt { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .35s, box-shadow .35s; }
.the-lt:hover { transform: translateY(-6px); box-shadow: 0 22px 44px #123a261c; }
.the-lt .the-anh { aspect-ratio: 4 / 3; }
.the-lt b { padding: 16px 18px 6px; color: var(--navy); } .the-lt span:not(.the-anh) { padding: 0 18px; color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; } .the-lt em { padding: 12px 18px 18px; font-style: normal; font-weight: 700; color: var(--accent); }
.hoc-vien { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; }
.hoc-vien h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.2; margin: 6px 0 14px; } .hoc-vien h2 b { color: var(--primary); }
.hoc-vien p { color: var(--muted); line-height: 1.7; }
.bang-doi-tac { display: flex; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bang-doi-tac .chay { display: flex; gap: 14px; animation: chay-ngang 70s linear infinite; }
.bang-doi-tac:hover .chay { animation-play-state: paused; }
.bang-doi-tac figure { margin: 0; flex: 0 0 210px; border-radius: 16px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.bang-doi-tac img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bang-doi-tac figcaption { padding: 9px 12px; font-size: 12.5px; font-weight: 600; color: #33403a; }
@keyframes chay-ngang { to { transform: translateX(-50%); } }
.luoi-nguoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
.nguoi { margin: 0; text-align: center; }
.nguoi img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--soft); transition: transform .4s; }
.nguoi:hover img { transform: rotate(-3deg) scale(1.03); }
.nguoi figcaption { display: grid; gap: 4px; margin-top: 12px; } .nguoi b { color: var(--navy); } .nguoi span { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.luoi-cot-bai { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cot-bai { padding: 18px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.cot-bai h3 { margin: 0 0 10px; font-size: 16px; } .cot-bai h3 a { color: var(--primary); }
.cot-bai ul { margin: 0; padding-left: 16px; } .cot-bai li { margin-bottom: 8px; font-size: 13.5px; line-height: 1.45; } .cot-bai li a { color: #33403a; } .cot-bai li a:hover { color: var(--accent); }
.usage-list li a { color: var(--navy); font-weight: 700; display: block; }
.usage-list li a:hover { color: var(--accent); }

/* ---------- hiệu ứng hiện dần khi cuộn ---------- */
.hien { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.hien.da-hien { opacity: 1; transform: none; }
@media (max-width: 0px) { .hien { opacity: 1; transform: none; transition: none; } .bang-doi-tac .chay { animation: none; } }

@media (max-width: 879px) {
  .trang-hero.co-anh { grid-template-columns: 1fr; }
  .trang-hero.co-anh .hero-anh { order: -1; max-width: 420px; }
  .luoi-meo, .luoi-lt, .luoi-dong { grid-template-columns: 1fr; }
  .luoi-cot-bai { grid-template-columns: 1fr 1fr; }
  .hoc-vien { grid-template-columns: 1fr; }
  .cta-khoi { grid-template-columns: 1fr; }
  .moc-hang { grid-auto-columns: 78%; }
  .ds-bai { columns: 1; }
  .luoi-sp { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .luoi-nguoi { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .noi-dung { font-size: 16px; }
}

/* ================= NỀN TUYẾT GIÁNG SINH (từ mẫu Christmas) ================= */
html { background: #e8f1f8; }
body, body.trang { background: transparent !important; }
.nen-tuyet { position: fixed; inset: 0; z-index: -2; background: #dfeaf3 url(../images/nen/tuyet.webp) center 30% / cover no-repeat; pointer-events: none; }
.nen-tuyet::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,251,253,.42) 0%, rgba(248,251,253,.74) 38%, rgba(248,251,253,.84) 100%); }
@media (max-width: 879px) { .nen-tuyet { background-image: url(../images/nen/tuyet-dt.webp); background-position: center top; } }
.hero-window { background: transparent !important; border-bottom: 0 !important; }
.site-header { background: rgba(255,255,255,.88) !important; backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); }
.noi-dung, .khoi-luoi, .khoi-meo, .khoi-video, .trang-hero, .khoi-cu, .trust-strip, .section-intro, .listing-section, .agent-contact-section, .property-overview { position: relative; }
.noi-dung { background: rgba(255,255,255,.9); border-radius: 26px; box-shadow: 0 20px 60px #123a2612; padding-top: 26px; padding-bottom: 34px; margin-bottom: 20px; }
.site-footer { background: rgba(255,255,255,.92) !important; }

/* ================= TUYẾT RƠI + DÂY ĐÈN ================= */
#tuyet-roi { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
.day-den { position: fixed; left: 0; right: 0; top: 56px; height: 26px; z-index: 31; pointer-events: none; overflow: hidden; }
.day-den svg { position: absolute; inset: 0 0 auto; width: 100%; height: 14px; }
.day-den i { position: absolute; top: 5px; width: 8px; height: 12px; border-radius: 50% 50% 45% 45%; transform: rotate(var(--r, 0deg)); background: radial-gradient(circle at 40% 35%, #fff 0 14%, var(--c) 36% 100%); box-shadow: 0 0 10px 2px var(--c); animation: nhap-nhay 2.6s ease-in-out infinite; animation-delay: var(--d); }
.day-den i::before { content: ""; position: absolute; left: 2px; top: -3px; width: 4px; height: 4px; border-radius: 1px; background: #4c5a52; }
@keyframes nhap-nhay { 0%, 100% { opacity: 1; filter: brightness(1.1); } 45% { opacity: .35; filter: brightness(.6); box-shadow: 0 0 2px 0 var(--c); } }
html.tat-mua-le #tuyet-roi, html.tat-mua-le .day-den { display: none; }
@media (max-width: 879px) { .day-den { top: 52px; } }
@media (max-width: 0px) { .day-den i { animation: none; } }

/* ================= ĐỔI TÔNG MÀU + CÔNG TẮC (từ mẫu nhahang) ================= */
.tuy-chinh { margin: 18px 0 6px; padding: 14px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); display: grid; gap: 12px; }
.tuy-chinh b { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.tong-mau { display: flex; gap: 8px; flex-wrap: wrap; }
.tong-mau button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .2s, transform .2s; }
.tong-mau button:hover { transform: translateY(-1px); }
.tong-mau button[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 22%, transparent); }
.tong-mau i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.cong-tac { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.cong-tac input { appearance: none; width: 40px; height: 22px; border-radius: 999px; background: #c9d3cd; position: relative; cursor: pointer; transition: background .2s; }
.cong-tac input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.cong-tac input:checked { background: var(--primary); }
.cong-tac input:checked::after { transform: translateX(18px); }

/* ================= VÒNG KHÁM PHÁ INNO (từ mẫu personal-profile) ================= */
.khoi-kham-pha { max-width: 1180px; margin: 56px auto 0; padding: 0 var(--gutter); }
.khung-kham-pha { position: relative; border-radius: 30px; overflow: hidden; height: clamp(560px, 82vh, 760px); box-shadow: 0 30px 80px #0f281b40; background: #0f281b; }
.khung-kham-pha iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ================= TRANG CHỦ GỌN: THẺ BẤM + CỬA SỔ CHI TIẾT ================= */
.khoi-gon { padding-top: 44px; }
.luoi-bam { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.luoi-bam.c3 { grid-template-columns: repeat(3, 1fr); }
.luoi-bam.c5 { grid-template-columns: repeat(5, 1fr); }
.the-bam { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 12px 32px #123a2614; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.the-bam:hover, .the-bam:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 50px #123a2626; }
.the-bam-anh { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.the-bam-anh img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.the-bam:hover .the-bam-anh img { transform: scale(1.08); }
.the-bam-chu { display: grid; gap: 3px; padding: 12px 46px 14px 14px; }
.the-bam-chu small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.the-bam-chu b { font-size: 15px; line-height: 1.3; color: var(--navy); }
.the-bam-mo { position: absolute; right: 12px; bottom: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 18px; font-weight: 700; transition: transform .3s; }
.the-bam:hover .the-bam-mo { transform: rotate(90deg); }
.hop-thoai { width: min(920px, 94vw); max-height: 88vh; padding: 0; border: 0; border-radius: 26px; background: #fff; box-shadow: 0 40px 120px #0b1f1466; overflow: hidden; }
.hop-thoai::backdrop { background: rgba(12, 32, 22, .55); backdrop-filter: blur(4px); }
.hop-thoai[open] { animation: hop-mo .45s cubic-bezier(.2,.9,.25,1.1); }
@keyframes hop-mo { from { opacity: 0; transform: translateY(24px) scale(.94); } }
.hop-noi-dung { max-height: 88vh; overflow-y: auto; padding: 34px clamp(20px, 4vw, 44px) 36px; }
.hop-dong { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); font-size: 24px; line-height: 1; cursor: pointer; color: var(--navy); }
.hop-dong:hover { background: var(--primary); color: #fff; }
.hop-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.hop-tieu-de { margin: 0 46px 16px 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; color: var(--navy); }
.hop-noi-dung p { line-height: 1.7; color: #33403a; }
.hop-phu { color: var(--muted) !important; font-size: 14.5px; }
.hop-2cot { display: grid; grid-template-columns: 300px 1fr; gap: 26px; align-items: start; }
.hop-hinh { width: 100%; border-radius: 18px; background: var(--soft); }
.hop-anh { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.hop-anh.nho { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.hop-anh figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.hop-anh img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hop-anh figcaption { padding: 8px 10px; font-size: 13px; line-height: 1.45; color: #33403a; }
.hop-nguoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hop-nguoi figure { margin: 0; text-align: center; } .hop-nguoi img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--soft); }
.hop-nguoi figcaption { display: grid; gap: 4px; margin-top: 10px; } .hop-nguoi b { color: var(--navy); } .hop-nguoi span { font-size: 11.5px; letter-spacing: .06em; color: var(--muted); }
.hop-ds { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hop-ds a { display: block; padding: 12px 16px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); color: var(--navy); font-weight: 600; transition: background .2s, color .2s, transform .2s; }
.hop-ds a:hover { background: var(--primary); color: #fff; transform: translateX(4px); }
.hop-nut { margin-top: 18px; }
.khung-kho-video { border-radius: 30px; overflow: hidden; height: clamp(560px, 86vh, 820px); }
.khung-kho-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.agent-description.thu-gon { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xem-them { border: 0; background: none; padding: 0; margin: -4px 0 12px; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 879px) {
  .luoi-bam, .luoi-bam.c3, .luoi-bam.c5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .the-bam-chu b { font-size: 13.5px; } .the-bam-chu { padding: 10px 40px 12px 12px; }
  .hop-2cot { grid-template-columns: 1fr; } .hop-hinh { max-width: 320px; }
  .hop-thoai { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .hop-noi-dung { max-height: 92vh; }
  .khung-kho-video { height: 640px; }
}


/* ================= TRANG SẢN PHẨM — THEO MẪU ELEMENTOR CŨ (post-779) ================= */
.sp-trang-den { background: #000; margin: 14px 0 0; padding: 0 0 30px; font-family: Inter, -apple-system, sans-serif; }
.sp-nhom { padding: 0; }
.sp-nhom-tieu-de { margin: 0; padding: 16px 10px; text-align: center; color: #fff; font: 700 32px/32px Inter, -apple-system, sans-serif; background: #000; }
.sp-luoi { display: grid; grid-template-columns: repeat(4, 1fr); background: #000; }
.sp-o { padding: 10px; text-align: center; }
.sp-anh { display: block; margin: 0 0 20px; background: #fff; aspect-ratio: 1; overflow: hidden; }
.sp-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-ten, .sp-ten-lon { margin: 0; border: 3px solid #252525; transition: background 0s; text-align: center; }
.sp-ten a { display: block; color: #fff; font: 700 19px/19px Inter, -apple-system, sans-serif; padding: 0; }
.sp-ten:hover, .sp-ten:focus-within, .sp-o:hover .sp-ten { background-color: transparent; background-image: linear-gradient(180deg, #BAECE6 0%, #ECE2E4 100%); border-style: groove; }
.sp-noi-bat { max-width: 860px; margin: 10px auto 0; padding: 0 10px; text-align: center; }
.sp-noi-bat .sp-anh { aspect-ratio: auto; margin: 0; }
.sp-ten-lon { border: 0; margin: 4px 0 0; padding: 4px; }
.sp-ten-lon:hover { background-image: linear-gradient(180deg, #BAECE6 0%, #ECE2E4 100%); }
.sp-ten-lon a { color: #6ec1e4; font: 600 24px/1.2 Inter, -apple-system, sans-serif; }
/* zoomIn của Elementor: ẩn tới khi cuộn tới, rồi phóng từ .3 lên 1 trong 1.25s */
.zoom-vao { visibility: hidden; }
.zoom-vao.da-zoom { visibility: visible; animation: elementor-zoomIn 1.25s both; }
@keyframes elementor-zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@media (max-width: 0px) { .zoom-vao { visibility: visible; } .zoom-vao.da-zoom { animation: none; } }
@media (max-width: 767px) { .sp-luoi { grid-template-columns: 1fr; } .sp-nhom-tieu-de { font-size: 26px; line-height: 30px; } }


/* ===== NÚT PLAY TRÊN ẢNH BÌA VIDEO ===== */
.khung-play { position: relative; display: block; }
.nut-play { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border: 0; padding: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28)); cursor: pointer; transition: background .3s; }
.nut-play span { width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); box-shadow: 0 0 0 10px rgba(255,255,255,.28), 0 14px 40px rgba(0,0,0,.35); transition: transform .3s, box-shadow .3s; animation: play-nhip 2.2s ease-in-out infinite; }
.nut-play span::before { content: ""; margin-left: 7px; border-left: 26px solid #1f5d3c; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.nut-play:hover { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18)); }
.nut-play:hover span { transform: scale(1.1); }
.nut-play.an { display: none; }
.vid-sp .nut-play span { width: 58px; height: 58px; } .vid-sp .nut-play span::before { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 5px; }
@keyframes play-nhip { 0%, 100% { box-shadow: 0 0 0 8px rgba(255,255,255,.25), 0 14px 40px rgba(0,0,0,.35); } 50% { box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 14px 40px rgba(0,0,0,.35); } }


/* ===== VIDEO GIỚI THIỆU ĐẦU TRANG CHỦ (lấy từ trang bảng giá cũ) ===== */
.video-dau { padding: 18px var(--gutter) 6px; }
.video-dau-khung { max-width: 1180px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(10, 30, 20, .35); aspect-ratio: 16 / 9; max-height: 78vh; }
.video-dau-khung .khung-play, .video-dau-khung video { width: 100%; height: 100%; display: block; }
.video-dau-khung video { object-fit: contain; background: #000; }
@media (max-width: 879px) { .video-dau { padding: 12px 10px 4px; } .video-dau-khung { border-radius: 18px; } }

.video-dau-khung { position: relative; }
.bat-tieng { position: absolute; right: 16px; top: 16px; z-index: 4; border: 0; border-radius: 999px; padding: 10px 16px; background: rgba(255,255,255,.94); color: #1f5d3c; font: 700 14px/1 inherit; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.bat-tieng:hover { background: #fff; transform: translateY(-1px); }
.video-dau .nut-play.an { display: none; }
.video-dau .nut-play-dau { position: absolute; inset: 0; z-index: 3; }
@media (max-width: 879px) { .bat-tieng { right: 8px; top: 8px; padding: 6px 10px; font-size: 12px; } }

/* đoạn xem trước động (khi điện thoại chặn video tự phát) */
.xem-truoc-dong { position: absolute; inset: 0; z-index: 5; border: 0; padding: 0; margin: 0; background: #000; cursor: pointer; display: block; width: 100%; height: 100%; }
.xem-truoc-dong[hidden] { display: none; }
.xem-truoc-dong img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xem-truoc-chu { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1f5d3c; font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.3); animation: nhip-chu 1.8s ease-in-out infinite; }
@keyframes nhip-chu { 50% { transform: translateX(-50%) scale(1.06); } }
@media (max-width: 879px) { .xem-truoc-chu { font-size: 12px; padding: 7px 12px; bottom: 10px; } }

/* ===== BÀN XOAY SẢN PHẨM (theo mẫu nhà hàng La Table) ===== */
.khoi-ban-xoay { max-width: 1280px; margin: 56px auto 0; padding: 0 var(--gutter); }
.khung-ban-xoay { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(20, 40, 30, .18); border: 1px solid rgba(255,255,255,.6); background: #f5f1e8; }
.khung-ban-xoay iframe { width: 100%; height: 900px; border: 0; display: block; }
html.ban-xoay-mo, html.ban-xoay-mo body { overflow: hidden; }
/* đầu trang khổ 880–1099px: nút Shopee đè lên số Zalo -> ẩn (đã có Shopee ở chỗ khác) */
@media (max-width: 1099px) { .header-shop { display: none !important; } }

/* ===== CHỮ NHỎ TRANG CHỦ DỄ ĐỌC TRÊN NỀN TUYẾT (26/11) ===== */
:root { --muted: #34443b; }
.section-eyebrow { color: #a84d06 !important; text-shadow: 0 0 8px rgba(255,255,255,.9), 0 0 2px #fff; }
.khoi-mo, .section-intro .khoi-mo { color: #1d2e24 !important; font-weight: 500; text-shadow: 0 0 10px rgba(255,255,255,.9); }
.khoi-tieu-de h2 { text-shadow: 0 0 14px rgba(255,255,255,.85); }
/* điện thoại: khung sản phẩm 3D + kho video cao hơn để thẻ to, nổi bật */
@media (max-width: 700px) {
  .hero-window { height: clamp(680px, calc(100svh - 20px), 860px) !important; }
  .khung-kho-video { height: clamp(700px, calc(100svh - 20px), 860px) !important; }
}

/* ===== CHỌN TÌNH TRẠNG DA: hàng nút nhảy tới nhóm bài viết ===== */
.chon-tinh-trang { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px auto 0; max-width: 900px; }
.chon-tinh-trang button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid #bcd9c6; background: rgba(255,255,255,.9);
  color: #1f5d3c; font: 600 14px/1.2 'Be Vietnam Pro', Inter, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; box-shadow: 0 3px 12px rgba(20,40,30,.08); }
.chon-tinh-trang button small { font-size: 11.5px; font-weight: 600; color: #a84d06; }
.chon-tinh-trang button:hover { transform: translateY(-1px); border-color: #1f5d3c; }
.chon-tinh-trang button[aria-pressed="true"] { background: #1f5d3c; border-color: #1f5d3c; color: #fff; }
.chon-tinh-trang button[aria-pressed="true"] small { color: #ffd27a; }
@media (max-width: 600px) { .chon-tinh-trang { gap: 6px; } .chon-tinh-trang button { padding: 7px 12px; font-size: 13px; } }

/* ===== KHỐI THÔNG TIN BÀI VIẾT DƯỚI VÒNG TRÒN: nền trắng phủ hết chữ, chữ nhỏ đậm rõ ===== */
.details { padding: 32px 28px 26px; }
.details::before { width: min(660px, 100%) !important; background: #fffdf9 !important; border-radius: 120px 120px 26px 26px !important; }
.details > .eyebrow, .details > .property-title, .details > .description, .details > .property-meta, .details > .property-tags { max-width: 580px; margin-left: auto; margin-right: auto; }
.details .eyebrow { color: #a84d06 !important; font-size: 11.5px !important; font-weight: 700 !important; }
.details .eyebrow::before, .details .eyebrow::after { background: #e3b98f !important; }
.details .property-title { color: #123a26 !important; }
.details .description { color: #1f2d25 !important; font-size: 14.5px !important; font-weight: 500; line-height: 1.7 !important; max-width: 560px !important; }
.details .property-meta { flex-wrap: wrap; row-gap: 6px; }
.details .property-meta > span { color: #1f3a2a !important; font-size: 13px !important; font-weight: 600; }
.details .property-tags { gap: 6px 8px !important; }
.details .property-tags > span { color: #1f5d3c !important; font-size: 12px !important; font-weight: 600; padding: 4px 11px !important; border: 1px solid #cfe3d6 !important; border-radius: 999px; background: #f1f8f3; }
.details .property-tags > span + span { border-left: 1px solid #cfe3d6 !important; }
@media (max-width: 700px) {
  .details { padding: 30px 16px 22px; }
  .details::before { width: 100% !important; border-radius: 90px 90px 20px 20px !important; }
  .details .description { font-size: 14px !important; }
}
.home-finder-copy p, .quick-contact-heading p { color: #1f2d25 !important; font-weight: 500; text-shadow: 0 0 10px rgba(255,255,255,.95), 0 0 2px #fff; }
.home-finder-copy h2 { text-shadow: 0 0 12px rgba(255,255,255,.95); }

/* Hệ sản phẩm Inno Meso Peel (khung 3D): trải hết chiều ngang màn hình */
@media (min-width: 701px) {
#he-san-pham.khoi-kham-pha { max-width: none; padding: 0; }
#he-san-pham .khoi-tieu-de { padding: 0 var(--gutter); }
#he-san-pham .khung-kho-video { border-radius: 0; width: 100%; }
}

/* Về Innoaesthetics: 2 ô một hàng + khung 3D vòng cung "phòng khám & bác sĩ" tràn màn hình bên dưới */
#ve-inno .luoi-bam.c2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
#ve-inno .tieu-de-doi-tac { margin-top: 44px; }
@media (min-width: 701px) { #ve-inno .khung-doi-tac { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; } }

/* Kho video: trải hết chiều ngang màn hình như Hệ sản phẩm */
/* chỉ máy tính; điện thoại giữ kiểu cũ (có lề, bo góc) */
@media (min-width: 701px) {
  #video.khoi-kham-pha { max-width: none; padding: 0; }
  #video .khoi-tieu-de { padding: 0 var(--gutter); }
  #video .khung-kho-video { border-radius: 0; width: 100%; }
}

/* ĐIỆN THOẠI: 3 khung 3D (sản phẩm dưới video, Hệ sản phẩm, Phòng khám & bác sĩ) giống hệt kho video: cách lề, bo góc 30px */
@media (max-width: 700px) {
  .hero-window { margin: 0 var(--gutter) !important; width: auto !important; border-radius: 30px !important; overflow: hidden !important; }
  .hero-window iframe { border-radius: 30px; }
  #he-san-pham .khung-kho-video, #ve-inno .khung-doi-tac { border-radius: 30px; overflow: hidden; }
}

/* Bàn xoay: hiện NGAY ảnh chụp sẵn trạng thái đầu (khung con nạp xong sẽ phủ lên đúng chỗ) — nhanh khi mở từ Zalo/điện thoại */
.khung-ban-xoay { background: #f5f1e8 url(../images/ban-xoay-tam-mt.webp) top center / 100% auto no-repeat; }
.khung-ban-xoay iframe { height: 893px; background: transparent; }
@media (max-width: 700px) {
  .khung-ban-xoay { background-image: url(../images/ban-xoay-tam-dt.webp); }
  .khung-ban-xoay iframe { height: 1083px; }
}

/* Về Innoaesthetics (đã bỏ tiêu đề): hàng ô nối tiếp "Vì sao chọn" với khoảng cách bằng khoảng cách giữa các hàng ô */
#ve-inno { padding-top: 4px; }   /* 10px đệm dưới khối trên + 4px = 14px như khoảng cách hàng */
@media (max-width: 879px) { #ve-inno { padding-top: 0; } }   /* điện thoại: 10px = khoảng cách hàng */

/* 6 ô (Vì sao chọn + Thành lập 2011 + INNO Team) một hàng ngang trên máy tính; điện thoại 2 ô/hàng */
.luoi-bam.c6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1099px) { .luoi-bam.c6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 879px) { .luoi-bam.c6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { #vi-sao.khoi-gon { max-width: none; padding-left: 20px; padding-right: 20px; } }   /* hàng 6 ô tràn ngang màn hình */

/* Ô liên hệ (đã bỏ khối giới thiệu bên cạnh): một cột, nằm giữa trang */
.agent-contact-section { display: block !important; }
.agent-contact-section > .contact-section { max-width: 820px; margin-left: auto; margin-right: auto; }

/* đầu trang: nút Nhắn Zalo thay cho số điện thoại */
.header-contact .nut-zalo-dau { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; background: #0068FF; color: #fff;
  font-weight: 700; font-size: 14.5px; line-height: 1; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,104,255,.28); transition: background .2s, transform .2s; }
.header-contact:hover .nut-zalo-dau { background: #0052cc; transform: translateY(-1px); }
.header-contact { text-decoration: none !important; }
@media (max-width: 600px) { .header-contact .nut-zalo-dau { padding: 8px 12px; font-size: 13.5px; } }
