/* ===== Davao Dental – giao diện chính (bố cục theo bedental.vn) ===== */
:root {
	--navy: #1B3F5E;
	--navy-rgb: 27, 63, 94;
	--navy-soft: #EEF3F7;
	--teal: #14AEAA;
	--teal-rgb: 20, 174, 170;
	--teal-soft: #E5F6F4;
	--violet: #1F6E8F;
	--violet-rgb: 31, 110, 143;
	--violet-dark: #113D4F;
	--mint: #9FCBA8;
	--mint-soft: #EDF6EF;
	--text: #4B5577;
	--muted: #8089A6;
	--line: #E3E8F2;
	--bg-soft: #F4F8FD;
	--white: #fff;
	--radius: 24px;
	--radius-s: 14px;
	--shadow: 0 10px 30px rgba(var(--navy-rgb), .08);
	--shadow-h: 0 18px 44px rgba(var(--navy-rgb), .16);
	--wrap: 1200px;
	--hd-h: 76px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid rgba(var(--teal-rgb), .55); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }

/* Tiêu đề kiểu bedental: chữ navy đậm + gạch chân teal ngắn */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.sec-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; color: var(--navy); margin: 0 0 22px; }
.sec-title::after { content: ""; display: block; width: 56px; height: 2px; border-radius: 2px; background: var(--teal); margin-top: 18px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.sec-head .sec-title::after { margin-left: auto; margin-right: auto; }
.lead { font-size: 17px; color: var(--text); }

/* Nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; text-align: center; }
.btn svg { width: 18px; height: 18px; }
.btn-main { background: var(--violet); color: #fff; box-shadow: 0 8px 22px rgba(var(--violet-rgb), .28); }
.btn-main:hover { background: var(--violet-dark); transform: translateY(-2px); }
.btn-line { background: #fff; color: var(--navy); border-color: rgba(var(--navy-rgb), .18); }
.btn-line:hover { border-color: var(--teal); color: var(--teal); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 90; background: #fff; box-shadow: 0 2px 14px rgba(var(--navy-rgb), .06); }
.admin-bar .site-header { top: 32px; }
.hd-inner { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; height: var(--hd-h); display: flex; align-items: center; gap: 24px; }
.hd-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { max-height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.logo-text b::first-letter { color: var(--teal); }
.logo-text small { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); margin-top: 5px; }
.hd-nav { flex: 1; display: flex; justify-content: center; }
.hd-nav .menu { display: flex; align-items: center; gap: 4px; }
.hd-nav .menu > li { position: relative; }
.hd-nav .menu > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--navy); border-radius: 999px; transition: color .2s, background .2s; }
.hd-nav .menu > li > a:hover { color: var(--teal); }
.hd-nav .sub-toggle { display: none; }
.hd-nav .menu > .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; }
.hd-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff; border-radius: var(--radius-s); box-shadow: var(--shadow-h); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.hd-nav .menu > li:hover > .sub-menu, .hd-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hd-nav .sub-menu a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; color: var(--navy); }
.hd-nav .sub-menu a:hover { background: var(--teal-soft); color: var(--teal); }
.hd-nav-head, .hd-nav-foot, .hd-overlay { display: none; }
.hd-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }
.hd-hotline { display: flex; align-items: center; gap: 10px; }
.hd-hotline .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.hd-hotline .ico svg { width: 19px; height: 19px; }
.hd-hotline .t { display: flex; flex-direction: column; line-height: 1.2; }
.hd-hotline small { font-size: 12px; color: var(--muted); }
.hd-hotline b { font-size: 15px; color: var(--navy); }
.hd-book { min-height: 44px; padding: 10px 22px; }
.hd-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--navy-soft); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.hd-burger span { display: block; height: 2px; border-radius: 2px; background: var(--navy); }

/* ===== Khối chung ===== */
.band { position: relative; padding: 96px 0; }
.band-light { background: #fff; }
.band-soft { background: var(--bg-soft); }
.band-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.band-wave { background: linear-gradient(160deg, var(--violet) 0%, var(--violet-dark) 100%); color: rgba(255, 255, 255, .85); padding-top: 170px; overflow: hidden; }
.band-navy .sec-title, .band-wave .sec-title, .band-navy h3, .band-wave h3 { color: #fff; }
.band-wave .eyebrow, .band-navy .eyebrow { color: #A6E3D0; }
.band-wave .btn-line, .band-navy .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.band-wave .btn-line:hover, .band-navy .btn-line:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.band-wave .btn-main, .band-navy .btn-main { background: #fff; color: var(--violet); box-shadow: none; }
.band-wave .btn-main:hover, .band-navy .btn-main:hover { background: var(--teal); color: #fff; }
.wave-top { position: absolute; top: -1px; left: 0; width: 100%; height: 120px; }
.dv-edit { position: absolute; top: 12px; right: 12px; z-index: 20; font-size: 12px; background: #FFB703; color: #111; padding: 4px 10px; border-radius: 6px; font-weight: 600; opacity: .85; }
.dv-edit:hover { opacity: 1; }

/* Hiện dần khi cuộn */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .1s; }
.js .rv.d2 { transition-delay: .2s; }

/* ===== Slider dùng chung ===== */
[data-slider] { position: relative; }
.hs-viewport { overflow: hidden; }
.hs-track { display: flex; gap: 24px; transition: transform .6s cubic-bezier(.22, .7, .2, 1); will-change: transform; }
.hs-track > * { flex-shrink: 0; }
.sl-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.sl-btn svg { width: 20px; height: 20px; stroke-width: 2.2; }
.sl-btn:hover:not(:disabled) { background: var(--teal); color: #fff; }
.sl-btn:disabled { opacity: .35; cursor: default; }
.sl-arrows { display: flex; gap: 12px; }
.sl-arrows.center { justify-content: center; margin-top: 28px; }
.is-static .sl-btn, .is-static .sl-dots, .is-static .sl-arrows { display: none; }

/* ===== Hero ===== */
.hero { position: relative; padding: 36px 0 64px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F6FAFF 100%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-blob.b1 { width: 460px; height: 460px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(var(--teal-rgb), .16), transparent 70%); }
.hero-blob.b2 { width: 520px; height: 520px; right: -200px; top: 120px; background: radial-gradient(circle, rgba(159, 203, 168, .32), transparent 70%); }
.hs .hs-viewport { overflow: visible; }
.hs { overflow: visible; }
.hs .hs-track { gap: 20px; }
.hs-slide { position: relative; width: calc(100% - 110px); aspect-ratio: 16 / 7; border-radius: 28px; overflow: hidden; background: #E9F3FA; transition: opacity .5s; }
.hs-slide:not(.is-current) { opacity: .55; }
.hs-media, .hs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-slide.has-text .hs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .72) 38%, rgba(255, 255, 255, 0) 64%); }
.hs-cap { position: relative; z-index: 2; height: 100%; max-width: 560px; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hs-title { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.18; margin-bottom: 16px; }
.hs-cap p { font-size: 17px; color: var(--text); max-width: 460px; margin-bottom: 26px; }
.hs-link { position: absolute; inset: 0; z-index: 2; }
.hs > .sl-btn { position: absolute; top: calc(50% - 23px); z-index: 5; }
.hs > .sl-prev { left: -18px; }
.hs > .sl-next { right: 92px; }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.sl-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(var(--navy-rgb), .2); cursor: pointer; transition: .3s; }
.sl-dots button.is-active { width: 30px; background: var(--teal); }
.hero-trust { position: relative; z-index: 3; display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 28px auto 0; background: #fff; border-radius: 999px; padding: 12px 12px 12px 14px; box-shadow: var(--shadow); }
.ht-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.ht-ico svg { width: 26px; height: 26px; }
.ht-text { flex: 1; line-height: 1.35; }
.ht-text b { display: block; font-size: 22px; color: var(--navy); }
.ht-text span { font-size: 14.5px; color: var(--text); }

/* ===== Dịch vụ: thẻ màu ===== */
.sl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sl-head .lead { max-width: 620px; margin: 0; }
.svc-card { position: relative; width: calc((100% - 72px) / 4); display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: var(--radius); padding: 26px 20px 0; overflow: hidden; min-height: 400px; transition: transform .3s, box-shadow .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.svc-card.c-sky { background: linear-gradient(180deg, #E3F2FB, #CFE8F7); }
.svc-card.c-lemon { background: linear-gradient(180deg, #F9FBE3, #EEF3C6); }
.svc-card.c-mint { background: linear-gradient(180deg, #E2F3EF, #CDEAE3); }
.svc-card.c-rose { background: linear-gradient(180deg, #F8E4E8, #F1D0D7); }
.svc-card.c-lilac { background: linear-gradient(180deg, #EFE7F7, #E2D5F2); }
.svc-card.c-peach { background: linear-gradient(180deg, #FCEDE2, #F8DCC8); }
.svc-ico { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(var(--navy-rgb), .08); margin-bottom: 14px; }
.svc-ico svg { width: 24px; height: 24px; stroke-width: 1.6; }
.svc-card h3 { font-size: 15.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.svc-card p { font-size: 14px; color: var(--text); margin: 0; line-height: 1.5; }
.svc-img { margin-top: auto; width: 100%; padding-top: 14px; }
.svc-img img { width: 100%; height: 220px; object-fit: contain; object-position: bottom; transition: transform .5s; }
.svc-card:hover .svc-img img { transform: scale(1.05); }

/* ===== Dịch vụ nổi bật ===== */
.fe-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.img-left .fe-grid { grid-template-columns: 1.08fr 1fr; }
.img-left .fe-media { order: -1; }
.fe-desc { font-size: 17px; }
.fe-media { position: relative; }
.fe-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 32px; background: var(--teal-soft); z-index: 0; }
.img-left .fe-media::before { inset: 22px 22px -22px -22px; }
.band-wave .fe-media::before { background: rgba(255, 255, 255, .1); }
.fe-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-h); }
.checks { display: grid; gap: 12px; margin-top: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.band-wave .checks li, .band-navy .checks li { color: #fff; }
.checks svg { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.band-wave .checks svg { color: #A6E3D0; }

/* ===== Thư viện khách hàng ===== */
.lib-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.lib-tab { border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: 15px; padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: .2s; }
.lib-tab:hover { border-color: var(--teal); color: var(--teal); }
.lib-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.lib-panel.in-anim { animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cmp-card { margin: 0; width: calc((100% - 48px) / 3); }
.cmp { position: relative; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.cmp-img, .cmp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-lb { position: absolute; top: 12px; z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(var(--navy-rgb), .72); color: #fff; padding: 4px 10px; border-radius: 99px; pointer-events: none; }
.cmp-lb.l { left: 12px; }
.cmp-lb.r { right: 12px; background: var(--teal); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 3; pointer-events: none; }
.cmp-line i { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.cmp-line svg { width: 20px; height: 20px; stroke-width: 2.2; }
.cmp-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp-range:focus-visible + .cmp-line, .cmp:focus-within .cmp-line i { outline: 3px solid rgba(var(--teal-rgb), .6); }
.cmp-card figcaption { text-align: center; font-weight: 600; color: var(--navy); margin-top: 14px; font-size: 15px; }
.lib-note { text-align: center; font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* ===== Răng bạn có vấn đề? ===== */
.care { padding-top: 110px; }
.care-box { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; background: linear-gradient(120deg, #E6F5F4 0%, #EAF3F8 55%, #EEF7EF 100%); border-radius: 36px; padding: 0 56px; }
.care-text { padding: 64px 0; }
.care-text .sec-title { font-size: clamp(26px, 3vw, 40px); }
.care-text .hl { display: block; color: var(--teal); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.chips li { background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; border-radius: 99px; padding: 6px 14px; box-shadow: 0 2px 8px rgba(var(--navy-rgb), .06); }
.care-media { align-self: end; margin-top: -60px; }
.care-media img { width: 100%; max-height: 520px; object-fit: contain; object-position: bottom; }

/* ===== Kiến thức nha khoa ===== */
.blog-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 44px; }
.blog-intro .lead { font-weight: 500; color: var(--navy); }
.blog-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.blog-cats a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); border: 1px solid transparent; transition: .2s; height: 100%; }
.blog-cats a:hover { border-color: var(--teal); background: #fff; box-shadow: var(--shadow); }
.blog-cats b { display: block; color: var(--navy); font-size: 15.5px; line-height: 1.35; }
.blog-cats small { color: var(--muted); font-size: 13px; }
.blog-cats svg { width: 18px; height: 18px; color: var(--teal); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); }
.pc-ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .pc-ph img { transform: scale(1.05); }
.pc-cat { position: absolute; left: 14px; top: 14px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body time { font-size: 13px; color: var(--muted); }
.pc-body h2, .pc-body h3 { font-size: 18px; line-height: 1.4; margin: 6px 0 8px; transition: color .2s; }
.post-card:hover h2, .post-card:hover h3 { color: var(--teal); }
.pc-body p { font-size: 14.5px; margin-bottom: 14px; }
.lnk { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--teal); }
.lnk svg { width: 16px; height: 16px; }
.blog-more { text-align: center; margin-top: 44px; }

/* ===== Trang con / blog ===== */
.page-hero { padding: 60px 0 36px; background: linear-gradient(180deg, #F3F8FD, #fff); }
.page-hero .sec-title { margin-bottom: 18px; }
.page-hero .meta { color: var(--muted); font-size: 14.5px; margin: 0; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-pills a { padding: 7px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy); }
.cat-pills a:hover, .cat-pills a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.list-wrap { padding-top: 20px; padding-bottom: 90px; }
.pagination { margin-top: 40px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.pagination .current, .pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 40px 0; }
.entry { max-width: 812px; margin: 0 auto; padding: 10px 24px 80px; font-size: 17px; }
.entry-cover img { width: 100%; border-radius: 22px; margin-bottom: 32px; }
.entry h2 { font-size: 26px; margin-top: 1.6em; }
.entry h3 { font-size: 21px; margin-top: 1.4em; }
.entry a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.entry ul { list-style: disc; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--teal); }
.entry blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--teal); background: var(--bg-soft); border-radius: 0 14px 14px 0; color: var(--navy); }
.entry-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding: 24px 28px; border-radius: 22px; background: linear-gradient(120deg, #E6F5F4, #EEF7EF); }
.entry-cta b { display: block; color: var(--navy); font-size: 18px; }
.entry-cta span { font-size: 15px; }
.entry-cta .btn { text-decoration: none; flex-shrink: 0; }
.related { padding: 70px 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 15px; margin-top: 80px; }
.ft-bar-wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; transform: translateY(-50%); }
.ft-bar { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 26px; padding: 14px 14px 14px 26px; box-shadow: var(--shadow-h); }
.ft-bar-item { flex: 1; display: flex; align-items: center; gap: 12px; color: var(--navy); line-height: 1.3; padding-right: 12px; border-right: 1px solid var(--line); }
.ft-bar-item:nth-last-child(2) { border-right: 0; }
.ft-bar-item .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.ft-bar-item .ico svg { width: 21px; height: 21px; }
.ft-bar-item small { display: block; font-size: 12.5px; color: var(--muted); }
.ft-bar-item b { font-size: 15.5px; }
.ft-bar-cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--violet); color: #fff; border-radius: 18px; padding: 12px 28px; line-height: 1.3; transition: background .2s; }
.ft-bar-cta:hover { background: var(--violet-dark); }
.ft-bar-cta b { font-size: 16px; }
.ft-bar-cta small { font-size: 12.5px; opacity: .8; }
.ft-inner { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 10px 24px 56px; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.5fr; gap: 36px; }
.ft-bar-wrap + .ft-inner { padding-top: 0; margin-top: -10px; }
.site-footer .logo-text b { color: #fff; }
.ft-brand p { margin: 18px 0; font-size: 14.5px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; transition: .2s; }
.ft-social a:hover { background: var(--teal); }
.ft-social svg { width: 18px; height: 18px; fill: #fff; stroke: none; }
.ft-title { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.ft-list li { margin-bottom: 10px; }
.ft-list a:hover, .ft-meta a:hover { color: var(--teal); }
.ft-meta li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; line-height: 1.5; }
.ft-meta svg { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.ft-bottom-inner { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.ft-policy { display: flex; gap: 20px; }
.ft-policy a:hover { color: #fff; }

/* Thanh nút nổi bên phải (kiểu bedental) */
.float-tools { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 80; background: #fff; border-radius: 30px; padding: 12px 6px; box-shadow: 0 10px 34px rgba(var(--navy-rgb), .16); display: flex; flex-direction: column; gap: 4px; }
.float-tools a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 6px; border-radius: 18px; color: var(--navy); width: 64px; transition: background .2s; }
.float-tools a:hover { background: var(--teal-soft); }
.float-tools .ico { width: 34px; height: 34px; display: grid; place-items: center; color: var(--teal); }
.float-tools .ico svg { width: 24px; height: 24px; stroke-width: 1.6; }
.float-tools .lb { font-size: 11px; font-weight: 500; line-height: 1.2; }
.to-top { position: fixed; right: 26px; bottom: 24px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; box-shadow: 0 6px 18px rgba(var(--teal-rgb), .35); visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; stroke-width: 2.4; }

/* ===== Popup đặt lịch ===== */
.dv-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.dv-modal.open { display: flex; }
.dv-modal-bg { position: absolute; inset: 0; background: rgba(10, 16, 60, .55); backdrop-filter: blur(3px); animation: fadeIn .25s; }
.dv-modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 26px; padding: 36px 34px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); animation: fadeUp .3s ease; }
.dv-modal-box h3 { font-size: 26px; margin-bottom: 6px; }
.dv-modal-box > p { font-size: 15px; margin-bottom: 20px; }
.dv-modal-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--navy-soft); font-size: 24px; line-height: 1; cursor: pointer; color: var(--navy); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mform .form-group { margin-bottom: 12px; }
.mform input, .mform select, .mform textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 16px; background: #fff; font-size: 15px; transition: border-color .2s; min-height: 50px; }
.mform textarea { resize: vertical; min-height: 70px; }
.mform input:focus, .mform select:focus, .mform textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .15); }
.mform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mform-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin: 0 0 4px 4px; }
.form-group.invalid input, .form-group.invalid select { border-color: #E5484D; }
.form-message { font-size: 13px; color: #E5484D; margin: 4px 0 0 4px; min-height: 0; }
.form-message:empty { display: none; }
.form-result { margin-top: 12px; font-size: 14.5px; border-radius: 12px; }
.form-result.ok { padding: 12px 14px; background: #E7F7EE; color: #17803D; }
.form-result.err { padding: 12px 14px; background: #FDECEC; color: #B42318; }
.dv-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
	.hd-hotline .t { display: none; }
	.hd-nav .menu > li > a { padding: 10px 10px; font-size: 14.5px; }
	.ft-inner { grid-template-columns: 1fr 1fr 1fr; }
	.ft-brand { grid-column: 1 / -1; }
	.ft-contact { grid-column: span 3; }
}
@media (max-width: 1024px) {
	:root { --hd-h: 68px; }
	.hd-burger { display: flex; }
	.hd-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 120; flex-direction: column; justify-content: flex-start; padding: 0 0 24px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; box-shadow: -20px 0 50px rgba(0, 0, 0, .15); }
	.nav-open .hd-nav { transform: none; }
	.hd-overlay { position: fixed; inset: 0; background: rgba(10, 16, 60, .45); z-index: 110; opacity: 0; visibility: hidden; transition: .3s; display: block; }
	.nav-open .hd-overlay { opacity: 1; visibility: visible; }
	.hd-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); }
	.hd-nav-head button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--navy-soft); font-size: 24px; line-height: 1; cursor: pointer; color: var(--navy); }
	.hd-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 12px; }
	.hd-nav .menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
	.hd-nav .menu > li > a { flex: 1; padding: 14px 10px; font-size: 16px; }
	.hd-nav .menu > .menu-item-has-children > a::after { display: none; }
	.hd-nav .sub-toggle { display: block; width: 40px; height: 40px; border: 0; background: var(--navy-soft); border-radius: 10px; font-size: 20px; color: var(--navy); cursor: pointer; }
	.hd-nav .sub-menu { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 10px 10px; display: none; min-width: 0; }
	.hd-nav .sub-open > .sub-menu { display: block; }
	.hd-nav-foot { display: grid; gap: 10px; padding: 18px 20px 0; }
	.hd-book { display: none; }
	.hs-slide { width: calc(100% - 50px); aspect-ratio: 16 / 8; }
	.hs > .sl-next { right: 32px; }
	.svc-card { width: calc((100% - 48px) / 3); }
	.fe-grid, .img-left .fe-grid { grid-template-columns: 1fr; gap: 48px; }
	.img-left .fe-media { order: 0; }
	.fe-media { max-width: 720px; }
	.cmp-card { width: calc((100% - 24px) / 2); }
	.blog-top { grid-template-columns: 1fr; gap: 24px; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.care-box { grid-template-columns: 1fr; padding: 0 36px; }
	.care-text { padding: 48px 0 0; }
	.care-media { margin: 0 auto; max-width: 360px; }
	.ft-bar { flex-wrap: wrap; padding: 16px; border-radius: 22px; }
	.ft-bar-item { flex: 1 1 40%; border-right: 0; }
	.ft-bar-cta { flex: 1 1 100%; }
	.ft-bar-wrap { transform: translateY(-40%); }
}
@media (max-width: 768px) {
	.band { padding: 68px 0; }
	.band-wave { padding-top: 120px; }
	.wave-top { height: 70px; }
	.wrap, .hd-inner { padding: 0 16px; }
	.hero { padding: 20px 0 44px; }
	.hs-slide { width: 100%; aspect-ratio: auto; min-height: 460px; border-radius: 22px; }
	.hs-slide:not(.is-current) { opacity: 1; }
	.hs-slide.has-text .hs-media::after { background: linear-gradient(0deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 45%, rgba(255, 255, 255, 0) 75%); }
	.hs-cap { justify-content: flex-end; padding: 28px 22px; max-width: none; }
	.hs-cap p { font-size: 15.5px; margin-bottom: 18px; }
	.hs > .sl-btn { display: none; }
	.hero-trust { flex-wrap: wrap; border-radius: 22px; padding: 16px; gap: 14px; }
	.hero-trust .btn { width: 100%; }
	.sl-head { flex-direction: column; align-items: flex-start; }
	.sl-head .sl-arrows { display: none; }
	.svc-card { width: 72%; min-height: 360px; }
	.svc-img img { height: 190px; }
	.cmp-card { width: 88%; }
	.lib-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 6px; scrollbar-width: none; }
	.lib-tabs::-webkit-scrollbar { display: none; }
	.lib-tab { flex-shrink: 0; }
	.blog-cats { grid-template-columns: 1fr 1fr; gap: 8px; }
	.blog-cats a { padding: 12px 14px; }
	.post-grid { grid-template-columns: 1fr; gap: 20px; }
	.care { padding-top: 70px; }
	.care-box { padding: 0 22px; border-radius: 26px; }
	.ft-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.ft-contact { grid-column: 1 / -1; }
	.ft-bar-item { flex: 1 1 100%; }
	.site-footer { margin-top: 140px; }
	.ft-bar-wrap { transform: translateY(-30%); }
	.float-tools { top: auto; bottom: 0; right: 0; left: 0; transform: none; flex-direction: row; justify-content: space-around; border-radius: 18px 18px 0 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
	.float-tools a { width: auto; flex: 1; }
	.float-tools .ico { width: 26px; height: 26px; }
	.float-tools .ico svg { width: 21px; height: 21px; }
	body { padding-bottom: 70px; }
	.to-top { bottom: 84px; right: 14px; }
	.mform-row { grid-template-columns: 1fr; gap: 0; }
	.dv-modal-box { padding: 30px 20px 24px; }
	.entry-cta { flex-direction: column; align-items: flex-start; }
	.admin-bar .site-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.js .rv { opacity: 1; transform: none; }
}

/* Logo ảnh (Davao Summit) */
.site-header .site-logo { max-height: 50px; width: auto; }
.ft-logo { display: inline-flex; background: #fff; border-radius: 16px; padding: 10px 16px; }
.ft-logo .site-logo { max-height: 42px; width: auto; }
.ft-bar-item b.addr { font-size: 14px; font-weight: 600; }
@media (max-width: 768px) { .site-header .site-logo { max-height: 40px; } }
