/*
Theme Name: Agaru Modern Product Child v153 (v1.0.5.53)
Theme URI: https://agaruwater.com/
Description: Child theme bổ sung lớp đồng ý dữ liệu và cookie, giữ nguyên giao diện Agaru hiện tại.
Author: Agaru Việt Nam
Template: agaru-modern-v105
Version: 1.0.5.53
Text Domain: agaru-modern-product-child-v153
*/

/* Parent CSS được enqueue riêng trong functions.php để tránh chuỗi stylesheet lồng nhau chặn render. */

/* Giữ chỗ ổn định cho các khu vực phía dưới hero khi trình duyệt chưa tải ảnh. */
body.home .agaru-proof,
body.home .agaru-section,
body.home .agaru-statement,
body.home .agaru-final-cta { content-visibility: auto; contain-intrinsic-size: 720px; }

/* Lớp nâng cấp thị giác nhẹ, không chặn nội dung khi JavaScript không chạy. */
.agaru-motion-reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .65s ease, transform .65s cubic-bezier(.22,.61,.36,1); transition-delay: var(--agaru-motion-delay, 0ms); }
.agaru-motion-reveal.is-visible { opacity: 1; transform: none; }
.agaru-hero__image img { transition: transform .8s cubic-bezier(.22,.61,.36,1); }
@media (hover:hover) and (pointer:fine) {
  .agaru-hero__image:hover img { transform: scale(1.018); }
}
@media (min-width: 701px) {
  .single-product div.product .summary { padding-right: 74px; }
}
@media (max-width: 700px) {
  .single-product div.product .summary { padding-right: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .agaru-motion-reveal { opacity: 1; transform: none; transition: none; }
  .agaru-hero__image img { transition: none; }
}

/* Ảnh đại diện trong archive Tin tức: giữ tỷ lệ đồng nhất và tránh card trống. */
.agaru-news-card__image { display: block; aspect-ratio: 16 / 9; margin: -28px -28px 24px; overflow: hidden; background: #e8e8e8; }
.agaru-news-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.agaru-news-card:hover .agaru-news-card__image img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .agaru-news-card__image img { transition: none; } }

/* Danh mục sản phẩm: card có thông số và CTA rõ ràng, không phụ thuộc layout Woo mặc định. */
.agaru-catalog { padding-top: clamp(48px, 7vw, 92px); }
.agaru-catalog__intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 40px; align-items: end; margin-bottom: 42px; }
.agaru-catalog__intro h2 { max-width: 760px; margin: 0; color: var(--agaru-ink); font-size: clamp(34px, 4vw, 58px); line-height: 1.02; letter-spacing: -.05em; }
.agaru-catalog__intro > p { max-width: 460px; margin: 0; color: var(--agaru-muted); font-size: 16px; line-height: 1.7; }
.agaru-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.agaru-catalog-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--agaru-line); background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.agaru-catalog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,.09); }
.agaru-catalog-card__image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f5f3; }
.agaru-catalog-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.agaru-catalog-card:hover .agaru-catalog-card__image img { transform: scale(1.035); }
.agaru-catalog-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.agaru-catalog-card__eyebrow { margin: 0 0 12px; color: var(--agaru-red-text); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.agaru-catalog-card h2 { margin: 0; font-size: clamp(20px, 1.75vw, 27px); line-height: 1.12; letter-spacing: -.035em; }
.agaru-catalog-card h2 a { color: var(--agaru-ink); text-decoration: none; }
.agaru-catalog-card h2 a:hover { color: var(--agaru-red); }
.agaru-catalog-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.agaru-catalog-card__meta span { padding: 7px 9px; background: #f6f6f4; color: var(--agaru-ink); font-size: 11px; font-weight: 800; }
.agaru-catalog-card__body > p:not(.agaru-catalog-card__eyebrow) { margin: 0 0 24px; color: var(--agaru-muted); font-size: 14px; line-height: 1.65; }
.agaru-catalog-card__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: auto; }
.agaru-catalog-card__actions .agaru-button { min-height: 44px; padding: 0 15px; font-size: 12px; }
.agaru-catalog-card__actions .agaru-text-link { padding-bottom: 4px; font-size: 12px; }
@media (hover: none) { .agaru-catalog-card:hover { transform: none; box-shadow: none; } }
@media (max-width: 980px) { .agaru-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agaru-catalog__intro { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 600px) { .agaru-catalog-grid { grid-template-columns: 1fr; gap: 16px; } .agaru-catalog-card__body { padding: 20px; } .agaru-catalog__intro h2 { font-size: 35px; } }
@media (prefers-reduced-motion: reduce) { .agaru-catalog-card, .agaru-catalog-card__image img { transition: none; } }

/*
 * Chi tiết sản phẩm B2B: cùng một hệ thống nhịp, thẻ và CTA cho cả bảy sản phẩm.
 * Không thay đổi ảnh/URL WooCommerce; chỉ đưa phần trình bày cũ về một lưới đọc
 * được, có khoảng thở và ưu tiên hành động báo giá.
 */
.agaru-product-detail { padding: clamp(30px, 5vw, 74px) 0 96px; background: #fff; }
.agaru-product-detail__crumb { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; color: #747474; font-size: 13px; }
.agaru-product-detail__crumb a { color: inherit; text-decoration: none; }
.agaru-product-detail__crumb a:hover { color: var(--agaru-red); }
.agaru-product-detail__crumb span:last-child { color: var(--agaru-ink); }
.agaru-product-detail__hero { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(32px, 6vw, 86px); align-items: start; }
.agaru-product-detail__gallery { min-width: 0; padding: clamp(12px, 2vw, 24px); background: #f6f6f4; border: 1px solid var(--agaru-line); }
.agaru-product-detail__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; opacity: 1 !important; }
.agaru-product-detail__gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.agaru-product-detail__gallery .woocommerce-product-gallery__image a { display: block; }
.agaru-product-detail__gallery .woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; max-height: min(680px, 68vh); object-fit: contain; margin: 0 auto; }
.agaru-product-detail__gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0 !important; padding: 0 !important; }
.agaru-product-detail__gallery .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; list-style: none; }
.agaru-product-detail__gallery .flex-control-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid transparent; opacity: .65; transition: opacity .2s ease, border-color .2s ease; }
.agaru-product-detail__gallery .flex-control-thumbs .flex-active, .agaru-product-detail__gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--agaru-red); }
.agaru-product-detail__intro { min-width: 0; padding-top: 6px; }
.agaru-product-detail__eyebrow { margin: 0 0 16px; color: var(--agaru-red); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.agaru-product-detail__intro h1 { max-width: 720px; margin: 0; color: var(--agaru-ink); font-size: clamp(34px, 4.4vw, 62px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.agaru-product-detail__lead { max-width: 620px; margin: 24px 0 0; color: #4d4d4d; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; }
.agaru-product-detail__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 28px 0 30px; }
.agaru-product-detail__badge { min-height: 88px; padding: 15px 14px; background: #f7f7f5; border-top: 2px solid var(--agaru-red); }
.agaru-product-detail__badge strong { display: block; color: var(--agaru-ink); font-size: 20px; line-height: 1.1; }
.agaru-product-detail__badge span { display: block; margin-top: 8px; color: #6a6a6a; font-size: 12px; line-height: 1.35; }
.agaru-product-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.agaru-product-detail__actions .agaru-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 20px; text-decoration: none; }
.agaru-product-detail__phone { color: var(--agaru-ink); font-weight: 750; text-decoration: none; }
.agaru-product-detail__phone:hover { color: var(--agaru-red); }
.agaru-product-detail__note { margin: 16px 0 0; color: #777; font-size: 13px; line-height: 1.5; }
.agaru-product-detail__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 350px); gap: clamp(30px, 6vw, 92px); margin-top: clamp(66px, 9vw, 120px); }
.agaru-product-detail__content { min-width: 0; max-width: 760px; }
.agaru-product-detail__content > :first-child { margin-top: 0; }
.agaru-product-detail__content h2 { margin: 54px 0 16px; color: var(--agaru-ink); font-size: clamp(25px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -.025em; }
.agaru-product-detail__content h3 { margin: 32px 0 12px; color: var(--agaru-ink); font-size: 21px; }
.agaru-product-detail__content p { margin: 0 0 17px; color: #4d4d4d; font-size: 17px; line-height: 1.7; }
.agaru-product-detail__content strong { color: var(--agaru-ink); }
.agaru-product-detail__content ul, .agaru-product-detail__content ol { display: grid; gap: 12px; margin: 18px 0 24px; padding-left: 1.3rem; color: #4d4d4d; font-size: 16px; line-height: 1.55; }
.agaru-product-detail__content li::marker { color: var(--agaru-red); font-weight: 800; }
.agaru-product-detail__content table { width: 100%; margin: 22px 0 30px; border-collapse: collapse; font-size: 15px; }
.agaru-product-detail__content th, .agaru-product-detail__content td { padding: 13px 14px; border-bottom: 1px solid var(--agaru-line); text-align: left; vertical-align: top; }
.agaru-product-detail__content th { width: 34%; color: var(--agaru-ink); font-weight: 800; background: #f7f7f5; }
.agaru-product-detail__content td { color: #4d4d4d; }
.agaru-product-detail__content figure { max-width: 100%; margin: 30px 0; }
.agaru-product-detail__content figure img { display: block; max-width: 100%; height: auto; }
.agaru-product-detail__content .wp-caption-text { margin-top: 8px; color: #777; font-size: 13px; }
.agaru-product-detail__content blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--agaru-red); background: #f7f7f5; color: #4d4d4d; }
.agaru-product-detail__content iframe { display: block; width: 100%; max-width: 680px; min-height: 330px; margin: 28px 0; }
.agaru-product-detail__spec-card { align-self: start; position: sticky; top: 116px; padding: 24px; background: var(--agaru-ink); color: #fff; }
.agaru-product-detail__spec-card h2 { margin: 0 0 20px; color: #fff; font-size: 25px; line-height: 1.1; }
.agaru-product-detail__spec-list { display: grid; gap: 0; margin: 0; }
.agaru-product-detail__spec { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.18); }
.agaru-product-detail__spec dt { color: rgba(255,255,255,.62); font-size: 12px; }
.agaru-product-detail__spec dd { margin: 0; color: #fff; font-size: 14px; line-height: 1.4; }
.agaru-product-detail__spec-card .agaru-product-detail__mini-cta { display: block; margin-top: 24px; padding: 13px 15px; background: var(--agaru-red); color: #fff; font-weight: 800; text-align: center; text-decoration: none; }
.agaru-product-detail__related { margin-top: 90px; padding-top: 50px; border-top: 1px solid var(--agaru-line); }
.agaru-product-detail__related h2 { margin: 0 0 26px; color: var(--agaru-ink); font-size: clamp(28px, 3vw, 42px); letter-spacing: -.03em; }
.agaru-product-detail__related .products { margin: 0 !important; }
.agaru-product-detail__related .products li.product { min-width: 0; }

/*
 * Lưới sản phẩm liên quan: WooCommerce có thể áp dụng lại float/width mặc định
 * sau stylesheet của theme cha, khiến bốn thẻ bị co còn khoảng 120px và dồn
 * vào giữa trang. Các quy tắc này chỉ nằm trong vùng sản phẩm chi tiết nên
 * không ảnh hưởng archive sản phẩm hoặc các block khác.
 */
.agaru-product-detail__related { width: 100%; min-width: 0; }
.agaru-product-detail__related > .related.products {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  grid-template-columns: none !important;
}
.agaru-product-detail__related ul.products,
.agaru-product-detail__related ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  align-items: stretch;
}
.agaru-product-detail__related ul.products::before,
.agaru-product-detail__related ul.products::after { display: none !important; content: none !important; }
.agaru-product-detail__related ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
}
.agaru-product-detail__related li.product > a.woocommerce-LoopProduct-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.agaru-product-detail__related li.product img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 18px !important;
}
.agaru-product-detail__related li.product h2.woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: calc(1.3em * 4);
  margin: 0 !important;
  overflow: hidden;
  color: var(--agaru-ink);
  font-size: clamp(16px, 1.35vw, 21px) !important;
  font-weight: 800;
  line-height: 1.3 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.agaru-product-detail__related li.product > a.button {
  display: inline-flex !important;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 20px !important;
  padding: 11px 18px !important;
  font-size: 14px;
  line-height: 1.1;
  text-decoration: none;
}
@media (max-width: 980px) {
  .agaru-product-detail__hero { gap: 34px; }
  .agaru-product-detail__body { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .agaru-product-detail__badges { gap: 7px; }
  .agaru-product-detail__badge { padding: 13px 10px; }
  .agaru-product-detail__badge strong { font-size: 18px; }
}
@media (max-width: 700px) {
  .agaru-product-detail { padding-top: 24px; padding-bottom: 68px; }
  .agaru-product-detail__crumb { margin-bottom: 23px; font-size: 12px; }
  .agaru-product-detail__hero, .agaru-product-detail__body { grid-template-columns: 1fr; }
  .agaru-product-detail__gallery { padding: 10px; }
  .agaru-product-detail__gallery .woocommerce-product-gallery__image img { max-height: none; }
  .agaru-product-detail__intro { padding-top: 10px; }
  .agaru-product-detail__intro h1 { font-size: clamp(32px, 10vw, 47px); }
  .agaru-product-detail__lead { margin-top: 17px; font-size: 16px; }
  .agaru-product-detail__badges { margin: 22px 0 24px; }
  .agaru-product-detail__badge { min-height: 78px; padding: 12px 10px; }
  .agaru-product-detail__badge strong { font-size: 17px; }
  .agaru-product-detail__badge span { font-size: 11px; }
  .agaru-product-detail__body { margin-top: 58px; }
  .agaru-product-detail__content h2 { margin-top: 42px; font-size: 28px; }
  .agaru-product-detail__content p { font-size: 16px; line-height: 1.65; }
  .agaru-product-detail__content table { font-size: 14px; }
  .agaru-product-detail__content th, .agaru-product-detail__content td { padding: 11px 9px; }
  .agaru-product-detail__spec-card { position: static; padding: 21px; }
  .agaru-product-detail__related { margin-top: 66px; padding-top: 38px; }
  .agaru-product-detail__related ul.products,
  .agaru-product-detail__related ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 600px) {
  .agaru-product-detail__related ul.products,
  .agaru-product-detail__related ul.products.columns-4 { grid-template-columns: 1fr !important; gap: 14px !important; }
  .agaru-product-detail__related ul.products li.product { padding: 14px !important; }
  .agaru-product-detail__related li.product h2.woocommerce-loop-product__title { min-height: calc(1.3em * 3); font-size: 18px !important; -webkit-line-clamp: 3; }
}
@media (max-width: 420px) {
  .agaru-product-detail__badges { grid-template-columns: 1fr; }
  .agaru-product-detail__badge { display: grid; grid-template-columns: 70px 1fr; align-items: center; min-height: 0; gap: 10px; }
  .agaru-product-detail__badge span { margin-top: 0; }
  .agaru-product-detail__actions { align-items: stretch; flex-direction: column; }
  .agaru-product-detail__actions .agaru-button, .agaru-product-detail__phone { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .agaru-product-detail__gallery .flex-control-thumbs img { transition: none; }
}

/*
 * Homepage visual depth — Premium B2B Editorial + Soft Layered Depth.
 * Chỉ áp dụng cho trang chủ; nội dung, URL, SEO, menu, form, sản phẩm và
 * hành vi các nút liên hệ được giữ nguyên.
 */
:root {
  --agaru-shadow-soft: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --agaru-shadow-raised: 0 6px 18px rgba(15,23,42,.07), 0 28px 64px rgba(15,23,42,.11);
  --agaru-shadow-product: 0 22px 54px rgba(15,23,42,.14);
}

/* Hero: nền sáng nhiều lớp, vùng sáng sau chai và bóng tiếp xúc mềm. */
body.home .agaru-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 48%, rgba(255,255,255,.96) 0 8%, rgba(255,255,255,0) 35%),
    linear-gradient(118deg, #f7f7f4 0%, #eef1ed 54%, #e5ebe7 100%);
  color: var(--agaru-ink);
}
body.home .agaru-hero::after {
  position: absolute;
  z-index: 0;
  right: 7%;
  bottom: 78px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(13,13,16,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255,255,255,.18), 0 0 0 48px rgba(255,255,255,.12);
  content: "";
  pointer-events: none;
}
body.home .agaru-hero__grid { position: relative; z-index: 1; }
body.home .agaru-hero__copy { padding-right: clamp(30px, 5vw, 70px); }
body.home .agaru-hero h1 { color: var(--agaru-ink); }
body.home .agaru-hero h1 em { color: var(--agaru-red); }
body.home .agaru-hero__lead { color: #59615f; }
body.home .agaru-hero__phone { color: var(--agaru-ink); }
body.home .agaru-hero__phone span { color: #6b7471; }
body.home .agaru-hero .agaru-eyebrow--light { color: #59615f; }
body.home .agaru-hero .agaru-eyebrow--light::before { background: var(--agaru-red); }
body.home .agaru-hero__visual { overflow: visible; }
body.home .agaru-hero__visual::before {
  inset: 3% -180px 3% 8%;
  background:
    radial-gradient(circle at 48% 45%, rgba(255,255,255,.88), rgba(255,255,255,0) 44%),
    linear-gradient(145deg, rgba(227,6,19,.96), rgba(178,0,10,.9));
  clip-path: none;
  border-radius: 32px 0 0 32px;
  box-shadow: var(--agaru-shadow-raised);
}
body.home .agaru-hero__visual::after {
  position: absolute;
  z-index: 0;
  right: 7%;
  bottom: 24px;
  left: 22%;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(15,23,42,.24) 0%, rgba(15,23,42,.08) 48%, rgba(15,23,42,0) 75%);
  content: "";
  filter: blur(10px);
  pointer-events: none;
}
body.home .agaru-hero__image {
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 28px;
  box-shadow: var(--agaru-shadow-product);
  transform: translateY(-10px) scale(1.015);
}
body.home .agaru-hero__image::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle at 65% 30%, rgba(255,255,255,.22), transparent 36%);
  content: "";
  pointer-events: none;
}
body.home .agaru-hero__image img { position: relative; z-index: 1; }
body.home .agaru-marquee { background: rgba(13,13,16,.94); }

/* Proof/giải pháp: nhịp mở, dùng typography và đường phân cách thay vì hộp. */
body.home .agaru-proof {
  border-bottom: 0;
  background: linear-gradient(180deg, #fff 0%, #f8f8f5 100%);
}
body.home .agaru-proof__grid div {
  min-height: 92px;
  padding-inline: 20px;
  border-left: 0;
  border-right: 1px solid var(--agaru-line);
}
body.home .agaru-proof__grid div:last-child { border-right: 0; }
body.home #giai-phap { position: relative; overflow: hidden; background: linear-gradient(180deg, #f8f8f5 0%, #f0f2ef 100%); }
body.home #giai-phap::before {
  position: absolute;
  top: 18%;
  right: -100px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(13,13,16,.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
body.home .agaru-services { gap: 0 48px; }
body.home .agaru-service {
  padding: 32px 0 34px;
  border-top: 1px solid var(--agaru-line);
  background: transparent;
}
body.home .agaru-service:nth-child(-n+2) { border-top-color: rgba(227,6,19,.6); }
body.home .agaru-service h3 { margin-top: 22px; }

/* Chỉ sản phẩm, tin tức và CTA là card; card sản phẩm có ánh sáng và lift nhẹ. */
body.home .agaru-capacity-grid a {
  border-radius: 16px;
  box-shadow: var(--agaru-shadow-soft);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
body.home .agaru-product-grid { gap: 22px; }
body.home .agaru-card {
  overflow: hidden;
  border: 1px solid rgba(13,13,16,.1);
  border-radius: 20px;
  box-shadow: var(--agaru-shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
body.home .agaru-card:hover { border-color: rgba(227,6,19,.28); box-shadow: var(--agaru-shadow-raised); }
body.home .agaru-card__image { position: relative; background: linear-gradient(145deg, #f7f8f6, #e9ecea); }
body.home .agaru-card__image::after {
  position: absolute;
  right: 15%;
  bottom: 12px;
  left: 15%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(15,23,42,.18), transparent 72%);
  content: "";
  filter: blur(7px);
  pointer-events: none;
}
body.home .agaru-card__image img { transition: transform .32s ease; }
body.home .agaru-card:hover .agaru-card__image img { transform: scale(1.03); }
body.home .agaru-news-card {
  min-height: 300px;
  border-top-width: 2px;
  border-radius: 16px;
  box-shadow: var(--agaru-shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease;
}
body.home .agaru-news-card:hover { transform: translateY(-3px); box-shadow: var(--agaru-shadow-raised); }

/* Quy trình: timeline ngang trên desktop, dọc trên mobile, không animation liên tục. */
body.home #quy-trinh { position: relative; overflow: hidden; background: linear-gradient(135deg, #0d0d10 0%, #18181d 100%); }
body.home #quy-trinh::after {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
body.home .agaru-process { display: block; }
body.home .agaru-process > div:first-child { position: relative; z-index: 1; max-width: 560px; margin-bottom: 58px; }
body.home .agaru-process ol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 0;
}
body.home .agaru-process ol::before {
  position: absolute;
  top: 23px;
  right: 8%;
  left: 4%;
  height: 1px;
  background: rgba(255,255,255,.24);
  content: "";
}
body.home .agaru-process li {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  gap: 22px;
  padding: 0;
  border: 0;
}
body.home .agaru-process li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: #17171c;
  color: var(--agaru-red-on-dark);
  font-size: 12px;
}
body.home .agaru-process li::after {
  position: absolute;
  top: 46px;
  left: 22px;
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.14);
  content: "";
}
body.home .agaru-process li h3 { margin: 0 0 10px; }
body.home .agaru-process li p { max-width: 250px; }

/* FAQ nhẹ, tách hàng rõ mà không biến toàn bộ section thành hộp. */
body.home .agaru-faq__list { border-top: 0; }
body.home .agaru-faq details { margin-bottom: 8px; border: 1px solid var(--agaru-line); border-radius: 16px; background: rgba(255,255,255,.68); }
body.home .agaru-faq details[open] { background: #fff; box-shadow: var(--agaru-shadow-soft); }
body.home .agaru-faq summary { min-height: 62px; padding: 18px 20px; }
body.home .agaru-faq details p { margin: 0 20px 22px; }

/* CTA cuối trang: một panel nâng nổi, giữ nguyên CTA và hotline hiện hữu. */
body.home .agaru-footer__cta { padding: 28px 0; background: linear-gradient(180deg, #f0f2ef, #e6ebe8); }
body.home .agaru-footer__cta-inner {
  min-height: 270px;
  padding: 48px clamp(24px, 5vw, 72px);
  border-radius: 28px;
  background: linear-gradient(120deg, #e30613 0%, #bb000b 100%);
  box-shadow: var(--agaru-shadow-raised);
}
body.home .agaru-footer__cta::after { opacity: .55; }

/* Radius hierarchy và thao tác gọn, chỉ thay đổi hình học (không đổi hành vi). */
body.home .agaru-button,
body.home .agaru-footer__cta-button,
body.home .agaru-field input,
body.home .agaru-field select,
body.home .agaru-field textarea { border-radius: 12px; }
body.home .agaru-button:active,
body.home .agaru-footer__cta-button:active,
body.home #button-contact-vr a:active { transform: scale(.98); }

@media (max-width: 700px) {
  body.home .agaru-hero::after { right: -72px; bottom: 250px; width: 160px; height: 160px; }
  body.home .agaru-hero__visual { min-height: 430px; padding-inline: 0; }
  body.home .agaru-hero__visual::before { inset: 2% -32px 3% 0; border-radius: 24px 0 0 24px; }
  body.home .agaru-hero__visual::after { right: 12%; bottom: 15px; left: 12%; height: 34px; }
  body.home .agaru-hero__image { min-height: 400px; transform: translateY(-4px) scale(1.005); border-radius: 22px; }
  body.home .agaru-proof__grid div { min-height: 68px; border-right: 0; border-bottom: 1px solid var(--agaru-line); }
  body.home .agaru-proof__grid div:last-child { border-bottom: 0; }
  body.home .agaru-process ol { display: grid; grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  body.home .agaru-process ol::before { top: 23px; right: auto; bottom: 23px; left: 26px; width: 1px; height: auto; }
  body.home .agaru-process li { min-height: 0; display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 0 0 30px; }
  body.home .agaru-process li:last-child { padding-bottom: 0; }
  body.home .agaru-process li::after { display: none; }
  body.home .agaru-process li > div { padding-top: 4px; }
  body.home .agaru-process li p { max-width: none; }
  body.home .agaru-footer__cta { padding: 16px 0; }
  body.home .agaru-footer__cta-inner { min-height: 0; border-radius: 22px; padding: 34px 22px; }
  body.home #button-contact-vr { bottom: max(12px, env(safe-area-inset-bottom)) !important; right: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .agaru-hero__image,
  body.home .agaru-card,
  body.home .agaru-news-card,
  body.home .agaru-capacity-grid a,
  body.home .agaru-hero__image img,
  body.home .agaru-card__image img { transition: none !important; transform: none !important; }
}

/*
 * Liquid Glass refinement — Agaru Liquid Glass B2B.
 * Phần này chỉ tinh chỉnh cảm nhận vật liệu trên trang chủ. Không đổi nội dung,
 * URL, cấu trúc SEO, menu, form hay hành vi các kênh liên hệ hiện có.
 */
:root {
  --agaru-glass-soft: rgba(255,255,255,.62);
  --agaru-glass-medium: rgba(255,255,255,.72);
  --agaru-glass-featured: rgba(255,255,255,.84);
  --agaru-glass-border: rgba(255,255,255,.72);
  --agaru-glass-line: rgba(13,13,16,.09);
  --agaru-glow-red: rgba(227,6,19,.16);
  --agaru-glow-cool: rgba(118,180,196,.14);
  --agaru-shadow-glass: 0 12px 30px rgba(15,23,42,.07), 0 32px 72px rgba(15,23,42,.08);
  --agaru-shadow-featured: 0 18px 38px rgba(15,23,42,.10), 0 42px 82px rgba(15,23,42,.14);
}

/* Material tokens có thể tái sử dụng khi bổ sung block trang chủ về sau. */
body.home .glass-soft,
body.home .agaru-hero__copy {
  background: linear-gradient(138deg, rgba(255,255,255,.82), rgba(255,255,255,.5));
  border: 1px solid var(--agaru-glass-border);
  box-shadow: var(--agaru-shadow-glass), inset 0 1px 0 rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px) saturate(118%);
  backdrop-filter: blur(16px) saturate(118%);
}
body.home .glass-medium {
  background: linear-gradient(140deg, rgba(255,255,255,.76), rgba(255,255,255,.58));
  border: 1px solid rgba(255,255,255,.76);
  box-shadow: var(--agaru-shadow-glass), inset 0 1px 0 rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px) saturate(115%);
  backdrop-filter: blur(14px) saturate(115%);
}
body.home .glass-featured {
  background: linear-gradient(138deg, rgba(255,255,255,.9), rgba(255,255,255,.68));
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--agaru-shadow-featured), inset 0 1px 0 rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

/* Header kính mỏng: vẫn gọn, tương phản rõ và giữ nguyên menu. */
body.home .agaru-header {
  border-bottom-color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 28px rgba(15,23,42,.055), inset 0 -1px 0 rgba(13,13,16,.05);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
body.home .agaru-nav a { border-radius: 10px; transition: color .22s ease, background-color .22s ease; }
body.home .agaru-nav a:hover { background: rgba(227,6,19,.055); }
body.home .agaru-mobile-menu nav {
  overflow: hidden;
  border-color: rgba(255,255,255,.82);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--agaru-shadow-glass);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

/* Nền có chiều sâu dịu: nước, kính và ánh sáng, không dùng texture nặng. */
body.home {
  background:
    radial-gradient(circle at 82% 18%, rgba(118,180,196,.1), transparent 24%),
    radial-gradient(circle at 12% 44%, rgba(227,6,19,.045), transparent 20%),
    #f4f6f4;
}
body.home .agaru-section { position: relative; }
body.home .agaru-section--white { background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,250,248,.91)); }
body.home #san-pham { position: relative; overflow: hidden; background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(237,243,241,.91)); }
body.home #san-pham::before {
  position: absolute;
  top: 6%;
  right: -120px;
  width: 280px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.4), rgba(118,180,196,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
  content: "";
  pointer-events: none;
}

/* Hero hybrid glass: nội dung đọc rõ, chai là tâm điểm và stage có lớp sáng. */
body.home .agaru-hero {
  background:
    radial-gradient(circle at 79% 42%, rgba(255,255,255,.98) 0 7%, rgba(255,255,255,0) 30%),
    radial-gradient(circle at 9% 38%, rgba(227,6,19,.075), rgba(227,6,19,0) 34%),
    linear-gradient(124deg, #f8faf8 0%, #edf3f1 54%, #e4eeeb 100%);
}
body.home .agaru-hero::before {
  position: absolute;
  z-index: 0;
  top: 11%;
  right: 13%;
  width: min(34vw, 430px);
  height: min(17vw, 220px);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 42px;
  background: linear-gradient(125deg, rgba(255,255,255,.36), rgba(255,255,255,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 24px 60px rgba(78,128,142,.08);
  content: "";
  transform: rotate(-7deg);
  pointer-events: none;
}
body.home .agaru-hero::after {
  right: 4%;
  bottom: 68px;
  border-color: rgba(255,255,255,.7);
  background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(118,180,196,.045));
  box-shadow: 0 0 0 20px rgba(255,255,255,.17), 0 0 0 44px rgba(255,255,255,.1);
}
body.home .agaru-hero__copy {
  position: relative;
  z-index: 2;
  margin: 34px 0;
  padding: clamp(34px, 4vw, 62px);
  border-radius: 28px;
}
body.home .agaru-hero__copy::after {
  position: absolute;
  top: 0;
  right: 14%;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.96), transparent);
  content: "";
  pointer-events: none;
}
body.home .agaru-hero__lead { max-width: 555px; color: #4f5a58; }
body.home .agaru-hero__actions { gap: 16px; }
body.home .agaru-hero__actions .agaru-button {
  min-height: 54px;
  border-color: rgba(227,6,19,.72);
  background: linear-gradient(135deg, #ec1724, #cb000d);
  box-shadow: 0 10px 24px rgba(227,6,19,.19), inset 0 1px 0 rgba(255,255,255,.28);
}
body.home .agaru-hero__actions .agaru-button:hover { box-shadow: 0 14px 30px rgba(227,6,19,.24), inset 0 1px 0 rgba(255,255,255,.32); }
body.home .agaru-hero__actions .agaru-text-link {
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid rgba(13,13,16,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}
body.home .agaru-hero__visual::before {
  inset: 5% -150px 6% 3%;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 38px 0 0 38px;
  background:
    radial-gradient(circle at 43% 42%, rgba(255,255,255,.75), rgba(255,255,255,0) 38%),
    linear-gradient(145deg, rgba(236,23,36,.88), rgba(185,0,12,.77));
  box-shadow: 0 24px 68px rgba(168,21,31,.17), inset 0 1px 0 rgba(255,255,255,.42);
}
body.home .agaru-hero__visual::after {
  right: 8%;
  bottom: 18px;
  left: 18%;
  height: 54px;
  background: radial-gradient(ellipse, rgba(15,23,42,.28) 0%, rgba(15,23,42,.1) 44%, rgba(15,23,42,0) 73%);
}
body.home .agaru-hero__image {
  border-color: rgba(255,255,255,.78);
  border-radius: 32px;
  box-shadow: 0 22px 48px rgba(15,23,42,.16), 0 48px 94px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.56);
}
body.home .agaru-hero__image::before { background: radial-gradient(circle at 66% 24%, rgba(255,255,255,.28), transparent 39%); }
body.home .agaru-marquee { background: rgba(13,13,16,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

/* Showcase sản phẩm: một tiêu điểm rõ ràng, các item còn lại là lớp phụ trợ. */
body.home .agaru-capacity-grid { gap: 20px; }
body.home .agaru-capacity-grid a {
  min-height: 196px;
  border-color: rgba(255,255,255,.78);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.74), rgba(247,250,249,.5));
  box-shadow: var(--agaru-shadow-glass), inset 0 1px 0 rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(12px) saturate(112%);
  backdrop-filter: blur(12px) saturate(112%);
}
body.home .agaru-capacity-grid a:hover { border-color: rgba(227,6,19,.3); box-shadow: var(--agaru-shadow-featured); }
body.home .agaru-card {
  border-color: rgba(255,255,255,.78);
  background: linear-gradient(148deg, rgba(255,255,255,.9), rgba(248,251,250,.72));
  box-shadow: 0 8px 20px rgba(15,23,42,.055), 0 22px 54px rgba(15,23,42,.055), inset 0 1px 0 rgba(255,255,255,.92);
}
body.home .agaru-card:hover { border-color: rgba(227,6,19,.28); box-shadow: var(--agaru-shadow-featured); }
body.home .agaru-card__image { background: radial-gradient(circle at 50% 22%, #fff, #e8efed 72%); }
body.home .agaru-card__body { position: relative; }
body.home .agaru-card__body::before {
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,13,16,.08), transparent);
  content: "";
}
body.home .agaru-card:first-child {
  position: relative;
  border-color: rgba(255,255,255,.9);
  background:
    radial-gradient(circle at 18% 24%, rgba(227,6,19,.09), transparent 31%),
    linear-gradient(140deg, rgba(255,255,255,.96), rgba(242,248,246,.8));
  box-shadow: var(--agaru-shadow-featured), inset 0 1px 0 rgba(255,255,255,.94);
}
body.home .agaru-card:first-child::after {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(227,6,19,.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
@media (min-width: 1100px) {
  body.home .agaru-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  body.home .agaru-product-grid .agaru-card:first-child { display: grid; grid-column: span 2; grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr); }
  body.home .agaru-product-grid .agaru-card:first-child .agaru-card__image { height: auto; min-height: 430px; }
  body.home .agaru-product-grid .agaru-card:first-child .agaru-card__body { justify-content: center; padding: 42px; }
  body.home .agaru-product-grid .agaru-card:first-child h3 { font-size: clamp(28px, 2.5vw, 42px); }
}

/* Lợi ích/đối tượng dùng glass chip vừa đủ, tránh lưới hộp nặng. */
body.home #giai-phap { background: linear-gradient(155deg, rgba(240,246,244,.92), rgba(250,251,250,.95)); }
body.home #giai-phap::before { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
body.home .agaru-services { gap: 16px 22px; }
body.home .agaru-service {
  min-height: 206px;
  padding: 30px 32px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.58), rgba(255,255,255,.28));
  box-shadow: 0 10px 24px rgba(15,23,42,.04), inset 0 1px 0 rgba(255,255,255,.72);
}
body.home .agaru-service:nth-child(-n+2) { border-top-color: rgba(227,6,19,.32); }
body.home .agaru-service b { display: inline-flex; min-width: 42px; padding: 7px 10px; border-radius: 999px; background: rgba(227,6,19,.075); }

/* Timeline dark-glass: node rõ, số nền mờ và đường kết nối tinh gọn. */
body.home #quy-trinh { background: radial-gradient(circle at 83% 10%, rgba(227,6,19,.18), transparent 25%), linear-gradient(135deg, #101216 0%, #1b2020 100%); }
body.home #quy-trinh::after { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.02); }
body.home .agaru-process ol { counter-reset: agaru-liquid-step; gap: 18px; }
body.home .agaru-process ol::before { right: 6%; left: 5%; background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.45), rgba(255,255,255,.14)); }
body.home .agaru-process li {
  min-height: 206px;
  padding: 28px 24px 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 38px rgba(0,0,0,.1);
  -webkit-backdrop-filter: blur(10px) saturate(110%);
  backdrop-filter: blur(10px) saturate(110%);
  counter-increment: agaru-liquid-step;
}
body.home .agaru-process li > span { background: rgba(20,24,27,.78); border-color: rgba(255,255,255,.36); box-shadow: 0 8px 18px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.13); }
body.home .agaru-process li::after {
  z-index: 0;
  top: auto;
  right: 16px;
  bottom: -10px;
  left: auto;
  width: auto;
  height: auto;
  background: transparent;
  color: rgba(255,255,255,.07);
  content: counter(agaru-liquid-step, decimal-leading-zero);
  font-size: 82px;
  font-weight: 900;
  letter-spacing: -.08em;
  line-height: 1;
}
body.home .agaru-process li > span,
body.home .agaru-process li > div { z-index: 1; }

/* FAQ và CTA tiếp tục cùng hệ vật liệu nhưng giữ vùng đọc đủ đặc. */
body.home .agaru-faq details { border-color: rgba(255,255,255,.76); background: rgba(255,255,255,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.82); }
body.home .agaru-faq details[open] { background: rgba(255,255,255,.86); box-shadow: var(--agaru-shadow-glass), inset 0 1px 0 rgba(255,255,255,.95); }
body.home .agaru-footer__cta { position: relative; overflow: hidden; background: linear-gradient(150deg, #e9f0ee, #f5f7f6); }
body.home .agaru-footer__cta::before {
  position: absolute;
  top: 18px;
  right: 9%;
  width: 230px;
  height: 116px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(118,180,196,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  content: "";
  transform: rotate(7deg);
  pointer-events: none;
}
body.home .agaru-footer__cta-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
  background:
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.28), transparent 24%),
    linear-gradient(128deg, #ec1724 0%, #c70010 55%, #a9000c 100%);
  box-shadow: 0 22px 44px rgba(142,11,20,.18), 0 44px 90px rgba(15,23,42,.13), inset 0 1px 0 rgba(255,255,255,.36);
}
body.home .agaru-footer__cta-inner::before {
  position: absolute;
  top: -120px;
  right: 10%;
  width: 290px;
  height: 210px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255,255,255,.045), 0 0 0 48px rgba(255,255,255,.025);
  content: "";
  pointer-events: none;
}
body.home .agaru-footer__cta-inner > * { position: relative; z-index: 1; }
body.home .agaru-footer__cta-button {
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 26px rgba(84,0,8,.16), inset 0 1px 0 #fff;
}
body.home .agaru-footer__cta-button:hover { background: rgba(255,255,255,.98); box-shadow: 0 16px 32px rgba(84,0,8,.2), inset 0 1px 0 #fff; }

@media (max-width: 1099px) {
  body.home .agaru-hero__copy { margin-block: 28px; }
  body.home .agaru-hero__visual::before { inset-right: -70px; }
}
@media (max-width: 700px) {
  body.home .agaru-header { background: rgba(255,255,255,.86); }
  body.home .agaru-hero::before { top: 58%; right: -28px; width: 220px; height: 115px; border-radius: 28px; }
  body.home .agaru-hero::after { right: -60px; bottom: 235px; }
  body.home .agaru-hero__copy { margin: 24px 0 4px; padding: 29px 24px 27px; border-radius: 22px; -webkit-backdrop-filter: blur(11px) saturate(110%); backdrop-filter: blur(11px) saturate(110%); }
  body.home .agaru-hero__actions .agaru-text-link { justify-content: center; }
  body.home .agaru-hero__visual::before { inset: 5% -24px 5% 0; border-radius: 28px 0 0 28px; }
  body.home .agaru-hero__visual::after { right: 12%; left: 12%; height: 38px; }
  body.home .agaru-hero__image { border-radius: 24px; }
  body.home #san-pham::before { top: 2%; right: -140px; width: 220px; height: 140px; }
  body.home .agaru-capacity-grid { gap: 14px; }
  body.home .agaru-capacity-grid a { min-height: 164px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.home .agaru-service { min-height: 0; padding: 26px 24px; }
  body.home .agaru-process li { min-height: 0; padding: 22px 18px 24px; border-radius: 16px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  body.home .agaru-process li::after { right: 14px; bottom: -2px; font-size: 64px; }
  body.home .agaru-footer__cta-inner { border-radius: 24px; }
  body.home .agaru-footer__cta::before { right: -70px; width: 180px; height: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Form báo giá mở dạng popup, giữ người dùng ở nguyên trang hiện tại. */
.agaru-quote-modal[hidden] { display: none !important; }
.agaru-quote-modal {
  position: fixed;
  z-index: 2147482500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(13, 13, 16, .72);
}
.agaru-quote-modal__dialog {
  display: flex;
  width: min(920px, 100%);
  height: min(820px, calc(100vh - 36px));
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
}
.agaru-quote-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 12px 18px 12px 24px;
  border-bottom: 1px solid #ececec;
  color: var(--agaru-ink);
  font-size: 18px;
}
.agaru-quote-modal__close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f2f2;
  color: var(--agaru-ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.agaru-quote-modal__close:hover { background: var(--agaru-red); color: #fff; }
.agaru-quote-modal__frame { display: block; width: 100%; height: 100%; flex: 1; border: 0; background: var(--agaru-paper); }
body.agaru-quote-modal-open { overflow: hidden; }
body.agaru-quote-modal-page #agaru-quote-modal { display: none !important; }
body.agaru-quote-modal-page .agaru-header,
body.agaru-quote-modal-page .agaru-footer,
body.agaru-quote-modal-page .agaru-quote__intro,
body.agaru-quote-modal-page #button-contact-vr { display: none !important; }
body.agaru-quote-modal-page .agaru-quote { padding: 18px 0 32px; }
body.agaru-quote-modal-page .agaru-quote__grid { display: block; max-width: 760px; }
body.agaru-quote-modal-page .agaru-form { border-top: 0; box-shadow: none; }
@media (max-width: 600px) {
  .agaru-quote-modal { padding: 8px; }
  .agaru-quote-modal__dialog { height: calc(100vh - 16px); border-radius: 13px; }
  .agaru-quote-modal__bar { min-height: 52px; padding-left: 16px; font-size: 16px; }
}

/* Mobile Liquid Glass refinement: chỉ thay đổi hình học và vật liệu, giữ nguyên HTML/link. */
@media (max-width: 767px) {
  body.home .agaru-header .agaru-header__cta { display: none !important; }
  body.home .agaru-header__cta { display: none; }
  body.home {
    --agaru-mobile-radius-card: 26px;
    --agaru-mobile-radius-control: 999px;
    --agaru-mobile-shadow-soft: 0 10px 26px rgba(15,23,42,.07), 0 2px 8px rgba(15,23,42,.035), inset 0 1px 0 rgba(255,255,255,.9);
  }

  /* CTA capsule: text giữ nguyên trong DOM; pseudo-element chỉ tinh chỉnh icon hiển thị. */
  body.home .agaru-hero__actions { gap: 12px; }
  body.home .agaru-hero__actions .agaru-button,
  body.home .agaru-hero__actions .agaru-text-link {
    border-radius: var(--agaru-mobile-radius-control);
    white-space: nowrap;
    transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
  }
  body.home .agaru-hero__actions .agaru-button {
    min-height: 56px;
    gap: 10px;
    padding: 0 22px;
    font-size: 0;
    background: linear-gradient(135deg, #ec1724 0%, #d10816 58%, #bf000d 100%);
    box-shadow: 0 10px 22px rgba(227,6,19,.17), inset 0 1px 0 rgba(255,255,255,.34);
  }
  body.home .agaru-hero__actions .agaru-button::before {
    content: "Nhận thiết kế demo miễn phí";
    font-size: 13px;
    line-height: 1;
  }
  body.home .agaru-hero__actions .agaru-button::after {
    display: inline-grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background-color: rgba(255,255,255,.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23fff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    content: "";
    font-size: 0;
  }
  body.home .agaru-hero__actions .agaru-text-link {
    min-height: 50px;
    gap: 10px;
    padding: 0 18px;
    border-color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 7px 18px rgba(15,23,42,.045);
    font-size: 0;
  }
  body.home .agaru-hero__actions .agaru-text-link::before {
    content: "Xem mẫu chai";
    color: var(--agaru-ink);
    font-size: 13px;
    line-height: 1;
  }
  body.home .agaru-hero__actions .agaru-text-link::after {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border: 1px solid rgba(13,13,16,.12);
    border-radius: 50%;
    background-color: rgba(255,255,255,.58);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v15M5 12l7 7 7-7' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    content: "";
    font-size: 0;
  }
  body.home .agaru-hero__actions .agaru-button:active,
  body.home .agaru-hero__actions .agaru-text-link:active {
    transform: translateY(1px) scale(.985);
  }
  body.home .agaru-hero__actions .agaru-button:hover { box-shadow: 0 12px 24px rgba(227,6,19,.2), inset 0 1px 0 rgba(255,255,255,.38); }
  body.home .agaru-hero__actions .agaru-text-link:hover { border-color: rgba(227,6,19,.22); background: rgba(255,255,255,.78); }

  /* Product cards: một lớp hybrid sáng tạo cảm giác kính mỏng, không làm text chìm. */
  body.home .agaru-product-grid { gap: 18px; }
  body.home .agaru-product-grid .agaru-card {
    padding: 7px;
    border-radius: var(--agaru-mobile-radius-card);
    border-color: rgba(255,255,255,.86);
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,247,245,.9));
    box-shadow: var(--agaru-mobile-shadow-soft);
    -webkit-backdrop-filter: blur(6px) saturate(108%);
    backdrop-filter: blur(6px) saturate(108%);
  }
  body.home .agaru-product-grid .agaru-card__image {
    border-radius: 20px;
    background: radial-gradient(circle at 50% 20%, #fff, #e9f0ee 76%);
  }
  body.home .agaru-product-grid .agaru-card__body { padding: 24px 16px 18px; }
  body.home .agaru-product-grid .agaru-card__body::before { right: 18px; left: 18px; }
  body.home .agaru-product-grid .agaru-card:first-child::after { top: 18px; right: 18px; width: 78px; height: 78px; }
  body.home .agaru-product-grid .agaru-card .agaru-text-link {
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid rgba(13,13,16,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.54);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
  }

  /* Safari/iOS can render raw ↗ as a blue emoji tile. Use a fixed vector icon. */
  body.home .agaru-capacity-grid a > i {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(227,6,19,.16);
    border-radius: 50%;
    background-color: var(--agaru-red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23fff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    box-shadow: 0 5px 12px rgba(227,6,19,.18), inset 0 1px 0 rgba(255,255,255,.36);
    color: transparent;
    font-size: 0;
    line-height: 0;
  }
  body.home .agaru-capacity-grid a > i .agaru-mobile-arrow { display: none; }
  body.home .agaru-hero__actions .agaru-mobile-arrow { display: none; }
  body.home .agaru-mobile-arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-left: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat;
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
  }

  /* Contact rail: giữ 44px hit-area, giảm icon visual và thêm backplate kính mỏng. */
  body.home #button-contact-vr {
    right: 10px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: 44px !important;
  }
  body.home #button-contact-vr #gom-all-in-one {
    display: grid !important;
    gap: 1px !important;
    width: 44px !important;
    padding: 5px 0 !important;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 24px;
    background: rgba(255,255,255,.58);
    box-shadow: 0 8px 20px rgba(15,23,42,.1), inset 0 1px 0 rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(8px) saturate(112%);
    backdrop-filter: blur(8px) saturate(112%);
  }
  body.home #button-contact-vr .button-contact,
  body.home #button-contact-vr .phone-vr {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
  }
  body.home #button-contact-vr .phone-vr-circle-fill {
    top: 4px !important;
    left: 4px !important;
    width: 34px !important;
    height: 34px !important;
    border-width: 1px !important;
    box-shadow: 0 0 0 4px rgba(255,255,255,.2) !important;
  }
  body.home #button-contact-vr .phone-vr-img-circle {
    top: 5px !important;
    left: 5px !important;
    width: 34px !important;
    height: 34px !important;
    filter: saturate(.9);
  }
  body.home #button-contact-vr .phone-vr-img-circle img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .agaru-hero__actions .agaru-button,
  body.home .agaru-hero__actions .agaru-text-link,
  body.home .agaru-product-grid .agaru-card { transition: none !important; }
}

/*
 * AGARU_LIQUID_GLASS_LEVEL_2_RECOGNIZABLE
 * Stronger material hierarchy for high-value controls only. Content panels
 * remain readable; no new dependency, canvas, WebGL or continuous shimmer.
 */
:root {
  --lg2-surface-soft: rgba(255,255,255,.48);
  --lg2-surface-medium: rgba(255,255,255,.62);
  --lg2-surface-strong: rgba(255,255,255,.76);
  --lg2-border-soft: rgba(255,255,255,.48);
  --lg2-border-bright: rgba(255,255,255,.78);
  --lg2-edge-dark: rgba(15,23,42,.08);
  --lg2-blur-soft: 14px;
  --lg2-blur-medium: 20px;
  --lg2-blur-strong: 26px;
  --lg2-saturate: 135%;
  --lg2-shadow-soft: 0 8px 30px rgba(15,23,42,.08);
  --lg2-shadow-floating: 0 18px 56px rgba(15,23,42,.13);
  --lg2-shadow-control: 0 8px 24px rgba(15,23,42,.12);
}

body.home .agaru-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  width: min(calc(100% - 32px), 1312px);
  margin: 14px auto 0;
  overflow: visible;
  border: 1px solid var(--lg2-border-bright);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.74), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.94), inset 0 -1px 0 var(--lg2-edge-dark);
  -webkit-backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
}
body.home .agaru-header::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.98), transparent);
  content: "";
  pointer-events: none;
}
body.home .agaru-header__inner { min-height: 74px; padding: 0 20px; }
body.home .agaru-logo { position: relative; z-index: 1; }
body.home .agaru-logo img { width: 174px; height: auto; }
body.home .agaru-nav { gap: 4px; }
body.home .agaru-nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--agaru-ink);
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.home .agaru-nav a:hover,
body.home .agaru-nav .current-menu-item > a {
  border-color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 4px 14px rgba(15,23,42,.06);
}
body.home .agaru-nav a:active { transform: scale(.98); }
body.home .agaru-header__cta {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.25), transparent 35%),
    linear-gradient(135deg, rgba(227,6,19,.96), rgba(175,0,11,.88));
  box-shadow: var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(86,0,6,.28);
  color: #fff;
  font-size: 0;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.home .agaru-header__cta::before { content: "Nhận thiết kế miễn phí"; font-size: 13px; line-height: 1; }
body.home .agaru-header__cta::after,
body.home .agaru-hero__actions .agaru-button::after,
body.home .agaru-footer__cta-button::after {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23fff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 13px no-repeat;
  content: "";
  transition: transform .2s ease, background-color .2s ease;
}
body.home .agaru-header__cta:hover,
body.home .agaru-hero__actions .agaru-button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(142,11,20,.2), inset 0 1px 0 rgba(255,255,255,.48); }
body.home .agaru-header__cta:hover::after,
body.home .agaru-hero__actions .agaru-button:hover::after { transform: translate(1px,-1px); background-color: rgba(255,255,255,.24); }
body.home .agaru-header__cta:active,
body.home .agaru-hero__actions .agaru-button:active,
body.home .agaru-footer__cta-button:active { transform: translateY(1px) scale(.985); }

body.home .agaru-hero__copy {
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 8%, rgba(118,180,196,.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
  border-color: var(--lg2-border-bright);
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.96), inset 0 -1px 0 var(--lg2-edge-dark);
  -webkit-backdrop-filter: blur(var(--lg2-blur-strong)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-strong)) saturate(var(--lg2-saturate));
}
body.home .agaru-hero__copy::before {
  position: absolute;
  z-index: 0;
  top: -32%;
  right: -8%;
  width: 62%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.48), rgba(255,255,255,0) 68%);
  content: "";
  pointer-events: none;
}
body.home .agaru-hero__copy > * { position: relative; z-index: 1; }
body.home .agaru-hero__visual::before {
  border-color: rgba(255,255,255,.7);
  background:
    radial-gradient(circle at 34% 18%, rgba(255,255,255,.32), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(118,180,196,.18), transparent 34%),
    linear-gradient(145deg, rgba(236,23,36,.92), rgba(168,0,10,.78));
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(87,0,8,.18);
}
body.home .agaru-hero__image {
  border-color: var(--lg2-border-bright);
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.8);
}
body.home .agaru-hero__image::after {
  position: absolute;
  z-index: 2;
  top: 8%;
  right: 6%;
  width: 42%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.26), rgba(255,255,255,0) 70%);
  content: "";
  pointer-events: none;
}

