/* =========================================================
   NINOHANA COSMETICS — Hệ thống giao diện dùng chung
   Bảng màu lấy theo bao bì: PANTONE 662C (xanh), 226C (hồng),
   217C (hồng nhạt), 2381C (xanh nhạt), hot print GOLD.
   ========================================================= */

/* ---------- 1. Token ---------- */
:root {
  --navy:        #0a3a73;
  --navy-deep:   #06264d;
  --navy-soft:   #7fa4d4;
  --blue-pale:   #eaf1fb;

  --pink:        #e3006e;
  --pink-deep:   #b80059;
  --pink-soft:   #f8d3e2;
  --pink-mist:   #fdf3f7;

  --gold:        #c9a24a;
  --gold-light:  #e7cf96;

  --ink:         #262230;
  --ink-soft:    #5f5b6b;
  --line:        #ece3ea;
  --paper:       #ffffff;
  --paper-warm:  #fffafc;

  --font-display: "Lora", "Times New Roman", serif;
  --font-body:    "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --radius: 22px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 10px rgba(10, 58, 115, .06);
  --shadow:    0 14px 40px rgba(10, 58, 115, .10);
  --shadow-lg: 0 28px 70px rgba(10, 58, 115, .16);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------- 2. Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
p  { margin: 0 0 1.1em; }

::selection { background: var(--pink-soft); color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Bố cục ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 40px, 820px); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint  { background: var(--pink-mist); }
.section--paper { background: var(--paper-warm); }
.section--navy  { background: var(--navy-deep); color: #e9eefa; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: clamp(22px, 3vw, 40px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--wide-left  { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

/* ---------- 4. Chi tiết chữ ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.section--navy .eyebrow { color: var(--gold-light); }

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 62ch;
}
.section--navy .lead { color: #c5d3ea; }

.head-center { text-align: center; max-width: 880px; margin: 0 auto clamp(40px, 5vw, 64px); }
.head-center .eyebrow { justify-content: center; }

.jp {
  font-family: var(--font-display);
  color: var(--navy-soft);
  letter-spacing: .3em;
  font-size: .85rem;
}

/* ---------- 5. Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(120deg, var(--pink) 0%, #f0478f 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(227, 0, 110, .26);
}
.btn--primary:hover { box-shadow: 0 18px 38px rgba(227, 0, 110, .34); }

.btn--navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 58, 115, .24);
}
.btn--ghost {
  border-color: rgba(10, 58, 115, .28);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--pink);
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 16px 0;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(10, 58, 115, .05);
  padding: 8px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 38px; height: auto; flex: none; }
.brand__word { width: auto; height: 22px; flex: none; }
.site-footer .brand__mark { width: 42px; }
.site-footer .brand__word { height: 24px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 15px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 8px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1.5px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--pink); }

.nav__cta { margin-left: 10px; padding: 11px 24px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px; height: 1.6px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  background: linear-gradient(115deg, #fff6f9 0%, #fdeef4 38%, #eef3fc 100%);
}
.hero__bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 24%;
  background: url("../img/cauchuyen-sakura.jpg") center center / cover no-repeat;
  opacity: .96;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(255, 252, 253, 1) 0%,
    rgba(255, 251, 253, .98) 30%,
    rgba(255, 249, 252, .62) 46%,
    rgba(255, 255, 255, 0) 66%);
}
.hero__inner { position: relative; z-index: 2; max-width: 620px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--pink);
}
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--ink-soft); max-width: 46ch; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(10, 58, 115, .12);
}
.hero__meta div { min-width: 96px; }
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
}
.hero__meta span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.hero__scroll {
  position: absolute;
  left: clamp(20px, calc((100vw - 1180px) / 2), 46%);
  bottom: 26px;
  z-index: 3;
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--navy-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll i {
  width: 1px; height: 40px;
  background: linear-gradient(var(--navy-soft), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(.5); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* Cánh hoa rơi */
.petals { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute;
  top: -8%;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, #fdc9dd, #f39fc0);
  border-radius: 100% 0 100% 0;
  opacity: .0;
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg);      opacity: 0; }
  10%  { opacity: .85; }
  90%  { opacity: .5; }
  100% { transform: translate3d(70px, 108vh, 0) rotate(520deg); opacity: 0; }
}

