/* ============================================================
   VI Feerie — Trang "Về Vi Feerie" · Section mở đầu
   ============================================================ */

.abhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

/* ---------------- Ảnh nền thương hiệu ---------------- */
.abhero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.abhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* Lớp phủ sáng: giữ chữ nâu đọc rõ mà không làm đục ảnh lụa hồng */
.abhero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.88) 32%,
      rgba(255, 255, 255, 0.45) 60%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    linear-gradient(to bottom, rgba(253, 248, 250, 0.7), rgba(253, 248, 250, 0) 38%);
}

/* ---------------- Nội dung ---------------- */
.abhero__inner {
  position: relative;
  padding-bottom: 76px;
}

/* Đường dẫn */
.abhero__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.abhero__crumb a:hover {
  color: var(--brand-deep);
}

.abhero__crumb span[aria-current] {
  color: var(--ink);
  font-weight: 500;
}

/* Nhãn năm thành lập */
.abhero__est {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.abhero__est::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--brand-deep);
}

/* Tiêu đề chính */
.abhero__title {
  margin-top: 18px;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.abhero__title em {
  display: block;
  font-style: italic;
  color: var(--brand-deep);
}

.abhero__lead {
  margin-top: 22px;
  max-width: 500px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.abhero__lead strong {
  color: var(--ink);
  font-weight: 600;
}

/* Nút hành động */
.abhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn--ghost {
  color: var(--ink);
  border: 1px solid var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------------- Dải giá trị cốt lõi ---------------- */
.abhero__pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 22px 55px -30px rgba(56, 34, 19, 0.4);
}

.abhero__pillar {
  padding: 26px 24px 28px;
  background: #fff;
  transition: background 0.3s var(--ease);
}

.abhero__pillar:hover {
  background: var(--brand-tint);
}

.abhero__pillar svg {
  width: 26px;
  height: 26px;
  color: var(--brand-deep);
}

.abhero__pillar h2 {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.abhero__pillar p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ============================================================
   Responsive
   ============================================================ */

@media screen and (max-width: 1100px) {
  .abhero__pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 820px) {
  .abhero {
    padding: 56px 0 56px;
  }

  /* Ảnh dựng đứng hơn → lớp phủ chuyển sang chiều dọc:
     đậm ở phần chữ, nhạt dần để lộ ảnh lụa phía sau dải giá trị */
  .abhero__media img {
    object-position: center 72%;
  }

  .abhero__media::after {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.93) 50%,
      rgba(255, 255, 255, 0.4) 72%,
      rgba(255, 255, 255, 0.18) 100%
    );
  }

  .abhero__inner {
    padding-bottom: 48px;
  }

  .abhero__title {
    max-width: none;
  }

  .abhero__lead {
    max-width: none;
  }
}

@media screen and (max-width: 560px) {
  .abhero__est {
    margin-top: 22px;
  }

  .abhero__actions .btn {
    flex: 1 1 100%;
  }

  .abhero__pillars {
    grid-template-columns: 1fr;
  }

  .abhero__pillar {
    padding: 20px 20px 22px;
  }
}

/* ============================================================
   VI Feerie — Trang "Về Vi Feerie" · Câu chuyện thương hiệu
   ============================================================ */

.story {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.story__row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}

/* ---------------- Collage ảnh ---------------- */
.story__media {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.story__shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.story__shot--tall {
  grid-row: span 2;
}

.story__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
  transition: transform 0.7s var(--ease);
}

.story__shot:hover img {
  transform: scale(1.04);
}

/* Ảnh nhỏ thấp hơn ảnh dọc → khung ngang vừa phải */
.story__shot:not(.story__shot--tall) {
  aspect-ratio: 4 / 3;
}

/* Ảnh Instagram gốc ghép 2 khung dọc (mặt trên · tên sản phẩm dưới).
   Cho ảnh cao gấp đôi khung rồi neo lên trên → chỉ lộ khung trên. */
.story__shot:not(.story__shot--tall) img {
  height: 200%;
}

.story__shot--tall {
  min-height: 420px;
}

/* Ảnh dọc gốc có tên lens ở đáy — kéo cao hơn khung để cắt bỏ dải chữ đó */
.story__shot--tall img {
  height: 142%;
}

/* Thẻ số năm nổi trên ảnh dọc */
.story__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  padding: 14px 16px 15px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px -16px rgba(56, 34, 19, 0.5);
}

.story__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-deep);
}

.story__badge span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------------- Nội dung ---------------- */
.story__content .section__title {
  font-size: 33px;
}

.story__text,
.story__copy p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.story__quote {
  margin-top: 26px;
  padding-left: 22px;
  border-left: 2px solid var(--brand);
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}

.story__sign {
  margin-top: 18px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ---------------- Mốc thời gian ---------------- */
.story__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 72px;
  list-style: none;
}

.story__step {
  position: relative;
  padding: 30px 32px 0 0;
  border-top: 1px solid var(--line);
}

/* Chấm mốc nằm trên đường kẻ */
.story__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--bg-soft);
  transform: translateY(-50%);
  transition: background 0.3s var(--ease);
}

.story__step:hover::before {
  background: var(--brand-deep);
}

.story__year {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-deep);
}

.story__step h3 {
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.story__step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ============================================================
   Responsive — Câu chuyện
   ============================================================ */

@media screen and (max-width: 1100px) {
  .story__row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story__shot--tall {
    min-height: 340px;
  }

  .story__timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
    margin-top: 56px;
  }
}

@media screen and (max-width: 820px) {
  .story__content .section__title {
    font-size: 28px;
  }

  .story__quote {
    font-size: 17px;
  }
}

