/* =========================================================
   VISTAR Healthcare — theme styles
   Brand: Dark Red #8A181A · Dark Grey #49494B · Montserrat + Poppins
   Layout phỏng theo meraplion.com
   ========================================================= */

:root{
  --vt-red:#8A181A;
  --vt-red-dark:#6E1315;
  --vt-red-tint:rgba(138,24,26,.08);
  --vt-grey:#49494B;
  --vt-ink:#1c1c1e;
  --vt-paper:#ffffff;
  --vt-muted:#f6f6f6;
  --vt-border:#e6e6e6;
  --wrap:1180px;
  --radius:10px;
  --shadow:0 18px 44px rgba(28,28,30,.10);
  --shadow-sm:0 8px 22px rgba(28,28,30,.07);
  --head:'Montserrat',system-ui,sans-serif;
  --body:'Poppins',system-ui,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;font-family:var(--body);color:var(--vt-ink);
  background:var(--vt-paper);line-height:1.6;font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:var(--head);font-weight:800;line-height:1.15;margin:0 0 .5em}
p{margin:0 0 1rem}
.container{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}

.section-title{font-size:clamp(1.7rem,3.4vw,2.6rem);color:var(--vt-ink)}
.section-title.light{color:#fff}
.section-lead{color:var(--vt-grey);max-width:640px;margin:0 auto}
.eyebrow{
  display:inline-block;font-family:var(--head);font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;font-size:.78rem;color:var(--vt-red);margin-bottom:.6rem;
}
.eyebrow.light{color:#fff;opacity:.9}

/* Buttons */
.btn{
  display:inline-block;font-family:var(--body);font-weight:700;font-size:.95rem;
  padding:12px 28px;border-radius:8px;transition:.2s;cursor:pointer;border:2px solid transparent;
}
.btn-primary{background:var(--vt-red);color:#fff}
.btn-primary:hover{background:var(--vt-red-dark)}
.btn-light{background:#fff;color:var(--vt-red)}
.btn-light:hover{background:#f1f1f1}

/* =============== HEADER =============== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,.96);backdrop-filter:blur(6px);
  border-bottom:1px solid var(--vt-border);transition:.3s;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:74px;gap:24px}
.brand-logo{height:46px;width:auto}
.main-nav{display:flex;gap:30px;margin-left:auto}
.main-nav a{
  font-family:var(--head);font-weight:600;font-size:.95rem;color:var(--vt-ink);
  position:relative;padding:6px 0;
}
.main-nav a::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:0;background:var(--vt-red);transition:.25s}
.main-nav a:hover{color:var(--vt-red)}
.main-nav a:hover::after{width:100%}
.header-actions{display:flex;align-items:center;gap:14px}
.lang-switch{display:flex;gap:6px}
.lang{background:none;border:0;padding:2px;cursor:pointer;opacity:.5;transition:.2s;border-radius:4px}
.lang img{width:24px;height:auto;border-radius:3px}
.lang.is-active,.lang:hover{opacity:1}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle img{width:26px}

.mobile-drawer{
  display:flex;flex-direction:column;background:#fff;border-top:1px solid var(--vt-border);
  padding:10px 20px 20px;
}
.mobile-drawer a{font-family:var(--head);font-weight:600;padding:12px 0;border-bottom:1px solid var(--vt-border)}
.mobile-drawer a:hover{color:var(--vt-red)}

.site-main{padding-top:74px}

/* =============== HERO =============== */
.hero{position:relative;height:calc(100vh - 74px);min-height:520px;max-height:820px;overflow:hidden;display:flex;align-items:center}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(138,24,26,.55),rgba(28,28,30,.55))}
.hero-content{position:relative;z-index:2}
.hero-title{color:#fff;font-size:clamp(1.9rem,4.6vw,3.4rem);max-width:900px;text-shadow:0 2px 20px rgba(0,0,0,.3)}
.hero-title span{display:block}
.hero-title .hl{color:#fff}
.hero-title .hl::after{content:"";display:block;width:88px;height:5px;background:#fff;border-radius:3px;margin-top:18px;opacity:.85}
.hero-scroll{position:absolute;left:20px;bottom:34px;width:26px;height:42px;border:2px solid rgba(255,255,255,.7);border-radius:14px;display:block}
.hero-scroll span{position:absolute;left:50%;top:8px;transform:translateX(-50%);width:4px;height:8px;background:#fff;border-radius:2px;animation:scroll 1.5s infinite}
@keyframes scroll{0%{opacity:0;top:8px}50%{opacity:1}100%{opacity:0;top:22px}}

/* =============== SỨ MỆNH =============== */
.mission{padding:90px 0}
.mission-inner{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center}
.mission-art img{max-height:360px;margin:0 auto}
.mission-text .section-title{margin-bottom:.6em}
.mission-text p{color:var(--vt-grey);font-size:1.06rem}

/* =============== SỐ LIỆU =============== */
.stats{padding:90px 0;background:var(--vt-muted)}
.stats-head{text-align:center;max-width:820px;margin:0 auto 50px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat-card{background:#fff;border:1px solid var(--vt-border);border-radius:var(--radius);padding:30px 24px;box-shadow:var(--shadow-sm);transition:.25s}
.stat-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.stat-num{font-family:var(--head);font-weight:900;font-size:2.6rem;color:var(--vt-red);line-height:1;display:flex;flex-direction:column}
.stat-num span{font-size:.82rem;font-weight:600;color:var(--vt-grey);letter-spacing:.04em;margin-top:6px;font-family:var(--body)}
.stat-card h3{font-size:1.15rem;margin:16px 0 8px}
.stat-card p{color:var(--vt-grey);font-size:.92rem;margin:0}

/* =============== CHUYÊN GIA =============== */
.experts{padding:90px 0}
.experts-inner{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:center}
.experts-media img{border-radius:var(--radius);max-height:440px;margin:0 auto}
.tip-card{background:#fff;border:1px solid var(--vt-border);border-left:5px solid var(--vt-red);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow-sm);margin:22px 0}
.tip-tag,.tip-list-tag{display:inline-block;background:var(--vt-red-tint);color:var(--vt-red);font-weight:700;font-size:.72rem;letter-spacing:.08em;padding:4px 12px;border-radius:20px;text-transform:uppercase}
.tip-title{font-size:1.3rem;margin:12px 0 10px}
.tip-desc{color:var(--vt-grey);font-size:.96rem}
.tip-expert{display:flex;align-items:center;gap:14px;margin-top:16px;padding-top:16px;border-top:1px solid var(--vt-border)}
.tip-expert-img{width:54px;height:54px;border-radius:50%;object-fit:cover;background:var(--vt-muted)}
.tip-expert strong{display:block;font-family:var(--head);font-size:.98rem}
.tip-expert span{font-size:.84rem;color:var(--vt-grey)}
.tip-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.tip-list li{background:var(--vt-muted);border-radius:8px;padding:14px 16px;font-size:.94rem;font-weight:500;display:flex;flex-wrap:wrap;align-items:center;gap:10px;transition:.2s}
.tip-list li:hover{background:var(--vt-red-tint)}

/* =============== SẢN PHẨM =============== */
.products{padding:90px 0;background:var(--vt-muted)}
.section-head-center{text-align:center;max-width:760px;margin:0 auto 48px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.product-card{background:#fff;border:1px solid var(--vt-border);border-radius:var(--radius);padding:30px 24px;text-align:center;box-shadow:var(--shadow-sm);transition:.25s}
.product-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:var(--vt-red)}
.product-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:16px;background:var(--vt-red-tint);position:relative}
.product-icon::after{content:"+";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;font-size:1.8rem;color:var(--vt-red)}
.product-card h3{font-size:1.1rem;margin-bottom:10px}
.product-card p{color:var(--vt-grey);font-size:.9rem}
.product-link{display:inline-block;margin-top:10px;color:var(--vt-red);font-weight:700;font-size:.9rem}

/* =============== CỘNG ĐỒNG =============== */
.community{position:relative;padding:110px 0;background:var(--bg) center/cover no-repeat,var(--vt-grey);overflow:hidden}
.community-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(138,24,26,.85),rgba(28,28,30,.6))}
.community-content{position:relative;z-index:2;max-width:680px;color:#fff}
.community-label{font-size:1.2rem;font-weight:500;margin-bottom:26px}

/* =============== FOOTER =============== */
.site-footer{background:var(--vt-red);color:rgba(255,255,255,.9)}
.footer-inner{display:grid;grid-template-columns:1.2fr 2fr 1fr;gap:44px;padding:60px 20px}
.footer-logo{height:60px;width:auto}
.footer-about p{font-size:.96rem;line-height:1.75}
.footer-about strong{color:#fff}
.footer-contact h4{font-family:var(--head);color:#fff;font-size:1.05rem;margin-bottom:12px}
.footer-contact p{font-size:.92rem;margin:0 0 6px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);padding:18px 0;font-size:.85rem}
.footer-bottom .container{display:flex;justify-content:center}

/* =============== GENERIC PAGE =============== */
.page-hero{background:var(--vt-red);color:#fff;padding:70px 0 60px;text-align:center}
.page-hero h1{color:#fff;font-size:clamp(1.9rem,4vw,2.8rem)}
.page-body{padding:64px 0;max-width:860px;margin:0 auto}
.page-body h2{color:var(--vt-red);margin-top:1.6em}
.page-body img{border-radius:var(--radius);margin:1.2rem 0}

/* =============== RESPONSIVE =============== */
@media(max-width:960px){
  .main-nav{display:none}
  .nav-toggle{display:block}
  .mission-inner,.experts-inner{grid-template-columns:1fr;gap:34px}
  .mission-art{order:-1}
  .stats-grid,.product-grid{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr;gap:28px}
}
@media(max-width:560px){
  .stats-grid,.product-grid{grid-template-columns:1fr}
  .hero{height:auto;min-height:auto;padding:120px 0 80px}
  .header-inner{height:64px}
  .site-main{padding-top:64px}
  .brand-logo{height:38px}
}

/* drawer visible state */
.mobile-drawer[hidden]{display:none}
@media(min-width:961px){.mobile-drawer{display:none!important}}