/* Dải trang con */
.page-hero {
  position: relative;
  padding: 148px 0 clamp(40px, 4.5vw, 62px);
  background: linear-gradient(120deg, #fff5f9 0%, #fdeaf2 46%, #eef3fc 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -160px; top: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(248, 211, 226, .75), transparent 66%);
  border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 720px; }

.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 20px; }
.crumbs a:hover { color: var(--pink); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- 8. Thẻ ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(14px, 1.6vw, 20px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--pink-soft);
}
.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pink-mist);
  border: 1px solid var(--pink-soft);
  margin-bottom: 14px;
  color: var(--pink);
}
.card h3 {
  margin-bottom: .4em;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.3;
}
.card p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: .95rem; }

.card--plain { border: none; background: transparent; padding: 0; }
.card--plain:hover { transform: none; box-shadow: none; }

/* Thẻ sản phẩm */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #fdf2f7, #eef3fc);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  color: var(--navy);
  border: 1px solid var(--pink-soft);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-card__body { padding: 28px clamp(22px, 2.4vw, 32px) 32px; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { margin-bottom: .25em; }
.product-card__jp { font-size: .8rem; letter-spacing: .24em; color: var(--navy-soft); margin-bottom: 14px; }
.product-card__desc { font-size: .94rem; color: var(--ink-soft); flex: 1; }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
}
.price small { font-size: .62em; color: var(--ink-soft); font-family: var(--font-body); font-weight: 400; }

/* ---------- 9. Khối nội dung ---------- */
.figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 10; }
.figure--free { aspect-ratio: auto; }
.figure--free img { height: auto; object-fit: fill; }

.figure-stack { position: relative; padding: 0 0 46px 46px; }
.figure-stack > a {
  display: block;
  cursor: zoom-in;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.figure-stack > a:hover,
.figure-stack > a:focus-visible {
  z-index: 6;
  transform: scale(1.06);
  box-shadow: 0 34px 80px rgba(10, 58, 115, .28);
}
.figure-stack__main {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform-origin: 60% 50%;
}
.figure-stack__sub {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  width: 46%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  transform-origin: 30% 70%;
}

.quote {
  position: relative;
  text-align: center;
  padding: clamp(46px, 6vw, 80px) clamp(24px, 4vw, 60px);
  background: linear-gradient(140deg, #fff7fa, #f4f8ff);
  border-radius: var(--radius);
  border: 1px solid var(--pink-soft);
}
.quote::before {
  content: "”";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--pink-soft);
}
.quote p {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.5;
  color: var(--navy);
  margin: 0 auto .6em;
  max-width: 24ch;
}
.quote cite { font-style: normal; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); }

/* Danh sách tick */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--pink-mist);
  border: 1px solid var(--pink);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 6px; top: .72em;
  width: 5px; height: 9px;
  border-right: 1.8px solid var(--pink);
  border-bottom: 1.8px solid var(--pink);
  transform: rotate(42deg);
}
.section--navy .ticks li { color: #c5d3ea; }

/* Thành phần */
.ingredient {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.ingredient:last-child { border-bottom: none; }
.ingredient__badge {
  width: 74px; height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink-mist);
  border: 1px solid var(--pink-soft);
  color: var(--pink);
}
.ingredient h3 { font-size: 1.16rem; margin-bottom: .3em; }
.ingredient p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Các bước dùng */
.steps { counter-reset: step; display: grid; gap: 28px; }
.step {
  position: relative;
  padding: 4px 0 4px 74px;
  border-radius: var(--radius-sm);
  transition: transform .45s var(--ease);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--pink-soft);
  transition: color .45s var(--ease), transform .45s var(--ease);
}
/* vạch hồng chạy ra khi rê chuột */
.step::after {
  content: "";
  position: absolute;
  left: 52px; top: .95em;
  width: 0; height: 1.5px;
  background: var(--pink);
  transition: width .45s var(--ease);
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: .25em;
  transition: color .45s var(--ease);
}
.step p {
  margin: 0;
  font-size: .94rem;
  color: var(--ink-soft);
  transition: color .45s var(--ease);
}
.step:hover { transform: translateX(6px); }
.step:hover::before { color: var(--pink); transform: scale(1.08); }
.step:hover::after { width: 12px; }
.step:hover h3 { color: var(--pink); }
.step:hover p { color: var(--ink); }

/* Thống kê */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-light);
  line-height: 1;
}
.section--navy .stat span { color: #a9bcdc; }
.stat span { font-size: .82rem; letter-spacing: .06em; color: var(--ink-soft); display: block; margin-top: 10px; }

/* Bảng giá */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.price-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.price-table th, .price-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--pink-mist); }
.price-table td strong { color: var(--navy); }
.price-table .num { font-family: var(--font-display); font-size: 1.05rem; color: var(--pink); white-space: nowrap; }