@media screen and (max-width: 560px) {
  /* Xếp dọc: ảnh chính lớn, hai ảnh phụ chia đôi bên dưới */
  .story__media {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .story__shot--tall {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 4 / 5;
    min-height: 0;
  }

  .story__timeline {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .story__step {
    padding: 24px 0 26px;
  }

  .story__step:last-child {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0;
  }
}

/* ============================================================
   VI Feerie — Trang "Về Vi Feerie" · Quy trình tuyển chọn lens
   ============================================================ */

.curation {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Mô tả section — giữ khoảng cách với bước đầu tiên */
.curation > .container > .section__desc {
  margin-bottom: 52px;
}

/* ---------------- Mỗi bước: grid 2 cột so le ---------------- */
.curation__step {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 48px;
}

.curation__step + .curation__step {
  margin-top: 44px;
}

/* Đảo cột cho bước chẵn (ảnh sang phải, chữ sang trái) */
.curation__step--reverse {
  direction: rtl;
}

.curation__step--reverse > * {
  direction: ltr;
}

/* ---------------- Khung ảnh ---------------- */
.curation__media {
  position: relative;
  max-width: 500px;
}

/* Bước lẻ: ảnh nằm bên trái → đẩy sát trái */
.curation__step:not(.curation__step--reverse) .curation__media {
  margin-right: auto;
}

/* Bước chẵn: ảnh nằm bên phải → đẩy sát phải */
.curation__step--reverse .curation__media {
  margin-left: auto;
}

/* Khung ngoài — tỉ lệ 8/5 (= 1.6) để khớp nửa trên ảnh Instagram 1620×2025
   Toán: ảnh gốc R = 1620/2025 = 0.8.  Với height: 200%, khung cần R = 0.8 × 2 = 1.6 = 8/5 */
.curation__img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 8 / 5;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: 0 18px 40px -28px rgba(56, 34, 19, 0.45);
}

/* Ảnh Instagram ghép 2 khung dọc → cao gấp đôi, neo lên trên → chỉ lộ khung trên */
.curation__img img {
  width: 100%;
  height: 200%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
  transition: transform 0.7s var(--ease);
}

.curation__img:hover img {
  transform: scale(1.04);
}

/* ---------------- Nội dung bước ---------------- */
.curation__body {
  padding: 8px 0;
}

/* Số thứ tự + tiêu đề nằm cùng hàng */
.curation__header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}

.curation__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-light);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.curation__heading {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.curation__text {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 440px;
}

/* ============================================================
   Responsive — Quy trình tuyển chọn
   ============================================================ */

@media screen and (max-width: 1100px) {
  .curation__step {
    gap: 36px;
  }

  .curation__num {
    font-size: 38px;
  }

  .curation__heading {
    font-size: 20px;
  }

  .curation__media {
    max-width: 420px;
  }
}

@media screen and (max-width: 820px) {
  /* Chuyển sang xếp dọc: ảnh trên, chữ dưới */
  .curation__step {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Bỏ đảo cột ở mobile — luôn ảnh trên chữ dưới */
  .curation__step--reverse {
    direction: ltr;
  }

  .curation__step + .curation__step {
    margin-top: 40px;
  }

  .curation > .container > .section__desc {
    margin-bottom: 40px;
  }

  /* Bỏ giới hạn chiều rộng ảnh — để full width trên mobile */
  .curation__media {
    max-width: none;
  }

  .curation__step:not(.curation__step--reverse) .curation__media,
  .curation__step--reverse .curation__media {
    margin-left: 0;
    margin-right: 0;
  }

  .curation__img {
    aspect-ratio: 8 / 5;
    max-height: 380px;
  }

  .curation__num {
    font-size: 34px;
  }

  .curation__heading {
    font-size: 19px;
  }

  .curation__text {
    max-width: none;
  }
}

@media screen and (max-width: 560px) {
  .curation__step + .curation__step {
    margin-top: 36px;
  }

  .curation > .container > .section__desc {
    margin-bottom: 32px;
  }

  .curation__img {
    max-height: 280px;
  }

  .curation__num {
    font-size: 30px;
  }

  .curation__heading {
    font-size: 17px;
  }

  .curation__text {
    font-size: 14px;
  }
}

/* ============================================================
   VI Feerie — Trang "Về Vi Feerie" · CTA kêu gọi hành động
   ============================================================ */

.cta {
  background: var(--brand-soft);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Hoạ tiết trang trí nhẹ — vòng tròn mờ ở hai góc */
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
  opacity: 0.45;
}

.cta::after {
  width: 280px;
  height: 280px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%);
  opacity: 0.35;
}

/* ---------------- Nội dung căn giữa ---------------- */
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.cta__desc {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------------- Nhóm nút ---------------- */
.cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta__actions .btn svg {
  width: 17px;
  height: 17px;
}

/* Nút .btn--line trên nền hồng cần viền rõ hơn */
.cta .btn--line {
  border-color: var(--brand-light);
}

.cta .btn--line:hover {
  border-color: var(--brand);
}

/* ---------------- Dòng chú thích nhỏ ---------------- */
.cta__note {
  margin-top: 24px;
  color: var(--brand-deep);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ============================================================
   Responsive — CTA
   ============================================================ */

@media screen and (max-width: 1100px) {
  .cta__inner {
    max-width: 580px;
  }
}

@media screen and (max-width: 820px) {
  .cta {
    padding: 64px 0;
  }

  .cta__desc {
    font-size: 14.5px;
  }
}

@media screen and (max-width: 560px) {
  .cta {
    padding: 56px 0;
  }

  /* Nút xếp dọc full width */
  .cta__actions {
    flex-direction: column;
  }

  .cta__actions .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .cta__note {
    font-size: 12px;
    line-height: 1.6;
  }
}