body.home .agaru-hero__actions .agaru-button,
body.home .agaru-hero__actions .agaru-text-link {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0;
}
body.home .agaru-hero__actions .agaru-button { gap: 10px; }
body.home .agaru-hero__actions .agaru-button::before { content: "Nhận thiết kế demo miễn phí"; font-size: 13px; line-height: 1; }
body.home .agaru-hero__actions .agaru-text-link {
  border-color: var(--lg2-border-bright);
  background: linear-gradient(135deg, rgba(255,255,255,.68), rgba(255,255,255,.38));
  box-shadow: var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.94), inset 0 -1px 0 var(--lg2-edge-dark);
  -webkit-backdrop-filter: blur(var(--lg2-blur-soft)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-soft)) saturate(var(--lg2-saturate));
}
body.home .agaru-hero__actions .agaru-text-link::before { content: "Xem mẫu chai"; color: var(--agaru-ink); font-size: 13px; line-height: 1; }
body.home .agaru-hero__actions .agaru-text-link::after {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(13,13,16,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.52) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v15M5 12l7 7 7-7' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 13px no-repeat;
  content: "";
}
body.home .agaru-hero__actions .agaru-button .agaru-arrow-lens,
body.home .agaru-hero__actions .agaru-text-link .agaru-arrow-lens,
body.home .agaru-footer__cta-button .agaru-arrow-lens { display: none; }