/* Logo đối tác */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}
.logo-strip div {
  display: grid;
  place-items: center;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  text-align: center;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.logo-strip div:hover { color: var(--navy); border-color: var(--navy-soft); transform: translateY(-3px); }

/* Thư viện ảnh */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--pink-mist);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }

/* Form */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(227, 0, 110, .1);
}
.form-note { font-size: .82rem; color: var(--ink-soft); }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.info-list .ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pink-mist);
  color: var(--pink);
  border: 1px solid var(--pink-soft);
}
.info-list strong { display: block; color: var(--navy); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.info-list span, .info-list a { color: var(--ink-soft); font-size: .96rem; }
.info-list a:hover { color: var(--pink); }

/* CTA */
.cta-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep), #0d4a91 60%, #12569f);
  color: #fff;
  padding: clamp(46px, 6vw, 76px) clamp(26px, 5vw, 70px);
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.cta-band::before {
  width: 320px; height: 320px;
  right: -90px; top: -120px;
  background: radial-gradient(circle, rgba(227, 0, 110, .38), transparent 68%);
}
.cta-band::after {
  width: 280px; height: 280px;
  left: -80px; bottom: -130px;
  background: radial-gradient(circle, rgba(201, 162, 74, .32), transparent 68%);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d7ef; max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- 10. Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9bcdc; padding: clamp(56px, 7vw, 86px) 0 0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-about { max-width: 34ch; margin-top: 18px; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 62px);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: .84rem;
  color: #7f93b6;
}

/* ---------- 11. Hiệu ứng khi cuộn ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- 12. Đáp ứng ---------- */
@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 96px 24px 32px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-102%);
    transition: transform .45s var(--ease);
    max-height: 100vh;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 14px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 20px 0 0; }
  .nav-toggle { display: block; z-index: 101; }
  .site-header { background: rgba(255, 255, 255, .93); backdrop-filter: blur(14px); padding: 10px 0; }

  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .split .order-first { order: -1; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero__veil {
    background: linear-gradient(180deg,
      rgba(255, 252, 253, .96) 0%,
      rgba(255, 250, 252, .9) 52%,
      rgba(255, 248, 251, .72) 100%);
  }
  .hero__bg { left: 0; background-position: center bottom; opacity: .8; }
  .hero__scroll { display: none; }
  .page-hero { padding: 124px 0 44px; }
  .figure-stack { padding: 0 0 36px 0; }
  .figure-stack__sub { position: relative; width: 62%; margin: -46px 0 0 auto; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: min(100% - 32px, var(--wrap)); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__meta { gap: 18px 24px; }
  .ingredient { grid-template-columns: 1fr; gap: 14px; }
  .btn { padding: 14px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .petals, .hero__scroll, .nav-toggle, .cta-band { display: none !important; }
  body { font-size: 12pt; }
}

/* ---------- 13. Trang chi tiết sản phẩm ---------- */
.product-detail { padding-top: 130px; }
.product-detail__media {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #fdf2f7 0%, #f6eef8 45%, #eaf1fb 100%);
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
}
.product-detail__media::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -46%;
  width: 118%; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .8), transparent 62%);
  pointer-events: none;
}
.product-detail__media > a {
  position: relative;
  z-index: 1;
  display: block;
}
.product-detail__media img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  max-height: 560px;
  margin-inline: auto;
  filter: drop-shadow(0 26px 30px rgba(10, 58, 115, .22));
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pill {
  border: 1px solid var(--pink-soft);
  background: var(--pink-mist);
  color: var(--pink-deep);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.pill--navy { border-color: rgba(10, 58, 115, .2); background: var(--blue-pale); color: var(--navy); }

.price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 28px 0;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  border-radius: var(--radius-sm);
  background: var(--paper-warm);
}
.price-box .price { font-size: 2.1rem; }
.price-box em { font-style: normal; font-size: .84rem; color: var(--ink-soft); }

.spec-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 26px; font-size: .95rem; }
.spec-list dt { color: var(--ink-soft); }
.spec-list dd { margin: 0; color: var(--navy); font-weight: 600; }

.thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.thumb-row a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--pink-mist); }
.thumb-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.thumb-row a:hover img { transform: scale(1.06); }

