:root{
  --teal:#0c6670;--teal-dark:#074b53;--teal-soft:#e7f4f4;--orange:#e66a22;--orange-dark:#c85212;
  --ink:#17222b;--muted:#5c6870;--border:#dce3e7;--soft:#f6f8f9;--proof:#12242a;--white:#fff;
  --shadow:0 18px 50px rgba(16,45,54,.10);--radius:16px;--max:1220px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}img,video{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}.section-pad{padding:96px 0}.section-soft{background:var(--soft)}.center{text-align:center}.muted{color:var(--muted)}.skip-link{position:fixed;left:12px;top:-100px;background:#fff;padding:10px 14px;z-index:999}.skip-link:focus{top:12px}
.site-header{height:78px;position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(220,227,231,.8)}.header-inner{height:100%;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;min-width:180px}.brand-copy{display:flex;flex-direction:column;line-height:1.05}.brand-copy strong{font-size:16px;letter-spacing:.04em}.brand-copy small{font-size:10px;color:var(--muted);letter-spacing:.12em;margin-top:5px}.primary-nav{display:flex;align-items:center;gap:26px;margin-left:auto}.primary-nav a{font-size:14px;font-weight:650;color:#34424b}.primary-nav a:hover{color:var(--teal)}.menu-toggle{display:none;background:none;border:0}.header-cta{margin-left:8px}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 20px;border-radius:10px;border:1px solid transparent;font-weight:760;cursor:pointer;transition:.2s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--orange);color:#fff}.btn-primary:hover{background:var(--orange-dark)}.btn-secondary{background:#fff;color:var(--teal);border-color:var(--teal)}.btn-secondary:hover{background:var(--teal-soft)}.btn-lg{min-height:54px;padding-inline:22px}.btn-full{width:100%}.text-link,.text-btn{color:var(--teal);font-weight:760}.text-btn{border:0;background:transparent;cursor:pointer;padding:8px 0}.cta-row{margin-top:34px}
.eyebrow{color:var(--teal);font-size:12px;letter-spacing:.15em;font-weight:850;margin:0 0 14px}.eyebrow.light{color:#75d6d8}.section-heading{max-width:760px;margin-bottom:40px}.section-heading.center{margin-inline:auto}.section-heading h2,.split-grid h2,.lead-copy h2{font-size:clamp(30px,4vw,42px);line-height:1.15;letter-spacing:-.035em;margin:0 0 16px}.section-heading p{color:var(--muted);margin:0}.hero{padding-top:84px;background:linear-gradient(180deg,#fff 0%,#f9fcfc 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px}.hero-copy h1{font-size:clamp(46px,5.6vw,70px);line-height:1.02;letter-spacing:-.055em;margin:0 0 22px;max-width:760px}.hero-lead{font-size:19px;color:var(--muted);max-width:650px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 20px}.second-source-note{font-size:14px;color:var(--muted);max-width:620px}.second-source-note span{color:var(--ink);font-weight:760}.hero-visual{position:relative;min-height:590px}.hero-card{position:absolute;margin:0;width:43%;aspect-ratio:3/4;border-radius:18px;overflow:hidden;background:#fff;box-shadow:var(--shadow);border:8px solid #fff}.hero-card img{width:100%;height:100%;object-fit:cover}.hero-card-a{left:2%;top:10%;transform:rotate(-6deg)}.hero-card-b{right:8%;top:2%;transform:rotate(5deg)}.hero-card-c{left:33%;bottom:0;transform:rotate(1deg);z-index:3}.hero-badge{position:absolute;right:4%;bottom:11%;background:var(--teal);color:#fff;padding:9px 14px;border-radius:999px;font-size:12px;font-weight:850;box-shadow:var(--shadow);z-index:4}
.pain-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.info-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:25px;min-height:200px;transition:.2s}.info-card:hover{border-color:#8bb9bd;transform:translateY(-2px)}.info-card:nth-child(4){grid-column:1/2;margin-left:52%}.info-card:nth-child(5){grid-column:2/3;margin-left:52%}.icon-dot{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--teal-soft);color:var(--teal);font-weight:850}.info-card h3{margin:18px 0 8px;font-size:20px}.info-card p{margin:0;color:var(--muted);font-size:15px}.mobile-only{display:none}
.split-grid{display:grid;grid-template-columns:5fr 7fr;gap:70px;align-items:center}.logic-flow{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:linear-gradient(135deg,#eff8f8,#f7fbfb);padding:34px;border-radius:22px;border:1px solid #dbecec}.logic-flow span,.logic-flow strong{background:#fff;border:1px solid var(--border);border-radius:999px;padding:10px 14px;font-size:14px}.logic-flow strong{background:var(--teal);color:#fff;border-color:var(--teal)}.logic-flow i{font-style:normal;color:#7b8f96}
.solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden}.product-card img{width:100%;height:360px;object-fit:cover}.product-card>div{padding:22px}.product-card h3{margin:8px 0 8px;font-size:21px}.product-card p{margin:0;color:var(--muted);font-size:15px}.tag{font-size:10px;font-weight:850;color:var(--teal);letter-spacing:.12em}
.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.filter-btn{border:1px solid var(--border);background:#fff;border-radius:999px;padding:9px 14px;cursor:pointer;color:#44535b;font-weight:700}.filter-btn.active,.filter-btn:hover{background:var(--teal);border-color:var(--teal);color:#fff}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.gallery-item{margin:0;position:relative;border-radius:14px;overflow:hidden;background:#eef2f3;aspect-ratio:3/4}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.25s}.gallery-item:hover img{transform:scale(1.025)}.gallery-item figcaption{position:absolute;left:10px;bottom:10px;background:rgba(10,29,34,.82);color:#fff;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:760}.extra-gallery.is-hidden{display:none}

.timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.timeline article{border-left:3px solid var(--teal);background:#fff;border-radius:0 14px 14px 0;padding:24px;border-top:1px solid var(--border);border-right:1px solid var(--border);border-bottom:1px solid var(--border)}.timeline article span{font-size:12px;font-weight:900;color:var(--teal)}.timeline article h3{font-size:18px;margin:8px 0}.timeline article p{font-size:14px;color:var(--muted);margin:0}

.check-list{list-style:none;padding:0;margin:26px 0}.check-list li{position:relative;padding-left:30px;margin:15px 0}.check-list li:before{content:'✓';position:absolute;left:0;color:var(--teal);font-weight:900}
.faq-wrap{max-width:880px}.faq details{background:#fff;border:1px solid var(--border);border-radius:13px;margin:10px 0;padding:0 18px}.faq summary{cursor:pointer;font-weight:760;padding:18px 0;list-style:none}.faq summary::-webkit-details-marker{display:none}.faq details p{margin:0;padding:0 0 18px;color:var(--muted)}
.lead-section{background:linear-gradient(135deg,#eaf7f7,#f8fcfc)}.lead-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:60px;align-items:start}.lead-copy{position:sticky;top:110px}.contact-box{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}.contact-box a{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}.contact-box strong{font-size:12px;color:var(--muted)}.contact-box span{font-weight:800;margin-top:3px}.lead-form{background:#fff;border:1px solid var(--border);border-radius:22px;padding:30px;box-shadow:var(--shadow)}.lead-form label{display:block;font-size:13px;font-weight:740;margin:0 0 7px}.lead-form label b{color:var(--orange)}.lead-form input,.lead-form select,.lead-form textarea{width:100%;border:1px solid #ccd7db;background:#fff;border-radius:10px;padding:12px 13px;outline:none;margin-bottom:16px}.lead-form input:focus,.lead-form select:focus,.lead-form textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(12,102,112,.09)}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-step{display:none}.form-step.active{display:block}.form-actions{display:flex;justify-content:space-between;gap:10px}.conditional-title{font-size:19px;font-weight:820;margin-bottom:18px}.file-label span{font-weight:500;color:var(--muted)}.consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important}.consent input{width:auto!important;margin-top:4px!important}.form-success{text-align:center;padding:40px 10px}.success-icon{width:54px;height:54px;border-radius:50%;background:#e4f4ea;color:#257a4d;display:grid;place-items:center;margin:0 auto 16px;font-size:27px;font-weight:900}.success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.site-footer{background:#0e2026;color:#d8e3e5;padding:54px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr .8fr;gap:36px}.footer-grid h3{font-size:14px;color:#fff}.footer-grid a,.footer-grid span,.footer-grid p{display:block;color:#9fb2b7;font-size:13px;margin:7px 0}.footer-brand .brand-copy small{color:#8ea6ab}.footer-bottom{margin-top:38px;padding-top:18px;border-top:1px solid #294149;display:flex;justify-content:space-between;font-size:12px;color:#789198}.mobile-sticky{display:none}.reveal{opacity:0;transform:translateY(12px);transition:opacity .45s ease,transform .45s ease}.reveal.is-visible{opacity:1;transform:none}
@media (max-width:980px){.primary-nav{display:none}.menu-toggle{display:block;margin-left:auto}.header-cta{display:none}.primary-nav.open{position:absolute;top:78px;left:0;right:0;display:flex;flex-direction:column;align-items:flex-start;background:#fff;padding:18px 24px;border-bottom:1px solid var(--border);box-shadow:var(--shadow)}.hero-grid,.split-grid,.lead-grid{grid-template-columns:1fr}.hero-visual{min-height:530px;max-width:660px;margin:0 auto;width:100%}.pain-grid{grid-template-columns:1fr 1fr}.info-card:nth-child(4),.info-card:nth-child(5){grid-column:auto;margin-left:0}.solution-grid{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-columns:repeat(3,1fr)}.timeline{grid-template-columns:1fr 1fr}.lead-copy{position:static}.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){body{padding-bottom:64px}.container{width:min(100% - 28px,var(--max))}.section-pad{padding:68px 0}.site-header{height:68px}.brand{min-width:auto}.brand-copy strong{font-size:14px}.brand-copy small{font-size:9px}.menu-toggle{font-size:13px}.primary-nav.open{top:68px}.hero{padding-top:50px}.hero-grid{gap:28px}.hero-copy h1{font-size:39px;line-height:1.04}.hero-lead{font-size:17px}.hero-actions{flex-direction:column}.hero-actions .btn{width:100%}.hero-visual{min-height:410px}.hero-card{width:47%;border-width:5px}.hero-card-a{left:0}.hero-card-b{right:2%}.hero-card-c{left:28%;bottom:0}.hero-badge{right:1%;bottom:5%;font-size:10px}.section-heading h2,.split-grid h2,.lead-copy h2{font-size:30px}.pain-grid{grid-template-columns:1fr}.info-card{min-height:auto}.mobile-extra{display:none}.mobile-extra.expanded{display:block}.mobile-only{display:inline-block}.logic-flow{padding:22px;gap:7px}.logic-flow span,.logic-flow strong{font-size:12px;padding:8px 10px}.solution-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:42% 58%;align-items:stretch}.product-card img{height:100%;min-height:230px}.product-card>div{padding:18px}.gallery-section{overflow:hidden}.filter-bar{flex-wrap:nowrap;overflow:auto;padding-bottom:6px}.filter-btn{white-space:nowrap}.gallery-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-right:-14px;padding-right:30px}.gallery-item{min-width:82%;scroll-snap-align:start}.gallery-item.extra-gallery.is-hidden{display:none}.timeline{grid-template-columns:1fr}.timeline article{padding:20px}.contact-box{grid-template-columns:1fr}.lead-form{padding:20px}.form-two{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:8px}.mobile-sticky{display:grid;grid-template-columns:1fr 1.5fr;position:fixed;left:0;right:0;bottom:0;z-index:80;height:64px;background:#fff;border-top:1px solid var(--border);box-shadow:0 -8px 24px rgba(0,0,0,.08)}.mobile-sticky a{display:grid;place-items:center;font-weight:850}.sticky-secondary{color:var(--teal)}.sticky-primary{background:var(--orange);color:#fff}}

.hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* ===== V5 visual refinement ===== */
:root{--red:#e3282f;--blue:#1577d4;}
.brand{gap:12px}.brand-logo{width:74px;height:42px;object-fit:contain;object-position:left center;display:block}.footer-brand .brand-logo{width:70px;height:42px;filter:none}.brand-copy strong{font-size:15px;letter-spacing:.055em}.brand-copy small{letter-spacing:.105em}
.site-header{box-shadow:0 4px 18px rgba(18,36,42,.04)}

/* balanced problem cards */
.pain{background:linear-gradient(180deg,#f6f9fa 0%,#f1f6f7 100%)}
.pain .section-heading{max-width:820px}.pain-grid{grid-template-columns:repeat(5,1fr);gap:14px;align-items:stretch}.info-card,.info-card:nth-child(4),.info-card:nth-child(5){grid-column:auto;margin-left:0;min-height:190px;padding:22px}.card-top{display:flex;align-items:center;justify-content:space-between}.pain-icon{font-size:27px;line-height:1;color:#18333a;font-weight:500}.icon-dot{width:34px;height:34px;border-radius:999px;font-size:12px}.tone-red{background:#ffeded;color:#d74343}.tone-blue{background:#e9f4ff;color:#1976c9}.tone-green{background:#eaf8ee;color:#2f8d55}.tone-orange{background:#fff0e5;color:#dc6a1e}.tone-purple{background:#f3eaff;color:#7b43c5}.info-card h3{font-size:18px;margin:16px 0 7px}.info-card p{font-size:14px;line-height:1.55}

.media-copy{display:flex;flex-direction:column;justify-content:center;padding:18px 12px 18px 0}.media-copy h2{font-size:clamp(30px,3.2vw,42px);line-height:1.12;letter-spacing:-.035em;margin:0 0 14px}.media-copy p:not(.eyebrow){color:var(--muted);margin:0 0 22px}.media-copy .btn{align-self:flex-start}.media-video{position:relative;background:#0d1d22;border-radius:18px;overflow:hidden;min-height:390px;box-shadow:0 14px 34px rgba(15,45,52,.11)}.media-video video{width:100%;height:100%;min-height:390px;object-fit:contain;background:#09151a}.media-caption{position:absolute;left:12px;bottom:12px;background:rgba(3,22,27,.78);color:#fff;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800}

.check-list li{margin:13px 0}

.contact-ribbon{background:#0c3440;color:#fff;padding:18px 0}.contact-ribbon-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:26px;align-items:center}.ribbon-brand{display:flex;align-items:center;gap:10px}.ribbon-brand img{width:66px;height:38px;object-fit:contain}.ribbon-brand span,.contact-ribbon a:not(.btn){display:flex;flex-direction:column}.ribbon-brand small,.contact-ribbon a small{color:#9fc0c7;font-size:11px;margin-top:2px}.contact-ribbon a:not(.btn){flex-direction:row;align-items:center;gap:10px}.ribbon-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#168a85;color:#fff}.zalo-dot{background:#147ef3}.contact-ribbon .btn{white-space:nowrap}.site-footer{padding-top:42px}

/* form contact box */
.contact-box{grid-template-columns:1fr 1fr}.contact-box a:nth-child(3){grid-column:1/3}

@media (max-width:1100px){.pain-grid{grid-template-columns:repeat(3,1fr)}.contact-ribbon-grid{grid-template-columns:1fr 1fr}.contact-ribbon .btn{justify-self:start}}
@media (max-width:980px){.brand-logo{width:66px}.pain-grid{grid-template-columns:1fr 1fr}.contact-ribbon{display:none}}
@media (max-width:640px){.brand-logo{width:58px;height:34px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:8px}.pain-grid{grid-template-columns:1fr}.info-card{min-height:auto}.media-copy{padding-right:0}.media-video,.media-video video{min-height:360px}.contact-box a:nth-child(3){grid-column:auto}.contact-box{grid-template-columns:1fr}.mobile-sticky{grid-template-columns:1fr 1fr 1.35fr}.mobile-sticky:before{content:'☎ 0901188093';display:grid;place-items:center;font-weight:850;color:#173038;background:#fff;border-right:1px solid var(--border);font-size:12px}}

/* ===== V6 harmony pass ===== */
body.v6{
  --max:1180px;
  --shadow-soft:0 14px 36px rgba(16,45,54,.08);
  --section-line:#e8eef0;
  background:#fff;
}
body.v6 .container{width:min(var(--max),calc(100% - 48px))}
body.v6 .section-pad{padding:76px 0}
body.v6 .section-heading{margin-bottom:30px}
body.v6 .section-heading h2,
body.v6 .split-grid h2,
body.v6 .lead-copy h2{font-size:clamp(30px,3.35vw,40px)}
body.v6 .eyebrow{font-size:11px;letter-spacing:.17em;margin-bottom:11px}

/* Header + hero: keep original foundation, slightly calmer */
body.v6 .site-header{height:74px;background:rgba(255,255,255,.97)}
body.v6 .header-inner{gap:24px}
body.v6 .brand-logo{width:68px;height:38px}
body.v6 .hero{padding:70px 0 72px;background:linear-gradient(180deg,#fff 0%,#f8fbfb 100%)}
body.v6 .hero-grid{gap:52px;grid-template-columns:1.04fr .96fr}
@media (max-width:980px){body.v6 .hero-grid{grid-template-columns:1fr;gap:36px}body.v6 .hero-visual{margin:0 auto}}
body.v6 .hero-copy h1{font-size:clamp(45px,5vw,64px);max-width:650px}
body.v6 .hero-visual{min-height:520px;max-width:560px;margin-left:auto;width:100%}
body.v6 .hero-card{border-width:7px;border-radius:20px;box-shadow:0 18px 46px rgba(23,34,43,.13)}

/* Strong proof block — based on the approved preview rhythm */
body.v6 .proof-hub{background:#fff;border-top:1px solid var(--section-line)}
body.v6 .proof-lead-grid{display:grid;grid-template-columns:1.28fr .82fr;gap:46px;align-items:center}
body.v6 .proof-panorama{margin:0;position:relative;overflow:hidden;border-radius:20px;aspect-ratio:16/9;background:#e9eff0;box-shadow:var(--shadow-soft)}
body.v6 .proof-panorama img{width:100%;height:100%;object-fit:cover;object-position:center 70%}
body.v6 .proof-panorama figcaption{position:absolute;left:16px;bottom:16px;max-width:360px;display:flex;flex-direction:column;gap:2px;padding:12px 15px;border-radius:14px;background:rgba(5,61,68,.90);color:#fff;backdrop-filter:blur(6px)}
body.v6 .proof-panorama figcaption strong{font-size:14px}
body.v6 .proof-panorama figcaption span{font-size:11px;color:#d6eeee}
body.v6 .proof-copy h2{font-size:clamp(32px,3.4vw,43px);line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
body.v6 .compact-checks{margin:20px 0 18px}
body.v6 .compact-checks li{margin:11px 0;font-size:15px;line-height:1.52}
body.v6 .proof-note{font-size:13px;line-height:1.55}

/* Curated media stage: 1 story + 1 video + 4 distinct proof tiles */
body.v6 .media-stage{margin-top:42px;padding-top:42px;border-top:1px solid var(--section-line);display:grid;grid-template-columns:.78fr 1.22fr 1.05fr;gap:16px;align-items:stretch}
body.v6 .media-copy-v6{display:flex;flex-direction:column;justify-content:center;padding:8px 10px 8px 0}
body.v6 .media-copy-v6 h2{font-size:clamp(29px,3vw,38px);line-height:1.12;letter-spacing:-.035em;margin:0 0 14px}
body.v6 .media-copy-v6 p:not(.eyebrow){color:var(--muted);font-size:15px;line-height:1.62;margin:0 0 22px}
body.v6 .media-copy-v6 .btn{align-self:flex-start}
body.v6 .media-video-v6{position:relative;min-height:360px;border-radius:18px;overflow:hidden;background:#09171c;box-shadow:var(--shadow-soft)}
body.v6 .media-video-v6 video{width:100%;height:100%;min-height:360px;object-fit:cover;object-position:center 48%;background:#09171c}

/* Pain section — compact, balanced, same cadence as approved preview */
body.v6 .pain{background:linear-gradient(180deg,#f5fafb 0%,#f0f6f7 100%);border-top:1px solid #e5eef0;border-bottom:1px solid #e5eef0}
body.v6 .pain .section-heading{max-width:760px;margin-bottom:30px}
body.v6 .pain-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
body.v6 .info-card,
body.v6 .info-card:nth-child(4),
body.v6 .info-card:nth-child(5){margin:0;min-height:178px;padding:19px;border-radius:16px;box-shadow:0 7px 18px rgba(28,58,66,.025)}
body.v6 .pain-icon{display:grid;place-items:center;width:29px;height:29px;color:#173b44}
body.v6 .pain-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
body.v6 .info-card h3{font-size:16px;line-height:1.3;margin:14px 0 6px}
body.v6 .info-card p{font-size:13px;line-height:1.5}
body.v6 .cta-row{margin-top:27px}

/* Education */
body.v6 .education{background:#fff}
body.v6 .education .split-grid{grid-template-columns:.9fr 1.1fr;gap:52px}
body.v6 .logic-flow{padding:27px;border-radius:18px;box-shadow:0 10px 24px rgba(17,70,77,.04)}

/* Solutions: shorter visual cards, consistent crop */
body.v6 .solutions{background:#f6f9fa;border-top:1px solid #ebf0f1;border-bottom:1px solid #ebf0f1}
body.v6 .solution-grid{gap:18px}
body.v6 .product-card{border-radius:18px;box-shadow:0 10px 26px rgba(25,54,62,.04);transition:.2s ease}
body.v6 .product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-soft)}
body.v6 .product-card img{height:250px;object-fit:cover;object-position:center}
body.v6 .product-card>div{padding:20px 21px 22px}
body.v6 .product-card h3{font-size:20px;line-height:1.25}

/* Gallery: catalog-like, no giant tall tiles */
body.v6 .gallery-section{background:#fff}
body.v6 .gallery-section .section-heading{max-width:700px}
body.v6 .filter-bar{justify-content:flex-start;margin-bottom:20px}
body.v6 .gallery-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}
body.v6 .gallery-item{position:relative;display:flex;flex-direction:column;aspect-ratio:auto;border:1px solid var(--border);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(22,55,63,.035);overflow:hidden;min-height:0}
body.v6 .gallery-item img{width:100%;height:238px;object-fit:contain;object-position:center;background:#f1f5f5;padding:10px;transition:transform .22s ease}
body.v6 .gallery-item:hover img{transform:scale(1.015)}
body.v6 .gallery-item figcaption{position:static;background:#fff;color:#22353d;border-radius:0;padding:12px 14px;font-size:12px;font-weight:760;border-top:1px solid #e8edef}

/* Process: compact 3 x 2 grid with clear numbers */
body.v6 .process{background:#fbfcfc;border-top:1px solid #edf1f2}
body.v6 .timeline{gap:14px}
body.v6 .timeline article{border:1px solid var(--border);border-top:3px solid var(--teal);border-radius:14px;padding:20px 20px 21px;box-shadow:0 7px 18px rgba(20,54,62,.025)}
body.v6 .timeline article span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--teal-soft);font-size:11px}
body.v6 .timeline article h3{margin:13px 0 6px;font-size:17px}
body.v6 .timeline article p{line-height:1.52}

body.v6 .faq{background:#fff;border-top:1px solid #edf1f2}
body.v6 .faq details{box-shadow:0 5px 14px rgba(18,52,60,.025)}
body.v6 .lead-section{background:linear-gradient(135deg,#eaf7f7,#f9fcfc);border-top:1px solid #deecee}
body.v6 .lead-grid{gap:48px}

@media (max-width:1100px){
  body.v6 .proof-lead-grid{grid-template-columns:1.05fr .95fr;gap:30px}
  body.v6 .media-stage{grid-template-columns:1fr 1.2fr}
  body.v6 .pain-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  body.v6 .container{width:min(var(--max),calc(100% - 34px))}
  body.v6 .section-pad{padding:66px 0}
  body.v6 .proof-lead-grid{grid-template-columns:1fr}
  body.v6 .proof-panorama{aspect-ratio:16/9}
  body.v6 .media-stage{grid-template-columns:1fr}
  body.v6 .pain-grid{grid-template-columns:1fr 1fr}
  body.v6 .gallery-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  body.v6 .container{width:min(100% - 28px,var(--max))}
  body.v6 .section-pad{padding:58px 0}
  body.v6 .hero{padding:44px 0 54px}
  body.v6 .hero-grid{gap:28px}
  body.v6 .hero-copy h1{font-size:36px;line-height:1.08;letter-spacing:-.04em}
  body.v6 .hero-visual{min-height:390px}
  body.v6 .proof-panorama{aspect-ratio:4/3;border-radius:16px}
  body.v6 .proof-panorama figcaption{left:10px;right:10px;bottom:10px;max-width:none}
  body.v6 .proof-copy h2{font-size:31px}
  body.v6 .media-stage{margin-top:30px;padding-top:30px}
  body.v6 .media-video-v6{min-height:320px}
  body.v6 .media-video-v6 video{min-height:320px}
  
  body.v6 .pain-grid{grid-template-columns:1fr}
  body.v6 .education .split-grid{grid-template-columns:1fr;gap:30px}
  body.v6 .product-card{display:block}
  body.v6 .product-card img{height:230px}
  body.v6 .gallery-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin-right:-14px;padding-right:30px}
  body.v6 .gallery-item{min-width:82%;scroll-snap-align:start}
  body.v6 .gallery-item img{height:245px}
}

/* ===== V7 direction B: richer proof grid, no repeated thumbnails ===== */
body.v7 .media-stage{grid-template-columns:.76fr 1.18fr 1.12fr;gap:16px;align-items:stretch}
body.v7 .media-video-v6{min-height:640px}
body.v7 .media-video-v6 video{min-height:640px;object-position:center center}

@media (max-width:1100px){
  body.v7 .media-stage{grid-template-columns:1fr 1.2fr}
  body.v7 .media-video-v6{min-height:430px}
  body.v7 .media-video-v6 video{min-height:430px}
}
@media (max-width:980px){
  body.v7 .media-stage{grid-template-columns:1fr}
  body.v7 .media-video-v6{min-height:420px}
  body.v7 .media-video-v6 video{min-height:420px}
}
@media (max-width:640px){
  body.v7 .media-video-v6{min-height:360px}
  body.v7 .media-video-v6 video{min-height:360px}
  
}

/* ===== V8: 5-video process story ===== */
body.v8 .media-stage-v8{
  grid-template-columns:.72fr 1.18fr 1fr;
  gap:18px;
  align-items:stretch;
}
body.v8 .media-copy-v8{align-self:center;padding-right:4px}
body.v8 .media-copy-v8 h2{max-width:10ch}
body.v8 .media-video-v8{min-height:610px}
body.v8 .media-video-v8 video{min-height:610px;object-fit:cover;object-position:center center}
body.v8 .process-stage-grid-v8{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:12px;
  min-height:610px;
}
body.v8 .process-stage-card-v8{
  position:relative;
  margin:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--section-line);
  background:#fff;
  min-height:0;
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
}
body.v8 .process-stage-card-v8 img{width:100%;height:70%;min-height:0;object-fit:cover;display:block}
body.v8 .process-stage-card-v8 figcaption{display:flex;gap:9px;align-items:flex-start;padding:10px 11px 11px;background:#fff;flex:1}
body.v8 .process-stage-card-v8 figcaption>span{
  width:26px;height:26px;min-width:26px;border-radius:8px;display:grid;place-items:center;
  background:#e5f5f4;color:#08616a;font-weight:800;font-size:11px;
}
body.v8 .process-stage-card-v8 strong{display:block;font-size:13px;line-height:1.25;color:#0d2530}
body.v8 .process-stage-card-v8 small{display:block;margin-top:4px;color:#5d6f76;font-size:10px;line-height:1.35}
body.v8 .proof-strip-v8{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
  margin-top:18px;
}
body.v8 .proof-strip-card-v8{margin:0;position:relative;border-radius:14px;overflow:hidden;aspect-ratio:4/5;background:#e8f1f2;border:1px solid var(--section-line)}
body.v8 .proof-strip-card-v8 img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
body.v8 .proof-strip-card-v8:hover img{transform:scale(1.025)}
body.v8 .proof-strip-card-v8 figcaption{position:absolute;left:8px;bottom:8px;padding:5px 8px;border-radius:999px;background:rgba(5,32,37,.82);color:#fff;font-size:10px;font-weight:700;backdrop-filter:blur(5px)}
@media (max-width:1100px){
  body.v8 .media-stage-v8{grid-template-columns:.8fr 1.2fr}
  body.v8 .process-stage-grid-v8{grid-column:1/3;grid-template-columns:repeat(4,1fr);grid-template-rows:280px;min-height:0}
  body.v8 .process-stage-card-v8 img{height:70%}
  body.v8 .proof-strip-v8{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){
  body.v8 .media-stage-v8{grid-template-columns:1fr}
  body.v8 .media-copy-v8 h2{max-width:none}
  body.v8 .media-video-v8,body.v8 .media-video-v8 video{min-height:520px}
  body.v8 .process-stage-grid-v8{grid-column:auto;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:4px}
  body.v8 .process-stage-card-v8{min-width:74%;height:310px;scroll-snap-align:start}
  body.v8 .proof-strip-v8{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
  body.v8 .proof-strip-card-v8{min-width:58%;scroll-snap-align:start}
}
@media (max-width:520px){
  body.v8 .media-video-v8,body.v8 .media-video-v8 video{min-height:430px}
  body.v8 .process-stage-card-v8{min-width:82%;height:290px}
  body.v8 .proof-strip-card-v8{min-width:68%}
}

/* ===== V11: content trim + inline legacy video ===== */
body.v11 .proof-copy .eyebrow{margin-bottom:12px}
body.v11 .proof-copy h2{display:none}
body.v11 .media-stage-v8{grid-auto-flow:dense}

body.v11 .proof-strip-v8{margin-top:14px}

/* ===== V12: unify two videos into one clean zone ===== */
body.v12 .proof-copy h2{display:none}
body.v12 .media-stage-v8{align-items:start}
body.v12 .video-pair-v12{
  display:grid;
  grid-template-rows:minmax(420px,1fr) minmax(250px,.62fr);
  gap:14px;
  padding:14px;
  border:1px solid var(--section-line);
  border-radius:20px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbfb 100%);
  box-shadow:0 12px 28px rgba(14,49,56,.06);
}
body.v12 .media-video-main-v12{min-height:420px;border-radius:16px}
body.v12 .media-video-main-v12 video{min-height:420px;object-fit:cover;object-position:center center}
body.v12 .media-video-secondary-v12{
  position:relative;
  min-height:250px;
  border-radius:16px;
  overflow:hidden;
  background:#09151a;
  box-shadow:var(--shadow-soft);
}
body.v12 .media-video-secondary-v12 video{
  width:100%;height:100%;min-height:250px;max-height:320px;object-fit:contain;background:#09151a;display:block
}
body.v12 .media-caption{font-size:10px;padding:6px 9px}
body.v12 .process-stage-grid-v8{min-height:0;height:100%}
body.v12 .process-stage-card-v8 img{height:68%}
body.v12 .proof-strip-v8{margin-top:14px}
@media (max-width:1100px){
  body.v12 .video-pair-v12{grid-column:2/3}
  body.v12 .media-video-main-v12{min-height:380px}
  body.v12 .media-video-main-v12 video{min-height:380px}
  body.v12 .media-video-secondary-v12, body.v12 .media-video-secondary-v12 video{min-height:230px}
}
@media (max-width:760px){
  body.v12 .video-pair-v12{grid-column:auto;padding:12px;grid-template-rows:minmax(340px,1fr) minmax(250px,.8fr)}
  body.v12 .media-video-main-v12, body.v12 .media-video-main-v12 video{min-height:340px}
  body.v12 .media-video-secondary-v12, body.v12 .media-video-secondary-v12 video{min-height:260px;max-height:none}
}
@media (max-width:520px){
  body.v12 .video-pair-v12{grid-template-rows:minmax(300px,1fr) minmax(240px,.82fr);gap:12px}
  body.v12 .media-video-main-v12, body.v12 .media-video-main-v12 video{min-height:300px}
  body.v12 .media-video-secondary-v12, body.v12 .media-video-secondary-v12 video{min-height:240px}
}

/* ===== V13: factory contact information ===== */
body.v13 .contact-box .contact-info-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px;
}
body.v13 .contact-box .contact-info-card strong{font-size:12px;color:var(--muted)}
body.v13 .contact-box .contact-info-card span{font-weight:800;margin-top:3px;line-height:1.45}
body.v13 .contact-box .factory-card-v13{grid-column:1/3}
body.v13 .site-footer .footer-grid>div:nth-child(3) span{display:block;margin-top:7px;line-height:1.55}
body.v13 .site-footer .footer-grid>div:nth-child(3) span strong{color:#dceff0}
@media (max-width:640px){
  body.v13 .contact-box .factory-card-v13{grid-column:auto}
}

/* ===== V14: Dai Phuoc Agent ===== */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.dp-agent{position:fixed;right:18px;bottom:126px;z-index:96;font-family:inherit}
.dp-agent-launcher{display:flex;align-items:center;gap:10px;min-width:212px;border:1px solid rgba(0,100,109,.18);border-radius:18px;padding:10px 12px;background:#fff;color:#102c34;box-shadow:0 14px 34px rgba(9,45,53,.19);cursor:pointer;text-align:left}
.dp-agent-launcher:hover{transform:translateY(-1px);box-shadow:0 17px 38px rgba(9,45,53,.22)}
.dp-agent-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#f4fbfb;border:1px solid #d6e9e9;overflow:hidden}
.dp-agent-avatar img{width:32px;height:22px;object-fit:contain}
.dp-agent-launch-copy{display:flex;flex-direction:column;min-width:0;line-height:1.15;flex:1}
.dp-agent-launch-copy strong{font-size:13px;white-space:nowrap}
.dp-agent-launch-copy small,.dp-agent-title small{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:10px;color:#648087}
.dp-agent-launch-copy i,.dp-agent-title i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#20b486;box-shadow:0 0 0 3px rgba(32,180,134,.12)}
.dp-agent-launch-arrow{font-size:17px;color:#648087;transition:transform .2s ease}
.dp-agent-launcher[aria-expanded="true"] .dp-agent-launch-arrow{transform:rotate(180deg)}
.dp-agent-panel{position:absolute;right:0;bottom:62px;width:min(390px,calc(100vw - 28px));height:min(590px,calc(100vh - 165px));background:#fff;border:1px solid #d7e5e6;border-radius:22px;overflow:hidden;box-shadow:0 22px 60px rgba(4,33,40,.28);display:grid;grid-template-rows:auto 1fr auto auto auto}
.dp-agent-panel[hidden]{display:none}
.dp-agent-header{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;background:linear-gradient(135deg,#073d49,#0b6570);color:#fff}
.dp-agent-title{display:flex;align-items:center;gap:10px}.dp-agent-title .dp-agent-avatar{width:40px;height:40px;flex-basis:40px;background:#fff;border-color:rgba(255,255,255,.28)}.dp-agent-title strong{display:block;font-size:14px}.dp-agent-title small{color:#c4e2e5}.dp-agent-close{border:0;background:rgba(255,255,255,.12);color:#fff;width:34px;height:34px;border-radius:10px;font-size:24px;line-height:1;cursor:pointer}
.dp-agent-body{padding:15px;overflow-y:auto;background:linear-gradient(180deg,#f7fbfb 0%,#fff 35%);display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.dp-agent-message{display:flex}.dp-agent-message.user{justify-content:flex-end}.dp-agent-bubble{max-width:86%;padding:10px 12px;border-radius:15px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.dp-agent-message.assistant .dp-agent-bubble{background:#eef7f7;color:#16343b;border-bottom-left-radius:5px}.dp-agent-message.user .dp-agent-bubble{background:#075e68;color:#fff;border-bottom-right-radius:5px}.dp-agent-message.is-typing .dp-agent-bubble{color:#71898e;font-style:italic}
/* V31: câu trả lời Agent dạng đoạn + danh sách (app.js renderRich) */
.dp-agent-bubble.is-rich{white-space:normal}.dp-agent-bubble.is-rich p{margin:0 0 7px}.dp-agent-bubble.is-rich p:last-child{margin-bottom:0}.dp-agent-bubble.is-rich ul,.dp-agent-bubble.is-rich ol{margin:0 0 8px;padding-left:18px}.dp-agent-bubble.is-rich li{margin:2px 0}.dp-agent-bubble.is-rich li::marker{color:#0c6670;font-weight:700}
.dp-agent-quick{display:flex;gap:7px;overflow-x:auto;padding:9px 12px;border-top:1px solid #e6eeee;background:#fff;scrollbar-width:none}.dp-agent-quick::-webkit-scrollbar{display:none}.dp-agent-quick button{border:1px solid #cee1e2;background:#f8fbfb;color:#0b5660;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}
.dp-agent-form{display:grid;grid-template-columns:1fr 42px;gap:8px;padding:10px 12px;border-top:1px solid #e7eeee;background:#fff}.dp-agent-form textarea{resize:none;max-height:92px;min-height:42px;border:1px solid #cadbdd;border-radius:12px;padding:10px 11px;font:inherit;font-size:13px;outline:none}.dp-agent-form textarea:focus{border-color:#0d7b84;box-shadow:0 0 0 3px rgba(13,123,132,.08)}.dp-agent-form button{border:0;border-radius:12px;background:#ff5b13;color:#fff;font-size:17px;font-weight:900;cursor:pointer}.dp-agent-form button:disabled{opacity:.6;cursor:wait}
.dp-agent-foot{padding:7px 12px 9px;text-align:center;font-size:9.5px;color:#789094;background:#fff}

@media (max-width:980px){.dp-agent{bottom:145px}.dp-agent-panel{height:min(570px,calc(100vh - 210px))}}
@media (max-width:640px){.dp-agent{right:12px;bottom:78px}.dp-agent-launcher{min-width:0;padding:9px 11px;border-radius:16px}.dp-agent-launch-copy small{display:none}.dp-agent-panel{position:fixed;right:10px;left:10px;bottom:74px;width:auto;height:min(620px,calc(100vh - 92px));border-radius:20px}.dp-agent-foot{font-size:9px}.dp-agent-launcher{box-shadow:0 10px 25px rgba(9,45,53,.19)}}

/* ===== V15: Agent V2 handoff states ===== */
.dp-agent-message.handoff .dp-agent-bubble{background:#fff8e8;border:1px solid #f1dcad;color:#624b14}
.dp-agent-message.human-reply .dp-agent-bubble{background:#e7f7ed;border:1px solid #b8dfc5;color:#155d34;box-shadow:0 4px 12px rgba(21,93,52,.08)}

/* ===== V16: Agent lead capture inside chat ===== */
.dp-agent-contact-wrap{justify-content:stretch}
.dp-agent-contact-card{width:100%;background:#fff;border:1px solid #cfe1e2;border-radius:15px;padding:12px;box-shadow:0 7px 20px rgba(9,45,53,.07)}
.dp-agent-contact-head{display:flex;flex-direction:column;gap:3px;margin-bottom:10px;color:#183b42}
.dp-agent-contact-head strong{font-size:13px}
.dp-agent-contact-head span{font-size:9.5px;color:#71898e}
.dp-agent-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dp-agent-contact-grid label{display:grid;gap:4px;font-size:10px;color:#4f676d;font-weight:700}
.dp-agent-contact-grid input{width:100%;min-width:0;border:1px solid #cbdcdf;border-radius:9px;padding:8px 9px;font:inherit;font-size:11px;outline:none;background:#fbfdfd;color:#16343b}
.dp-agent-contact-grid input:focus{border-color:#0d7b84;box-shadow:0 0 0 2px rgba(13,123,132,.08)}
.dp-agent-contact-card>button{width:100%;margin-top:9px;border:0;border-radius:10px;padding:9px 10px;background:#ff5b13;color:#fff;font-size:11px;font-weight:850;cursor:pointer}
.dp-agent-contact-card>button:disabled{opacity:.65;cursor:wait}
.dp-agent-contact-card>small{display:block;margin-top:7px;color:#788e93;font-size:9px;line-height:1.35}
.dp-agent-contact-error{margin-top:7px;color:#a33b2c;font-size:10px;line-height:1.35}
.dp-agent-message.lead-captured .dp-agent-bubble{background:#e9f8ef;border:1px solid #b9e2c8;color:#175f37}
@media(max-width:420px){.dp-agent-contact-grid{grid-template-columns:1fr}}

/* ===== V24: contextual guided choices ===== */
.dp-agent-quick.is-contextual{background:#f4fbfb;border-top-color:#cfe5e7;flex-wrap:nowrap}.dp-agent-quick.is-contextual button{background:#fff;border-color:#9fcfd2;color:#075e68;box-shadow:0 2px 7px rgba(7,94,104,.06)}.dp-agent-quick.is-contextual button:hover{border-color:#0d7b84;background:#eef9f9}.dp-agent-quick.is-contextual::before{content:'Chọn nhanh';font-size:9px;font-weight:800;color:#70898e;align-self:center;white-space:nowrap;margin-right:2px}

/* V25 — Requirement sheet inside Dai Phuoc Agent */
.dp-agent-spec-wrap{justify-content:stretch}
.dp-agent-spec-card{width:100%;background:#fff;border:1px solid #cfe1e2;border-radius:16px;overflow:hidden;box-shadow:0 8px 22px rgba(9,45,53,.08)}
.dp-agent-spec-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 13px;background:linear-gradient(135deg,#eef8f8,#f9fcfc);border-bottom:1px solid #dce9ea}
.dp-agent-spec-head>div{display:grid;gap:3px}.dp-agent-spec-head b{font-size:12.5px;color:#123940}.dp-agent-spec-head span{font-size:9.5px;color:#71898e}
.dp-agent-spec-status{white-space:nowrap!important;padding:4px 7px;border-radius:999px;background:#fff3e9;color:#9a4b18!important;border:1px solid #ffd2b6;font-weight:800}
.dp-agent-spec-sections{display:grid;gap:0;max-height:310px;overflow:auto}
.dp-agent-spec-sections section{padding:10px 12px;border-bottom:1px solid #edf2f3}.dp-agent-spec-sections section:last-child{border-bottom:0}
.dp-agent-spec-sections h4{margin:0 0 6px;font-size:10.5px;color:#0a6871;letter-spacing:.02em}
.dp-agent-spec-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:3px 9px;padding:4px 0;font-size:10.5px;line-height:1.35}
.dp-agent-spec-row>span{color:#62777c}.dp-agent-spec-row>strong{color:#193940;font-weight:750}.dp-agent-spec-row>small{grid-column:2;color:#a25e20;font-size:8.5px}
.dp-agent-spec-note{margin:0;padding:9px 12px;background:#fffaf4;color:#785c36;font-size:9px;line-height:1.4;border-top:1px solid #f4e6d6}
.dp-agent-spec-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px 12px;background:#fff}
.dp-agent-spec-actions button{border:1px solid #c8dfe1;background:#f8fbfb;color:#0a616a;border-radius:9px;padding:8px 7px;font-size:9.5px;font-weight:800;cursor:pointer}
.dp-agent-spec-actions button.primary{grid-column:1/-1;background:#ff5b13;color:#fff;border-color:#ff5b13}
.dp-agent-spec-actions button:hover{filter:brightness(.98)}
@media(max-width:420px){.dp-agent-spec-row{grid-template-columns:1fr}.dp-agent-spec-row>small{grid-column:1}.dp-agent-spec-actions{grid-template-columns:1fr}.dp-agent-spec-actions button.primary{grid-column:auto}}

/* Khi bấm menu nhảy tới mục, chừa chỗ cho header cố định */
html{scroll-padding-top:86px}
@media (max-width:640px){html{scroll-padding-top:76px}}

/* ===== V29: cụm liên hệ góc phải = Agent (trên) + Hotline/Zalo (hàng dưới); mobile dùng thanh dưới đáy ===== */
.floating-contact{position:fixed;right:18px;bottom:22px;z-index:95;display:flex;gap:6px;width:260px}
.floating-contact a{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;height:40px;border-radius:999px;color:#fff;font-size:13px;font-weight:850;white-space:nowrap;box-shadow:0 10px 26px rgba(18,36,42,.18);transition:transform .15s ease,box-shadow .15s ease}
.floating-contact a:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(18,36,42,.24)}
.floating-contact a:focus-visible{outline:3px solid #ffd2b8;outline-offset:2px}
.float-hotline{background:#f0442f;flex:1 1 auto!important}
.float-zalo{background:#147ef3}
.dp-agent{right:18px;bottom:70px}
.dp-agent-launcher{width:260px;min-width:0}
.dp-agent-panel{height:min(590px,calc(100vh - 160px))}
.mobile-sticky:before{content:none!important;display:none!important}
.lead-form label small{font-weight:500;color:var(--muted)}
@media (max-width:980px){
  .dp-agent{bottom:70px}
  .dp-agent-panel{height:min(570px,calc(100vh - 160px))}
}
/* ===== V30: chọn ngôn ngữ (VI / EN / KM) ===== */
html.i18n-pending body{visibility:hidden}
.lang-menu{position:relative;flex:0 0 auto}
html.lang-menu-open .site-header{z-index:120}
.lang-menu summary{display:flex;align-items:center;gap:6px;height:38px;padding:0 11px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#34424b;font-size:13px;font-weight:800;cursor:pointer;list-style:none;user-select:none}
.lang-menu summary::-webkit-details-marker{display:none}
.lang-menu summary:hover,.lang-menu[open] summary{border-color:#9fcfd2;color:var(--teal)}
.lang-menu summary:focus-visible{outline:3px solid #b9e3e5;outline-offset:2px}
.lang-menu summary svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.lang-menu summary i{font-style:normal;font-size:10px;opacity:.7}
.lang-options{position:absolute;right:0;top:calc(100% + 8px);z-index:60;display:grid;min-width:168px;padding:6px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 16px 40px rgba(9,45,53,.16)}
.lang-options button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:0;border-radius:9px;background:none;color:#203840;font-size:14px;font-weight:650;text-align:left;cursor:pointer}
.lang-options button:hover{background:#f1f8f8}
.lang-options button.is-active{color:var(--teal);font-weight:850}
.lang-options button.is-active:after{content:'✓'}
@media (max-width:980px){
  body.v6 .header-inner{gap:10px}
  .lang-menu{margin-left:auto;order:2}
  .menu-toggle{order:3;margin-left:0}
}
@media (max-width:640px){
  .lang-menu summary{height:34px;padding:0 9px;gap:4px;font-size:12px}
  .lang-menu summary svg{width:15px;height:15px}
}

/* Tiếng Khmer: font có dấu chồng cần dòng cao hơn; không giãn chữ (letter-spacing làm vỡ cụm ký tự Khmer). */
html[lang="km"] body{font-family:Inter,"Noto Sans Khmer","Khmer UI","Leelawadee UI","Khmer Sangam MN",ui-sans-serif,system-ui,sans-serif;line-height:1.85}
html[lang="km"] body *{letter-spacing:0!important}
html[lang="km"] h1,html[lang="km"] h2,html[lang="km"] h3{line-height:1.45!important}
html[lang="km"] .hero-copy h1{font-size:clamp(34px,4vw,52px)}
html[lang="km"] .eyebrow{font-size:13px}
html[lang="km"] :is(p,li,figcaption,small,label,summary,.dp-agent-bubble){line-height:1.7!important}
@media (max-width:640px){html[lang="km"] body.v6 .hero-copy h1{font-size:28px}}

/* ===== V30: Agent chủ động chào khách ===== */
.dp-agent-message[hidden],.dp-agent-teaser[hidden]{display:none}
.dp-agent-dots .dp-agent-bubble{display:flex;gap:4px;align-items:center;padding:13px 14px}
.dp-agent-dots .dp-agent-bubble span{width:6px;height:6px;border-radius:50%;background:#7fa3a8;animation:dpDot 1s infinite ease-in-out}
.dp-agent-dots .dp-agent-bubble span:nth-child(2){animation-delay:.15s}
.dp-agent-dots .dp-agent-bubble span:nth-child(3){animation-delay:.3s}
@keyframes dpDot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.dp-agent-teaser{position:absolute;right:0;bottom:calc(100% + 10px);width:min(290px,calc(100vw - 24px));display:flex;align-items:flex-start;background:#fff;border:1px solid #cfe1e2;border-radius:16px 16px 4px 16px;box-shadow:0 14px 34px rgba(9,45,53,.2);animation:dpTeaserIn .25s ease-out}
.dp-agent-teaser-open{flex:1;display:grid;gap:3px;padding:11px 4px 12px 13px;border:0;background:none;color:#16343b;font-size:13px;line-height:1.45;text-align:left;cursor:pointer}
.dp-agent-teaser-open strong{font-size:12px;color:var(--teal)}
.dp-agent-teaser-close{flex:0 0 32px;height:32px;margin:4px 4px 0 0;border:0;border-radius:9px;background:none;color:#71898e;font-size:20px;line-height:1;cursor:pointer}
@keyframes dpTeaserIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.dp-agent-teaser,.dp-agent-dots .dp-agent-bubble span{animation:none}}

@media (max-width:640px){
  .floating-contact{display:none}
  .dp-agent{right:12px;bottom:76px}
  .dp-agent-launcher{width:auto}
  .dp-agent-panel{height:min(620px,calc(100vh - 92px))}
  body.v6 .timeline{grid-template-columns:1fr 1fr;gap:10px}
  body.v6 .timeline article{padding:14px}
  body.v6 .timeline article h3{font-size:15px;margin:9px 0 4px}
  body.v6 .timeline article p{font-size:13px;line-height:1.45}
}

/* ===== V30.1: WhatsApp + Telegram (khách nước ngoài). Thứ tự nút đổi theo ngôn ngữ trang: VI ưu tiên Zalo, EN ưu tiên WhatsApp, KM ưu tiên Telegram ===== */
.floating-contact .float-chat{flex:0 0 40px!important;width:40px;padding:0;font-size:11px}
.floating-contact svg,.ribbon-icon svg{width:21px;height:21px;fill:currentColor}
.float-whatsapp,.ico-whatsapp,.wa-dot{background:#1a9e4f!important}
.float-telegram,.ico-telegram{background:#229ed9!important}
.float-hotline,.sticky-call{order:0}
.float-zalo,.sticky-zalo{order:1}
.float-whatsapp,.sticky-whatsapp{order:2}
.float-telegram,.sticky-telegram{order:3}
html[lang="en"] :is(.float-whatsapp,.sticky-whatsapp){order:1}
html[lang="en"] :is(.float-telegram,.sticky-telegram){order:2}
html[lang="km"] :is(.float-telegram,.sticky-telegram){order:1}
html[lang="km"] :is(.float-whatsapp,.sticky-whatsapp){order:2}
html:is([lang="en"],[lang="km"]) :is(.float-zalo,.sticky-zalo){order:3}
.contact-ribbon-grid{grid-template-columns:1.1fr 1fr 1fr 1.15fr auto}
.ribbon-intl{display:flex;align-items:center;gap:10px}
.ribbon-intl>span:last-child,.contact-ribbon a:not(.btn)>span:last-child{display:flex;flex-direction:column;line-height:1.3}
.contact-ribbon .ribbon-intl a{display:inline;color:#fff}
.contact-ribbon .ribbon-intl a:hover{text-decoration:underline}
body.v13 .contact-box a:nth-child(3){grid-column:auto}
body.v13 .contact-box .contact-email{grid-column:1/-1}
@media (max-width:1100px){.contact-ribbon-grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){
  .mobile-sticky{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.3fr)}
  .mobile-sticky>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:0 2px;border-right:1px solid var(--border);background:#fff;color:#173038;font-size:11px;font-weight:800;line-height:1.15;text-align:center}
  .mobile-sticky>a.sticky-primary{order:9;border-right:0;background:var(--orange);color:#fff;font-size:13px;font-weight:850}
  .sticky-ico{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#fff;font-size:13px;line-height:1}
  .sticky-ico svg{width:15px;height:15px;fill:currentColor}
  .ico-call{background:#f0442f}
  .ico-zalo{background:#147ef3;font-weight:900}
}

/* V32: vùng bấm đủ lớn trên điện thoại; khách tắt hiệu ứng chuyển động thì nội dung hiện ngay */
.menu-toggle{min-height:40px;padding:8px 10px}
.footer-grid a{padding:6px 0;margin:2px 0}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}