body.home .agaru-product-grid .agaru-card:first-child {
  overflow: hidden;
  border-color: var(--lg2-border-bright);
  background:
    radial-gradient(circle at 14% 10%, rgba(227,6,19,.12), transparent 28%),
    radial-gradient(circle at 80% 24%, rgba(118,180,196,.14), transparent 32%),
    linear-gradient(140deg, rgba(255,255,255,.86), rgba(255,255,255,.52));
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 var(--lg2-edge-dark);
  -webkit-backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
}
body.home .agaru-product-grid .agaru-card:first-child::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.98), transparent);
  content: "";
  pointer-events: none;
}
body.home .agaru-product-grid .agaru-card:first-child > * { position: relative; z-index: 1; }
body.home .agaru-product-grid .agaru-card:first-child .agaru-card__image {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.96), rgba(255,255,255,0) 42%),
    linear-gradient(145deg, rgba(242,249,247,.8), rgba(220,233,230,.7));
}
body.home .agaru-product-grid .agaru-card:first-child .agaru-card__body { background: linear-gradient(145deg, rgba(255,255,255,.26), rgba(255,255,255,.05)); }

body.home #quy-trinh { background: radial-gradient(circle at 82% 8%, rgba(227,6,19,.22), transparent 27%), linear-gradient(135deg, #0d1115, #1a2224); }
body.home .agaru-process ol::before { height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.66), rgba(227,6,19,.45), rgba(255,255,255,.1)); }
body.home .agaru-process li {
  border-color: rgba(255,255,255,.2);
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.045));
  box-shadow: var(--lg2-shadow-soft), inset 0 1px 0 rgba(255,255,255,.24), inset 0 -1px 0 rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(var(--lg2-blur-soft)) saturate(118%);
  backdrop-filter: blur(var(--lg2-blur-soft)) saturate(118%);
}
body.home .agaru-process li > span {
  border-color: rgba(255,255,255,.7);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), rgba(255,255,255,.04)), rgba(14,20,23,.82);
  box-shadow: var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(0,0,0,.3);
}
body.home .agaru-process li.is-visible > span { border-color: rgba(255,255,255,.92); box-shadow: 0 0 0 4px rgba(227,6,19,.12), var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.48); }