.note-box {
  border: 1px dashed var(--navy-soft);
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  padding: 22px 26px;
  font-size: .93rem;
  color: var(--navy);
}
.note-box strong { display: block; margin-bottom: 6px; }

@media (max-width: 620px) {
  .thumb-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .spec-list { grid-template-columns: 1fr; gap: 4px 0; }
  .spec-list dd { margin-bottom: 10px; }
}

/* ---------- 14. Khối corporate / định vị thương hiệu ---------- */
.statement {
  position: relative;
  text-align: center;
  max-width: 34ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.95rem);
  line-height: 1.45;
  color: var(--navy);
}
.statement b { font-weight: 600; color: var(--pink); }

.statement-vi {
  max-width: 62ch;
  margin: 26px auto 0;
  text-align: center;
  font-size: .98rem;
  color: var(--ink-soft);
}

.tagline-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}
.tagline-trio div {
  position: relative;
  padding: clamp(24px, 3vw, 34px) 18px;
  text-align: center;
}
.tagline-trio div + div::before {
  content: "";
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--gold-light);
}
.tagline-trio strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .01em;
}
.tagline-trio span {
  display: block;
  margin-top: 8px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.tagline-trio i {
  display: block;
  margin-bottom: 12px;
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pink);
}

.origin-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: clamp(32px, 4vw, 44px);
}
.origin-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .84rem;
  font-weight: 500;
  color: var(--navy);
}
.origin-row span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

@media (max-width: 760px) {
  .tagline-trio { grid-template-columns: 1fr; }
  .tagline-trio div + div::before {
    left: 18%; right: 18%; top: 0; bottom: auto;
    width: auto; height: 1px;
  }
}

/* ---------- 15. Lightbox xem ảnh (slide) ---------- */
[data-lb] { cursor: zoom-in; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(6, 22, 45, .93);
  backdrop-filter: blur(6px);
}
.lb.is-open { display: block; animation: lbIn .28s var(--ease); }
@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }

.lb__stage {
  position: absolute;
  inset: 84px 88px 118px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lb__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  background: #fff;
}
.lb__img.is-swap { animation: lbSwap .32s var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: scale(.985) } to { opacity: 1; transform: none } }

