.home-hero{background:linear-gradient(120deg,#edf4f8 0%,#fff 62%);border-bottom:1px solid #e1e8ee}.home-hero-grid{min-height:340px;display:grid;grid-template-columns:43% 57%;align-items:center;gap:42px;padding-top:28px;padding-bottom:28px}.home-hero-copy h1{font-size:40px;line-height:1.18;letter-spacing:-.045em;margin:0 0 13px;color:#082b50}.home-hero-copy h1 em{color:#ff4d00;font-style:normal}.home-hero-copy>p{max-width:500px;color:#53677a;margin:0}.hero-actions{display:flex;align-items:center;gap:20px;margin-top:22px}.text-link{color:#0c4f86;font-size:13px;font-weight:700}
.hero-product{display:grid;grid-template-columns:55% 45%;background:#fff;border:1px solid #dce4eb;border-radius:14px;overflow:hidden;box-shadow:0 14px 38px rgba(8,43,80,.1)}.hero-product-image{position:relative;background:#e9f0f4}.hero-product-image>span{position:absolute;z-index:1;top:12px;left:12px;background:#ff4d00;color:#fff;border-radius:4px;padding:5px 9px;font-size:9px;font-weight:800}.hero-product-image img{width:100%;height:250px;object-fit:cover}.hero-product-info{padding:24px;display:flex;flex-direction:column;justify-content:center}.hero-product-info small{color:#ff4d00;font-size:10px}.hero-product-info h2{font-size:20px;line-height:1.35;margin:5px 0 15px}.hero-product-info strong{color:#ff4d00;font-size:21px}.hero-product-info>a{margin-top:18px;color:#0c4f86;font-size:12px;font-weight:700}
.home-category-section{padding:27px 0;background:#fff}.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}.home-section-head h2{font-size:23px;margin:0}.home-section-head>a{font-size:12px;color:#0c4f86;font-weight:700}.home-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.home-category-grid>a{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:10px;border:1px solid #dce4eb;border-radius:10px;padding:14px;transition:.2s}.home-category-grid>a:hover{border-color:#0c4f86;box-shadow:0 8px 20px rgba(8,43,80,.08);transform:translateY(-2px)}.home-category-grid>a>span{display:grid;place-items:center;width:40px;height:40px;border-radius:9px;background:#eaf2f7;color:#0c4f86;font-size:22px}.home-category-grid b,.home-category-grid small{display:block}.home-category-grid b{font-size:13px}.home-category-grid small{font-size:9px;color:#6c7d8d;margin-top:2px}.home-category-grid i{font-style:normal;color:#94a4b2}.accessory-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:10px}.accessory-links>b{color:#53677a}.accessory-links a{background:#f0f4f7;border-radius:20px;padding:5px 10px;color:#0c4f86;font-weight:600}
.home-products{background:#f5f8fb;padding:34px 0 48px}.home-products .eyebrow{margin-bottom:2px}.home-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.home-product-card{background:#fff;border:1px solid #dce4eb;border-radius:11px;overflow:hidden;transition:.2s}.home-product-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(8,43,80,.1)}.home-product-image{display:block;position:relative;background:#e9eff3}.home-product-image>span{position:absolute;z-index:1;left:9px;top:9px;background:#ff4d00;color:#fff;border-radius:4px;padding:4px 7px;font-size:8px;font-weight:800}.home-product-image img{width:100%;height:190px;object-fit:cover}.home-product-info{padding:13px}.home-product-info>small{display:block;color:#ff4d00;font-size:9px}.home-product-info h3{font-size:14px;line-height:1.4;min-height:39px;margin:4px 0}.home-product-info p{height:32px;overflow:hidden;color:#647386;font-size:10px;margin:5px 0 13px}.home-product-info>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.home-product-info strong{color:#ff4d00;font-size:15px}.home-product-info>div>a{border:1px solid #b9c6d0;border-radius:5px;padding:6px 8px;font-size:8px;font-weight:700}.home-product-info>div>a:hover{background:#082b50;border-color:#082b50;color:#fff}
.home-assurance{background:#082b50;color:#fff}.home-assurance>.container{display:grid;grid-template-columns:repeat(3,1fr);padding-top:18px;padding-bottom:18px}.home-assurance span,.home-assurance a{display:flex;align-items:center;justify-content:center;gap:10px;border-right:1px solid rgba(255,255,255,.18)}.home-assurance a:last-child{border:0}.home-assurance b,.home-assurance small{font-size:11px}.home-assurance small{color:#bcd0df}
.home-usecases{padding:42px 0;background:#fff}.usecase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.usecase-grid>a{position:relative;height:205px;border-radius:12px;overflow:hidden;background:#082b50}.usecase-grid img{width:100%;height:100%;object-fit:cover;transition:.3s}.usecase-grid>a:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(5,28,49,.88))}.usecase-grid>a:hover img{transform:scale(1.04)}.usecase-grid span{position:absolute;z-index:1;left:16px;right:16px;bottom:14px;color:#fff}.usecase-grid b,.usecase-grid small{display:block}.usecase-grid b{font-size:16px}.usecase-grid small{font-size:10px;color:#d7e2ea;margin-top:2px}
.home-realwork{padding:45px 0;background:#edf3f7}.realwork-layout{display:grid;grid-template-columns:28% 72%;align-items:center;gap:30px}.realwork-copy h2{font-size:26px;line-height:1.3;margin:0 0 10px}.realwork-copy p{color:#607284;font-size:12px;margin:0 0 20px}.realwork-gallery{display:grid;grid-template-columns:1.35fr 1fr;grid-template-rows:135px 135px;gap:10px}.realwork-gallery a{overflow:hidden;border-radius:10px}.realwork-gallery a:first-child{grid-row:1/3}.realwork-gallery img{width:100%;height:100%;object-fit:cover;transition:.3s}.realwork-gallery a:hover img{transform:scale(1.03)}
@media(max-width:1000px){.home-hero-grid{grid-template-columns:1fr 1fr;gap:25px}.hero-product{grid-template-columns:1fr}.hero-product-image img{height:180px}.hero-product-info{padding:15px}.home-category-grid,.home-product-grid,.usecase-grid{grid-template-columns:repeat(2,1fr)}.realwork-layout{grid-template-columns:1fr}.realwork-copy{max-width:560px}.realwork-gallery{grid-template-columns:1fr 1fr;grid-template-rows:120px 120px}.realwork-gallery a:first-child{grid-column:1/-1;grid-row:auto;height:auto}}
@media(max-width:700px){.home-hero-grid{grid-template-columns:1fr;min-height:0;padding-top:24px}.home-hero-copy h1{font-size:31px}.hero-product{grid-template-columns:44% 56%}.hero-product-image img{height:180px}.hero-product-info h2{font-size:16px;margin-bottom:8px}.hero-product-info strong{font-size:17px}.home-category-grid{gap:8px}.home-category-grid>a{padding:10px}.home-product-grid{gap:10px}.home-product-image img{height:150px}.usecase-grid>a{height:165px}.realwork-gallery{grid-template-rows:110px 110px}.home-assurance>.container{grid-template-columns:1fr}.home-assurance span,.home-assurance a{justify-content:flex-start;border-right:0;border-bottom:1px solid rgba(255,255,255,.13);padding:8px 0}}
@media(max-width:480px){.home-hero-copy h1{font-size:28px}.home-hero-copy>p{font-size:13px}.hero-product{grid-template-columns:42% 58%}.hero-product-image img{height:155px}.hero-product-info{padding:11px}.hero-product-info>a{margin-top:8px}.home-category-grid{grid-template-columns:1fr 1fr}.home-category-grid>a{grid-template-columns:32px 1fr}.home-category-grid>a>span{width:32px;height:32px;font-size:18px}.home-category-grid i,.home-category-grid small{display:none}.accessory-links{overflow-x:auto;flex-wrap:nowrap}.accessory-links>*{white-space:nowrap}.home-product-info{padding:10px}.home-product-info p{display:none}.home-product-info>div{align-items:flex-start;flex-direction:column;margin-top:9px}.home-product-info>div>a{width:100%;text-align:center}.home-product-image img{height:135px}.usecase-grid{gap:8px}.usecase-grid>a{height:135px}.usecase-grid span{left:11px;bottom:10px}.usecase-grid b{font-size:13px}.realwork-gallery{grid-template-rows:105px 105px}.home-realwork{padding:35px 0}}

@media(max-width:640px){
    .home-hero-grid{grid-template-columns:1fr;gap:22px;min-height:0;padding-top:28px;padding-bottom:26px}
    .home-hero-copy h1{font-size:29px;line-height:1.18;letter-spacing:0;overflow-wrap:anywhere}
    .home-hero-copy>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.55}
    .hero-product{grid-template-columns:1fr}
    .hero-product-image img{height:185px}
    .hero-product-info h2{font-size:17px;line-height:1.32}
    .home-category-grid,.home-product-grid{grid-template-columns:1fr 1fr;gap:10px}
    .home-category-grid>a{min-width:0;padding:10px}
    .home-category-grid h3,.home-category-grid b,.home-product-info h3{overflow-wrap:anywhere}
    .home-product-image img{height:145px}
    .home-product-info h3{min-height:0;font-size:13px}
    .home-product-info p{display:none}
    .usecase-grid{grid-template-columns:1fr 1fr;gap:10px}
    .usecase-grid>a{height:132px}
    .realwork-copy p{font-size:13px}
}

@media(max-width:420px){
    .home-category-grid{grid-template-columns:1fr}
    .home-product-grid{grid-template-columns:1fr 1fr;gap:8px}
    .home-product-image img{height:120px}
    .home-product-info{padding:9px}
    .home-product-info h3{font-size:12px;line-height:1.3}
    .home-product-info strong{font-size:13px}
    .home-product-info>div>a{padding:6px 5px;font-size:8px}
    .usecase-grid>a{height:126px}
}
.home-reviews{background:#fff}.home-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.home-review-grid article{border:1px solid #dce4eb;border-radius:10px;padding:20px}.home-review-grid article>span{color:#e69a00}.home-review-grid p{font-size:12px;color:#43566a;min-height:58px}.home-review-grid b,.home-review-grid small{display:block}.home-review-grid small{color:#748596;font-size:9px}@media(max-width:700px){.home-review-grid{grid-template-columns:1fr}}
/* Section Builder: shared presentation controls from Admin > Giao diện. */
.home-builder-section.home-spacing-compact{padding-top:34px!important;padding-bottom:34px!important}
.home-builder-section.home-spacing-roomy{padding-top:96px!important;padding-bottom:96px!important}
.home-builder-section.home-variant-soft{background:#f3f7fa!important}
.home-builder-section.home-variant-navy{background:var(--navy)!important;color:#fff}
.home-builder-section.home-variant-navy h1,.home-builder-section.home-variant-navy h2,.home-builder-section.home-variant-navy h3,.home-builder-section.home-variant-navy b,.home-builder-section.home-variant-navy strong{color:#fff}
.home-builder-section.home-variant-navy p,.home-builder-section.home-variant-navy small{color:#d7e4ee}
.home-builder-section.home-variant-navy .home-section-head>a,.home-builder-section.home-variant-navy .text-link{color:#fff}
.home-builder-section.has-custom-background{background-image:linear-gradient(rgba(255,255,255,.86),rgba(255,255,255,.86)),var(--theme-background-image)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.home-builder-section.home-variant-navy.has-custom-background{background-image:linear-gradient(rgba(8,43,80,.82),rgba(8,43,80,.82)),var(--theme-background-image)!important}
@media(max-width:700px){.home-builder-section.home-spacing-compact{padding-top:24px!important;padding-bottom:24px!important}.home-builder-section.home-spacing-roomy{padding-top:64px!important;padding-bottom:64px!important}}

/* Mobile headings must always start from the left, even though this page CSS
   loads after the shared responsive stylesheet. */
@media(max-width:760px){
    .home-section-head,.section-heading{width:100%;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}
    .home-section-head>*,.section-heading>*{align-self:flex-start!important;text-align:left!important;margin-left:0!important;margin-right:0!important}
    .home-section-head h2,.section-heading h2{font-size:21px;line-height:1.2;letter-spacing:.01em}
    .home-section-head>a,.section-heading>a{display:inline-flex;justify-content:flex-start;margin-top:1px}
    .home-products .eyebrow{margin-bottom:4px}
}

/* Stronger product-card hierarchy while preserving product-name casing. */
.home-category-grid b{font-size:14px;font-weight:700}
.hero-product-info small,.home-product-info>small{font-size:11px;font-weight:600;line-height:1.3}
.hero-product-info h2{font-size:22px;line-height:1.3;text-transform:none!important}
.home-product-info h3{min-height:42px;font-size:16px;line-height:1.32;text-transform:none!important;font-weight:700!important}
.usecase-grid b{font-size:17px;font-weight:700;text-transform:uppercase;letter-spacing:.01em}

@media(max-width:640px){
    .home-category-grid b{font-size:13px}
    .hero-product-info small,.home-product-info>small{font-size:10px}
    .hero-product-info h2{font-size:18px}
    .home-product-info h3{min-height:0;font-size:14px;line-height:1.32}
    .usecase-grid b{font-size:14px;line-height:1.25}
}

@media(max-width:420px){
    .home-product-info h3{font-size:13px}
    .usecase-grid b{font-size:14px}
}

/* Larger, easier-to-tap product CTA on every card. */
.home-product-info>div>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap}

@media(max-width:640px){
    .home-product-info>div>a{min-height:38px;padding:9px 10px;font-size:10px}
}

/* Product photos are uploaded in 4:5: preserve the whole image without cropping. */
.home-product-image{display:grid;aspect-ratio:4/5;place-items:center;overflow:hidden;background:#f5f7f9}
.home-product-image img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}

/* Mobile hero product: copy on the left, complete 4:5 product photo on the right. */
@media(max-width:700px){
    .hero-product{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"info image";align-items:stretch}
    .hero-product-image{grid-area:image;display:grid;min-width:0;aspect-ratio:4/5;place-items:center;overflow:hidden;background:#f5f7f9}
    .hero-product-image img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important}
    .hero-product-info{grid-area:info;min-width:0;padding:13px}
}

/* Balanced mobile hero: compact actions and a denser featured-product card. */
@media(max-width:700px){
    .home-hero-grid{gap:16px;padding-top:22px;padding-bottom:24px}
    .home-hero-copy .eyebrow{font-size:8px;line-height:1.35}
    .home-hero-copy h1{margin:9px 0 10px;font-size:26px;line-height:1.18;letter-spacing:-.018em}
    .home-hero-copy>p{font-size:12.5px;line-height:1.58}
    .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:17px}
    .hero-actions .btn,.hero-actions .text-link{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;border-radius:9px;padding:9px 11px;text-align:center}
    .hero-actions .btn{font-size:11px}
    .hero-actions .text-link{border:1px solid #d6e0e8;background:rgba(255,255,255,.8);font-size:10.5px;line-height:1.35;white-space:nowrap}
    .hero-product{grid-template-columns:minmax(0,52%) minmax(0,48%);min-height:194px;border-color:#d5e1e9;border-radius:14px;background:linear-gradient(115deg,#fff 0%,#fff 51%,#f2f6f9 51%,#f8fafc 100%);box-shadow:0 10px 26px rgba(8,43,80,.08)}
    .hero-product-image{min-height:194px;aspect-ratio:auto;background:transparent}
    .hero-product-image>span{display:none}
    .hero-product-image img{display:block;min-height:0;max-height:214px}
    .hero-product-info{justify-content:center;padding:14px 8px 14px 14px}
    .hero-product-info::before{content:"SẢN PHẨM NỔI BẬT";align-self:flex-start;margin-bottom:9px;border-radius:4px;background:#ff4d00;color:#fff;padding:5px 7px;font-size:7px;font-weight:800;line-height:1;letter-spacing:.02em}
    .hero-product-info>div{min-width:0}
    .hero-product-info small{display:block;font-size:9px;line-height:1.25}
    .hero-product-info h2{margin:4px 0 10px;font-size:15px;line-height:1.32}
    .hero-product-info strong{font-size:17px;line-height:1.2}
    .hero-product-info>a{align-self:flex-start;display:inline-flex;align-items:center;min-height:31px;margin-top:11px;border:1px solid #b9cbd8;border-radius:7px;padding:7px 9px;color:#0c4f86;background:#fff;font-size:9px;font-weight:800;line-height:1}
}

@media(max-width:360px){
    .home-hero-copy h1{font-size:24px}
    .hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
    .hero-actions .btn,.hero-actions .text-link{padding-left:7px;padding-right:7px;font-size:9.5px}
    .hero-product{grid-template-columns:minmax(0,54%) minmax(0,46%);min-height:186px}
    .hero-product-image{min-height:186px}
    .hero-product-info{padding-left:12px}
    .hero-product-info h2{font-size:14px}
}