body.home .agaru-faq details {
  position: relative;
  overflow: hidden;
  border-color: var(--lg2-border-bright);
  background: linear-gradient(135deg, rgba(255,255,255,.66), rgba(255,255,255,.42));
  box-shadow: var(--lg2-shadow-soft), inset 0 1px 0 rgba(255,255,255,.92), inset 0 -1px 0 var(--lg2-edge-dark);
  -webkit-backdrop-filter: blur(var(--lg2-blur-soft)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-soft)) saturate(var(--lg2-saturate));
}
body.home .agaru-faq details[open] { background: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.58)); }
body.home .agaru-faq summary { position: relative; z-index: 1; }
body.home .agaru-faq summary b {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid var(--lg2-border-bright);
  border-radius: 50%;
  background: rgba(255,255,255,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 4px 12px rgba(15,23,42,.08);
}
body.home .agaru-faq details[open] summary b { background: rgba(227,6,19,.1); color: var(--agaru-red); transform: rotate(45deg); }

body.home .agaru-footer__cta-inner {
  border-color: var(--lg2-border-bright);
  background:
    radial-gradient(circle at 84% 16%, rgba(255,255,255,.32), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(118,180,196,.14), transparent 32%),
    linear-gradient(128deg, rgba(227,6,19,.94), rgba(164,0,10,.82));
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.48), inset 0 -1px 0 rgba(90,0,8,.22);
  -webkit-backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
}
body.home .agaru-footer__cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.68));
  box-shadow: var(--lg2-shadow-control), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(15,23,42,.08);
}
body.home .agaru-footer__cta-button::before { content: "Nhận thiết kế demo miễn phí"; color: var(--agaru-red-text); font-size: 13px; line-height: 1; }
body.home .agaru-footer__cta-button::after { border-color: rgba(179,0,16,.2); background-color: rgba(227,6,19,.1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.home .agaru-footer__phone { display: inline-flex; min-height: 48px; flex-direction: column; justify-content: center; padding: 0 16px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.32); -webkit-backdrop-filter: blur(var(--lg2-blur-soft)); backdrop-filter: blur(var(--lg2-blur-soft)); }

body.home .agaru-arrow-lens {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  border: 1px solid rgba(179,0,16,.16);
  border-radius: 50%;
  background: rgba(227,6,19,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px 10px no-repeat;
  vertical-align: middle;
}
body.home .agaru-arrow-lens--down { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v15M5 12l7 7 7-7' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.home .agaru-arrow-lens--left { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H4M11 5l-7 7 7 7' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.home .agaru-arrow-lens--right { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h15M13 5l7 7-7 7' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

@media (max-width: 767px) {
  body.home .agaru-header__cta { display: none; }
  body.home .agaru-header {
    top: 10px;
    width: calc(100% - 24px);
    margin: 10px 12px 0;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
  body.home .agaru-header__inner { min-height: 64px; padding: 0 11px; }
  body.home .agaru-logo img { width: 142px; }
  body.home .agaru-mobile-menu summary {
    width: 44px;
    height: 44px;
    border: 1px solid var(--lg2-border-bright);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(255,255,255,.38));
    box-shadow: var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.96);
  }
  body.home .agaru-mobile-menu nav {
    margin-top: 9px;
    padding: 9px;
    border-color: var(--lg2-border-bright);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.54));
    box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
  }
  body.home .agaru-mobile-menu nav a { border-radius: 13px; }
  body.home .agaru-hero__copy {
    border-radius: 26px;
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    backdrop-filter: blur(20px) saturate(125%);
  }
  body.home .agaru-capacity-grid a > i .agaru-arrow-lens { display: none; }
  body.home .agaru-hero__actions .agaru-button,
  body.home .agaru-hero__actions .agaru-text-link { min-height: 52px; }
  body.home .agaru-product-grid .agaru-card:first-child {
    border-radius: 28px;
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
  body.home .agaru-process li {
    border-radius: 20px;
    -webkit-backdrop-filter: blur(12px) saturate(116%);
    backdrop-filter: blur(12px) saturate(116%);
  }
  body.home .agaru-faq details { border-radius: 18px; }
  body.home .agaru-faq summary b { width: 34px; height: 34px; flex-basis: 34px; }
  body.home .agaru-footer__cta-inner { border-radius: 26px; -webkit-backdrop-filter: blur(18px) saturate(125%); backdrop-filter: blur(18px) saturate(125%); }
  body.home #button-contact-vr #gom-all-in-one {
    position: relative;
    gap: 2px !important;
    width: 48px !important;
    padding: 6px 0 !important;
    border-color: var(--lg2-border-bright);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
    box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 var(--lg2-edge-dark);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
  body.home #button-contact-vr #gom-all-in-one::before {
    position: absolute;
    top: 8px;
    right: 6px;
    left: 6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.96), transparent);
    content: "";
    pointer-events: none;
  }
  body.home #button-contact-vr,
  body.home #button-contact-vr .button-contact,
  body.home #button-contact-vr .phone-vr { width: 48px !important; }
  body.home #button-contact-vr .phone-vr-circle-fill,
  body.home #button-contact-vr .phone-vr-img-circle { left: 7px !important; }
  body.home #button-contact-vr .phone-vr-circle-fill { top: 5px !important; width: 34px !important; height: 34px !important; box-shadow: 0 0 0 4px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.48) !important; }
  body.home #button-contact-vr .phone-vr-img-circle { top: 6px !important; width: 34px !important; height: 34px !important; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.home .agaru-header,
  body.home .agaru-hero__copy,
  body.home .agaru-product-grid .agaru-card:first-child,
  body.home .agaru-process li,
  body.home .agaru-faq details,
  body.home .agaru-footer__cta-inner,
  body.home #button-contact-vr #gom-all-in-one { background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.1); }
  body.home #quy-trinh .agaru-process li { background: #20282b; }
  body.home .agaru-footer__cta-inner { background: #bd0010; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .agaru-header,
  body.home .agaru-header__cta,
  body.home .agaru-nav a,
  body.home .agaru-hero__actions .agaru-button,
  body.home .agaru-hero__actions .agaru-text-link,
  body.home .agaru-footer__cta-button,
  body.home .agaru-faq summary b { transition: none !important; }
  body.home .agaru-faq details[open] summary b { transform: none; }
}