.lb__bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(16px, 3vw, 32px);
  padding-right: 86px;
  color: #fff;
}
.lb__caption {
  font-size: .88rem;
  color: #c9d8f0;
  max-width: 70ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb__count { font-size: .82rem; letter-spacing: .12em; color: #8ea6cc; flex: none; }

.lb__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.lb__btn:hover { background: var(--pink); border-color: var(--pink); transform: scale(1.06); }
.lb__btn[hidden] { display: none; }
.lb__prev { left: clamp(10px, 2vw, 24px); top: 50%; margin-top: -26px; }
.lb__next { right: clamp(10px, 2vw, 24px); top: 50%; margin-top: -26px; }
.lb__close { top: 16px; right: clamp(10px, 2vw, 24px); width: 44px; height: 44px; position: absolute; }

.lb__thumbs {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumbs button {
  flex: none;
  width: 68px; height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .5;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.lb__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb__thumbs button:hover { opacity: .85; }
.lb__thumbs button.is-active { opacity: 1; border-color: var(--pink); }

body.lb-open { overflow: hidden; }

@media (max-width: 720px) {
  .lb__stage { inset: 70px 12px 108px; }
  .lb__prev, .lb__next { width: 42px; height: 42px; margin-top: -21px; }
  .lb__caption { display: none; }
  .lb__thumbs button { width: 54px; height: 54px; }
}

/* ---------- 16. Hero slider 3 slide ---------- */
.hero { padding: 0; align-items: stretch; }
.hero__slides { position: relative; z-index: 2; display: grid; width: 100%; }
.hero__slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  padding: 140px 0 110px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.hero__slide.is-active { opacity: 1; visibility: visible; }

.hero__slide-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 30%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%);
}
.hero__slide-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(255, 252, 253, 1) 0%,
    rgba(255, 251, 253, .98) 30%,
    rgba(255, 249, 252, .62) 46%,
    rgba(255, 255, 255, 0) 66%);
}
/* slide sản phẩm: nền chuyển sắc, không dùng ảnh */
.hero__slide--plain .hero__slide-bg {
  left: 0;
  -webkit-mask-image: none;
  mask-image: none;
  background: radial-gradient(60% 70% at 72% 46%, rgba(248, 211, 226, .85) 0%, rgba(248, 211, 226, 0) 62%),
              linear-gradient(115deg, #fffafc 0%, #fdeef4 42%, #eaf1fb 100%);
}
.hero__slide--plain .hero__slide-veil { display: none; }

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero__copy { max-width: 540px; }

.hero__media { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.hero__media img {
  max-height: 58vh;
  width: auto;
  filter: drop-shadow(0 34px 40px rgba(10, 58, 115, .26));
}
.hero__slide.is-active .hero__media img { animation: heroPop .9s var(--ease) both; }
@keyframes heroPop {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

/* chữ chạy lên lần lượt */
.hero__slide.is-active .hero__copy > * { animation: heroUp .7s var(--ease) both; }
.hero__slide.is-active .hero__copy > *:nth-child(1) { animation-delay: .05s; }
.hero__slide.is-active .hero__copy > *:nth-child(2) { animation-delay: .14s; }
.hero__slide.is-active .hero__copy > *:nth-child(3) { animation-delay: .23s; }
.hero__slide.is-active .hero__copy > *:nth-child(4) { animation-delay: .32s; }
.hero__slide.is-active .hero__copy > *:nth-child(5) { animation-delay: .41s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
  padding: 10px 22px;
  border: 1px solid var(--pink-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
}
.hero__price b { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); font-weight: 600; }
.hero__price span { font-size: .78rem; color: var(--ink-soft); }

/* điều hướng slider */
.hero__ctrl {
  position: absolute;
  z-index: 5;
  bottom: 38px;
  left: clamp(20px, calc((100vw - 1180px) / 2), 46%);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__dots { display: flex; gap: 9px; }
.hero__dots button {
  width: 26px; height: 4px;
  padding: 0;
  border: none;
  border-radius: 99px;
  background: rgba(10, 58, 115, .2);
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.hero__dots button.is-active { width: 44px; background: var(--pink); }

.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(10, 58, 115, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .75);
  color: var(--navy);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.hero__arrows button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

@media (max-width: 900px) {
  .hero__slide { padding: 120px 0 110px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__copy { max-width: none; }
  .hero__media { justify-content: flex-start; }
  .hero__media img { max-height: 300px; }
  .hero__slide-bg { left: 0; opacity: .5; }
  .hero__slide-veil {
    background: linear-gradient(180deg, rgba(255,252,253,.95) 0%, rgba(255,250,252,.8) 60%, rgba(255,248,251,.6) 100%);
  }
  .hero__ctrl { left: 16px; bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active .hero__copy > *,
  .hero__slide.is-active .hero__media img { animation: none; }
}

/* ---------- 17. Nền hoa cho banner trang con ---------- */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/banner-sakura.jpg") center right / cover no-repeat;
  opacity: .85;
  z-index: 0;
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero .petals { z-index: 1; }

/* ---------- 18. Ảnh nội dung bấm để phóng to ---------- */
.figure > a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.figure > a > img { transition: transform .6s var(--ease); }
.figure:hover > a > img { transform: scale(1.04); }
.figure--free > a { height: auto; }

/* ---------- 19. Lưới 15 thương hiệu Cosmo Beauty ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.brand-grid a {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 3;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: zoom-in;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.brand-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--pink-soft);
  box-shadow: var(--shadow);
}
.brand-grid img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.section--navy .brand-grid a { border-color: rgba(255, 255, 255, .16); }

@media (max-width: 900px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; } }

/* ---------- 20. Tiêu đề sản phẩm bấm được ---------- */
.product-card__body h3 a { color: inherit; transition: color .3s var(--ease); }
.product-card__body h3 a:hover,
.product-card:hover .product-card__body h3 a { color: var(--pink); }

/* ---------- 22. Nút lên đầu trang ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, #f0478f 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(227, 0, 110, .34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(227, 0, 110, .42); }
body.lb-open .to-top { display: none; }

/* icon cho 3 mục Insight / Craft / Reach */
.trio-ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--pink-soft);
  box-shadow: 0 6px 16px rgba(227, 0, 110, .08);
  color: var(--pink);
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), box-shadow .35s var(--ease);
}
.trio-ico svg { display: block; }
.tagline-trio div:hover .trio-ico {
  transform: translateY(-3px);
  background: var(--pink);
  color: #fff;
}

/* ---------- 23. Icon dạng file ảnh (.svg trong assets/img/icons) ---------- */
.card__icon img,
.ingredient__badge img,
.trio-ico img,
.info-list .ico img {
  display: block;
  width: auto;
  height: auto;
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.card:hover .card__icon img { transform: scale(1.08); }
/* icon trắng khi nền chuyển sang hồng đậm */
.tagline-trio div:hover .trio-ico img { filter: brightness(0) invert(1); }

/* slide 4: ảnh KV rộng có cả người mẫu và bộ đôi sản phẩm */
/* slide 4: chỉ ảnh, tràn toàn khung, không phủ màn trắng */
.hero__slide--duo .hero__slide-bg {
  left: 0;
  background-image: url("../img/kv-hero-duo.jpg");
  background-position: center;
  -webkit-mask-image: none;
  mask-image: none;
}

/* slide 4 trên màn hình hẹp: hiện trọn ảnh thay vì cắt sát */
@media (max-width: 900px) {
  .hero__slide--duo .hero__slide-bg {
    opacity: 1;
    background-image: url("../img/kv-hero-duo-doc.jpg");
    background-size: cover;
    background-position: center;
  }
}

/* ---------- 24. Chuyển đổi ngôn ngữ ---------- */
.lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), opacity .25s var(--ease);
}
.lang__btn img {
  width: 20px; height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(10, 58, 115, .14);
  opacity: .55;
  transition: opacity .25s var(--ease);
}
.lang__btn:hover { color: var(--navy); background: var(--blue-pale); }
.lang__btn:hover img { opacity: 1; }
.lang__btn.is-active {
  color: var(--navy);
  border-color: var(--pink-soft);
  background: var(--pink-mist);
}
.lang__btn.is-active img { opacity: 1; }

@media (max-width: 900px) {
  .lang {
    margin: 22px 0 0;
    padding: 18px 0 0;
    border-left: none;
    border-top: 1px solid var(--line);
    gap: 8px;
  }
  .lang__btn { padding: 10px 14px; font-size: .88rem; border: 1px solid var(--line); }
}

/* Canh hoa anh dao rai rac tren cac nen hong nhat (section--tint) */
.section--tint {
  background-color: var(--pink-mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='540' viewBox='0 0 620 540'%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(58 70) rotate(28) scale(1.5)' fill='%23f39fc0' fill-opacity='0.34'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(212 36) rotate(-40) scale(0.9)' fill='%23f7b6d0' fill-opacity='0.42'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(398 118) rotate(115) scale(1.25)' fill='%23f39fc0' fill-opacity='0.26'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(560 62) rotate(70) scale(0.8)' fill='%23f7b6d0' fill-opacity='0.4'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(130 250) rotate(160) scale(1.05)' fill='%23f7b6d0' fill-opacity='0.36'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(322 300) rotate(-15) scale(1.7)' fill='%23f39fc0' fill-opacity='0.22'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(505 268) rotate(200) scale(1)' fill='%23f39fc0' fill-opacity='0.32'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(70 448) rotate(-70) scale(1.3)' fill='%23f39fc0' fill-opacity='0.28'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(258 478) rotate(50) scale(0.85)' fill='%23f7b6d0' fill-opacity='0.42'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(448 462) rotate(140) scale(1.4)' fill='%23f7b6d0' fill-opacity='0.3'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(590 400) rotate(-120) scale(0.75)' fill='%23f39fc0' fill-opacity='0.38'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='880' height='760' viewBox='0 0 880 760'%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(120 140) rotate(75) scale(2.2)' fill='%23f8c4d9' fill-opacity='0.22'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(470 90) rotate(-30) scale(1.9)' fill='%23f8c4d9' fill-opacity='0.2'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(760 300) rotate(150) scale(2.4)' fill='%23f8c4d9' fill-opacity='0.18'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(300 430) rotate(210) scale(2)' fill='%23f8c4d9' fill-opacity='0.2'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(640 610) rotate(20) scale(2.3)' fill='%23f8c4d9' fill-opacity='0.18'/%3E%3Cpath d='M0-9 2-11C8-8 8 2 0 11-8 2-8-8-2-11Z' transform='translate(90 660) rotate(-95) scale(1.8)' fill='%23f8c4d9' fill-opacity='0.22'/%3E%3C/svg%3E");
  background-size: 620px 540px, 880px 760px;
  background-position: 0 0, 300px 180px;
}
@media (max-width: 720px) {
  .section--tint { background-size: 420px 366px, 600px 518px; }
}
@media print {
  .section--tint { background-image: none; }
}