/* Shared Level 2 chrome: keep the same material language on archive, news,
 * shop and product pages without applying homepage hero/card composition. */
body:not(.home) .agaru-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  width: min(calc(100% - 32px), 1312px);
  margin: 14px auto 0;
  overflow: visible;
  border: 1px solid var(--lg2-border-bright);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.74), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,.78), rgba(255,255,255,.48));
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.94), inset 0 -1px 0 var(--lg2-edge-dark);
  -webkit-backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
  backdrop-filter: blur(var(--lg2-blur-medium)) saturate(var(--lg2-saturate));
}
body:not(.home) .agaru-header::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.98), transparent);
  content: "";
  pointer-events: none;
}
body:not(.home) .agaru-header__inner { min-height: 74px; padding: 0 20px; }
body:not(.home) .agaru-logo img { width: 174px; height: auto; }
body:not(.home) .agaru-nav { gap: 4px; }
body:not(.home) .agaru-nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body:not(.home) .agaru-nav a:hover,
body:not(.home) .agaru-nav .current-menu-item > a {
  border-color: rgba(255,255,255,.76);
  background: rgba(255,255,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 4px 14px rgba(15,23,42,.06);
}
body:not(.home) .agaru-header__cta {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  background: radial-gradient(circle at 18% 0%, rgba(255,255,255,.25), transparent 35%), linear-gradient(135deg, rgba(227,6,19,.96), rgba(175,0,11,.88));
  box-shadow: var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(86,0,6,.28);
  color: #fff;
  font-size: 0;
}
body:not(.home) .agaru-header__cta::before { content: "Nhận thiết kế miễn phí"; font-size: 13px; line-height: 1; }
body:not(.home) .agaru-header__cta::after {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23fff' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px 13px no-repeat;
  content: "";
}
body:not(.home) .agaru-mobile-menu summary {
  width: 44px;
  height: 44px;
  border: 1px solid var(--lg2-border-bright);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.76), rgba(255,255,255,.38));
  box-shadow: var(--lg2-shadow-control), inset 0 1px 0 rgba(255,255,255,.96);
}
body:not(.home) .agaru-mobile-menu nav {
  margin-top: 9px;
  padding: 9px;
  border-color: var(--lg2-border-bright);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.54));
  box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
body:not(.home) .agaru-mobile-menu nav a { border-radius: 13px; }
body:not(.home) .agaru-arrow-lens {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  border: 1px solid rgba(179,0,16,.16);
  border-radius: 50%;
  background: rgba(227,6,19,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19L19 5M9 5h10v10' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px 10px no-repeat;
  vertical-align: middle;
}
body:not(.home) .agaru-arrow-lens--down { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v15M5 12l7 7 7-7' fill='none' stroke='%23b30010' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body:not(.home) #button-contact-vr .agaru-arrow-lens { display: none; }

@media (max-width: 767px) {
  body:not(.home) .agaru-header {
    top: 10px;
    width: calc(100% - 24px);
    margin: 10px 12px 0;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
  body:not(.home) .agaru-header__inner { min-height: 64px; padding: 0 11px; }
  body:not(.home) .agaru-logo img { width: 142px; }
  body:not(.home) .agaru-header__cta { display: none; }
  body:not(.home) #button-contact-vr {
    right: 10px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: 48px !important;
  }
  body:not(.home) #button-contact-vr #gom-all-in-one {
    position: relative;
    display: grid !important;
    gap: 2px !important;
    width: 48px !important;
    padding: 6px 0 !important;
    border: 1px solid var(--lg2-border-bright);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
    box-shadow: var(--lg2-shadow-floating), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 var(--lg2-edge-dark);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
  body:not(.home) #button-contact-vr .button-contact,
  body:not(.home) #button-contact-vr .phone-vr { width: 48px !important; height: 48px !important; min-height: 48px !important; margin: 0 !important; }
  body:not(.home) #button-contact-vr .phone-vr-circle-fill,
  body:not(.home) #button-contact-vr .phone-vr-img-circle { left: 7px !important; }
  body:not(.home) #button-contact-vr .phone-vr-circle-fill { top: 5px !important; width: 34px !important; height: 34px !important; box-shadow: 0 0 0 4px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.48) !important; }
  body:not(.home) #button-contact-vr .phone-vr-img-circle { top: 6px !important; width: 34px !important; height: 34px !important; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body:not(.home) .agaru-header,
  body:not(.home) .agaru-mobile-menu nav,
  body:not(.home) #button-contact-vr #gom-all-in-one { background: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.1); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home) .agaru-header,
  body:not(.home) .agaru-nav a,
  body:not(.home) .agaru-header__cta { transition: none !important; }
}

/* Mobile menu sheet: anchor the open panel to the hamburger, never off-canvas. */
@media (max-width: 767px) {
  body.home .agaru-mobile-menu,
  body:not(.home) .agaru-mobile-menu {
    position: relative;
    z-index: 30;
    flex: 0 0 44px;
    margin-left: auto;
  }
  body.home .agaru-mobile-menu nav,
  body:not(.home) .agaru-mobile-menu nav {
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    z-index: 40;
    width: min(340px, calc(100vw - 24px));
    color: var(--agaru-ink);
  }
  body.home .agaru-mobile-menu nav a,
  body:not(.home) .agaru-mobile-menu nav a { color: var(--agaru-ink); }
}

/* Logo lockup: một lớp kính nhận diện nhẹ để logo đứng đúng trong header nổi. */
body.home .agaru-logo,
body:not(.home) .agaru-logo {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding: 7px 12px 7px 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.92), transparent 46%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,255,255,.4));
  box-shadow:
    0 8px 20px rgba(28,34,45,.08),
    inset 0 1px 0 rgba(255,255,255,.98),
    inset 0 -1px 0 rgba(107,118,135,.16);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  backdrop-filter: blur(12px) saturate(135%);
}
body.home .agaru-logo::before,
body:not(.home) .agaru-logo::before {
  position: absolute;
  right: -14px;
  bottom: -20px;
  z-index: -1;
  width: 82px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,6,19,.14), transparent 70%);
  content: "";
  pointer-events: none;
}
body.home .agaru-logo img,
body:not(.home) .agaru-logo img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 7px rgba(179,0,16,.16));
}

/* v151 visual refinement: đưa rail, hero và nhịp section về cùng một hệ kính. */
body.home #button-contact-vr #gom-all-in-one,
body:not(.home) #button-contact-vr #gom-all-in-one {
  width: 56px !important;
  padding: 8px 4px !important;
  gap: 3px !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 30px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(231,235,235,.52)) !important;
  box-shadow:
    0 14px 30px rgba(30,38,45,.14),
    inset 0 1px 0 rgba(255,255,255,.94),
    inset 0 -1px 0 rgba(95,106,116,.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(108%) !important;
  backdrop-filter: blur(18px) saturate(108%) !important;
}
body.home #button-contact-vr #gom-all-in-one::before,
body:not(.home) #button-contact-vr #gom-all-in-one::before {
  right: 8px !important;
  left: 8px !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.86), transparent) !important;
}
body.home #button-contact-vr .button-contact,
body.home #button-contact-vr .phone-vr,
body:not(.home) #button-contact-vr .button-contact,
body:not(.home) #button-contact-vr .phone-vr {
  width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  filter: saturate(.78) contrast(1.02) !important;
}
body.home #button-contact-vr .phone-vr-circle-fill,
body.home #button-contact-vr .phone-vr-img-circle,
body:not(.home) #button-contact-vr .phone-vr-circle-fill,
body:not(.home) #button-contact-vr .phone-vr-img-circle {
  left: 7px !important;
}
body.home #button-contact-vr .phone-vr-circle-fill,
body:not(.home) #button-contact-vr .phone-vr-circle-fill {
  top: 7px !important;
  width: 34px !important;
  height: 34px !important;
  opacity: .78 !important;
  box-shadow:
    0 0 0 4px rgba(255,255,255,.34),
    inset 0 1px 0 rgba(255,255,255,.68) !important;
}
body.home #button-contact-vr .phone-vr-img-circle,
body:not(.home) #button-contact-vr .phone-vr-img-circle {
  top: 7px !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: 0 3px 9px rgba(28,36,44,.12) !important;
}
body.home #button-contact-vr .phone-vr-img-circle img,
body:not(.home) #button-contact-vr .phone-vr-img-circle img {
  filter: saturate(.72) contrast(1.04) brightness(1.02) !important;
}

@media (min-width: 768px) {
  body.home .agaru-hero__visual::before {
    background:
      radial-gradient(circle at 34% 18%, rgba(255,255,255,.3), transparent 30%),
      radial-gradient(circle at 72% 78%, rgba(118,180,196,.16), transparent 36%),
      linear-gradient(145deg, rgba(194,18,31,.78), rgba(139,6,17,.68));
  }
}

body.home .agaru-proof,
body.home #san-pham,
body.home #giai-phap {
  background-image:
    linear-gradient(180deg, rgba(248,250,249,.96), rgba(237,241,239,.92));
}
body.home #san-pham {
  border-top: 1px solid rgba(176,187,188,.18);
  border-bottom: 1px solid rgba(176,187,188,.2);
}
body.home #giai-phap {
  background-image:
    radial-gradient(circle at 88% 14%, rgba(191,215,218,.2), transparent 28%),
    linear-gradient(155deg, rgba(237,243,241,.96), rgba(248,250,249,.96));
}
body.home #san-pham::after,
body.home #giai-phap::after {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(112,128,132,.2), transparent);
  content: "";
  pointer-events: none;
}

@media (max-width: 767px) {
  body.home .agaru-product-grid { gap: 14px; }
  body.home .agaru-product-grid .agaru-card__image {
    height: clamp(230px, 66vw, 300px);
  }
  body.home .agaru-product-grid .agaru-card__body {
    padding: 20px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home #button-contact-vr .button-contact,
  body.home #button-contact-vr .phone-vr,
  body:not(.home) #button-contact-vr .button-contact,
  body:not(.home) #button-contact-vr .phone-vr { filter: saturate(.78) contrast(1.02) !important; }
}

/* v153: hoàn thiện hệ thống đọc, card và responsive trên toàn website. */
body { overflow-x: hidden; }
.agaru-breadcrumb:empty { display: none; }
.agaru-news-grid,
.agaru-product-grid,
.agaru-services { align-items: stretch; }
.agaru-news-card,
.agaru-card { overflow: hidden; border-radius: 18px; }
.agaru-news-card__image { margin: -28px -28px 24px; border-bottom: 1px solid rgba(13,13,16,.08); }
.agaru-news-card__image:focus-visible,
.agaru-card__image:focus-visible { outline: 3px solid #ff5360; outline-offset: -3px; }
.agaru-news-card h3,
.agaru-card h3 { display: -webkit-box; min-height: calc(1.16em * 3); overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.agaru-news-card p,
.agaru-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.agaru-content__featured { overflow: hidden; border-radius: 18px; background: #ecece9; }
.agaru-entry-content { overflow-wrap: anywhere; }
.agaru-entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.agaru-entry-content pre,
.agaru-entry-content code { max-width: 100%; overflow-x: auto; }
.agaru-content__footer { flex-wrap: wrap; }
.agaru-footer__social a,
.agaru-footer__col a,
.agaru-footer__contact a { min-height: 32px; align-items: center; }
.agaru-footer__bottom { padding-bottom: max(22px, env(safe-area-inset-bottom)); }

@media (max-width: 700px) {
  .agaru-news-card__image { margin: -20px -20px 20px; }
  .agaru-news-card h3,
  .agaru-card h3 { min-height: calc(1.16em * 3); font-size: 21px; }
  .agaru-content__featured { margin-top: 28px; border-radius: 14px; }
  .agaru-footer__bottom { gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .agaru-news-card,
  .agaru-card { transition: none !important; }
}

/* v152: logo không lấn át header, vẫn đủ rõ ràng trên mọi trang. */
body.home .agaru-logo,
body:not(.home) .agaru-logo {
  min-height: 0;
  padding: 5px 9px 5px 7px;
  border-radius: 15px;
}
body.home .agaru-logo img,
body:not(.home) .agaru-logo img {
  width: 146px;
}

@media (max-width: 767px) {
  body.home .agaru-logo,
  body:not(.home) .agaru-logo {
    padding: 4px 7px 4px 6px;
    border-radius: 14px;
  }
  body.home .agaru-logo img,
  body:not(.home) .agaru-logo img {
    width: 116px;
  }
}
